@charset "UTF-8";
:root {
  --green: #0aa547;
  --textcolor: #eee;
  --textcolor_on: #66ff00;
  --linkcolor: #ddd;
  --bgcolor: #222;
  --linecolor: #555;
  --numberfont: "Martian Mono", monospace;
  --numberfont2: "ITC Franklin Gothic", "arial", sans-serif;
}

body {
  background-color: #000;
  -webkit-overflow-scrolling: touch;
}

body.is_chapter {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
}

/* mainvisual */
main {
  position: relative;
}

#msg_scroll.is_show {
  opacity: 1;
  display: block;
  z-index: 1;
}

#msg_scroll.is_hide {
  opacity: 0;
  display: none;
}

.scroll_area {
  opacity: 0;
  width: 100%;
  height: 50vh;
  max-width: 1000px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.scroll_block {
  position: fixed;
  left: 50%;
  bottom: 50px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.scroll_block .scroll {
  position: relative;
  width: 28px;
  height: 28px;
}
.scroll_block .scroll .chevron {
  position: absolute;
  width: 28px;
  height: 3px;
  opacity: 0;
  -webkit-transform: scale3d(0.5, 0.5, 0.5);
          transform: scale3d(0.5, 0.5, 0.5);
  -webkit-animation: move 3s ease-out infinite;
          animation: move 3s ease-out infinite;
}
.scroll_block .scroll .chevron:first-child {
  -webkit-animation: move 3s ease-out 1s infinite;
          animation: move 3s ease-out 1s infinite;
}
.scroll_block .scroll .chevron:nth-child(2) {
  -webkit-animation: move 3s ease-out 2s infinite;
          animation: move 3s ease-out 2s infinite;
}
.scroll_block .scroll .chevron:before,
.scroll_block .scroll .chevron:after {
  content: " ";
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background-color: var(--textcolor);
}
.scroll_block .scroll .chevron:before {
  left: 0;
  -webkit-transform: skew(0deg, 30deg);
          transform: skew(0deg, 30deg);
}
.scroll_block .scroll .chevron:after {
  right: 0;
  width: 50%;
  -webkit-transform: skew(0deg, -30deg);
          transform: skew(0deg, -30deg);
}
@-webkit-keyframes move {
  25% {
    opacity: 1;
  }
  33% {
    opacity: 1;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  67% {
    opacity: 1;
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
            transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}
@keyframes move {
  25% {
    opacity: 1;
  }
  33% {
    opacity: 1;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  67% {
    opacity: 1;
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
            transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}
.scroll_block .scroll .text {
  display: block;
  margin-left: -16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--textcolor);
  white-space: nowrap;
  opacity: 0.25;
  -webkit-transform: translateY(-20px);
          transform: translateY(-20px);
  -webkit-animation: pulse 2s linear alternate infinite;
          animation: pulse 2s linear alternate infinite;
}
@-webkit-keyframes pulse {
  to {
    opacity: 1;
  }
}
@keyframes pulse {
  to {
    opacity: 1;
  }
}

/* タイトル */
.header {
  height: 90vh;
  position: relative;
}
.header .chapter_title {
  display: block;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
@media screen and (max-width: 820px) {
  .header .chapter_title {
    top: 40%;
  }
}
.header .chapter_title .ttl1 {
  overflow: hidden;
}
@media screen and (max-width: 620px) {
  .header .chapter_title .ttl1 {
    padding: 0 20px 0 85px;
    text-align: left;
  }
}
.header .chapter_title .ttl1 span {
  display: none;
  padding: 10px 20px;
  font-size: 28px;
  border-radius: 0px;
  color: #ddd;
  border: solid 1px #ddd;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}
@media screen and (max-width: 820px) {
  .header .chapter_title .ttl1 span {
    font-size: 18px;
  }
}
@media screen and (max-width: 620px) {
  .header .chapter_title .ttl1 span {
    padding: 5px 10px;
    font-size: 16px;
  }
}
.header .chapter_title .ttl1 span.is_open {
  display: inline-block;
  -webkit-animation: anim_chapter2 1s ease 0.5s both;
          animation: anim_chapter2 1s ease 0.5s both;
}
.header .chapter_title .ttl2 {
  overflow: hidden;
}
@media screen and (max-width: 820px) {
  .header .chapter_title .ttl2 {
    padding: 0 30px;
  }
}
@media screen and (max-width: 620px) {
  .header .chapter_title .ttl2 {
    padding: 0 15px 0 85px;
    text-align: left;
    font-size: 20px;
  }
}
@media screen and (max-width: 620px) {
  .header .chapter_title .ttl2 br {
    display: none;
  }
}
.header .chapter_title .ttl2 span {
  display: inline-block;
  font-size: 40px;
  font-weight: bold;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  letter-spacing: 3px;
  line-height: 1.5;
  padding-top: 20px;
  color: #ddd;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
  -webkit-transform: translateY(-50px);
          transform: translateY(-50px);
}
@media screen and (max-width: 820px) {
  .header .chapter_title .ttl2 span {
    font-size: 32px;
    letter-spacing: 0px;
  }
}
@media screen and (max-width: 620px) {
  .header .chapter_title .ttl2 span {
    font-size: 26px;
  }
}
.header .chapter_title .ttl2 span.is_open {
  -webkit-animation: anim_chapter 1s ease 0.5s both;
          animation: anim_chapter 1s ease 0.5s both;
}
@-webkit-keyframes anim_chapter {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}
@keyframes anim_chapter {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}
@-webkit-keyframes anim_chapter2 {
  0% {
    opacity: 0;
    -webkit-transform: rotateX(270deg);
            transform: rotateX(270deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
  }
}
@keyframes anim_chapter2 {
  0% {
    opacity: 0;
    -webkit-transform: rotateX(270deg);
            transform: rotateX(270deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
  }
}

/* 背景画像 */
.ring_group {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.bg_ring1 {
  position: fixed;
  right: -100px;
  top: -100px;
  opacity: 0.5;
}
@media screen and (max-width: 820px) {
  .bg_ring1 {
    right: -265px;
    top: -94px;
  }
}
@media screen and (max-width: 620px) {
  .bg_ring1 {
    right: -320px;
    top: -70px;
  }
}
.bg_ring1 img {
  -webkit-animation: rotate_ring1 90s linear infinite;
          animation: rotate_ring1 90s linear infinite;
}
@media screen and (max-width: 820px) {
  .bg_ring1 img {
    width: 70%;
  }
}
@media screen and (max-width: 620px) {
  .bg_ring1 img {
    width: 50%;
  }
}

.bg_ring2 {
  position: fixed;
  right: -90px;
  top: -90px;
  opacity: 1;
}
@media screen and (max-width: 820px) {
  .bg_ring2 {
    right: -250px;
    top: -86px;
  }
}
@media screen and (max-width: 620px) {
  .bg_ring2 {
    right: -305px;
    top: -65px;
  }
}
.bg_ring2 img {
  -webkit-animation: rotate_ring2 100s linear infinite;
          animation: rotate_ring2 100s linear infinite;
}
@media screen and (max-width: 820px) {
  .bg_ring2 img {
    width: 70%;
  }
}
@media screen and (max-width: 620px) {
  .bg_ring2 img {
    width: 50%;
  }
}

.bg_ring3 {
  position: fixed;
  right: -57px;
  top: -57px;
  opacity: 0.5;
}
@media screen and (max-width: 820px) {
  .bg_ring3 {
    right: -210px;
    top: -70px;
  }
}
@media screen and (max-width: 620px) {
  .bg_ring3 {
    right: -255px;
    top: -50px;
  }
}
.bg_ring3 img {
  -webkit-animation: rotate_ring1 50s linear infinite;
          animation: rotate_ring1 50s linear infinite;
}
@media screen and (max-width: 820px) {
  .bg_ring3 img {
    width: 70%;
  }
}
@media screen and (max-width: 620px) {
  .bg_ring3 img {
    width: 50%;
  }
}

.bg_ring4 {
  position: fixed;
  right: -18px;
  top: -18px;
  opacity: 0.5;
}
@media screen and (max-width: 820px) {
  .bg_ring4 {
    right: -168px;
    top: -50px;
  }
}
@media screen and (max-width: 620px) {
  .bg_ring4 {
    right: -198px;
    top: -33px;
  }
}
.bg_ring4 img {
  -webkit-animation: rotate_ring2 50s linear infinite;
          animation: rotate_ring2 50s linear infinite;
}
@media screen and (max-width: 820px) {
  .bg_ring4 img {
    width: 70%;
  }
}
@media screen and (max-width: 620px) {
  .bg_ring4 img {
    width: 50%;
  }
}

.bg_ring5 {
  position: fixed;
  right: 25px;
  top: 25px;
  opacity: 0.5;
}
@media screen and (max-width: 820px) {
  .bg_ring5 {
    right: -118px;
    top: -18px;
  }
}
@media screen and (max-width: 620px) {
  .bg_ring5 {
    right: -132px;
    top: -10px;
  }
}
.bg_ring5 img {
  -webkit-animation: rotate_ring1 40s linear infinite;
          animation: rotate_ring1 40s linear infinite;
}
@media screen and (max-width: 820px) {
  .bg_ring5 img {
    width: 70%;
  }
}
@media screen and (max-width: 620px) {
  .bg_ring5 img {
    width: 50%;
  }
}

@-webkit-keyframes rotate_ring1 {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes rotate_ring1 {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@-webkit-keyframes rotate_ring2 {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(-360deg);
            transform: rotate(-360deg);
  }
}
@keyframes rotate_ring2 {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(-360deg);
            transform: rotate(-360deg);
  }
}
/* タイムライン */
.timeline {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 0 200px;
  position: relative;
  background-image: url("../img/line.png");
  background-position: left 200px center;
  background-repeat: repeat-y;
}
@media screen and (max-width: 820px) {
  .timeline {
    background-position: left 100px center;
  }
}
@media screen and (max-width: 620px) {
  .timeline {
    background-position: left 65px center;
  }
}

.bg_year {
  font-family: var(--numberfont);
  font-weight: 600;
  font-size: 22vw;
  line-height: 0.8;
  letter-spacing: -10px;
  color: #009900;
  position: fixed;
  right: 0px;
  bottom: 10px;
  opacity: 0.3;
}

.block_year_top {
  padding-top: 80px;
}

.block_year_last {
  padding-bottom: 0px;
}

.block_year {
  padding-left: 205px;
  padding-right: 40px;
  position: relative;
}
@media screen and (max-width: 820px) {
  .block_year {
    padding-left: 85px;
  }
}
@media screen and (max-width: 620px) {
  .block_year {
    padding-left: 50px;
    padding-right: 20px;
  }
}
.block_year .year {
  font-size: 50px;
  font-weight: 600;
  font-family: var(--numberfont);
  color: #aaa;
  padding: 10px 0 0 45px;
}
@media screen and (max-width: 820px) {
  .block_year .year {
    font-size: 40px;
    padding: 0 0 0 45px;
  }
}
@media screen and (max-width: 620px) {
  .block_year .year {
    font-size: 30px;
    padding: 0 0 0 35px;
  }
}
.block_year .year span {
  color: #44d55d;
  display: block;
}
.block_year .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: -35px;
  margin-top: 20px;
}
@media screen and (max-width: 820px) {
  .block_year .item {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin-left: -5px;
    margin-top: 20px;
  }
}
@media screen and (max-width: 620px) {
  .block_year .item {
    margin-left: 2px;
    margin-top: 20px;
  }
}
.block_year .item.mrg_top {
  margin-top: 30px;
}
@media screen and (max-width: 820px) {
  .block_year .item.mrg_top {
    margin-top: 20px;
  }
}
.block_year .month {
  display: inline-block;
  border-radius: 50%;
  color: #000;
  background-color: #44d55d;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  width: 56px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  margin-right: 10px;
  margin-bottom: 10px;
  position: relative;
}
@media screen and (max-width: 820px) {
  .block_year .month {
    font-size: 10px;
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
}
@media screen and (max-width: 620px) {
  .block_year .month {
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin-right: 5px;
  }
}
.block_year .month span {
  font-size: 26px;
  font-family: var(--numberfont2);
}
@media screen and (max-width: 820px) {
  .block_year .month span {
    font-size: 18px;
  }
}
@media screen and (max-width: 620px) {
  .block_year .month span {
    font-size: 15px;
  }
}
.block_year .item_fb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  max-width: 1200px;
  width: 100%;
}
@media screen and (max-width: 820px) {
  .block_year .item_fb {
    width: auto;
    display: block;
  }
}
.block_year .item_fb .text_box {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin-right: 30px;
}
@media screen and (max-width: 820px) {
  .block_year .item_fb .text_box {
    width: auto;
    margin-right: 0px;
  }
}
.block_year .text_box {
  overflow: hidden;
  padding-bottom: 10px;
  padding-top: 10px;
}
.block_year .text {
  font-size: 23px;
  line-height: 1.5;
  color: var(--textcolor);
}
@media screen and (max-width: 820px) {
  .block_year .text {
    font-size: 16px;
  }
  .block_year .text br {
    display: none;
  }
}
@media screen and (max-width: 620px) {
  .block_year .text {
    font-size: 14px;
  }
  .block_year .text br {
    display: none;
  }
}
.block_year .text small {
  font-size: 16px;
  margin-left: 1em;
}
@media screen and (max-width: 820px) {
  .block_year .text small {
    font-size: 14px;
  }
}
.block_year .text .li {
  padding-left: 1em;
  text-indent: -1em;
}
.block_year .text .li:before {
  content: "・";
}
.block_year .text .li + .li {
  margin-top: 0.5em;
}
.block_year .text .li.hspace {
  padding-bottom: 5em;
}
.block_year .detail_btn {
  margin-top: 12px;
  margin-left: 25px;
  display: inline-block;
  color: #ccc;
  border: solid 1px #ccc;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 16px;
  padding: 6px 15px 6px 17px;
  border-radius: 4px;
  letter-spacing: 2px;
  -webkit-transition: 0.1s;
  transition: 0.1s;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
@media screen and (max-width: 820px) {
  .block_year .detail_btn {
    margin-left: 15px;
  }
}
@media screen and (max-width: 620px) {
  .block_year .detail_btn {
    font-size: 14px;
    padding: 3px 15px;
  }
}
.block_year .detail_btn:hover {
  color: #000;
  border: solid 1px #fff;
  background-color: #fff;
}
.block_year .detail_btn:active {
  -webkit-transform: translateY(2px);
          transform: translateY(2px);
}
.block_year .photo_box {
  display: block;
  width: 280px;
}
@media screen and (max-width: 1200px) {
  .block_year .photo_box {
    width: auto;
  }
}
.block_year .photo_box .photo {
  width: 100%;
  max-width: 280px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 1200px) {
  .block_year .photo_box .photo {
    max-width: 200px;
  }
}
@media screen and (max-width: 820px) {
  .block_year .photo_box .photo {
    max-width: 280px;
  }
}
.block_year .photo_box .photo img {
  width: 100%;
  height: auto;
}
.block_year .photo_box .photo img.tatenaga {
  max-width: 140px;
}
.block_year .photo_box .photo + .photo {
  margin-top: 30px;
}
.block_year .photo_box .caption {
  font-size: 12px;
  line-height: 1.5;
  padding: 5px 20px;
  position: relative;
  text-align: center;
  color: #fff;
  background-color: #000;
  margin-top: -1px;
}
@media screen and (max-width: 820px) {
  .block_year .photo_box .caption {
    padding: 5px 10px;
  }
}

/* 次の章へ */
.block_next {
  padding-top: 300px;
  position: relative;
  text-align: center;
}
@media screen and (max-width: 820px) {
  .block_next {
    padding-top: 200px;
  }
}
.block_next .next_chapter a {
  font-size: 20px;
  display: inline-block;
  color: #ccc;
  border: solid 1px #555;
  padding: 20px 30px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
@media screen and (max-width: 820px) {
  .block_next .next_chapter a {
    font-size: 15px;
    padding: 15px 20px;
    margin-left: 20px;
  }
}
.block_next .next_chapter a:hover {
  background-color: rgba(0, 0, 0, 0.3);
  border: solid 1px #666;
  color: var(--textcolor_on);
}

/* INDEXへ戻る */
.nidec_logo {
  background-color: #fff;
  position: fixed;
  z-index: 10;
  top: 10px;
  right: 10px;
  padding: 5px;
  margin-bottom: 10px;
  max-width: 120px;
}
@media screen and (max-width: 820px) {
  .nidec_logo {
    width: 80px;
  }
}
@media screen and (max-width: 620px) {
  .nidec_logo {
    width: 50px;
  }
}
.nidec_logo img {
  width: 100%;
}

.back_to_index {
  position: relative;
  z-index: 1;
}
.back_to_index a {
  position: fixed;
  top: 10px;
  left: 10px;
  font-size: 12px;
  padding: 8px 10px;
  width: 180px;
  text-align: center;
  color: #ccc;
  border: solid 1px #555;
  background-color: rgba(0, 0, 0, 0.2);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
@media screen and (max-width: 820px) {
  .back_to_index a {
    font-size: 11px;
    padding: 10px 0px;
    width: 90px;
    top: 10px;
    left: 5px;
  }
}
@media screen and (max-width: 620px) {
  .back_to_index a {
    padding: 6px 5px;
    top: 9px;
    left: auto;
    right: 70px;
    width: 100px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.7);
  }
}
.back_to_index a:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--textcolor_on);
}

/* ページトップ */
.pagetop {
  position: absolute;
  bottom: 20px;
  right: 20px;
}
@media screen and (max-width: 820px) {
  .pagetop {
    bottom: 10px;
    right: 10px;
  }
}
.pagetop span {
  display: block;
  font-size: 12px;
  border: solid 1px #fff;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-image: url("../img/pagetop.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 14px;
  opacity: 0.5;
  cursor: pointer;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
@media screen and (max-width: 820px) {
  .pagetop span {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
}
.pagetop span:hover {
  opacity: 1;
}

/* 年度ナビ */
.navi_year {
  position: fixed;
  top: 50px;
  z-index: 10;
  padding: 0px 0px 20px 60px;
}
@media screen and (max-width: 820px) {
  .navi_year {
    padding: 20px 0px 20px 25px;
    top: 35px;
  }
}
@media screen and (max-width: 620px) {
  .navi_year {
    top: 10px;
    padding: 5px 0px 20px 10px;
  }
}
.navi_year ul + ul {
  border-top: solid 1px rgba(255, 255, 255, 0.3);
  margin-top: 5px;
  padding: 5px 0 0;
}
.navi_year li {
  font-size: 13px;
  color: #777;
}
.navi_year span,
.navi_year a.yearlink {
  display: block;
  font-size: 16px;
  font-weight: 300;
  font-family: var(--numberfont);
  text-align: center;
  padding: 3px 0px;
  color: var(--linkcolor);
  cursor: pointer;
}
@media screen and (max-width: 620px) {
  .navi_year span,
.navi_year a.yearlink {
    font-size: 14px;
  }
}
.navi_year a {
  display: block;
  cursor: pointer;
  padding: 3px 0px;
  font-size: 12px;
  font-weight: 300;
  font-family: var(--numberfont);
  color: var(--linkcolor);
}
@media screen and (max-width: 820px) {
  .navi_year a {
    font-size: 13px;
  }
}
@media screen and (max-width: 620px) {
  .navi_year a {
    font-size: 11px;
  }
}
.navi_year span.on,
.navi_year span:hover,
.navi_year a:hover {
  color: var(--textcolor_on);
}
.navi_year small {
  font-size: 10px;
}
.navi_year em {
  font-weight: normal;
  font-style: normal;
  margin-top: 2px;
  text-align: right;
}
@media screen and (max-width: 820px) {
  .navi_year em {
    display: block;
  }
}

/* animation 年 */
.anim_year {
  padding: 100px 0 20px;
  opacity: 0;
}
@media screen and (max-width: 820px) {
  .anim_year {
    padding: 50px 0 0px;
  }
}

.anim_year.visible {
  -webkit-animation: anim_year 1s ease 0s both;
          animation: anim_year 1s ease 0s both;
}

@-webkit-keyframes anim_year {
  0% {
    opacity: 1;
    -webkit-transform: translateX(-550px);
            transform: translateX(-550px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}

@keyframes anim_year {
  0% {
    opacity: 1;
    -webkit-transform: translateX(-550px);
            transform: translateX(-550px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}
/* animation 月 */
.anim_month .month {
  opacity: 0;
}

.anim_month.visible .month {
  -webkit-animation: anim_month 0.8s ease-out 0.2s both;
          animation: anim_month 0.8s ease-out 0.2s both;
  -webkit-transform-origin: center center;
          transform-origin: center center;
}

@-webkit-keyframes anim_month {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-100px) rotate(360deg);
            transform: translateY(-100px) rotate(360deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0px) rotate(0deg);
            transform: translateX(0px) rotate(0deg);
  }
}

@keyframes anim_month {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-100px) rotate(360deg);
            transform: translateY(-100px) rotate(360deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0px) rotate(0deg);
            transform: translateX(0px) rotate(0deg);
  }
}
/* animation テキスト */
.anim_month .text_box .text {
  -webkit-transform: translateX(-1000px);
          transform: translateX(-1000px);
  opacity: 0;
}

.anim_month.visible .text_box .text {
  -webkit-animation: anim_slidein 0.5s ease-out 0.4s both;
          animation: anim_slidein 0.5s ease-out 0.4s both;
}

@-webkit-keyframes anim_slidein {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
            transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}

@keyframes anim_slidein {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
            transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}
/* animation 写真 */
.anim_month .photo_box {
  opacity: 0;
}

.anim_month.visible .photo_box {
  -webkit-animation: anim_photo 0.4s ease-out 0s both;
          animation: anim_photo 0.4s ease-out 0s both;
  opacity: 1;
}
@media screen and (max-width: 820px) {
  .anim_month.visible .photo_box {
    -webkit-animation: anim_photo_tb 0.5s ease-out 0s both;
            animation: anim_photo_tb 0.5s ease-out 0s both;
  }
}
@media screen and (max-width: 620px) {
  .anim_month.visible .photo_box {
    -webkit-animation: anim_photo_sp 0.5s ease-out 0s both;
            animation: anim_photo_sp 0.5s ease-out 0s both;
  }
}

@-webkit-keyframes anim_photo {
  0% {
    opacity: 0;
    -webkit-transform: scale(3) translate(0px, -100px);
            transform: scale(3) translate(0px, -100px);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1) translate(0px, 0px);
            transform: scale(1) translate(0px, 0px);
  }
}

@keyframes anim_photo {
  0% {
    opacity: 0;
    -webkit-transform: scale(3) translate(0px, -100px);
            transform: scale(3) translate(0px, -100px);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1) translate(0px, 0px);
            transform: scale(1) translate(0px, 0px);
  }
}
@-webkit-keyframes anim_photo_tb {
  0% {
    opacity: 0;
    -webkit-transform: scale(2) translate(100px, -100px);
            transform: scale(2) translate(100px, -100px);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1) translate(0px, 0px);
            transform: scale(1) translate(0px, 0px);
  }
}
@keyframes anim_photo_tb {
  0% {
    opacity: 0;
    -webkit-transform: scale(2) translate(100px, -100px);
            transform: scale(2) translate(100px, -100px);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1) translate(0px, 0px);
            transform: scale(1) translate(0px, 0px);
  }
}
@-webkit-keyframes anim_photo_sp {
  0% {
    opacity: 0;
    -webkit-transform: scale(2) translate(50px, -50px);
            transform: scale(2) translate(50px, -50px);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1) translate(0px, 0px);
            transform: scale(1) translate(0px, 0px);
  }
}
@keyframes anim_photo_sp {
  0% {
    opacity: 0;
    -webkit-transform: scale(2) translate(50px, -50px);
            transform: scale(2) translate(50px, -50px);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1) translate(0px, 0px);
            transform: scale(1) translate(0px, 0px);
  }
}
/* モーダル */
#modal_window {
  display: none;
}

#modal_window.is_open {
  display: block;
}
#modal_window.is_open .modal_body {
  position: fixed;
  z-index: 30;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  padding: 40px 40px 20px 60px;
  color: #000;
  background-color: #fff;
  border-radius: 3px;
  -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
          box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  -webkit-animation: modal_in 0.2s ease-out;
          animation: modal_in 0.2s ease-out;
}
@media screen and (max-width: 820px) {
  #modal_window.is_open .modal_body {
    padding: 20px 20px 20px 20px;
  }
}
@-webkit-keyframes modal_in {
  0% {
    margin-top: 50px;
    opacity: 0;
  }
  100% {
    margin-top: 0;
    opacity: 1;
  }
}
@keyframes modal_in {
  0% {
    margin-top: 50px;
    opacity: 0;
  }
  100% {
    margin-top: 0;
    opacity: 1;
  }
}

#modal_overlay {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100vh;
  z-index: 20;
}

