.main-visual {
  position: relative;
  height: 100vh;
  width: 100%;
  background-color: #cdcdcd;
  color: var(--custom_style_color_white);
}

.main-visual__bg__outer,
.main-visual__bg__inner,
.main-visual__bg,
.main-visual__bg__item {
  height: 100%;
  width: 100%;
}

.main-visual__bg__outer {
  position: absolute;
}

.main-visual__bg {
  object-fit: cover;
}

.main-visual__inner {
  position: relative;
  min-height: 25.8rem;
  width: 100%;
  height: 100%;
}

.main-visual__heading {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}
.main-visual__heading object {
  aspect-ratio: 1;
  display: block;
}

.home-about {
  padding: 0;
}

.home-about__top {
  display: grid;
  position: relative;
}

.home .home-about__top .section-sub-heading {
  position: absolute;
  top: 0;
  left: 0;
}

.home-about__top-heading {
  display: grid;
  gap: 1rem;
  margin: auto;
  opacity: 0;
}

.home-about__top-heading.is-anim-active {
  opacity: 1;
}

.home-about__top-heading-main {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.2em;
  margin: 0;
}

.home-about__top-heading-sub {
  line-height: 1;
  font-family: "EB Garamond", serif;
}

.home-about__top-heading span {
  opacity: 0;
}

.home-about__top-heading span.is-blur {
  animation: textBlurFadeIn 1s forwards;
}

.home-about__top-text {
  margin-bottom: 5rem;
}

.home-about__bottom {
  padding-top: 8rem;
  overflow: hidden;
}

.home-about__bottom-slider {
  display: grid;
  grid-auto-flow: column;
  width: fit-content;
  animation: linear_slider 180s linear 0s infinite;
}

.home-about__bottom-image {
  margin-left: 1rem;
  width: 36rem;
}

.home-about__bottom-image img {
  object-fit: cover;
  width: 36rem;
  aspect-ratio: 36/28;
}

.home-topics__container {
  display: grid;
}

.home-topics__container-heading {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
}

.home-topics__container-list {
  max-width: 100dvw;
  overflow: hidden;
}

.home-topics__list-wrap {
  display: grid;
}

