@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

::-webkit-scrollbar {
  display: none;
}

.wrapper.is_sp {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  width: 100vw;
  height: 768px;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: left;

  -ms-overflow-style: none;
  scrollbar-width: none;
}

.wrapper.is_sp::-webkit-scrollbar {
  display: none;
}

@media all and (min-width: 1120px) {
  .wrapper.is_sp {
    display: none;
  }
}

@media (any-hover: none) {
  #hg-move.fix-vertical-nav {
    display: none;
  }
}

.wrapper.is_sp .slide { height: 768px;   position: relative; }
.wrapper.is_sp .slide.first { width: 1810px; }
.wrapper.is_sp .slide.seventies { margin-left: 1270px; }
.wrapper.is_sp .slide.nineties { width: 4570px; }
.wrapper.is_sp .slide.noughties { width: 6800px; }
.wrapper.is_sp .slide.tens { width: 6890px; }
.wrapper.is_sp .slide.end { width: 1020px; }

@media screen and (min-height: 667px) {

  .wrapper.is_sp .slide.nineties { width: 4685px; }
  .wrapper.is_sp .slide.noughties { width: 6915px; }
  .wrapper.is_sp .slide.tens { width: 7005px; }
  .wrapper.is_sp .slide.end { width: 1020px; }

}

@media screen and (min-height: 768px) {

  .wrapper.is_sp .slide.seventies { margin-left: 1810px; }
  .wrapper.is_sp .slide.nineties { width: 4730px; }
  .wrapper.is_sp .slide.noughties { width: 6965px; }
  .wrapper.is_sp .slide.tens { width: 7050px; }
  .wrapper.is_sp .slide.end { width: 1020px; }

}

