/* index.php hedaer */
.ly_fixedNav1,
.ly_fixedNav2 {
  position: sticky;
  inset-block-start: -100%;
  inset-inline-start: 0;
  z-index: 30;
  inline-size: 100%;
  transition: inset-block-start 0.5s, visibility 0.5s;
  visibility: hidden;
  height: 0;
  padding: 0;
  border: 0;
  transition: all 0.5s;
}
.ly_fixedNav1.is_active,
.ly_fixedNav2.is_active {
  inset-block-start: 0;
  visibility: visible;
  height: auto;
  padding: 10px 0 5px;
  border-bottom: 4px solid #a72125;
  transition: all 0.5s;
}

/* main visual */
#index .mv {
  width: 100%;
  height: 97vh;
  min-height: 800px;
  background: url(../images/index/mv_bg1.png) no-repeat top center;
  background-size: 100%;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
#index .mv .mv_box {
  margin: 0 auto;
  width: 100%;
  height: 100%;
  background: url(../images/index/mv_img.png) no-repeat;
  background-position: top 70% center;
  background-size: 100%;
  overflow: hidden;
}
#index .mv .mv_logo {
  width: 30%;
  max-width: 160px;
  margin: 12vh auto 4vh;
}
#index .mv .mv_copy {
  margin: 0 auto 0;
  width: fit-content;
}
#index .mv .mv_copy p {
  font-family: "Shippori Mincho B1", serif;
  font-weight: bold;
  font-size: calc(44vw / 10);
  text-align: center;
  line-height: 1.4;
}
#index .mv .mv_copy span {
  color: #e50011;
}

#index .mv .arrow {
  width: fit-content;
  height: 100px;
  position: absolute;
  right: 50vw;
  bottom: 40px;
}
#index .mv .arrow div {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.2em;
  position: absolute;
  top: 0;
  left: 0;
}

#index .mv .arrow span {
  animation: top_scllor 2s infinite;
  position: absolute;
  bottom: 0;
  left: 2px;
}
@keyframes top_scllor {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}

#index .mv .arrow i {
  display: block;
  width: 1px;
  height: 36px;
  margin-top: 10px;
  background: #603813;
}
#index .mv .arrow i::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: -1px;
  width: 10px;
  height: 1px;
  border-radius: 9999px;
  background: #603813;
  transform: rotate(135deg);
}

/* タブレット用のスタイル */
@media screen and (min-width: 1500px) {
  #index .mv .mv_copy p {
    font-size: 62px;
  }
  #index .mv .mv_box {
    background: url(../images/index/mv_img.png) no-repeat;
    background-position: top 80% center;
    background-size: 90%;
  }
}
@media screen and (max-width: 1081px) {
  #index .mv {
    max-height: 560px;
  }
  #index .mv .mv_box {
    background: url(../images/index/mv_img.png) no-repeat;
    background-position: top 80% center;
    background-size: 110%;
  }
  #index .mv .mv_copy p {
    font-size: calc(58vw / 10);
  }
  #index .mv .arrow {
    position: absolute;
    bottom: 1vw;
  }
  #index .mv .arrow div {
    font-size: 9px;
  }
  #index .mv .arrow span {
    animation: top_scllor 2s infinite;
    position: absolute;
    bottom: 1vw;
    left: 3px;
  }
  @keyframes top_scllor {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(15px);
    }
    100% {
      transform: translateY(0);
    }
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #index .mv {
    height: 66vh;
    background: url(../images/index/mv_bg_sp.png) no-repeat top center;
    background-size: 100%;
  }
  #index .mv .mv_logo {
    margin: 8vh auto 2vh;
  }
  #index .mv .mv_copy p {
    font-size: calc(100vw / 15);
  }
  #index .mv .arrow {
    height: 8vh;
    min-height: 80px;
    position: absolute;
    bottom: 20px;
  }
  #index .mv .arrow div {
    font-size: 10px;
  }

  #index .mv .arrow span {
    animation: top_scllor 2s infinite;
    position: absolute;
    bottom: 0;
    left: 2px;
  }
  @keyframes top_scllor {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(20px);
    }
    100% {
      transform: translateY(0);
    }
  }
  #index .mv .arrow i {
    height: 30px;
  }
}
@media screen and (max-width: 430px) {
  #index .mv {
    height: 80vh;
    max-height: 520px;
    min-height: auto;
    background: url(../images/index/mv_bg_sp.png) no-repeat top right;
    background-size: 100%;
  }
  #index .mv .mv_box {
    background: url(../images/index/mv_img.png) no-repeat;
    background-position: top 65% center;
    background-size: 115%;
  }
  #index .mv .mv_logo {
    margin: 8vh auto 3vh;
  }
  #index .mv .mv_copy p {
    font-size: calc(100vw / 12);
  }
  #index .mv .arrow {
    height: 11vh;
  }
}

