html {
  color: #000000;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-image: url(../img/body_bg.jpg);
  background-size: contain;
  background-repeat: round;
  font-family: "Zen Maru Gothic", sans-serif;
}

body.is-fixed {
  overflow: hidden;
}

.pc {
  display: none;
}

p {
  font-size: min(3.5vw, 16px);
}

@media screen and (min-width: 750px) {
  html {
    font-size: 24px;
  }
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
}
img {
  width: 100%;
  max-width: -moz-max-content;
  max-width: max-content;
}

header {
  font-family: serif;
  font-weight: bold;
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #e3731d;
  box-shadow: 2px 2px 2px 1px #a3a3a3;
  display: block;
  padding: 2vw;
  z-index: 98;
  position: fixed;
  top: 0;
}
header nav {
  max-width: 1060px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
header nav img {
  width: 45vw;
  max-width: 300px;
}
header nav .drawer {
  background-image: url(../img/body_bg.jpg);
  width: 70%;
  display: flex;
  align-items: center;
  flex-direction: column;
}
header nav .drawer::before{
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 30%;
  height: 100vh;
  background-color: rgba(80, 80, 80, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
.drawer.is-open::before {
  opacity: 1;
}
header nav .drawer .nav_sp {
  width: 90%;
  margin-top: 30vw;
}
header nav .drawer .nav_sp li {
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
header nav .drawer .nav_sp li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0%, -40%);
  background-image: url(../img/right_arrow.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 4vw;
  height: 3vw;
}
header nav .drawer .nav_sp li a {
  width: 100%;
  font-size: min(5vw, 20px);
  padding: 3vw 0;
  display: block;
  position: relative;
  background-size: cover;
  background-position: center;
  color: #333;
  border-bottom: 0.5vw solid #333;
  padding-left: 1vw;
}
header nav .drawer .nav_sp li:first-child {
  text-align: center;
  margin-bottom: 5vw;
}
header nav .drawer .nav_sp li:first-child::before {
  display: none;
}
header nav .drawer .nav_sp li:first-child img {
  width: 60vw;
}
header nav .drawer .nav_sp li:last-child {
  margin-top: 3vw;
}
header nav .drawer .nav_sp li:last-child::before {
  display: none;
}
header nav .drawer .nav_sp li:last-child a {
  border: none;
  font-size: min(4vw, 18px);
}
header nav .drawer .nav_sp li:last-child a img {
  width: 3.5vw;
  margin-left: 1.8vw;
}

.hamburger {
  width: 7vw;
  height: 10vw;
  position: relative;
  top: 0vw;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 99;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.5vw;
  background: #922525;
  transition: 0.3s;
}

.hamburger span:nth-child(1) {
  top: 2vw;
}

.hamburger span:nth-child(2) {
  top: 4vw;
}

.hamburger span:nth-child(3) {
  top: 6vw;
}

.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  transition: 0.3s;
}

.drawer.is-open {
  right: 0;
}

.hamburger.is-open span:nth-child(1) {
  transform: rotate(45deg);
  top: 5vw;
  background-color: #333;
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 5vw;
  background-color: #333;
}

#mv {
  position: relative;
  width: 100%;
  height: 70vw;
  max-height: 600px;
  background-image: url(../img/mv_sp.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position-y: 7vw;
  margin-top: 10vw;
}
#mv .mv_inner {
  width: 90%;
  max-width: 1060px;
  margin: auto;
}
#mv .mv_inner .mv_text {
  font-family: serif;
  position: absolute;
  top: 40%;
  left: 3%;
  transform: translate(0%, -50%);
}
#mv .mv_inner .mv_text h1 {
  font-size: min(7.5vw, 52px);
  color: #90682a;
  font-weight: bold;
}
#mv .mv_inner .mv_text h2 {
  font-size: min(4.5vw, 25px);
}
#mv .mv_inner .mv_img {
  display: none;
}

.txt_eria {
  width: 90%;
  margin: 5vw auto;
  max-width: 1060px;
}
.txt_eria p {
  font-size: min(3.5vw, 19px);
  background-color:rgba(255, 255, 255, 0.5);
  padding: 2vw 3vw;
  border-radius: 20px;
  line-height: min(5.5vw, 28px);
  font-weight: 500;
}