.modal_footer {
  text-align: center;
  border-top: solid 1px #ccc;
  padding-top: 10px;
  margin-top: 30px;
}
.modal_footer span {
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.modal_footer span:hover {
  color: var(--green);
}

.modal_item {
  display: none;
}

.modal_item.is_open {
  display: block;
}
.modal_item.is_open .fb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (max-width: 820px) {
  .modal_item.is_open .fb {
    display: block;
  }
}
.modal_item.is_open .fb .fb_left {
  width: 55%;
  margin-right: 40px;
}
@media screen and (max-width: 820px) {
  .modal_item.is_open .fb .fb_left {
    width: auto;
    margin-right: 0px;
    padding: 20px 40px;
  }
}
@media screen and (max-width: 620px) {
  .modal_item.is_open .fb .fb_left {
    padding: 0px;
  }
}
.modal_item.is_open .fb .fb_right {
  width: 45%;
}
@media screen and (max-width: 820px) {
  .modal_item.is_open .fb .fb_right {
    width: auto;
    padding-top: 20px;
    text-align: center;
  }
}
.modal_item.is_open .date {
  font-size: 20px;
}
.modal_item.is_open .title {
  margin-top: 20px;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.2;
  color: var(--green);
}
@media screen and (max-width: 820px) {
  .modal_item.is_open .title {
    font-size: 24px;
  }
}
.modal_item.is_open .text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
}
.modal_item.is_open .photo {
  display: block;
  text-align: center;
}
.modal_item.is_open .photo img {
  max-width: 100%;
  border-radius: 10px;
}
.modal_item.is_open .list li {
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.3;
  margin-top: 6px;
}
.modal_item.is_open .caption {
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  margin-top: 10px;
}