.home-topics__list-item {
  display: grid;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.home-topics__list-item:hover .home-topics__item-image img {
  scale: 1.1;
}

.home-topics__list-item:hover .home-topics__item-container {
  opacity: 0.5;
}

.home-topics__item-image {
  width: 27rem;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.home-topics__item-image img {
  display: block;
  object-fit: cover;
  object-position: center;
  transition: scale 2s;
  height: 100%;
}

.home-topics__item-time,
.home-news__link-time {
  letter-spacing: 0.1em;
  line-height: 1;
  font-family: "EB Garamond", serif;
  color: var(--custom_style_color_gold);
}
.home-topics__item-time.color-white,
.home-news__link-time.color-white {
  color: var(--custom_style_color_white);
}

.home-topics__item-container {
  transition: opacity 1s;
}

.home-topics__item-title {
  margin: 0;
}

.home-topics__item-text {
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
}

.home-cat {
  position: relative;
  margin: 12rem auto;
}

.home-cat__item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  top: 0;
  width: 100%;
  height: 100vh;
  transition: width 0.3s, height 0.3s;
  color: var(--custom_style_color_white);
}
.home-cat__item .section-sub-heading.is-anim {
  --custom_style_color_black: var(--custom_style_color_white);
  margin-bottom: 4.2rem;
}
.home-cat__item .link-btn {
  margin-top: 3rem;
  color: var(--custom_style_color_white);
}
.home-cat__item .link-btn::after {
  background-color: var(--custom_style_color_white);
}
.home-cat__item .link-btn__text::after {
  background-color: var(--custom_style_color_white);
}
.home-cat__item .link-btn__circle {
  stroke: var(--custom_style_color_white);
}

.home-cat__item:after {
  content: "";
  position: absolute;
  background-color: rgba(0, 0, 0, 0.525);
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
}

.home-cat__item-text {
  font-family: "Zen Old Mincho", serif;
  line-height: 2;
  letter-spacing: 0.1em;
}

.home-cat__item-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.home-cat__item-img img {
  transition: scale 4s;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.link-btn:hover + .home-cat__item-img img {
  scale: 1.1;
}

.home-garden__top {
  position: relative;
}

.home .home-garden__top .section-sub-heading {
  position: absolute;
  top: 0;
  left: 0;
}

.home-garden__top-heading {
  display: grid;
  gap: 1rem;
  margin: auto;
  opacity: 1;
}

.home-garden__top-heading.is-anim-active {
  opacity: 1;
}

.home-garden__top-heading-main {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.2em;
  margin: 0;
}

.home-garden__top-heading-sub {
  line-height: 1;
  font-family: "EB Garamond", serif;
}

.home-garden__top-heading span {
  opacity: 0;
}

.home-garden__top-heading span.is-blur {
  animation: textBlurFadeIn 1s forwards;
}

.home-garden__bottom {
  margin: 0;
  height: 100vh;
  transition: height 2s;
  position: relative;
}

.home-garden__bottom.is-zoom-in-active {
  height: 100vh;
}

.home-garden__bottom.is-zoom-in-active .home-garden__bottom-container {
  scale: 1;
}

.home-garden__bottom-container {
  position: sticky;
  top: 0;
  transition: scale 2s;
  scale: 0.8958;
}

.home-garden__list-item {
  position: relative;
  z-index: 1;
}

.home-garden__content-heading {
  margin-bottom: 6rem;
}

.home-garden__content-heading-main {
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.1em;
  margin: 0 0 1.7rem;
}

.home-garden__content-heading-sub {
  font-family: "EB Garamond", serif;
  font-size: 1.2rem;
  line-height: 2;
  letter-spacing: 0.1em;
}

.home-garden__item-content {
  background-color: rgba(0, 0, 0, 0.4);
  color: var(--custom_style_color_white);
  height: 100vh;
  width: 100%;
  padding-left: 8rem;
  padding-bottom: 7.5rem;
  display: grid;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  align-content: end;
  transition: visibility 0.6s 0.2s, opacity 0.6s 0.2s;
}
.home-garden__item-content .link-btn {
  color: var(--custom_style_color_white);
}
.home-garden__item-content .link-btn::after {
  background-color: var(--custom_style_color_white);
}
.home-garden__item-content .link-btn__text::after {
  background-color: var(--custom_style_color_white);
}
.home-garden__item-content .link-btn__circle {
  stroke: var(--custom_style_color_white);
}

.home-garden__bottom.is-zoom-in-active .home-garden__item-content {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.home-garden__content-text {
  width: 48rem;
  margin-bottom: 8rem;
}

.home-garden__item-img {
  bottom: 0;
  width: 100%;
  position: absolute;
  z-index: -1;
  object-fit: cover;
  height: 100vh;
  width: 100%;
}

.home-news {
  position: relative;
  margin: 1.5rem auto 21.5rem;
}

.home-news__container-heading {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
}

.home-news__container-heading {
  margin: 0 4rem 5rem;
}

.home-news__img {
  position: absolute;
  width: 100%;
  bottom: 100%;
  left: 0;
}

.home-news__img img {
  width: 100%;
}

.home-news__container-list {
  margin: 0 4rem;
  display: grid;
  justify-items: center;
  gap: 4rem;
}

.home-news__wrap-item {
  padding: 3.5rem 0;
  border: solid var(--custom_style_color_gray);
  border-width: 0 0 1px;
}

.home-news__link-time {
  margin-bottom: 1.7rem;
}

.home-news__link-title {
  margin: 0;
  letter-spacing: 0.1em;
}

.home-news__list-wrap {
  justify-self: start;
}

.home-insta__container {
  overflow: hidden;
}

.home-insta__container-heading {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
  margin: 0 4rem 5rem;
}

.home-insta__container__slider {
  margin: 12rem auto 10rem;
  display: grid;
  grid-auto-flow: column;
  width: fit-content;
  gap: 1rem;
  animation: linear_slider 180s linear 0s infinite;
}

.home-insta__container__slider__image {
  width: 40rem;
}

.home-insta__container__slider__image img {
  width: 40rem;
  aspect-ratio: 1;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .home-about {
    margin: 10rem 0;
  }
  .home-about__top {
    padding: 8rem 0 0;
    margin: 0 4rem;
    gap: 7rem;
    height: 73.5rem;
  }
  .home-about__top-heading {
    margin: 0 auto;
  }
  .home-about__top-heading-main {
    font-size: 3.3rem;
  }
  .home-about__top-heading-sub {
    font-size: 1rem;
    letter-spacing: 0.04em;
  }
  .home-about__top-heading span {
    opacity: 0;
  }
  .home-about__top-heading span.is-blur {
    animation: textBlurFadeIn 1s forwards;
  }
  .home-about__top-text {
    margin-bottom: 5rem;
  }
  .home-about__bottom {
    padding-top: 8rem;
    overflow: hidden;
  }
  .home-about__bottom-slider {
    display: grid;
    grid-auto-flow: column;
    width: fit-content;
    animation: linear_slider 180s linear 0s infinite;
  }
  .home-about__bottom-image {
    width: 36rem;
  }
  .home-about__bottom-image img {
    object-fit: cover;
    width: 36rem;
    aspect-ratio: 36/28;
  }
  .home-topics__container-heading {
    margin: 0 4rem 5rem;
  }
  .home-topics__list-wrap {
    grid-auto-flow: column;
    gap: 2rem;
    overflow: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
  }
  .home-topics__list-item::-webkit-scrollbar {
    display: none;
  }
  .home-topics__list-item {
    width: 27rem;
    scroll-snap-align: center;
  }
  .home-topics__list-wrap .home-topics__list-item:first-of-type {
    margin-left: 4rem;
  }
  .home-topics__list-wrap .home-topics__list-item:last-of-type {
    margin-right: 8rem;
  }
  .home-topics__item-image {
    width: 27rem;
    margin-bottom: 2.5rem;
  }
  .home-topics__item-image img {
    width: 27rem;
    height: 100%;
    aspect-ratio: 27/18;
  }
  .home-topics__item-time {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
  .home-topics__item-title {
    margin-bottom: 1.5rem;
  }
  .home-topics__item-text {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  .home-topics__container-btn {
    justify-self: end;
    margin-top: 5rem;
    margin-right: 4rem;
  }
  .home-cat {
    position: relative;
    margin: 12rem auto;
  }
  .home-cat__item {
    pointer-events: none;
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    top: 0;
    width: 100%;
    height: 100vh;
    transition: width 0.3s, height 0.3s;
    color: var(--custom_style_color_white);
  }
  .home-cat__item .section-sub-heading.is-anim {
    --custom_style_color_black: var(--custom_style_color_white);
    margin-bottom: 4.2rem;
  }
  .home-cat__item .link-btn {
    pointer-events: auto;
    margin-top: 3rem;
    color: var(--custom_style_color_white);
  }
  .home-cat__item .link-btn::after {
    background-color: var(--custom_style_color_white);
  }
  .home-cat__item .link-btn:hover:before {
    border-color: var(--custom_style_color_white);
  }
  .home-cat__item-text {
    text-align: center;
    margin-top: 5rem;
    font-size: 1.3rem;
  }
  .home-garden__top {
    margin: 0 4rem;
    padding: 8rem 0;
  }
  .home-garden__top-heading-main {
    font-size: 3.3rem;
  }
  .home-garden__top-heading-sub {
    font-size: 1rem;
    letter-spacing: 0.04em;
  }
  .home-garden__top-heading span {
    opacity: 0;
  }
  .home-garden__top-heading span.is-blur {
    animation: textBlurFadeIn 1s forwards;
  }
  .home-garden__content-heading {
    text-align: center;
  }
  .home-garden__content-heading-main {
    font-size: 2.3rem;
    margin: 0 0 1.2rem;
  }
  .home-garden__item-content {
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--custom_style_color_white);
    padding-left: 0;
    padding-bottom: 0;
    justify-items: center;
    align-content: center;
  }
  .home-garden__content-text {
    width: 31rem;
    margin-bottom: 4rem;
  }
  .home-insta__container__slider {
    margin: 5rem auto;
  }
  .home-insta__container__slider__image {
    width: 27rem;
  }
  .home-insta__container__image img {
    width: 27rem;
  }
}
@media screen and (min-width: 768px) {
  .page-template-login .main-visual {
    min-height: 80rem;
  }
  .home-about {
    margin: 28rem 0;
  }
  .home-about__top {
    padding: 0;
    margin: 0 24rem;
    gap: 10.4rem;
    grid-auto-flow: column;
  }
  .home-about__top-wrap {
    margin-top: 20rem;
    padding-left: 12.4rem;
  }
  .home-about__top-heading {
    grid-column: 2/3;
  }
  .home-about__top-heading-main {
    font-size: 4.2rem;
  }
  .home-about__top-heading-sub {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
  }
  .home-about__top-text {
    margin-bottom: 10rem;
  }
  .home-about__bottom {
    padding-top: 28rem;
  }
  .home-about__bottom-image {
    width: 120rem;
  }
  .home-about__bottom-image img {
    width: 120rem;
    aspect-ratio: 12/7;
  }
  .home-topics {
    margin: 28rem 0;
  }
  .home-topics__container-heading {
    margin: 0 12rem 10rem;
  }
  .home-topics__list-wrap {
    grid-auto-flow: row !important;
    grid-template-columns: repeat(3, 36rem);
    gap: 4rem 6rem;
    justify-content: center;
  }
  .home-topics__list-item::-webkit-scrollbar {
    display: none;
  }
  .home-topics__list-item {
    width: 36rem;
  }
  .home-topics__item-image {
    width: 36rem;
    margin-bottom: 3rem;
  }
  .home-topics__item-image img {
    width: 36rem;
    aspect-ratio: 3/2;
  }
  .home-topics__item-time {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  .home-topics__item-title {
    margin-bottom: 1rem;
  }
  .home-topics__item-text {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .home-topics__container-btn {
    justify-self: center;
    margin-top: 5rem;
  }
  .scrollbar {
    display: none;
  }
  .home-cat {
    margin: 28rem auto;
  }
  .home-cat__item {
    justify-content: center;
    align-content: space-between;
    height: 70rem;
    padding: 14rem 0 6rem;
    grid-template-areas: "text heading sub-heading" "link-btn link-btn link-btn";
  }
  .home-cat__item .section-sub-heading.is-anim {
    margin-left: 3.3rem;
    grid-area: sub-heading;
  }
  .home-cat__item .section-sub-heading.is-anim::after {
    bottom: unset;
    left: -1rem;
    top: 0;
    height: 0;
    width: 1px;
    transition: height 0.5s 0.6s;
  }
  .home-cat__item .section-sub-heading.is-anim.is-anim-active::after {
    height: 100%;
  }
  .home-cat__item .section-heading {
    grid-area: heading;
  }
  .home-cat__item .link-btn {
    grid-area: link-btn;
  }
  .home-cat__item-text {
    margin-right: 6rem;
    grid-area: text;
    font-size: 1.4rem;
  }
  .home-garden__top {
    margin: 0 24rem;
    padding: 10rem 0;
  }
  .home-garden__top-heading {
    grid-column: 2/3;
  }
  .home-garden__top-heading-main {
    font-size: 4.2rem;
  }
  .home-garden__top-heading-sub {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
  }
  .home-news {
    margin: 2.5rem auto 25rem;
    padding-top: 0;
  }
  .home-news__container-heading {
    margin: 0 12rem 12.7rem;
  }
  .home-news__img {
    bottom: 0;
    width: 36rem;
    height: 73rem;
  }
  .home-news__img img {
    object-fit: cover;
    width: 36rem;
    height: 73rem;
  }
  .home-news__container-list {
    justify-content: center;
    align-content: start;
  }
  .home-news__wrap-item {
    padding: 4rem 0;
  }
  .home-news__wrap-item:first-of-type {
    padding-top: 0;
  }
  .home-news__wrap-item:last-of-type {
    border-width: 0;
  }
  .home-news__link-time {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
  }
  .home-insta {
    margin: 28rem auto 30rem;
  }
  .home-insta__container-heading {
    margin: 0 12rem 12.7rem;
  }
}
#loginform {
  display: grid;
  justify-content: stretch;
  gap: 2.1rem;
  width: 30rem;
  margin: 7.5rem auto 2rem;
}
#loginform > p {
  display: grid;
  justify-content: stretch;
}
#loginform .input {
  font-size: 1.2rem;
  color: #333;
  padding: 2.2rem 2rem;
  border: none;
  border-radius: 0;
  background: #f5f5f1;
  width: 100%;
}
#loginform .input::placeholder {
  color: #aeaeb2;
}
#loginform input[type="submit"] {
  background: var(--custom_style_color_gold);
  color: var(--custom_style_color_white);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.8rem;
  padding: 2.1rem 2rem;
  border-radius: 0;
  border: none;
  cursor: pointer;
}
.main-visual__heading-hlr--login {
  padding-block-end: 6rem;
}
.main-visual__heading-hlr--login .main-visual__heading-catch {
  margin-block-start: 1.5rem;
}
.main-visual__heading-hlr--login .main-visual__heading-desc {
  font-size: 1.2rem;
  text-align: center;
}
.main-visual__heading-hlr--login .main-visual__heading-desc a {
  color: var(--custom_style_color_gold);
}

.footer-bottom__copyright.footer-bottom__copyright--login {
  position: absolute;
  left: 50%;
  bottom: -9rem;
  translate: -50% 0;
  font-size: 1.2rem;
}
@media screen and (max-width: 767px) {
  .main-visual__heading-hlr--login {
    padding-block-end: 2.9rem;
  }
  #loginform {
    gap: 1.5rem;
    width: 24rem;
    margin: 7.2rem auto 2rem;
  }
  #loginform .input {
    font-size: 1.2rem;
    padding: 1.5rem 2rem 1.7rem;
    line-height: 1.8rem;
  }
  #loginform input[type="submit"] {
    font-size: 1.4rem;
    line-height: 1.5rem;
    padding: 1.7rem 2rem;
  }
  .main-visual__heading-hlr--login .main-visual__heading-title {
    text-align: center;
  }
  .main-visual__heading-hlr--login .main-visual__heading-desc {
    line-height: 2;
    margin-top: 0;
  }
  .footer-bottom__copyright.footer-bottom__copyright--login {
    bottom: -14.2rem;
    font-size: 1.1rem;
    white-space: nowrap;
  }
}