.heading {
  align-items: center; /* 横線を上下中央 */
  display: flex; /* 文字と横線を横並び */
  justify-content: center; /* 文字を中央寄せ */
}
.heading::before,
.heading::after {
  background-color: #90682a; /* 横線の色 */
  content: "";
  height: 2px; /* 横線の高さ */
  width: min(14vw, 80px); /* 横線の長さ */
}
.heading::before {
  margin-right: min(3vw, 40px); /* 文字との余白 */
}
.heading::after {
  margin-left: min(3vw, 40px); /* 文字との余白 */
}

.txt_eria2 {
  width: 100%;
  background-color: #fff;
}
.txt_eria2 p {
  font-size: min(5.5vw, 52px);
  padding: 4vw;
  color: #90682a;
  text-align: center;
  font-family: serif;
  font-weight: bold;
}
#history .history_bg1 {
  background-image: url(../img/history_bg1.jpg);
  background-size: cover;
  background-repeat: round;
  padding: 3vw 0;
}
#history .history_bg2 {
  background-image: url(../img/history_bg2.jpg);
  background-size: cover;
  background-repeat: round;
  padding: 3vw 0;
}
#history .history_bg3 {
  background-image: url(../img/history_bg3.jpg);
  background-size: cover;
  background-repeat: round;
  padding: 3vw 0;
}
#history .history_bg4 {
  background-image: url(../img/history_bg4.jpg);
  background-size: cover;
  background-repeat: round;
  padding: 3vw 0;
}

#history .history_flex .history_flex_left {
  width: 100%;
  margin: 0 auto 20vw;
  position: sticky;
  top: 15vw;
  z-index: 97;
  padding: 10px 20px ;
}
#history .history_flex .bg1 {
  background-image: url(../img/history_bg1.jpg);
}
#history .history_flex .bg2 {
  background-image: url(../img/history_bg2.jpg);
}
#history .history_flex .bg3 {
  background-image: url(../img/history_bg3.jpg);
}
#history .history_flex .bg4 {
  background-image: url(../img/history_bg4.jpg);
}
#history .history_flex .history_flex_left_sp {
  text-align: center;
}
#history .history_flex .history_flex_left h4 {
  font-family: serif;
  font-weight: bold;
  color: #922525;
  font-size: min(9vw, 52px);
}
#history .history_flex .history_flex_left button {
  color: #fff;
  background-color: #90682a;
  border-radius: 15vw;
  width: 58vw;
  max-width: 360px;
  padding: 4vw 0vw;
  text-align: center;
  display: block;
  margin: 2vw auto 0;
  font-weight: bold;
  position: relative;
  font-size: min(2.5vw, 20px);
  transition: 0.2s;
  cursor: pointer;
}
#history .history_flex .history_flex_left button::before {
  content: "";
  position: absolute;
  display: block;
  background-image: url("../img/arrow.png");
  width: 7vw;
  height: 14vw;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: invert(100%);
  right: 3vw;
  bottom: -1.4vw;
}
#history .history_flex .history_flex_left_sp p {
  font-size: min(3.3vw, 16px);
}
#history .history_flex .history_flex_left div p:nth-child(3) {
  margin: 2vw 0 0 1.3vw;
  color: #922525;
  font-weight: bold;
  font-size: min(4vw, 20px);
}
#history .history_flex .history_flex_right_flex:has(.right_box .number) .left_box .number::before {
  content: "";
  width: 2vw !important;
  height: 4vw !important;
  right: -11.5% !important;
  border-radius: 100% 0 0 100%/50% !important;
  z-index: 3 !important;
}
#history .history_flex .history_flex_right {
  width: 95%;
  margin: 5vw auto;
  background-image: url(../img/tabele_bg.png);
  position: relative;
}
#history .history_flex .history_flex_right::after {
  content: "";
  width: 0.5vw;
  max-width: 2px;
  height: calc(100% - 30vw);
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #8e8e8e;
  transform: translate(-80%, -50%);
  z-index: 1;
}
#history .history_flex .history_flex_right .history_flex_right_top {
  width: 5vw;
  height: 5vw;
  max-width: 25px;
  max-height: 25px;
  display: block;
  background-color: #8e8e8e;
  position: absolute;
  border-radius: 50%;
  top: 13vw;
  left: 50%;
  transform: translate(-50%, 0%);
}
#history .history_flex .history_flex_right .history_flex_right_bottom {
  width: 5vw;
  height: 5vw;
  max-width: 25px;
  max-height: 25px;
  display: block;
  background-color: #8e8e8e;
  position: absolute;
  border-radius: 50%;
  bottom: 13vw;
  left: 50%;
  transform: translate(-50%, 0%);
}
#history .history_flex .history_flex_right .history_flex_right_flex {
  display: flex;
  padding: 5px;
  font-size: min(3.5vw, 18px);
  margin-top: 1vw;
  position: relative;
}
#history .history_flex .history_flex_right .history_flex_right_flex:nth-child(2) {
  position: absolute;
  top: -15vw;
  padding: 0;
  z-index: 2;
}
#history .history_flex .history_flex_right .history_flex_right_flex:nth-child(2) .left_box, #history .history_flex .history_flex_right .history_flex_right_flex:nth-child(2) .right_box {
  padding: 0;
}
#history .history_flex .history_flex_right .history_flex_right_flex:nth-child(3) {
  padding-top: 25vw;
}
#history .history_flex .history_flex_right .history_flex_right_flex:nth-last-child(2) {
  padding-bottom: 30vw;
}
#history .history_flex .history_flex_right .history_flex_right_flex .left_box, #history .history_flex .history_flex_right .history_flex_right_flex .right_box {
  width: 100%;
}
#history .history_flex .history_flex_right .history_flex_right_flex .right_box {
  padding-left: 5vw;
}
#history .history_flex .history_flex_right .history_flex_right_flex .right_box .number {
  font-family: serif;
  font-weight: bold;
  color: #264626;
  display: block;
  position: relative;
  font-size: min(6.5vw, 42px);
}
#history .history_flex .history_flex_right .history_flex_right_flex .right_box .number::before {
  content: "";
  position: absolute;
  display: block;
  background-color: #264626;
  width: 4vw;
  height: 4vw;
  max-width: 22px;
  max-height: 22px;
  border-radius: 50%;
  top: 50%;
  left: -17.5%;
  transform: translate(0%, -50%);
  z-index: 2;
}
#history .history_flex .history_flex_right .history_flex_right_flex .left_box {
  padding-right: 5vw;
  text-align: right;
}
#history .history_flex .history_flex_right .history_flex_right_flex .left_box .number {
  font-family: serif;
  font-weight: bold;
  color: #973324;
  display: block;
  text-align: right;
  position: relative;
  font-size: min(6.5vw, 42px);
}
#history .history_flex .history_flex_right .history_flex_right_flex .left_box .number::before {
  content: "";
  position: absolute;
  display: block;
  background-color: #973324;
  width: 4vw;
  height: 4vw;
  max-width: 22px;
  max-height: 22px;
  border-radius: 50%;
  top: 50%;
  right: -16.5%;
  transform: translate(0%, -50%);
  z-index: 2;
}