/* 落ちる椿 */
.sclool_tsubaki {
  position: absolute;
  width: 100%;
  height: 240%;
  overflow: hidden;
}
.tsubaki_01,
.tsubaki_04 {
  width: 6vw;
  height: auto;
}
.tsubaki_02,
.tsubaki_06 {
  width: 3vw;
  height: auto;
}
.tsubaki_03,
.tsubaki_05 {
  width: 5vw;
  height: auto;
}
[class^="tsubaki_"] img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tsubaki_01 {
  position: absolute;
  top: 13vw;
  right: 10%;
  z-index: 10;
}
.tsubaki_02 {
  position: absolute;
  top: 20vw;
  right: 10%;
  z-index: 20;
}
.tsubaki_03 {
  position: absolute;
  top: 24vw;
  left: 93%;
}

.tsubaki_04 {
  position: absolute;
  top: 21vw;
  left: 1%;
  transform: scale(-1, 1);
  z-index: 30;
}
.tsubaki_05 {
  position: absolute;
  top: 9vw;
  left: 16%;
  transform: scale(-1, 1);
  z-index: 40;
}
.tsubaki_06 {
  position: absolute;
  top: 18vw;
  left: 10%;
  transform: scale(-1, 1);
}

.sclool_tsubaki.is-active .tsubaki_02 {
  animation: fall 3s ease-in forwards, sway1-1 3s ease-in-out alternate;
}
.sclool_tsubaki.is-active .tsubaki_04 {
  animation: fall 3s ease-in forwards, sway1-2 3s ease-in-out alternate;
}
@keyframes fall {
  from {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  to {
    opacity: 0;
    top: 90vh;
  }
}
@keyframes sway1-1 {
  from {
    transform: translate3d(0vw, 0vw, 0vw) rotate(0deg);
  }

  25% {
    transform: translate3d(-10vw, 0vw, 0vw) rotate(10deg);
  }

  75% {
    transform: translate3d(10vw, 0vw, 0vw) rotate(10deg);
  }

  to {
    transform: translate3d(0vw, 0vw, 0vw) rotate(0deg);
  }
}
@keyframes sway1-2 {
  from {
    transform: translate3d(0vw, 0vw, 0vw) rotate(0deg);
  }

  25% {
    transform: translate3d(10vw, 0vw, 0vw) rotate(10deg);
  }

  75% {
    transform: translate3d(-10vw, 0vw, 0vw) rotate(-10deg);
  }

  to {
    transform: translate3d(0vw, 0vw, 0vw) rotate(0deg);
  }
}

.sclool_tsubaki.is-active .tsubaki_01 {
  animation: fall2 4s linear forwards, sway2-1 4s ease-in-out alternate;
}
.sclool_tsubaki.is-active .tsubaki_06 {
  animation: fall2 4s linear forwards, sway2-2 4s ease-in-out alternate;
}

.sclool_tsubaki.is-active .tsubaki_03 {
  animation: fall2 4s linear forwards, sway3-1 4s ease-in-out alternate;
}
.sclool_tsubaki.is-active .tsubaki_05 {
  animation: fall2 4s linear forwards, sway3-2 4s ease-in-out alternate;
}
@keyframes fall2 {
  from {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  to {
    opacity: 0;
    top: 80vh;
  }
}

@keyframes sway2-1 {
  from {
    transform: translate3d(0vw, 0vw, 0vw) rotate(0deg);
  }

  25% {
    transform: translate3d(-15vw, 0vw, 0vw) rotate(10deg);
  }

  75% {
    transform: translate3d(0, 0vw, 0vw) rotate(-10deg);
  }

  to {
    transform: translate3d(-10vw, 0vw, 0vw) rotate(0deg);
  }
}
@keyframes sway2-2 {
  from {
    transform: translate3d(0vw, 0vw, 0vw) rotate(0deg);
  }

  25% {
    transform: translate3d(30vw, 0vw, 0vw) rotate(-20deg);
  }

  75% {
    transform: translate3d(-20vw, 0vw, 0vw) rotate(10deg);
  }

  to {
    transform: translate3d(0vw, 0vw, 0vw) rotate(0deg);
  }
}

@keyframes sway3-1 {
  from {
    transform: translate3d(0vw, 0vw, 0vw) rotate(40deg);
  }

  25% {
    transform: translate3d(-20vw, 0vw, 0vw) rotate(20deg);
  }

  75% {
    transform: translate3d(-10vw, 0vw, 0vw) rotate(-20deg);
  }

  to {
    transform: translate3d(-25vw, 0vw, 0vw) rotate(0deg);
  }
}
@keyframes sway3-2 {
  from {
    transform: translate3d(0vw, 0vw, 0vw) rotate(-40deg);
  }

  25% {
    transform: translate3d(10vw, 0vw, 0vw) rotate(-20deg);
  }

  75% {
    transform: translate3d(30vw, 0vw, 0vw) rotate(20deg);
  }

  to {
    transform: translate3d(30vw, 0vw, 0vw) rotate(0deg);
  }
}

/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  .sclool_tsubaki {
    position: absolute;
    width: 100%;
    height: 150%;
  }
  [class^="tsubaki_"] {
    width: 7vw;
    height: auto;
  }
  .tsubaki_02 {
    width: 4vw;
    height: auto;
  }
  .tsubaki_01 {
    top: 18vw;
  }
  .tsubaki_02 {
    top: 19vw;
    right: 5%;
  }
  .tsubaki_03 {
    top: 25vw;
    left: 89%;
    width: 9vw;
  }

  .tsubaki_04 {
    top: 30vw;
  }
  .tsubaki_05 {
    top: 16vw;
    left: 15vw;
    width: 6vw;
  }
  .tsubaki_06 {
    width: 5vw;
    top: 24vw;
  }
}
@media screen and (max-width: 430px) {
}

/* introducs */
#index .introduction {
  padding: 100px 0 60px;
  position: relative;
  z-index: 0;
}
#index .introduction .intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
#index .introduction .intro .intro_img {
  width: 36%;
  position: relative;
}
#index .introduction .intro .intro_img01 {
  width: 90%;
  line-height: 0;
  align-self: flex-start;
  box-shadow: 2vw 4vw 0 #a7212555;
}
#index .introduction .intro .intro_img02 {
  width: 52%;
  position: absolute;
  bottom: -48%;
  right: -15%;
}
#index .introduction .intro .intro_txt {
  width: 56%;
}
#index .introduction .intro .intro_ttl {
  padding: 0px 0 8px 15px;
  margin-bottom: 30px;
  font-size: 200%;
  font-family: "Shippori Mincho B1", serif;
  font-weight: bold;
  letter-spacing: 1px;
  color: #a72125;
  border-left: 8px double #a72125;
}
#index .introduction .intro p {
  font-size: 110%;
  text-align: left;
  letter-spacing: 1px;
  line-height: 2;
}

