@media screen and (max-width: 767px) {
  section {
    text-align: justify;
  }
}

i {
  font-style: normal !important;
  position: relative;
}

small {
  font-style: normal !important;
}

@media screen and (max-width: 767px) {
  #rss {
    display: none;
  }
}

.dis-flex {
  display: flex;
  justify-content: space-between;
}

section {
  z-index: unset;
}

.line.wow {
  transition: 3.5s linear;
  height: 0px;
  overflow: hidden;
}

.line.wow.animated {
  height: 100% !important;
}

.line.wow.animated img {
  transition: 0.5s all ease-in-out;
}

.photo.wow.animated {
  transform-origin: left top;
  transform: rotate(0);
  animation: pho-rotate1 1.5s ease 0.3s 1 normal;
}

.photo.wow.animated img {
  transition: 0.5s all ease-in-out;
}

.photo2.wow.animated {
  animation: pho-rotate2 1.5s ease 0.3s 1 normal;
  transform-origin: right top;
}

.photo3.wow.animated {
  transform-origin: left top;
  animation: pho-rotate3 1.5s ease 0.3s 1 normal;
}

@keyframes pho-rotate1 {
  0% {
    transform: rotate(10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes pho-rotate2 {
  0% {
    transform: rotate(-7deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes pho-rotate3 {
  0% {
    transform: rotate(7deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@media only screen and (min-width: 768px) {
  .wrap {
    max-width: 550px;
    margin: 0px auto;
  }
  .dis-flex-pc {
    display: flex;
    justify-content: space-between;
  }
}

@media screen and (min-width: 768px) and (max-width: 1150px) {
  .wrap {
    padding: 0px 3%;
  }
}

#key {
  position: relative;
  width: 100%;
  z-index: 0;
}

#key h2 {
  position: absolute;
  font-size: 6vw;
  letter-spacing: 0.2em;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f8f0e6;
  height: 48vw;
  text-align: center;
}

#key .key-deco {
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
  background: url("../img/introduction/key_deco.png") center/100% 100%;
  z-index: 1;
}

@media only screen and (min-width: 768px) {
  .page-box {
    font-size: 21px;
    line-height: 36px;
  }
  #key {
    width: 100%;
  }
  #key h2 {
    font-size: 36px;
    height: 270px;
  }
  #key .kv img {
    width: 100%;
    height: 930px;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

#sec3 {
  position: relative;
  background: url("../img/introduction/sec3_bg.png") no-repeat top right/100%;
  padding: 16vw 0px 38vw;
}

#sec3 .sec3-line1 {
  position: absolute;
  top: -44vw;
  left: 60%;
  width: 20%;
}

#sec3 h2 {
  position: absolute;
  top: calc(-44vw - 3em);
  right: 8%;
  height: 80vw;
  font-size: 6vw;
  z-index: 1;
  letter-spacing: 0.2em;
    padding-top: 3em;
}

#sec3 h2 span {
  color: #f8f0e6;
}

#sec3 h3 {
  width: 70%;
  font-size: 5.2vw;
  padding-bottom: 2vw;
  border-bottom: 1px solid #ac9a6b;
  letter-spacing: 0.2em;
}

#sec3 .sec3-txt1 {
  margin: 4vw 0px 6vw;
}

#sec3 .sec3-txt1 p:nth-child(2) {
  margin: 4vw 0px;
}

#sec3 .sec3-txt2 p:nth-child(1) {
  text-align: right;
}

#sec3 .sec3-txt2 p:nth-child(2) {
  width: 60%;
  margin: 0px 0px 0px auto;
}

#sec3 .sec3-deco {
  width: 42%;
  margin: 6vw 3% -2vw auto;
}

#sec3 .sec3-row {
  position: relative;
}

#sec3 .sec3-img1 {
  position: relative;
  z-index: 1;
  width: 70%;
}

#sec3 .sec3-box2 {
  width: 80%;
  margin: -56vw -3% 0px auto;
}

#sec3 .sec3-line2 {
  width: 40%;
  position: absolute;
  top: 12px;
  left: 28%;
  z-index: 2;
}

#sec3 .sec3-line3 {
  width: 30%;
  position: absolute;
  top: 82vw;
  left: 3%;
  z-index: 2;
}