footer {
  text-align: center;
  background-color: #fff;
}
footer .top {
  padding: 5vw;
  display: block;
  width: 100%;
  background-color: #987526;
  text-align: center;
  color: #fff;
  font-size: min(2.5vw, 14px);
}
footer .top img {
  display: block;
  margin: auto;
  transform: rotate(-90deg);
  width: 10vw;
  filter: invert(100%);
}
footer img {
  width: 70vw;
  display: block;
  margin: 5vw auto;
  max-width: 250px;
}
footer small {
  font-size: min(2.5vw, 14px);
  margin-bottom: 5px;
}

.modal {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
}

.modal-content {
  width: 90%;
  max-width: 600px;
  background-color: #fff;
  margin: 5vw auto;
  padding: 8vw 3vw 5vw 3vw;
  position: relative;
  max-height: 70vh;
  overflow-y: auto;
  border-radius: 10px;
}
.modal-content h5 {
  width: 95%;
  font-size: min(4vw, 22px);
  color: #922525;
}
.modal-content h5 span {
  font-size: min(5vw, 34px);
  display: block;
  font-weight: bold;
}
.modal-content .modal-close {
  position: absolute;
  top: 0;
  right: 2vw;
  cursor: pointer;
  float: right;
  font-size: 25px;
}
.modal-content img {
  margin: 2vw 0;
}
.modal-content p {
  font-size: min(3.5vw, 20px);
}

