/* CSS Document */

article, .teacher-wrapper {
  background-color: #ffffff;
}

/* SLIDER */
.top_slider {
  position: relative;
  overflow: visible;
}
.top_slider::before {
  content: '';
  position: absolute;
  top: min(7vw, 70px);
  left: 0;
  width: 30%;
  height: calc(100% - min(7vw, 70px));
  background-color: var(--color_base);
  z-index: 1;
}
.top_slide-swiper {
  width: calc(100% - 3.125rem);
  position: relative;
  margin-left: 3.125rem;
  z-index: 2;
}
.top_slide-swiper::before {
  content:'';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 51.82%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}
.top_slide-caption {
  width: 100%;
  padding: 3.75rem;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.top_slide-catch {
  background-color: var(--color_text);
  color: #ffffff;
  font-size: min(3vw, 1.125rem);
  font-weight: 700;
  line-height: 140%;
  padding: 3px 0.625rem !important;
  display: inline-block;
  margin-bottom: 1.25rem !important;
}
.top_slide-subtext {
  font-family: var(--font_eng);
  font-size: min(6vw, 5rem);
  font-weight: 300;
  color: #ffffff;
}
.top_slide-swiper .swiper-wrapper {
  z-index: 0;
}
.top_slide-image {
  aspect-ratio: 1390 / 880;
}

/* MESSAGE */
.top_message {
  position: relative;
  overflow: visible;
}
.top_message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 50%;
  background-color: var(--color_base);
  z-index: 1;
}
.top_message-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: min(6vw, 5.625rem);
  row-gap: min(5vw, 3.75rem);
  position: relative;
  z-index: 2;
}
.top_message-image {
  width: 32%;
}
.top_message-image img {
  aspect-ratio: 395 / 562;
}
.top_message-text {
  width: calc(65% - min(5vw, 5.625rem));
  max-width: 690px;
  margin-top: 1.875rem;
}
.top_message-title {
  font-size: 1.125rem;
  font-family: var(--font_eng);
  font-weight: 500;
  color: var(--color_green);
  line-height: 110%;
}
.top_message-inner {
  padding: min(3vw, 3.125rem) min(4vw, 4.375rem);
}
.top_message-h2 {
  margin-bottom: 1.875rem !important;
  line-height: 180%;
}
.top_message-inner p {
  line-height: 200%;
  margin-bottom: 0.625rem !important;
}
.top_message-btn {
  padding: 0.625rem 0.625rem 1.25rem 0.625rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color_line);
  font-family: var(--font_eng);
  font-size: 0.875rem;
  width: 10rem;
  margin-left: auto;
}