.wrapper.is_sp .slide.end {
  width: 1000px;
  background: linear-gradient(to bottom, #009844, #286571);
}

.wrapper.is_sp .slide.first .frame {
  position: absolute;
  overflow: hidden;
}

.wrapper.is_sp .slide.first .image-01 {
  top: 0;
  left: 0;
  transform: translate(0%, 0%);
  width: 375px;
  height: 370px;
  z-index: 200;
}

@media screen and (min-height: 768px) {
  .wrapper.is_sp .slide.first .image-01 {
    width: 450px;
    height: 520px;
  }
}

/* @media screen and (min-height: 960px) {
  .wrapper.is_sp .slide.first .image-01 {
    width: 500px;
    height: 580px;
  }
} */

.wrapper.is_sp .slide.first .image-02 {
  display: none;
  top: 290px;
  left: 50px;
  transform: translate(0, 0);
  width: 250px;
  height: 170px;
  z-index: 300;
}

/* @media screen and (min-height: 960px) {
  .wrapper.is_sp .slide.first .image-02 {
    top: 500px;
    left: 230px;
    width: 450px;
    height: 310px;
  }
} */

.wrapper.is_sp .slide.first .image-03 {
  top: 50%;
  left: -35px;
  transform: translate(0, -50%);
  width: 20vh;
  height: 100%;
  z-index: 300;
}

@media screen and (min-height: 768px) {
  .wrapper.is_sp .slide.first .image-03 {
    left: 608px;
    /* width: 240px; */
  }
}

.wrapper.is_sp .slide.first .scroll {
  position: absolute;
  top: 400px;
  left: 180px;
  transform: translate(0%, 0%);
  width: 120px;
  z-index: 300;
}

@media screen and (min-height: 768px) {
  .wrapper.is_sp .slide.first .scroll {
    top: 655px;
    left: 1500px;
  }
}

.wrapper.is_sp .slide.first .bg-01 {
  display: none;
  bottom: -75%;
  left: 0%;
  transform: translate(0, 0%);
  width: 450px;
  height: 100%;
  background-color: #F4F6F5;
  z-index: 100;
}

@media screen and (min-height: 667px) {
  .wrapper.is_sp .slide.first .bg-01 {
    width: 500px;
  }
}

@media screen and (min-height: 768px) {
  .wrapper.is_sp .slide.first .bg-01 {
    display: block;
    bottom: -40%;
    width: 720px;
  }
}

.wrapper.is_sp .slide.first .nav-01 {
  top: 90px;
  left: 410px;
  transform: translate(0, 0);
  z-index: 300;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@media screen and (min-height: 667px) {
  .wrapper.is_sp .slide.first .nav-01 {
    left: 500px;
  }
}

@media screen and (min-height: 768px) {
  .wrapper.is_sp .slide.first .nav-01 {
    left: 943px;
  }
}

/* @media screen and (min-height: 960px) {
  .wrapper.is_sp .slide.first .nav-01 {
    left: 943px;
  }
} */

.wrapper.is_sp .slide.first .frame > img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ---------- */

.wrapper.is_sp .history-label {
  margin-bottom: 10px;
}

.wrapper.is_sp .h3-label {
  font-size: 18px;
  line-height: 18px;
  margin-bottom: 0px;
}

.wrapper.is_sp .h2-label {
  font-size: 36px;
  line-height: 36px;
}

.wrapper.is_sp .choose {
  margin-bottom: 0px;
}

@media screen and (min-height: 667px) {

  .wrapper.is_sp .history-label {
    margin-bottom: 30px;
  }

  .wrapper.is_sp .h3-label {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .wrapper.is_sp .h2-label {
    font-size: 64px;
  }

}

@media screen and (min-height: 768px) {

  .wrapper.is_sp .history-label {
    margin-bottom: 45px;
  }

  .wrapper.is_sp .h3-label {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .wrapper.is_sp .h2-label {
    font-size: 64px;
  }

  .wrapper.is_sp .choose {
    margin-bottom: 30px;
  }

}

.wrapper.is_sp .generation-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  flex-direction: row;
  /* column-gap: 30px; */
  margin-bottom: 15px;
}

.wrapper.is_sp .generation-item {
  padding-left: 15px;
  padding-right: 15px;
}

.wrapper.is_sp .generation-link {
  font-size: 24px;
  line-height: 46px;
  text-decoration: underline;
}

.wrapper.is_sp .present-notice {
  box-sizing: border-box;
  border: solid 2px #FFFFFF;
  padding: 20px;
  position: relative;
  margin-bottom: 5px;
  width: 710px;
}

@media screen and (min-height: 667px) {

  .wrapper.is_sp .generation-list {
    margin-bottom: 30px;
  }

  .wrapper.is_sp .present-notice {
    margin-bottom: 15px;
    width: 720px;
  }
}

@media screen and (min-height: 768px) {

  .wrapper.is_sp .generation-list {
    margin-bottom: 45px;
  }

  .wrapper.is_sp .present-notice {
    padding: 40px;
    margin-bottom: 30px;
    width: 790px;
  }

}

.wrapper.is_sp .present-notice::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -2px;
  width: 219px;
  height: 37px;
  background-image: url('../img/history/img_special-present.png');
  background-repeat: no-repeat;
  background-position: top left;
  background-size: contain;
}

.wrapper.is_sp .present-notice::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  width: 150px;
  height: 105px;
  transform: translate(-0%, -50%);
  background-image: url('../img/history/50th_present.png');
  background-repeat: no-repeat;
  background-position: top left;
  background-size: contain;
}

@media screen and (min-height: 667px) {
  .wrapper.is_sp .present-notice::after {
    width: 160px;
    height: 112px;
  }
}

@media screen and (min-height: 768px) {
  .wrapper.is_sp .present-notice::after {
    width: 215px;
    height: 150px;
  }
}

.wrapper.is_sp .present-notice > p:nth-child(2) {
  font-size: 20px;
  line-height: 28px;
}

.wrapper.is_sp .present-terms {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 0px;
}

@media screen and (min-height: 667px) {
  .wrapper.is_sp .present-terms {
    margin-bottom: 45px;
  }
}

.wrapper.is_sp .present-terms > dt {
  font-size: 16px;
  font-weight: 400;
}

.wrapper.is_sp .present-terms > dd {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.wrapper.is_sp .caution-label {
  font-size: 16px;
  padding: 13px;
  background-color: #E4E8E6;
  width: 145px;

  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-start;
  column-gap: 15px;
}

.caution-content {
  overflow-y: scroll;
}

.caution-content > h3 {
  margin-bottom: 8px;
}

.caution-content .caution-text {
  height: 240px;
  /* overflow-y: scroll; */
  padding-left: 24px;
}

.caution-content .caution-text > li {
  list-style-type: disc;
  margin-bottom: 8px;
}

.wrapper.is_sp .icon_plus-minus {
  position: relative;
  display: inline;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  border-radius: 12px;
  background-color: #A4B8AD;
}

.wrapper.is_sp .icon_plus-minus > span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 12px;
  background-color: white;
}

.wrapper.is_sp .icon_plus-minus > span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(90deg);
}

