@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400&display=swap');

:root{
  --bg: #111111;
  --fg: #EAEAEA;
  --line: rgba(255,255,255,0.18);
}

html {
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: 'Noto Serif JP', serif;
  color: var(--fg);
  line-height: 2;

  background-image: url("../images/top.jpg");
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* --- Top Right Buttons --- */
.hero-insta{
  position: absolute;
  top: 35px;
  right: 50px;

  color: rgba(255,255,255,0.95);
  text-shadow: 0 0 8px rgba(0,0,0,0.4);

  transition: 0.3s ease;
  z-index: 20;
}

.hero-insta:hover{
  color: #EAEAEA;
}

.english-menu-button {
  position: absolute;
  top: 40px;
  right: 112px;

  display: inline-block;
  padding: 10px 24px;

  border: 1px solid rgba(234,234,234,0.75);
  text-decoration: none;
  color: #EAEAEA;

  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;

  background: rgba(0,0,0,0.18);
  transition: 0.3s ease;

  z-index: 20;
  white-space: nowrap;
}

.english-menu-button:hover {
  background-color: #EAEAEA;
  color: #111111;
}

/* --- Hero Center Box --- */
.hero-inner{
  width: 430px;
  height: 430px;
  max-width: 82vw;
  max-height: 82vw;

  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;
  padding: 48px;

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-logo {
  width: 155px;
  max-width: 62%;
  height: auto;
  display: block;
  margin: 0 auto 28px;
  transform: translateY(4px);
}

.hero-inner .button {
  transform: translateY(4px);
}

/* --- Common Text --- */
h1 {
  font-size: 52px;
  letter-spacing: 8px;
  font-weight: 400;
  margin: 0 0 18px;
  line-height: 1.15;
}

h2 {
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 40px;
  opacity: 0.9;
  font-size: 30px;
}

h3 {
  font-weight: 400;
  letter-spacing: 1px;
}

/* --- Concept --- */
.concept-title {
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 2.2;
  margin-bottom: 40px;
  font-weight: 300;
}

.concept-text {
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 2.2;
}

.concept-en {
  margin-top: 50px;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 2.1;
}

.concept-final {
  margin-top: 50px;
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 2.2;
}

/* --- Course Layout --- */
.course-section {
  max-width: 1060px;
}

.course-price {
  margin-top: 34px;
}

.course-price p {
  margin-bottom: 0;
}

.course-price span {
  opacity: 0.82;
}

.course-pairing-text {
  margin-top: 34px;
}

.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.course-grid-single {
  grid-template-columns: 1fr;
  justify-content: start;
}

.course-grid-single .course-column {
  max-width: 760px;
}

.course-column p:first-child {
  margin-top: 0;
}

.course-en-text {
  font-size: 15px;
  letter-spacing: 0.8px;
  line-height: 2;
  opacity: 0.9;
}

.course-divider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 62px 0 56px;
}

.course-divider-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-divider-item img {
  width: 24px;
  height: auto;
  opacity: 0.82;
}

.course-divider-single {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 68px auto 58px;
}

.course-divider-single img {
  width: 24px;
  height: auto;
  opacity: 0.82;
}

/* --- Schedule Text Horizontal --- */
.schedule-text-wrap {
  max-width: 760px;
  margin: 0;
  padding: 0;
}

.schedule-text {
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: rgba(234, 234, 234, 0.92);
  text-align: left;
}

.schedule-text p {
  margin: 0 0 24px;
}

.schedule-text p:last-child {
  margin-bottom: 0;
}

/* --- Section --- */
.section {
  padding: 140px 24px;
  max-width: 1000px;
  margin: 0 auto;

  background: rgba(0,0,0,0.55);

  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.section.visible,
.section.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- Button --- */
.button {
  display: inline-block;
  padding: 10px 38px;
  border: 1px solid rgba(234,234,234,0.75);
  text-decoration: none;
  color: #EAEAEA;
  letter-spacing: 2px;
  font-size: 14px;
  transition: 0.3s;
}

.button:hover {
  background-color: #EAEAEA;
  color: #111111;
}

.reservation-ja {
  margin-bottom: 12px;
}

.reservation-en {
  margin-top: 0;
}

/* --- Information --- */
.info-text {
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 2.1;
}

.info-link {
  color: #EAEAEA;
  text-decoration: none;
  border-bottom: 1px solid rgba(234,234,234,0.5);
  transition: 0.3s ease;
}

.info-link:hover {
  opacity: 0.7;
}

/* --- Swiper Gallery --- */
.mukyo-swiper{
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

.mukyo-swiper .swiper-wrapper {
  background: transparent;
}

.mukyo-swiper .swiper-slide {
  position: relative;
  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;
}

.mukyo-swiper .swiper-slide img{
  width: 100%;
  height: 520px;
  object-fit: contain;
  display: block;
  transform: none;
  transition: opacity 0.6s ease;
}

.mukyo-swiper .swiper-slide-active img {
  transform: none;
}

.mukyo-swiper .swiper-slide::after {
  display: none;
}

/* --- Swiper Arrows --- */
.swiper-button-prev,
.swiper-button-next {
  width: 32px;
  height: 32px;
  color: rgba(234, 234, 234, 0.75);
  transition: 0.3s ease;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
  font-weight: 300;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: rgba(234, 234, 234, 1);
}

.swiper-pagination-bullet {
  background: #EAEAEA;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: #EAEAEA;
  opacity: 1;
}

/* --- Google Map --- */
.map-wrap{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 12px;
}

.map-wrap iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* --- Floating Reservation Buttons --- */
.floating-reserve-ja,
.floating-reserve{
  position: fixed;
  right: 30px;

  padding: 12px 26px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;

  color: #EAEAEA;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 40px;
  z-index: 999;

  transition: all 0.4s ease;
}

.floating-reserve-ja{
  bottom: 96px;
}

.floating-reserve{
  bottom: 30px;
}

.floating-reserve-ja:hover,
.floating-reserve:hover{
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 60px 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.55);
  font-size: 14px;
}

/* --- English Menu Page --- */
.menu-page-section {
  min-height: 100vh;
  box-sizing: border-box;
}

.menu-page-logo {
  margin: 0 auto 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-page-logo img {
  width: 140px;
  height: auto;
  display: block;
}

.menu-block {
  margin: 0 auto 70px;
  max-width: 760px;
}

.menu-block h3 {
  font-size: 24px;
  letter-spacing: 2px;
  font-weight: 300;
  margin-bottom: 34px;
}

.menu-block p {
  font-size: 16px;
  letter-spacing: 0.8px;
  line-height: 2.1;
}

.menu-price {
  margin-top: 34px;
}

.menu-price span {
  opacity: 0.85;
}

.menu-logo-divider {
  max-width: 760px;
  margin: 70px auto 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-logo-divider img {
  width: 26px;
  height: auto;
  opacity: 0.82;
}

.menu-back {
  max-width: 760px;
  margin: 80px auto 0;
}

/* --- Tablet --- */
@media (max-width: 1024px){
  .section {
    max-width: calc(100% - 48px);
  }

  .course-section {
    max-width: calc(100% - 48px);
  }

  .mukyo-swiper .swiper-slide img{
    height: 460px;
  }

  .course-grid,
  .course-divider-grid {
    gap: 42px;
  }
}

/* --- Mobile --- */
@media (max-width: 768px){
  body{
    background-position: center bottom;
    background-size: cover;
    background-attachment: scroll;
  }

  .hero {
    min-height: 100svh;
    height: 100svh;
    padding: 0 18px;
    box-sizing: border-box;
  }

  .hero-inner{
    width: 310px;
    height: 310px;
    max-width: 86vw;
    max-height: 86vw;
    padding: 30px;
    background: rgba(0,0,0,0.46);
  }

  .hero-logo {
    width: 98px;
    max-width: 54%;
    margin-bottom: 20px;
    transform: translateY(3px);
  }

  .hero-inner .button {
    padding: 8px 26px;
    font-size: 12px;
    letter-spacing: 1.4px;
    transform: translateY(3px);
  }

  .reservation-ja {
    margin-bottom: 9px;
  }

  .hero-insta{
    top: 22px;
    right: 18px;
  }

  .hero-insta svg{
    width: 32px;
    height: 32px;
  }

  .english-menu-button {
    top: 25px;
    right: 62px;
    padding: 7px 13px;
    font-size: 10px;
    letter-spacing: 1px;
    white-space: nowrap;
  }

  .section {
    padding: 86px 20px;
    max-width: calc(100% - 28px);
    box-sizing: border-box;
  }

  .course-section {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  h2 {
    font-size: 23px;
    letter-spacing: 2px;
    margin-bottom: 32px;
  }

  h3 {
    font-size: 17px;
  }

  .concept-title,
  .concept-text,
  .concept-final {
    font-size: 14px;
    line-height: 2.05;
    letter-spacing: 0.6px;
  }

  .concept-en {
    margin-top: 40px;
    font-size: 13px;
    line-height: 1.95;
    letter-spacing: 0.6px;
  }

  .concept-final {
    margin-top: 40px;
  }

  .course-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .course-grid-single {
    grid-template-columns: 1fr;
  }

  .course-grid-single .course-column {
    max-width: 100%;
  }

  .course-en-text {
    font-size: 13px;
    line-height: 1.95;
    letter-spacing: 0.5px;
  }

  .course-divider-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 52px 0 44px;
  }

  .course-divider-item img,
  .course-divider-single img {
    width: 18px;
  }

  .course-divider-single {
    margin: 54px auto 44px;
  }

  .schedule-text-wrap {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .schedule-text {
    font-size: 13.5px;
    line-height: 2.05;
    letter-spacing: 0.05em;
    text-align: left;
  }

  .schedule-text p {
    margin: 0 0 20px;
  }

  .schedule-text p:last-child {
    margin-bottom: 0;
  }

  .info-text {
    font-size: 13px;
    line-height: 1.95;
    letter-spacing: 0.5px;
  }

  .mukyo-swiper {
    border-radius: 10px;
  }

  .mukyo-swiper .swiper-slide img{
    width: 100%;
    height: 300px;
    object-fit: contain;
    transform: none;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 28px;
    height: 28px;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 14px;
  }

  .map-wrap{
    border-radius: 10px;
    padding-top: 78%;
  }

  .floating-reserve-ja,
  .floating-reserve{
    right: 16px;
    padding: 8px 18px;
    font-size: 12px;
    letter-spacing: 1px;
  }

  .floating-reserve-ja{
    bottom: 68px;
  }

  .floating-reserve{
    bottom: 18px;
  }

  .footer {
    padding: 50px 20px 92px;
    font-size: 12px;
  }

  .menu-page-logo {
    justify-content: center;
    margin-bottom: 58px;
  }

  .menu-page-logo img {
    width: 105px;
  }

  .menu-block {
    margin: 0 auto 58px;
    max-width: 100%;
  }

  .menu-block h3 {
    font-size: 20px;
    letter-spacing: 1.5px;
  }

  .menu-block p {
    font-size: 13px;
    line-height: 1.95;
    letter-spacing: 0.5px;
  }

  .menu-logo-divider {
    margin: 54px auto 54px;
  }

  .menu-logo-divider img {
    width: 20px;
  }

  .menu-back {
    margin-top: 68px;
  }
}

/* --- Small Mobile --- */
@media (max-width: 390px){
  .hero-inner{
    width: 286px;
    height: 286px;
    max-width: 86vw;
    max-height: 86vw;
    padding: 28px;
  }

  .hero-logo {
    width: 88px;
    margin-bottom: 18px;
    transform: translateY(2px);
  }

  .hero-inner .button {
    padding: 7px 22px;
    font-size: 11px;
    transform: translateY(2px);
  }

  .reservation-ja {
    margin-bottom: 8px;
  }

  .english-menu-button {
    top: 24px;
    right: 58px;
    font-size: 9.5px;
    padding: 6px 11px;
    letter-spacing: 0.8px;
  }

  .hero-insta{
    right: 16px;
  }

  .hero-insta svg{
    width: 30px;
    height: 30px;
  }

  .section {
    padding: 78px 18px;
    max-width: calc(100% - 24px);
  }

  .mukyo-swiper .swiper-slide img{
    height: 250px;
  }

  .course-divider-item img,
  .course-divider-single img {
    width: 16px;
  }

  .schedule-text {
    font-size: 13px;
    line-height: 2;
  }

  .schedule-text p {
    margin: 0 0 18px;
  }

  .floating-reserve-ja,
  .floating-reserve{
    right: 14px;
    padding: 8px 16px;
    font-size: 11px;
  }

  .floating-reserve-ja{
    bottom: 66px;
  }

  .floating-reserve{
    bottom: 18px;
  }
}