@media only screen and (min-width: 768px) {
  #sec3 {
    padding: 116px 0px 350px;
  }
  #sec3 .sec3-line1 {
    top: -370px;
  left: 47%;
    width: 125px;
  }
  #sec3 h2 {
    top: calc(-328px - 3em);
    right: 30px;
    height: 550px;
    font-size: 44px;
  }
  #sec3 h3 {
    font-size: 36px;
    padding-bottom: 16px;
    width: 355px;
  }
  #sec3 .sec3-txt1 {
    margin: 28px 0px 36px;
  }
  #sec3 .sec3-txt1 p:nth-child(2) {
    margin: 36px 0px;
  }
  #sec3 .sec3-txt2 p:nth-child(2) {
    width: 45%;
  }
  #sec3 .sec3-deco {
    max-width: 168px;
    margin: 48px 10% -14px auto;
    width: 37%;
  }
  #sec3 .sec3-line2 {
    width: 264px;
    top: 12px;
  }
  #sec3 .sec3-line3 {
    width: 355px;
    top: 60%;
  }
  #sec3 .sec3-img1 {
    max-width: 464px;
    width: 63%;
    margin: -16px 0px 0px;
  }
  #sec3 .sec3-box2 {
    margin: -30vw 0px 0px auto;
    width: 60%;
    max-width: 483px;
  }
  #sec3 .sec3-img2 {
    width: 100%;
  }
}

#sec4 {
  background: url("../img/introduction/sec4_bg.png") no-repeat top left/100%;
  padding: 0px 0px 40vw;
  position: relative;
}

#sec4 h2 {
  width: 95%;
  font-size: 5.2vw;
  padding-bottom: 2vw;
  border-bottom: 1px solid #ac9a6b;
}

#sec4 .sec4-txt {
  margin: 4vw 0px 0px;
}

#sec4 .sec4-txt p:nth-child(2) {
  margin: 4vw 0px;
}

#sec4 .sec4-line1 {
  position: absolute;
  top: 82vw;
  right: 3%;
  width: 28%;
  z-index: 2;
}

#sec4 .sec4-img2 {
  width: 62%;
  margin: -12vw 0px 0px auto;
  position: relative;
  z-index: 1;
}

#sec4 .sec4-img1 {
  width: 70%;
  margin: -28vw 0px 0px;
}

#sec4 .sec4-2 {
  position: relative;
}

#sec4 .sec4-line2 {
  position: absolute;
  top: 100vw;
  left: 25%;
  width: 60%;
}

@media only screen and (min-width: 768px) {
  #sec4 {
    padding: 9px 0px 370px;
  }
  #sec4 h2 {
    width: 520px;
    font-size: 36px;
    padding-bottom: 16px;
    letter-spacing: 0.2em;
  }
  #sec4 .sec4-txt {
    margin: 20px 0px 0px;
    width: 460px;
  }
  #sec4 .sec4-txt p:nth-child(2) {
    margin: 36px 0px;
  }
  #sec4 .sec4-line1 {
    width: 181px;
    top: 255px;
  }
  #sec4 .sec4-img2 {
    max-width: 430px;
    width: 60%;
    margin: -120px 0px 0px auto;
  }
  #sec4 .sec4-img1 {
    width: 65%;
    max-width: 462px;
    margin: -21vw 0px 0px;
  }
  #sec4 .sec4-line2 {
    width: 429px;
    top: 560px;
  }
}

#sec5 {
  background: url("../img/introduction/sec5_bg.png") no-repeat top left/100%;
  padding: 0px 0px 16vw;
}

#sec5 h2 {
  width: 95%;
  font-size: 5.2vw;
  padding-bottom: 2vw;
  border-bottom: 1px solid #ac9a6b;
}

#sec5 .sec5-txt1 {
  margin: 4vw 0px 0px;
}

#sec5 .sec5-txt1 p:nth-child(2) {
  width: 70%;
  margin: 4vw auto;
}

#sec5 .sec5-txt1 p:nth-child(3) {
  width: 58%;
  margin: 0px 0px 0px auto;
}

#sec5 .sec5-line1 {
  position: absolute;
  top: 124vw;
  left: 10%;
  width: 50%;
  z-index: 3;
}