#openning_photo {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #222;
  overflow: hidden;
}
@media screen and (max-width: 820px) {
  #openning_photo {
    position: absolute;
  }
}

#bg_chap {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #000;
  overflow: hidden;
}

#bg_chap_cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url("../img/bgimg/dot1.png");
  background-position: left top;
  background-repeat: repeat;
  background-color: rgb(40, 40, 40);
  opacity: 0.8;
}

#bg_chap_cover.is_fade {
  -webkit-animation: bgdot_is_fade 0.6s ease-out 0s both;
          animation: bgdot_is_fade 0.6s ease-out 0s both;
}

@-webkit-keyframes bgdot_is_fade {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}

@keyframes bgdot_is_fade {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}
.bg1_1 {
  position: absolute;
  top: 1200px;
  left: 0px;
  opacity: 1;
}
@media screen and (max-width: 820px) {
  .bg1_1 {
    display: none;
  }
}
.bg1_1 img {
  width: 100vw;
}

.bg1_2 {
  position: absolute;
  top: 3800px;
  left: 0px;
  opacity: 1;
}
@media screen and (max-width: 820px) {
  .bg1_2 {
    display: none;
  }
}
.bg1_2 img {
  width: 100vw;
}

.bg1_3 {
  position: absolute;
  top: 6300px;
  left: 0px;
  opacity: 1;
}
@media screen and (max-width: 820px) {
  .bg1_3 {
    display: none;
  }
}
.bg1_3 img {
  width: 100vw;
}