.wrapper.is_sp .icon_plus-minus > span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.wrapper.is_sp .icon_plus-minus.open > span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(90deg);
}

.wrapper.is_sp .scroll > p {
  text-align: right;
  position: relative;
  margin-right: 35px;
  font-size: 24px;
}

.wrapper.is_sp .scroll > p::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -35px;
  width: 25px;
  height: 35px;
  background-image: url('../img/common/icon_arrow-right_pc.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

/* ---------- */

.wrapper.is_sp .company-message {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translate(-50%, 0%);
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-width: 720px;
}

.wrapper.is_sp .company-message .logo {
  display: block;
  width: 100%;
  max-width: 180px;
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
}

.wrapper.is_sp .company-copy {
  margin-bottom: 20px;
  font-size: 21px;
  line-height: 46px;
  letter-spacing: 0.2rem;
}

.wrapper.is_sp .message-text {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 15px;
  display: block;
}

@media screen and (min-height: 667px) {

  .wrapper.is_sp .company-message .logo {
    max-width: 290px;
    margin-bottom: 15px;
  }

  .wrapper.is_sp .company-copy {
    margin-bottom: 25px;
  }

  .wrapper.is_sp .message-text {
    font-size: 18px;
    line-height: 36px;
    margin-bottom: 30px;
  }

}

@media screen and (min-height: 768px) {

  .wrapper.is_sp .company-message {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .wrapper.is_sp .company-message .logo {
    max-width: 290px;
    margin-bottom: 30px;
  }

  .wrapper.is_sp .company-copy {
    margin-bottom: 50px;
    font-size: 28px;
    letter-spacing: 0.5rem;
  }

  .wrapper.is_sp .message-text {
    font-size: 18px;
    line-height: 36px;
    margin-bottom: 60px;
  }

}

.wrapper.is_sp .company-message .link {
  display: block;
  box-sizing: border-box;
  border: solid 2px white;
  color: white;
  padding: 24px;
  font-size: 24px;
}

.wrapper.is_sp .company-message .link:hover {
  color: #009844;
  background-color: white;
}

/* ---------- */

.wrapper.is_sp .end,
.wrapper.is_sp .tens,
.wrapper.is_sp .noughties,
.wrapper.is_sp .nineties,
.wrapper.is_sp .eighties,
.wrapper.is_sp .seventies {
  display: flex;
}

.wrapper.is_sp .pillar {
  background-color: #ccc;
  height: 768px;
  /* background-image: url(../img/history/img_pillar-01.png); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  width: 335px;
}

.wrapper.is_sp #seventies_sp .pillar {
  background-image: url(../img/history/img_pillar-01.png);
}

.wrapper.is_sp #eighties_sp .pillar {
  background-image: url(../img/history/img_pillar-02.png);
}

.wrapper.is_sp #nineties_sp .pillar {
  background-image: url(../img/history/img_pillar-03.png);
}

.wrapper.is_sp #noughties_sp .pillar {
  background-image: url(../img/history/img_pillar-04.png);
}

.wrapper.is_sp #tens_sp .pillar {
  background-image: url(../img/history/img_pillar-05.png);
}

.wrapper.is_sp .pillar .pillar-text {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  position: absolute;
  top: 90px;
  left: 30px;
}

.wrapper.is_sp .pillar .pillar-text .pillar-generation {
  font-size: 80px;
  line-height: 46px;
  margin-left: 10px;
}

.wrapper.is_sp .pillar .pillar-text .pillar-copy {
  font-size: 24px;
  line-height: 46px;
}

@media screen and (min-height: 667px) {

  .wrapper.is_sp .pillar {
    width: 450px;
  }

  .wrapper.is_sp .pillar .pillar-text {
    top: 80px;
    left: 55px;
  }

  .wrapper.is_sp .pillar .pillar-text .pillar-generation {
    font-size: 120px;
    margin-left: 43px;
  }

  .wrapper.is_sp .pillar .pillar-text .pillar-copy {
    font-size: 32px;
  }

}

@media screen and (min-height: 768px) {
  .wrapper.is_sp .pillar .pillar-text {
    left: 40px;
  }
}

/* ---------- */

.wrapper.is_sp .history-content {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 30px;
}

.wrapper.is_sp .history-content .age-list {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-start;
  padding-top: 90px;
  padding-bottom: 10px;
  flex-basis: 20%;
}

@media screen and (min-height: 667px) {
  .wrapper.is_sp .history-content .age-list {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    padding-top: 90px;
    /* flex-basis: 154px; */
    height: 154px;
  }
}

@media screen and (min-height: 768px) {
  .wrapper.is_sp .history-content .age-list {
    height: 137px;
  }
}

.wrapper.is_sp .history-content .age-list .age-item {
  font-size: 24px;
  letter-spacing: 0.5rem;
  line-height: 20px;
  padding-left: 30px;
  padding-right: 30px;
  opacity: 0.3;
  align-self: center;
}

.wrapper.is_sp .history-content .age-list .age-item:hover {
  opacity: 1;
}

.wrapper.is_sp .history-content .age-list .age-item:hover a {
  color: #009844;
}

.wrapper.is_sp .history-content .age-list .age-item.active {
  opacity: 1;
}

.wrapper.is_sp .history-content .age-list .age-item a {
  color: #222;
}


.wrapper.is_sp .history-content .history-table,
.wrapper.is_sp .history-content .history-table {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-start;
  /* flex-basis: 614px; */
  height: 614px;
  position: relative;
}

/* .wrapper.is_sp .history-content .history-table .prev-link {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translate(0%, -50%);
  z-index: 300;
} */

/* .wrapper.is_sp .history-content .history-table .next-link {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translate(0%, -50%);
  z-index: 300;
} */

.wrapper.is_sp .history-content .history-table.prev-link {
  position: absolute;
}

.wrapper.is_sp .history-content .history-table .history-group:first-child .history-item {
  justify-content: center;
}

.wrapper.is_sp .history-content .history-table .history-group {
  display: block;
}

/* .wrapper.is_sp .history-content .history-table .history-group:not(:nth-child(2)) {
  width: 350px;
} */

.wrapper.is_sp .history-content .history-table .history-group.has-modal {
  width: 500px;
}

/* .wrapper.is_sp .history-content .history-table .history-group.has-modal-no-content {
  width: 350px;
} */

.wrapper.is_sp #seventies_sp.slide .hg-1972 {
  width: 370px;
}

.wrapper.is_sp #seventies_sp.slide .hg-1973 {
  width: 620px;
}

.wrapper.is_sp #seventies_sp.slide .hg-1976 {
  width: 380px;
}