@media screen and (min-width: 750px) {
  html {
    font-size: 24px;
  }
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
  header {
    padding: 20px 0 15px;
  }
  header nav .drawer {
    display: none;
  }
  header .nav_pc {
    display: flex;
    justify-content: center;
  }
  header .nav_pc li {
    font-size: 20px;
    margin: 0 10px;
  }
  header .nav_pc li a {
    transition: 0.3s;
    border-bottom: 2px solid transparent;
    padding: 0px 3px;
  }
  header .nav_pc li a:hover {
    color: #922525;
    opacity: 0.7;
    border-bottom: 2px solid #922525;
  }
  .hamburger {
    display: none;
  }
  #mv {
    background-position-y: 2vw;
    margin-top: 65px;
  }
  #mv .mv_inner .mv_text {
    left: auto;
    top: 43%;
  }
  .txt_eria {
    margin: 50px auto 80px;
  }
  #history .history_flex {
    display: flex;
    max-width: 1060px;
    margin: auto;
    width: 90%;
  }
  #history .history_flex button:hover {
    opacity: 0.7;
  }
  #history .history_flex .bg1 {
    background-image:none;
  }
  #history .history_flex .bg2 {
    background-image:none;
  }
  #history .history_flex .bg3 {
    background-image:none;
  }
  #history .history_flex .bg4 {
    background-image:none;
  }
  #history .history_flex .history_flex_left {
    width: 35%;
    position: relative;
    margin: 60px auto 50px;
    top: 0;
    padding: 0;
  }
  #history .history_flex .history_flex_left div {
    position: sticky;
    top: 120px;
    text-align: left;
  }
  #history .history_flex .history_flex_left div p:nth-child(3) {
    margin: 20px 0 0 10px;
  }
  #history .history_flex .history_flex_left button {
    padding: 15px 0px;
    margin: 5px 0 0 0;
    max-width: 260px;
  }
  #history .history_flex .history_flex_left button::before {
    width: 40px;
    height: 40px;
    right: 20px;
    top: 50%;
    transform: translate(0%, -50%);
    transition: 0.2s;
  }
  #history .history_flex .history_flex_left button:hover::before {
    right: 15px;
  }
  #history .history_flex .history_flex_right_flex:has(.right_box .number) .left_box .number::before {
    content: "";
    width: 11px !important;
    height: 22px !important;
    right: -15px !important;
    border-radius: 100% 0 0 100%/50% !important;
  }
  #history .history_flex .history_flex_right {
    width: 70%;
    margin: 120px 50px 80px;
  }
  #history .history_flex .history_flex_right::after {
    height: calc(100% - 200px);
  }
  #history .history_flex .history_flex_right .history_flex_right_top {
    top: 90px;
  }
  #history .history_flex .history_flex_right .history_flex_right_bottom {
    bottom: 80px;
  }
  #history .history_flex .history_flex_right .history_flex_right_flex:nth-child(2) {
    top: -80px;
  }
  #history .history_flex .history_flex_right .history_flex_right_flex:nth-child(3) {
    padding-top: 150px;
  }
  #history .history_flex .history_flex_right .history_flex_right_flex:nth-last-child(2) {
    padding-bottom: 120px;
  }
  #history .history_flex .history_flex_right .history_flex_right_flex .right_box {
    padding-left: 15px;
  }
  #history .history_flex .history_flex_right .history_flex_right_flex .right_box .number::before {
    left: -25.5px;
  }
  #history .history_flex .history_flex_right .history_flex_right_flex .left_box {
    padding-right: 15px;
  }
  #history .history_flex .history_flex_right .history_flex_right_flex .left_box .number::before {
    right: -25.5px;
  }
  footer .top {
    padding: 20px;
  }
  footer .top img {
    width: 10vw;
    max-width: 40px;
    position: relative;
    transition: 0.3s;
    top: 0;
  }
  footer .top:hover {
    opacity: 0.9;
  }
  footer .top:hover img {
    top: -5px;
  }
  footer img {
    margin: 20px auto;
  }
}
.modal-content {
  padding: 20px;
}
.modal-content .modal-close {
  top: 10px;
  right: 20px;
}
.modal-content img {
  margin: 15px 0 0;
}
.modal-content p span {
  display: block;
  text-indent: 1rem;
  margin: 10px 0 30px;
}

@media screen and (min-width: 950px) {
  #mv {
    background-image: url(../img/mv_pc_bg.png);
    background-image: none;
    margin-top: 15px;
    background-position: center 70px;
    background-size: cover;
    height: 50vw;
    max-height: 450px;
  }
  #mv .mv_inner .mv_text {
    top: 60%;
  }
  #mv .mv_inner .mv_img {
    display: block;
    position: absolute;
    right: 3.5%;
    top: 30%;
    left: 50%;
    transform: translate(-50%, 0px);
    width: 100%;
    -moz-text-align-last: right;
         text-align-last: right;
    max-width: 1060px;
  }
  #mv .mv_inner .mv_img img {
    width: 55vw;
    max-width: 650px;
  }
}/*# sourceMappingURL=style.css.map */