.bg2_1 {
  position: absolute;
  top: 800px;
  left: 100px;
  opacity: 1;
}
@media screen and (max-width: 820px) {
  .bg2_1 {
    display: none;
  }
}
.bg2_1 img {
  width: 100vw;
}

.bg2_2 {
  position: absolute;
  top: 2400px;
  left: 100px;
  opacity: 1;
}
@media screen and (max-width: 820px) {
  .bg2_2 {
    display: none;
  }
}
.bg2_2 img {
  width: 100vw;
}

.bg2_3 {
  position: absolute;
  top: 4000px;
  left: 100px;
  opacity: 1;
}
@media screen and (max-width: 820px) {
  .bg2_3 {
    display: none;
  }
}
.bg2_3 img {
  width: 100vw;
}

.bg3_1 {
  position: absolute;
  top: 500px;
  left: -100px;
  opacity: 1;
}
@media screen and (max-width: 820px) {
  .bg3_1 {
    display: none;
  }
}
.bg3_1 img {
  width: 100vw;
}

.bg3_2 {
  position: absolute;
  top: 1500px;
  left: -100px;
  opacity: 1;
}
@media screen and (max-width: 820px) {
  .bg3_2 {
    display: none;
  }
}
.bg3_2 img {
  width: 100vw;
}