/* STUDIO */
.top_studio-images {
  width: calc(100% - 4rem);
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  display: flex;
  padding: 0;
}
.top_studio-images .inner:first-child {
  aspect-ratio: 560 / 460;
  width: 40%;
}
.top_studio-images .inner:nth-child(2), 
.top_studio-images .inner:last-child {
  aspect-ratio: 380 / 460;
  width: 30%;
}
.top_studio-images .inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top_studio-info {
  width: calc(100% - 3.125rem);
  position: relative;
  top: 0;
  left: 3.125rem;
  z-index: 1;
  background-color: #ffffff;
  margin-top: max(-12vw, -11.875rem);
  padding: min(8vw, 5.625rem) 0 0 min(7vw, 4.375rem);
}
.top_studio-info::after {
  content:'';
  position: absolute;
  bottom: 0;
  right: 0;
  aspect-ratio: 564 / 325;
  background-image: url(/wp-content/themes/kitchen-coishi/assets/images/top_studio.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 40%;
}
.top_studio-text {
  width: 50% !important;
  padding-left: 3rem;
  margin: min(5vw, 5.625rem) 0 0;
}
.top_studio-image {
  margin-bottom: 1.875rem;
}
.top_studio-text p {
  line-height: 200%;
  margin-bottom: 0.625rem !important;
}
.top_studio-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-left: min(7vw, 6.25rem);
  padding-right: min(7vw, 6.25rem);
}
.top_studio-post {
  width: calc((100% - 1.25rem) / 2) !important;
  background-color: var(--color_cream);
  padding: 1.25rem min(6vw, 3.125rem) 1.875rem;
  border-top: 3px solid var(--color_green);
}
.top_studio-post--month {
  font-family: var(--font_eng);
  font-weight: 500;
  font-size: 1.5rem;
  text-align: center;
  line-height: 140%;
  margin-bottom: 0.625rem;
}
.top_studio-post--month span {
  font-weight: 600;
  font-size: 2.125rem;
  display: inline-block;
}
.top_studio-post--theme {
  background-color: var(--color_base);
  text-align: center;
  padding: 0.3125rem;
  font-weight: 7;
  line-height: 140%;
}
.top_studio-post--title {
  background-color: #ffffff;
  text-align: center;
  padding: 0.625rem !important;
  font-size: 1.25rem !important;
  font-weight: 700;
  line-height: 140% !important;
  color: var(--color_green) !important;
}
.top_studio-post--excerpt {
  margin: 1.25rem 0;
  text-align: left;
}
.top_studio-post--excerpt p {
  line-height: 160%;
}
.top_studio-post--image {
  display: block;
  aspect-ratio: 410 / 280;
  object-fit: cover;
  margin-bottom: 1.25rem;
}
.top_studio-post--coming {
  background-color: #F4EFE8;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color_sand);
  width: 100%;
  height: calc(100% - 3rem);
  min-height: 15rem;
  min-height: ;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top_studio-btn {
  background-color: var(--color_brown);
  color: white;
  max-width: 18.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 1.25rem 0.625rem;
  line-height: 140%;
  font-weight: 500;
}
.top_studio-btn span, 
.top_studio-btn .btn-arrow {
  margin-left: auto;
}

/* FAQ */
.top_faq-section {
  width: calc(100% - 3.125rem);
  position: relative;
  top: 0;
  left: 3.125rem;
  z-index: 1;
  background-color: #ffffff;
  padding-left: min(5vw, 4.375rem);
}
.top_faq-inner {
  padding-left: 3rem;
  margin: min(5vw, 5.625rem) 0 0;
}
.faq-wrap .faq-q, 
.faq-wrap .faq-a {
  position: relative;
}
.faq-wrap .faq-q {
  background-color: var(--color_base);
  font-size: min(4vw, 1.25rem);
  font-weight: 500;
  line-height: 160%;
  padding: 0.625rem 1.25rem;
}
.faq-wrap .faq-q::before, 
.faq-wrap .faq-a::before {
  font-family: var(--font_eng);
  color:var(--color_green);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  margin-right: 0.625rem;
}
.faq-wrap .faq-q::before {
  content:'Q.';
}
.faq-wrap .faq-a {
  padding: 0 1.25rem;
  margin: min(3vw, 1.875rem) 0;
}
.faq-wrap .faq-a::before {
  content:'A.';
}

/* PALLARAX */
.parallax-section-wrapper {
  position: relative;
  background-color: transparent;
}
.parallax-bg-wrapper {
  position: fixed; 
  top: 0;
  left: min(4vw, 4rem);
  width: calc(100% - min(4vw, 4rem));
  height: 100%;
  z-index: -1;
}
.parallax-bg-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform; 
  transform: translate3d(0, 0, 0); 
}

/* VOICE */
.top_voice-section {
  width: calc(100% - 3.125rem);
  position: relative;
  top: 0;
  left: 3.125rem;
  z-index: 1;
  background-color: #ffffff;
  padding-left: min(5vw, 4.375rem);
}
.top_voice-inner {
  margin: min(5vw, 5.625rem) 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: top;
}
.top_voice-item {
  width: calc(100% / 3);
  padding: 1.875rem 1.875rem min(5vw, 3.125rem) 1.875rem;
  border-right: 1px solid var(--color_line);
}
.top_voice-item:last-child {
  border-right: 0;
}
.top_voice-item p {
  font-size: 0.9375rem;
  line-height: 160%;
}
.top_voice-item p.fw-bold {
  margin-bottom: 0.625rem;
}