#sec5 .sec5-img1 {
  margin: -10vw 0px 0px;
  width: 50%;
}

#sec5 .sec5-img2 {
  width: 60%;
  margin: -40vw 0px 0px auto;
  position: relative;
  z-index: 2;
}

#sec5 .sec5-img3 {
  width: 60%;
  margin: -38vw 0px 0px;
  position: relative;
  z-index: 1;
}

#sec5 .sec5-2 {
  position: relative;
}

#sec5 .sec5-line2 {
  position: absolute;
  top: 80%;
  right: 20%;
  width: 20%;
  z-index: 2;
}

@media only screen and (min-width: 768px) {
  #sec5 {
    padding: 0px 0px 279px;
  }
  #sec5 h2 {
    width: 520px;
    font-size: 36px;
    padding-bottom: 16px;
    letter-spacing: 0.2em;
  }
  #sec5 .sec5-txt1 {
    margin: 24px 0px 0px;
  }
  #sec5 .sec5-txt1 p:nth-child(2) {
    width: 350px;
    margin: 36px auto;
  }
  #sec5 .sec5-txt1 p:nth-child(3) {
    width: 280px;
  }
  #sec5 .sec5-line1 {
    top: 600px;
    width: 387px;
  }
  #sec5 .sec5-img1 {
    width: 50%;
    max-width: 334px;
    margin: -92px 0px 0px;
  }
  #sec5 .sec5-img2 {
    width: 55%;
    max-width: 443px;
    margin: -15vw 0px 0px auto;
  }
  #sec5 .sec5-img3 {
    width: 62%;
    max-width: 475px;
    margin: -25vw 0px 0px;
  }
  #sec5 .sec5-line2 {
    width: 162px;
    top: 90%;
  }
}

@media screen and (min-width: 1700px) {
  #sec5 .sec5-img3 {
    margin: -19vw 0px 0px;
  }
}

#sec6 {
  background: url("../img/introduction/sec6_bg.jpg") center/cover;
  padding: 16vw 0px;
  position: relative;
  color: #f8f0e6;
}

#sec6 h2 {
  width: 50%;
  font-size: 5.2vw;
  padding-bottom: 2vw;
  border-bottom: 1px solid #fff;
  letter-spacing: 0.2em;
}

#sec6 .sec6-txt {
  margin: 6vw 0px 0px;
}

#sec6 .sec6-txt p:nth-child(2) {
  margin: 3vw 0px;
}

#sec6 .sec6-txt p:nth-child(4) {
  width: 65%;
  margin: 3vw 0px 0px auto;
}

#sec6 .sec6-line {
  position: absolute;
  top: 97%;
  left: 8%;
  width: 70%;
}

@media only screen and (min-width: 768px) {
  #sec6 {
    padding: 150px 0px 241px;
  }
  #sec6 h2 {
    width: 200px;
    font-size: 36px;
    padding-bottom: 16px;
  }
  #sec6 .sec6-txt {
    margin: 36px 0px 0px;
  }
  #sec6 .sec6-txt p:nth-child(2) {
    margin: 36px 0px;
  }
  #sec6 .sec6-txt p:nth-child(4) {
    width: 340px;
    margin: 36px 0px 0px auto;
  }
  #sec6 .sec6-line {
    width: 692px;
  }
}

#sec7 {
  background: url("../img/introduction/sec7_bg.png") no-repeat top right/100%;
  padding: 38vw 0px 0px;
}

#sec7 .sec7-1, #sec7 .sec7-2, #sec7 .sec7-3 {
  position: relative;
}

#sec7 .sec7-1 .wrap {
  justify-content: flex-start;
}

#sec7 h2 {
  font-size: 5.2vw;
  height: 92vw;
  letter-spacing: 0.2em;
}

#sec7 .sec7-txt1 {
  width: 60%;
  margin: 0px 0px 0px 4%;
}

#sec7 .sec7-img1 {
  position: absolute;
  top: -5vw;
  right: 0px;
  width: 45%;
}

#sec7 .sec7-img2 {
  position: absolute;
  top: 38vw;
  left: 0px;
  width: 35%;
}

#sec7 .sec7-txt2 {
  margin: -10vw 0px 0px auto;
  width: 70%;
}