.wrapper.is_sp #eighties_sp.slide .hg-1985 {
  width: 780px;
}

.wrapper.is_sp #eighties_sp.slide .hg-1986 {
  width: 520px;
}

.wrapper.is_sp #eighties_sp.slide .hg-1987 {
  width: 620px;
}

.wrapper.is_sp #eighties_sp.slide .hg-1989 {
  width: 560px;
}

.wrapper.is_sp #eighties_sp.slide .hg-1990 {
  width: 490px;
}

.wrapper.is_sp #eighties_sp.slide .hg-1991 {
  width: 1000px;
}

.wrapper.is_sp #nineties_sp.slide .hg-1993 {
  width: 390px;
}

.wrapper.is_sp #nineties_sp.slide .hg-1995 {
  width: 770px;
}

.wrapper.is_sp #nineties_sp.slide .hg-1997 {
  width: 460px;
}

.wrapper.is_sp #nineties_sp.slide .hg-1998,
.wrapper.is_sp #nineties_sp.slide .hg-1999 {
  width: 480px;
}

.wrapper.is_sp #nineties_sp.slide .hg-2000 {
  width: 750px;
}

.wrapper.is_sp #nineties_sp.slide .hg-2001 {
  width: 850px;
}

.wrapper.is_sp #noughties_sp.slide .hg-2002 {
  width: 560px;
}