/* GALLERY */
.top_gallery-section {
  padding: 0;
}
.top_gallery-inner {
  border: 1px solid var(--color_line);
  position: relative;
  padding: min(5vw, 3.125rem);
}
.top_gallery-inner::before {
  content:'';
  position: absolute;
  top: -1px;
  left: min(5vw, 3.125rem);
  width: 100px;
  height: 2px;
  background-color: var(--color_green);
}
.top_gallery-title {
  font-family: var(--font_eng);
  font-weight: 300;
  font-size: min(7.5vw, 3.75rem);
  line-height: 110%;
  position: relative;
}
.btn-instagram {
  background: linear-gradient(90.92deg, #6D22F5 -1.09%, #E6366B 49.81%, #E6A336 98.79%);
  padding: 0.625rem 0.9375rem;
  color: white;
  font-size: 0.9375rem;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 300px;
  position: absolute;
  top: min(5vw, 3.125rem);
  right: min(5vw, 3.125rem);
  border-radius: 2rem;
  gap: 1rem;
}
.btn-instagram .insta-icon {
  width: 1.5625rem;
  height: 1.5625rem;
  margin-right: auto;
}
.btn-instagram .btn-arrow {
  margin-left: auto;
}
.top_gallery .bwg_container {
  margin-top: 2.5rem;
}

/* NEWS */
.top_news-section {
  width: calc(100% - 3.125rem);
  position: relative;
  top: 0;
  left: 3.125rem;
  z-index: 1;
  background-color: #ffffff;
  padding-left: min(5vw, 4.375rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 5.625rem;
  row-gap: 3rem;
}
.top_news-titles {
  width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.top_news-btn {
  padding: 0.625rem 0.625rem 1.25rem 0.625rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color_line);
  font-family: var(--font_eng);
  font-size: 0.875rem;
  width: 10rem;
  margin-left: auto;
}
.top_news-lists {
  width: calc(80% - 5.625rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 2.5rem;
}
.top_news-lists a {
  display: flex;
  gap: 1.25rem;
}
.top_news-lists a b {
  width: 6.25rem;
}
.top_news-lists a span {
  width: calc(100% - 7.5rem);
}

/* CONTACT */
.top_contact {
  background-color: var(--color_base);
  padding: min(10vw, 5rem);
}
.top_contact-inner {
  background-color: #ffffff;
  width: calc(100% - 8rem);
  max-width: 1100px;
  min-width: ;
  margin: 0 auto;
  padding: min(6vw, 3.125rem);
}
.top_contact-h3 {
  font-family: var(--font_eng);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 110%;
  margin-bottom: 2.5rem !important;
  text-align: center;
}
.top_contact-p {
  font-size: 1.25rem;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 1.25rem !important;
}

/* RESERVE */
.top_reserve {
  background-image: url(/wp-content/themes/kitchen-coishi/assets/images/top_reserve-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding: 5rem 0;
}
.top_reserve::before {
  content:'';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000000b3;
  z-index: 0;
}
.top_reserve-inner {
  display: block;
  position: relative;
  z-index: 1;
  background-color: #ffffff;
  margin: 0 auto;
  padding: 3rem 2rem 1.5rem;
  width: calc(100% - 4rem);
  max-width: 36.25rem;
}
.top_reserve-inner::before {
  content:'';
  position: absolute;
  width: 70%;
  height: 2px;
  top: 0;
  left: 15%;
  display: block;
  background-color: var(--color_green);
}
.reserve-icon {
  margin: 0 auto;
  width: 30%;
  max-width: 4rem;
  aspect-ratio: 64 / 46;
}
.top_reserve-h2 {
  margin: 1.25rem auto 0.5rem !important;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 140%;
  text-align: center;
  color: var(--color_green);
}
.top_reserve-h3 {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 140%;
  text-align: center;
  padding: .25rem 0 !important;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  column-gap: 0.875rem;
  row-gap: 0;
}
.top_reserve-h3 small {
  font-size: 1.125rem;
}
.top_reserve-p {
  margin: 1.25rem auto 0 !important;
  border-top: 1px solid var(--color_line);
  padding-top: 0.3125rem;
  width: calc(100% - 2rem);
  max-width: 25rem;
  text-align: center;
}

@media screen and (max-width: 991px) {
  .top_slide-image {
    aspect-ratio: 5 / 4;
    object-fit: cover;
  }
  .top_message::before {
    height: 20%;
  }
  .top_message-section {
    flex-direction: column;
    align-items: flex-end;
  }
  .top_message-image, 
  .top_message-text {
    width: 100%;
  }
  .top_message-image img {
    aspect-ratio: 335 / 160;
  }
  .top_studio-info::after {
    display: none;
  }
  .top_studio-text {
    width: 100% !important;
  }
  .top_studio-text p {
    width: calc(100% - 1rem);
  }
  .top_studio-post {
    width: 100% !important;
  }
  .top_faq-inner {
    padding-left: 0;
  }
  .top_voice-item {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--color_line);
  }
  .top_voice-item:last-child {
    border-bottom: 0;
  }
  .top_news-titles {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .top_contact-inner {
    width: 100%;
  }
  .top_news-lists {
    width: 100%;
  }
}
@media screen and (max-width: 576px) {
  .top_gallery .btn-instagram {
    position: relative;
    right: unset;
  }
  #bwg_container1_0 #bwg_container2_0 .bwg-container-0.bwg-standard-thumbnails .bwg-item {
    width: 50% !important;
  }
}
@media screen and (max-width: 468px) {
  .top_slide-caption {
    padding: 1.25rem;
  }
  .top_slide-catch {
    font-size: 0.75rem;
  }
  .top_slide-subtext {
    font-size: 2.125rem;
  }
  .top_slide-swiper {
    width: calc(100% - 1rem);
    margin-left: 1rem;
  }
  .top_slide-image {
    aspect-ratio: 375 / 615;
    object-fit: cover;
  }
  .top_message-section {
    padding-top: 2rem;
  }
  .top_message-h2 {
    font-size: 1.25rem;
  }
  .top_message-inner p {
    font-size: 0.9375rem;
  }
  .top_studio-images {
    width: calc(100% - 2rem);
  }
  .top_studio-info {
    width: calc(100% - 1rem);
    left: 1rem;
  }
  .top_studio-text {
    padding-left: 1rem;
  }
  .top_studio-text p {
    font-size: 0.9375rem;
  }
  .top_studio-posts {
    width: calc(100% - 2rem);
    padding-left: 0;
    padding-right: 0;
  }
  .top_faq-section {
    width: calc(100% - 1rem);
    left: 1rem;
  }
  .top_faq-inner {
    width: calc(100% - 2rem);
  }
  .top_parallax {
    width: calc(100% - 2rem);
    left: 2rem;
  }
  .top_parallax-inner {
    height: 550px;
    margin-top: -50px;
  }
  .top_voice-section {
    width: calc(100% - 1rem);
    left: 1rem;
  }
  .top_voice-inner {
    width: calc(100% - 2rem);
  }
  .top_news-section {
    width: calc(100% - 1rem);
    left: 1rem;
  }
  .top_reserve-h3 {
    flex-direction: column;
    align-items: center;
  }
  .top_reserve-h3 small {
    display: block;
  }
}
@media screen and (min-width: 1366px) {
  .top_parallax {
    height: auto;
    aspect-ratio: 1200 / 320;
  }
}