#sec7 .sec7-txt2 p:nth-child(2) {
  margin: 6vw 0px 4vw;
}

#sec7 .sec7-txt3 {
  letter-spacing: 0;
  margin: 6vw 0px 0px;
}

#sec7 .sec7-txt3 p + p {
  margin: 4vw 0px 0px;
}

#sec7 .sec7-line {
  position: absolute;
  top: -6vw;
  right: 2%;
  width: 30%;
  z-index: 1;
}

#sec7 h3 {
  margin: 20vw 0px 0px;
  box-sizing: border-box;
  padding: 0 0 0 8%;
  position: relative;
  font-size: 3.5vw;
  cursor: pointer;
}

/*#sec7 h3::before {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 30%;
  height: 26vw;
  background: url("../img/introduction/sec7_btn.png") center/cover;
}*/

#sec7 h3 a {
  z-index: 1;
  display: block;
  position: relative;
  padding: 0px 0px 16vw;
}

#sec7 h3 a::before {
  content: "";
  position: absolute;
  top: 3vw;
  left: 54%;
  width: 30%;
  height: 1px;
  background: #9a130c;
}

#sec7 h3 a:hover {
  color: #9a130c;
}

#sec7 h3 a::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 30%;
  height: 26vw;
  background: url("../img/introduction/sec7_btn.png") center/cover;
}

@media only screen and (min-width: 768px) {
  #sec7 {
    padding: 370px 0px 0px;
  }
  #sec7 h2 {
    font-size: 44px;
    height: 590px;
  }
  #sec7 .sec7-txt1 {
    width: 290px;
    margin: 9px 0px 0px 8%;
  }
  #sec7 .sec7-img1 {
    width: 42%;
    max-width: 321px;
    top: 12px;
  }
  #sec7 .sec7-img2 {
    width: 38%;
    max-width: 297px;
    top: 136px;
  }
  #sec7 .sec7-txt2 {
    width: 350px;
    margin: -116px 0px 0px auto;
  }
  #sec7 .sec7-txt2 p:nth-child(2) {
    margin: 70px 0px 42px;
  }
  #sec7 .sec7-txt3 {
    margin: 42px 0px 0px;
  }
  #sec7 .sec7-txt3 p + p {
    margin: 36px 0px 0px;
  }
  #sec7 .sec7-line {
    width: 285px;
    top: -72px;
  }
  #sec7 .sec7-line.wow.animated {
    height: 379px !important;
  }
  #sec7 h3 {
    margin: 140px 0px 0px;
    padding: 0px 0px;
    font-size: 21px;
  }
  /*#sec7 h3::before {
    width: 201px;
    height: 197px;
  }*/
  #sec7 h3 a {
        width: calc(100% - 210px);
    margin: 0px 0 0 auto;
    padding: 0px 0px 90px;
      max-width: 650px;
    min-width: 45vw;
  }
  #sec7 h3 a::before {
    top: 16px;
    left: 50%;
    width: 40%;
  }
    #sec7 h3 a::after {
    width: 201px;
    height: 197px;
  }
}

#scroll-nomal {
  perspective: 10000px;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

section .right {
  transform-origin: left center;
  z-index: 99;
  position: relative;
  transform: translate3d(0, 0, 0);
}

section .right:has(.btn-flip.click) {
  animation: flip-out_cy 1500ms cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

@media only screen and (max-width: 768px) {
  section .right {
    box-sizing: border-box;
    padding-left: 40px;
  }
  section .right::after {
      content: '';
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 40px;
    width: 2px;
    height: 100%;
    background-color: #6f4d2a;
    filter: blur(10px);
    transform: translateY(10px) scale(1.05);
    mix-blend-mode: multiply;
    }
    
    #sec3 .wrap , #sec4 .wrap , #sec5 .wrap , #sec6 .wrap , #sec7 .sec7-1 .wrap , #sec7 .sec7-2 .wrap{
            padding: 0 3% 0 8%;
    }
    #sec7 .sec7-img1{
        right: -3.5vw;
    }
    #sec7 .sec7-txt1 {
    width: 60%;
    margin: 0px 0px 0px 6%;
    }
    
    
}

@keyframes flip-out_cy {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(-90deg);
  }
}

footer {
  display: none;
}