.wrapper.is_sp #noughties_sp.slide .hg-2003 {
  width: 510px;
}

.wrapper.is_sp #noughties_sp.slide .hg-2004 {
  width: 750px;
}

.wrapper.is_sp #noughties_sp.slide .hg-2005 {
  width: 620px;
}

.wrapper.is_sp #noughties_sp.slide .hg-2006 {
  width: 550px;
}

.wrapper.is_sp #noughties_sp.slide .hg-2007 {
  width: 780px;
}

.wrapper.is_sp #noughties_sp.slide .hg-2008 {
  width: 720px;
}

.wrapper.is_sp #noughties_sp.slide .hg-2009 {
  width: 520px;
}

.wrapper.is_sp #noughties_sp.slide .hg-2010 {
  width: 780px;
}

.wrapper.is_sp #noughties_sp.slide .hg-2011 {
  width: 620px;
}

.wrapper.is_sp #tens_sp.slide .hg-2012 {
  width: 410px;
}

.wrapper.is_sp #tens_sp.slide .hg-2013 {
  width: 820px;
}

.wrapper.is_sp #tens_sp.slide .hg-2014 {
  width: 670px;
}

.wrapper.is_sp #tens_sp.slide .hg-2015,
.wrapper.is_sp #tens_sp.slide .hg-2016 {
  width: 550px;
}

.wrapper.is_sp #tens_sp.slide .hg-2017 {
  width: 710px;
}

.wrapper.is_sp #tens_sp.slide .hg-2018 {
  width: 630px;
}

.wrapper.is_sp #tens_sp.slide .hg-2019 {
  width: 600px;
}

.wrapper.is_sp #tens_sp.slide .hg-2020 {
  width: 800px;
}

.wrapper.is_sp #tens_sp.slide .hg-2021 {
  width: 760px;
}

.wrapper.is_sp .history-content .history-table .history-group.has-modal-no-content .history-item .modal {
  right: inherit;
  left: 30px;
}

.wrapper.is_sp .history-content .history-table .history-group:first-child .history-item {
  box-sizing: border-box;
  border-right: solid 1px #A4B8AD;
}

.wrapper.is_sp .history-content .history-table .history-group:last-child .history-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 10px;
  padding-right: 30px;
  padding-bottom: 10px;
  position: relative;
}

.wrapper.is_sp .history-content .history-table .history-group:nth-child(1) .history-item:nth-child(1) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item:nth-child(1) {
  height: 401px;
  box-sizing: border-box;
  border-bottom: solid 1px #A4B8AD;
  position: relative;
}

@media screen and (min-height: 667px) {
  .wrapper.is_sp .history-content .history-table .history-group .history-item:nth-child(1) {
    height: 367px;
  }
}

@media screen and (min-height: 768px) {
  .wrapper.is_sp .history-content .history-table .history-group .history-item:nth-child(1) {
    height: 384px;
  }
}