@media screen and (max-width: 1081px) {
  #index .introduction {
    padding: 3vh 0 6vh;
  }
  #index .introduction .intro {
    width: 90%;
    margin: auto;
  }
  #index .introduction .intro .intro_txt {
    width: 62%;
  }
  #index .introduction .intro .intro_txt p {
    letter-spacing: 0;
    font-size: 100%;
  }
  #index .introduction .intro .intro_img {
    margin-top: 10%;
    order: 2;
  }
}
@media screen and (max-width: 768px) {
  #index .introduction {
    background-size: 40%;
    background-position: bottom right;
    padding: 3vh 0 6vh;
  }
  #index .introduction .intro .intro_txt {
    width: 100%;
  }
  #index .introduction .intro .intro_ttl {
    padding: 2vw 0 2vw 2vw;
    margin-bottom: 3vw;
    font-size: 140%;
  }
  #index .introduction .intro .intro_txt p {
    width: 90%;
    margin: 0 auto;
  }
  #index .introduction .intro .intro_img {
    width: 80%;
    margin: 2vw auto 2vw 6vw;
  }
}
@media screen and (max-width: 430px) {
  #index .introduction {
    padding: 0 0 6vh;
    position: relative;
    background: none;
  }
}
/* topnav */
#index .topnav {
  overflow: visible;
  position: relative;
}
#index .topnav .topnav_copy {
  margin: 30px auto;
  padding-bottom: 60px;
  font-size: 120%;
  text-align: center;
  line-height: 1.8;
  background: url(../images/index/tubaki_il01.png) no-repeat right bottom;
  background-size: 20%;
}
#index .topnav .topnav_box {
  width: 86%;
  margin: 0 auto 90px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