.wrapper.is_sp .history-content .history-table .history-group .history-item:nth-child(2) {
  height: 130px;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item:nth-child(3) {
  height: 100px;
  background-color: #E4E8E6;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item .history-title {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-size: 10px;
  line-height: 10px;
  text-align: center;
  padding: 5px 15px;
  /* padding-left: 15px; */
  /* padding-right: 15px; */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item .history-item-list {
  margin-left: 15px;
  z-index: 200;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item .history-item-list li {
  position: relative;
  padding-left: 1rem;
  line-height: 16px;
  font-size: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  white-space: pre-line;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item .image-frame-group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: left;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item .image-frame {
  padding: 15px 15px 0;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item:first-child .image-frame img {
  width: auto;
  max-height: 100px;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item:nth-child(2) .image-frame img {
  display: none;
}

@media screen and (min-height: 667px) {

  .wrapper.is_sp .history-content .history-table .history-group .history-item:nth-child(2) .image-frame img {
    display: block;
    width: 100%;
    max-width: 20px;
  }

}

.wrapper.is_sp .history-content .history-table .history-group .history-item p {
  padding-left: 1rem;
  line-height: 16px;
  font-size: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  white-space: pre-line;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item .bg-text {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  color: #222;
  font-size: 36px;
  z-index: 100;
  margin-bottom: 15px;
  padding-left: 20px;
}

.wrapper.is_sp .modal-text-frame a,
.wrapper.is_sp .history-content .history-table .history-group .history-item a {
  color: #009844;
  font-weight: 700;
  padding: 5px 30px;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item a {
  padding: 5px 5px;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item .modal {
  position: absolute;
  bottom: 115px;
  right: 15px;
  width: 310px;
  height: 190px;
  /* padding: 20px; */
  box-sizing: border-box;
  border: solid 2px #A4B8AD;
  z-index: 200;
}

.wrapper.is_sp .history-content .history-table .history-group.hg-1991 .history-item .modal {
  /* position: absolute; */
  /* bottom: 115px; */
  right: 100px;
  /* width: 200px; */
  /* height: 190px; */
  /* padding: 20px; */
  /* box-sizing: border-box; */
  /* border: solid 2px #A4B8AD; */
  /* z-index: 200; */
}

.wrapper.is_sp .history-content .history-table .history-group .history-item .modal::before {
  content: '';
  position: absolute;
  bottom: -118px;
  left: 50%;
  width: 2px;
  height: 118px;
  background-color: #A4B8AD;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item .modal::after {
  content: '';
  position: absolute;
  bottom: -123px;
  left: calc(50% - 5px);
  width: 11px;
  height: 11px;
  border-radius: 10px;
  background-color: #A4B8AD;
}

@media screen and (min-height: 667px) {
  .wrapper.is_sp .history-content .history-table .history-group .history-item .modal::after {
    bottom: -48px;
  }
}

@media screen and (min-height: 768px) {
  .wrapper.is_sp .history-content .history-table .history-group .history-item .modal::after {
    content: '';
    position: absolute;
    bottom: -58px;
    left: calc(50% - 5px);
    border-radius: 10px;
    background-color: #A4B8AD;
  }
}

.wrapper.is_sp .history-content .history-table .history-group .history-item .modal .image-frame img {
  width: auto;
  height: 100px;
  display: block;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item .modal p {
  padding-left: 0;
  line-height: 24px;
  margin-bottom: 0;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item .modal .modal-link {
  display: block;
  width: 100%;
  height: 100%;
  padding: 20px;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item .modal .modal-link .image-frame {
  padding: 0;
  overflow: hidden;
}

button#modaal-close {
  position: absolute;
  top: -25px;
  right: -25px;
  transform: translate(0%, 0%);
  background-color: #A4B8AD;
}

.modaal-container {
  box-sizing: border-box;
  border: solid 3px #A4B8AD;
  max-width: 665px;
  margin-top: 40px;
  /* min-height: 600px; */
  /* padding-bottom: 30px; */
}

@media screen and (min-height: 667px) and (max-width: 450px) {
  .modaal-container {
    margin-top: 160px;
  }
}

@media screen and (max-height: 450px) {
  .modaal-container {
    margin-top: 100px;
    /* width: 270px; */
  }
}

@media screen and (min-height: 667px) {
  .modaal-container {
    /* margin-top: 240px; */
  }
}

@media screen and (min-height: 768px) {
  .modaal-container {
    /* margin-top: 270px; */
  }
}

.modaal-content {
  /* max-height: 240px; */
}

@media screen and (min-height: 450px) {
  .modaal-content {
    /* min-height: 340px; */
  }
}

@media screen and (min-height: 667px) and (max-width: 450px) {
  .modaal-content {
    /* max-height: 400px; */
    /* min-height: 400px; */
  }
}

@media screen and (min-height: 768px) {
  .modaal-content {
    max-height: 540px;
  }
}

.modal-offset {
  /* height: 200px; */
  height: 280px;
}

.addNotice {
  margin-top: 280px;
}

.congraturationNotice {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 270px;
}

.congraturationNotice a {
  display: block;
}

.congraturationNotice img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 270px;
}



@media screen and (min-width: 1120px) and (min-height: 667px) {
  .congraturationNotice {
    top: -210px;
    width: 440px;
  }

  .congraturationNotice img {
    max-width: 440px;
  }
}

@media screen and (min-width: 1120px) and (min-height: 768px) {
  .congraturationNotice {
    top: -240px;
    width: 480px;
  }

  .congraturationNotice img {
    max-width: 480px;
  }
}

.modaal-close {
  width: 40px;
  height: 40px;
}

button#modaal-close {
  top: -20px;
  right: -20px;
}

.modaal-close:after,
.modaal-close:before {
  top: 9px;
  left: 19px;
}

.wrapper.is_sp .history-content .history-table .history-group .history-item {
  padding-top: 5px;
  padding-bottom: 5px;
}


@media screen and (min-height: 667px) {

  /* .wrapper.is_sp .history-content .history-table .history-group:not(:nth-child(2)) {
    width: 500px;
  } */

  .wrapper.is_sp .history-content .history-table .history-group.has-modal {
    width: 650px;
  }

  /* .wrapper.is_sp .history-content .history-table .history-group.has-modal-no-content {
    width: 450px;
  } */

  .wrapper.is_sp .history-content .history-table .history-group:first-child .history-item:first-child .history-title {
    padding: 5px 0;
  }

  .wrapper.is_sp .history-content .history-table .history-group .history-item .history-title {
    font-size: 16px;
    line-height: 24px;
  }

  .wrapper.is_sp .history-content .history-table .history-group .history-item .history-item-list {
    margin-left: 30px;
  }

  .wrapper.is_sp .history-content .history-table .history-group .history-item .history-item-list li {
    line-height: 14px;
    font-size: 14px;
    margin-bottom: 14px;
  }

  /* .wrapper.is_sp .history-content .history-table .history-group:nth-child(3) .history-item .history-item-list li {
    line-height: 21px;
    font-size: 16px;
    margin-bottom: 0;
  } */

  /* .wrapper.is_sp .history-content .history-table .history-group:nth-child(9) .history-item .history-item-list li {
    line-height: 16px;
    font-size: 16px;
    margin-bottom: 0;
  } */

  /* .wrapper.is_sp .history-content .history-table .history-group .history-item .history-item-list.short li {
    line-height: 18px;
    font-size: 14px;
    margin-bottom: 6px;
  } */

  /* .wrapper.is_sp #seventies_sp .history-content .history-table .history-group:nth-child(4) .history-item .history-item-list li {
    margin-bottom: 12px;
  } */

  /* .wrapper.is_sp #eighties_sp .history-content .history-table .history-group:nth-child(4) .history-item .history-item-list li {
    margin-bottom: 12px;
  } */

  /* .wrapper.is_sp #tens_sp .history-content .history-table .history-group:nth-child(4) .history-item .history-item-list li{
    margin-bottom: 9px;
  } */

  /* .wrapper.is_sp #tens_sp .history-content .history-table .history-group:nth-child(10) .history-item .history-item-list li {
    margin-bottom: 0;
  } */

  /* .wrapper.is_sp #noughties_sp .history-content .history-table .history-group .history-item .history-item-list li {
    margin-bottom: 0;
  } */

  .wrapper.is_sp .history-content .history-table .history-group .history-item p {
    line-height: 14px;
    font-size: 14px;
    margin-bottom: 14px;
  }

  .wrapper.is_sp .history-content .history-table .history-group .history-item .modal {
    bottom: 40px;
    /* width: 310px; */
    height: 230px;
  }

  .wrapper.is_sp .history-content .history-table .history-group .history-item .modal::before {
    content: '';
    position: absolute;
    bottom: -42px;
    left: 50%;
    width: 2px;
    height: 40px;
    background-color: #A4B8AD;
  }

  .wrapper.is_sp .history-content .history-table .history-group .history-item .modal p {
    /* font-size: 12px; */
  }

}

@media screen and (min-height: 768px) {

  .wrapper.is_sp .history-content .history-table .history-group .history-item {
    display: flex;
    flex-direction: column;
    padding: 10px;
  }

  .wrapper.is_sp .history-content .history-table .history-group .history-item .history-item-list li {
    position: relative;
    padding-left: 1rem;
    line-height: 20px;
    margin-bottom: 12px;
  }

  /* .wrapper.is_sp #seventies_sp .history-content .history-table .history-group:nth-child(4) .history-item .history-item-list li {
    margin-bottom: 12px;
  } */

  /* .wrapper.is_sp #tens_sp .history-content .history-table .history-group:nth-child(4) .history-item .history-item-list li{
    margin-bottom: 9px;
  } */

  /* .wrapper.is_sp #tens_sp .history-content .history-table .history-group:nth-child(10) .history-item .history-item-list li {
    margin-bottom: 0;
  } */

  /* .wrapper.is_sp #noughties_sp .history-content .history-table .history-group .history-item .history-item-list li {
    margin-bottom: 0;
  } */

  /* .wrapper.is_sp .history-content .history-table .history-group:nth-child(9) .history-item .history-item-list li {
    line-height: 16px;
  } */

  .wrapper.is_sp .history-content .history-table .history-group .history-item p {
    position: relative;
    padding-left: 1rem;
    line-height: 36px;
  }

  /* .wrapper.is_sp .history-content .history-table .history-group:not(:nth-child(2)) {
    width: 550px;
  } */

  .wrapper.is_sp .history-content .history-table .history-group.has-modal {
    width: 650px;
  }

  .wrapper.is_sp .history-content .history-table .history-group.has-modal-no-content {
    width: 450px;
  }

  .wrapper.is_sp .history-content .history-table .history-group .history-item .modal {
    bottom: 50px;
  }

  .wrapper.is_sp .history-content .history-table .history-group .history-item .modal::before {
    bottom: -52px;
    height: 50px;
  }

}

.wrapper.is_sp .history-content .history-table .history-group .history-item .history-item-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(0, 6px);
  width: 6px;
  height: 6px;
  background-color: #009844;
  border-radius: 3px;
}

@media screen and (min-height: 768px) {
  .wrapper.is_sp .history-content .history-table .history-group .history-item .history-item-list li::before {
    transform: translate(0, 8px);
  }
}

/* ---------- */

.modal-offset,
.modaal-content-container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  column-gap: 30px;
  row-gap: 0;
  font-family: 'Noto Sans JP', sans-serif;
  position: relative;
  /* height: 220px; */
}

@media screen and (max-width: 450px) and (max-height: 930px) {
  .modal-offset.modal-sp {
    overflow: scroll;
  }
}

@media screen and (max-width: 450px) {
  .modaal-content-container {
    ovreflow: hidden;
  }
}

@media screen and (min-height: 667px) and (max-width: 450px) {}


@media screen and (min-width: 768px) and (min-height: 768px) {

  .modal-offset,
  .modaal-content-container {
    /* height: 252px; */
  }

}

@media screen and (min-width: 768px) {
  .modal-offset.modal-sp {
    flex-direction: row;
  }
}

@media screen and (min-width: 768px) {

  .modal-offset,
  .modaal-content-container {
    flex-direction: row;
  }
}

.single-column {
  flex-basis: 100%;
  overflow: hidden;
}

.modal-image-frame,
.modal-text-frame {
  flex-basis: calc(50% - 15px);
}

.modal-image-frame {
  margin-bottom: 20px;
}

.modal-text-frame {
  overflow-y: scroll;
  /* min-height: 200px; */
}

.modal-text-frame-offset {
  /* height: 120px; */
  overflow: scroll;
}

@media screen and (min-height: 667px) {
  .modal-text-frame-offset {
    /* height: 200px; */
  }
}

.modal-text-frame h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.modal-text-frame p {}

.modal-sp .modal-image-frame img,
.modal-pc .modal-image-frame img {
  width: auto;
  /* max-width: 256px; */
  max-height: 150px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.modal-sp .modal-image-frame img {
  max-width: 340px;
}

.modal-pc .modal-image-frame img {
  max-width: 256px;
}

/* ---------- */