#index .topnav .topnav_box dl {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc((100% / 3) - 40px);
  height: 14vw;
  max-height: 240px;
  font-size: 120%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#index .topnav .topnav_box dl::after {
  content: "";
  display: block;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 1px solid #ffffff;
  position: absolute;
  transition: all 0.5s;
  z-index: 1;
}
#index .topnav .topnav_box dl:hover {
  box-shadow: 0 0 16px #a7212555;
  transition: 0.4s;
}
#index .topnav .topnav_box dl:hover::after {
  content: "";
  display: block;
  width: calc(100% - 25px);
  height: calc(100% - 25px);
}
#index .topnav .topnav_box dl dt {
  width: 100%;
  margin: auto;
  text-shadow: #ffffff 0px 0px 3px, #ffffff 0px 0px 3px, #ffffff 0px 0px 3px, #ffffff 0px 0px 3px, #ffffff 0px 0px 6px, #ffffff 0px 0px 6px, #ffffff 0px 0px 10px, #ffffff 0px 0px 10px, #ffffff 0px 0px 12px, #ffffff 0px 0px 12px, #ffffff 0px 0px 12px, #ffffff 0px 0px 12px, #ffffff 0px 0px 12px, #ffffffcc 2px 2px 4px;
  font-size: 110%;
  /* font-weight: bold;
  opacity: 0.8; */
  bottom: 45%;
  left: 0;
  right: 0;
  z-index: 2;
}
#index .topnav .topnav_box dl dt a {
  width: 100%;
  height: 100%;
  padding: 20px;
}
#index .topnav .topnav_box dl dd {
  width: 100%;
  text-align: center;
  line-height: 0;
  overflow: hidden;
  transition: 0.4s;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
#index .topnav .topnav_box dl dd a,
#index .topnav .topnav_box dl dd img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#index .topnav .topnav_box dl:hover dt {
  opacity: 1;
  font-size: 120%;
  transition: 0.4s;
}
#index .topnav .topnav_box dl:hover dd img {
  transform: scale(1.1);
  transition: 0.4s;
}
@media screen and (max-width: 1081px) {
  #index .topnav .topnav_box {
    gap: 20px;
  }
  #index .topnav .topnav_box dl {
    width: calc((100% / 3) - 20px);
    height: 18vw;
  }
}
@media screen and (max-width: 768px) {
  #index .topnav .topnav_copy {
    background: url(../images/index/tubaki_il01.png) no-repeat right bottom;
    background-size: 36%;
  }
  #index .topnav .topnav_box dl {
    width: 90%;
    margin: auto;
    height: 28vw;
  }
}
@media screen and (max-width: 430px) {
}

/* products */
#index .products {
  padding: 60px 0;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
#index .products .product_list {
  width: 100%;
  margin: auto;
}
#index .products .product_list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
#index .products .product_list .product_list_imgpc {
  width: 50%;
}
#index .products .product_list .product_list_imgpc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* #index .products .product_list li:nth-of-type(even) {
  background: #ffffff;
} */
#index .products .product_list li:nth-of-type(even) .product_list_imgpc {
  order: 2;
}
#index .products .product_list .product_list_imgsp {
  display: none;
}
#index .products .product_list .product_list_txt {
  width: 50%;
  padding: 3% 5%;
}
#index .products .product_list .product_list_txt .product_list_ttl {
  font-family: "Kaisei Decol", serif;
  width: 100%;
  font-size: 180%;
  font-weight: bold;
  border-left: 6px #a72125 double;
  padding: 0 10px;
  line-height: 1;
  margin-bottom: 15px;
  position: relative;
}

#index .products .product_list .product_list_txt dd {
  line-height: 1.8;
  transition: background-size 1s ease-out;
  font-size: 110%;
}
#index .products .product_list .product_list_txt dd em {
  position: relative;
  font-weight: bold;
  display: inline;
  background: linear-gradient(transparent 50%, #ffdd2966 50%) no-repeat;
  background-size: 0% 1.7em;
  transition: background-size 1s ease-out;
  padding-bottom: 0.2em;
  line-height: 1.4;
}
#index .products .product_list .product_list_txt dd em.is-active {
  background-size: 100% 1.7em;
  transition: background-size 1s ease-out;
}
/* #index .products .product_list .product_list_txt dd em::after {
  content: "";
  display: inline-block;
  background: linear-gradient(transparent 60%, #ffdd2966 40%);
  background-size: 100% 1em;
  width: 0;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0px;
  transition: all 0.8s ease;
  z-index: -1;
}
#index .products .product_list .product_list_txt dd em.is-active::after {
  width: 100%;
  transition: all 0.8s ease;
} */

@media screen and (max-width: 1081px) {
  #index .products {
    padding: 6vw 0;
  }
  #index .products .product_list .product_list_txt .product_list_ttl {
    font-size: 160%;
  }
}
@media screen and (max-width: 768px) {
  #index .products {
    padding: 6vw 0 10vw;
  }
  #index .products .product_list {
    width: 90%;
    margin: 0 auto 5vw;
  }
  #index .products .product_list .product_list_imgpc {
    display: none;
  }
  #index .products .product_list .product_list_txt {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }
  #index .products .product_list .product_list_txt dd {
    width: 100%;
  }
  #index .products .product_list .product_list_txt .product_list_imgsp {
    display: block;
    width: 100%;
  }
  #index .products .main_btn {
    margin: 4vw auto 8vw;
  }
}
@media screen and (max-width: 430px) {
}
