/* =============================================
   CRYSTAL GRAND CR-1M — Dedicated Stylesheet
   Inspired by Kawai Design Event official site
   ============================================= */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300..700&family=Noto+Serif+JP:wght@200..900&family=Shippori+Mincho&display=swap");

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
  overflow-y: scroll;
}
body {
  width: 100%;
  height: 100%;
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #efefef;
  letter-spacing: 0.07em;
  background: #000;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
a:link,
a:visited {
  color: #efefef;
  text-decoration: none;
  transition: all 0.3s linear;
}
a:active {
  color: #d0b58d;
}
@media (hover: hover) and (min-width: 768px) {
  a:hover {
  color: #d0b58d;
}
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
::selection {
  background: #97cbe2;
}
::-moz-selection {
  background: #97cbe2;
}

/* ---------- Header ---------- */
.crystal-header {
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}
.crystal-header__logo a {
  display: flex;
  align-items: center;
}
.crystal-header__logo img {
  max-height: 28px;
  width: auto;
}
.crystal-header__nav {
  display: flex;
  gap: 30px;
  list-style: none;
}
.crystal-header__nav a {
  font-size: 1.3rem;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.24em;
  color: #d0b58d;
  text-transform: uppercase;
  transition: opacity 0.3s;
}
@media (hover: hover) and (min-width: 768px) {
  .crystal-header__nav a:hover {
  opacity: 0.6;
}
}
/* Trang đang xem — xem custom-header.js. Trắng thay vì vàng nhạt mặc định
   để nổi bật rõ trên nền tối, khác hẳn dải màu vàng đồng của các mục còn lại. */
.crystal-header__nav a.is-active {
  color: #fff;
}

/* "Liên hệ" chèn kế bên logo trên mobile (xem assets/js/custom-header.js).
   Ẩn mặc định (desktop dùng menu ngang riêng); hiện ở @media bên dưới. */
.custom-header__mobile-contact {
  display: none;
}

/* "DANH MỤC" dropdown — cùng chức năng với header chính, style riêng theo
   tông tối/vàng đồng của trang campaign này. */
.crystal-header__nav-dropdown { position: relative; }
.crystal-header__nav-dropdown-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  background: none;
  border: none;
  padding: 0;
  font-family: "Noto Serif JP", serif;
  line-height: inherit;
  vertical-align: baseline;
  font-size: 1.3rem;
  letter-spacing: 0.24em;
  color: #d0b58d;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s;
}
@media (hover: hover) and (min-width: 768px) {
  .crystal-header__nav-dropdown-toggle:hover { opacity: 0.6; }
}
/* Đang xem 1 trang con của "Danh mục" — xem custom-header.js. */
.crystal-header__nav-dropdown-toggle.is-active { color: #fff; }
.crystal-header__nav-dropdown-arrow {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.crystal-header__nav-dropdown.is-open .crystal-header__nav-dropdown-arrow {
  transform: rotate(180deg);
}
.crystal-header__nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  min-width: 230px;
  background: rgba(10, 10, 10, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 4px;
  border: 1px solid rgba(208, 181, 141, 0.25);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.5);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.crystal-header__nav-dropdown.is-open .crystal-header__nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Đặc tả cao hơn ".crystal-header__nav a" (vốn áp uppercase/letter-spacing
   rộng cho toàn bộ nav) để các mục trong dropdown hiển thị đúng kiểu chữ
   thường như thiết kế. */
.crystal-header__nav .crystal-header__nav-dropdown-item {
  display: block;
  padding: 10px 22px;
  font-size: 1.2rem;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.05em;
  text-transform: none;
  color: #efefef;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
@media (hover: hover) and (min-width: 768px) {
  .crystal-header__nav-dropdown-item:hover {
  background: rgba(208, 181, 141, 0.1);
  color: #d0b58d;
}
}
/* Trang đang xem — xem custom-header.js. */
.crystal-header__nav-dropdown-item.is-active {
  color: #d0b58d;
}
.crystal-header__nav-dropdown-item + .crystal-header__nav-dropdown-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Ô "Tìm kiếm" trong header (desktop) — JS (custom-header.js) chèn cùng 1
   class chung ".custom-header__nav-search" trên MỌI kiểu header (không đổi
   tên theo từng trang, giống ".custom-header__mobile-contact" ở trên) nên
   style riêng theo tông tối/vàng đồng (champagne #d0b58d) của trang
   campaign Crystal này được viết ngay tại đây, không dùng bản trắng ở
   style.css gốc (sẽ lạc tông trên nền tối). */
.custom-header__nav-search { position: relative; }
.custom-header__search-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 16px;
  border: 1px solid rgba(208, 181, 141, 0.35);
  border-radius: 999px;
  background: transparent;
  font-family: "Noto Serif JP", serif;
  color: #d0b58d;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.custom-header__search-toggle svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
@media (hover: hover) and (min-width: 768px) {
  .custom-header__search-toggle:hover {
    background: rgba(208, 181, 141, 0.1);
    border-color: #d0b58d;
  }
}
.custom-header__nav-search.is-open .custom-header__search-toggle {
  color: #fff;
  border-color: #d0b58d;
}
.custom-header__search-panel {
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  width: 360px;
  max-width: calc(100vw - 4rem);
  background: rgba(10, 10, 10, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 4px;
  border: 1px solid rgba(208, 181, 141, 0.25);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.5);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 10000;
}
.custom-header__nav-search.is-open .custom-header__search-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.custom-header__search-panel-inputwrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(208, 181, 141, 0.25);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}
.custom-header__search-panel-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #d0b58d;
  display: flex;
}
.custom-header__search-panel-icon svg {
  width: 100%;
  height: 100%;
}
.custom-header__search-panel-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: "Noto Serif JP", serif;
  font-size: 1.1rem;
  text-transform: none;
  color: #efefef;
}
.custom-header__search-panel-body {
  max-height: 360px;
  overflow-y: auto;
  margin-top: 10px;
}
.custom-header__search-hint {
  margin: 6px 4px;
  color: #b8b8b8;
  font-size: 1rem;
  line-height: 1.6;
}
/* !important — cùng lý do đã ghi ở .custom-header__search-chip phía trên. */
.custom-header__search-hint a {
  color: #d0b58d;
  font-size: inherit !important;
  font-weight: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.custom-header__search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
/* !important trên 3 thuộc tính dưới đây: ".crystal-header__nav a" (in hoa +
   letter-spacing 0.24em cho MỌI link trong nav, kể cả chip này vì nó nằm
   lồng bên trong .crystal-header__nav) có độ đặc hiệu CAO HƠN 1 class đơn
   ".custom-header__search-chip" nên sẽ đè ngược nếu thiếu !important — xem
   thêm chú thích ở rule tương ứng trong style.css gốc. */
.custom-header__search-chip {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(208, 181, 141, 0.08);
  border: 1px solid rgba(208, 181, 141, 0.25);
  color: #efefef;
  font-size: 13px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-decoration: none;
  white-space: nowrap;
}
@media (hover: hover) and (min-width: 768px) {
  .custom-header__search-chip:hover {
    background: rgba(208, 181, 141, 0.18);
    color: #d0b58d;
  }
}
.custom-header__search-result {
  display: block;
  padding: 8px 4px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.custom-header__search-result:last-child {
  border-bottom: none;
}
.custom-header__search-result-cat {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d0b58d;
  margin-bottom: 2px;
}
/* !important trên text-transform/letter-spacing — cùng lý do với
   .custom-header__search-chip/hint: .custom-header__search-result là 1
   thẻ <a> nằm trong .crystal-header__nav, tự dính text-transform:
   uppercase + letter-spacing: 0.24em từ rule chung ".crystal-header__nav a"
   (viết cho menu TRANG CHỦ/SẢN PHẨM..., không phải cho kết quả tìm kiếm)
   — khiến tiêu đề kết quả bị viết hoa + giãn chữ quá đà, không giống bản
   trắng ở mobile-bottom-nav.css/style.css. */
.custom-header__search-result-title {
  display: block;
  font-size: 1.05rem;
  font-family: "Noto Serif JP", serif;
  color: #efefef;
  line-height: 1.35;
  text-transform: none !important;
  letter-spacing: normal !important;
}
@media (hover: hover) and (min-width: 768px) {
  .custom-header__search-result:hover .custom-header__search-result-title {
    color: #d0b58d;
  }
}

/* ---------- Page Sub-Navigation ---------- */
.crystal-subnav {
  position: sticky;
  top: 80px;
  z-index: 90;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(208, 181, 141, 0.15);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}
.crystal-subnav a {
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #d0b58d;
  text-transform: uppercase;
  padding: 6px 20px;
  border: 1px solid rgba(208, 181, 141, 0.3);
  border-radius: 30px;
  transition: all 0.3s ease;
}
@media (hover: hover) and (min-width: 768px) {
  .crystal-subnav a:hover {
  background: linear-gradient(135deg, #d0b58d, #f0d060);
  color: #000;
  border-color: #d0b58d;
}
}

/* ---------- Scroll offset for anchor targets ---------- */
#concept,
#features,
#about,
#gallery {
  scroll-margin-top: 130px;
}

/* ---------- Animation Base ---------- */
.animation {
  opacity: 0;
}
.animation_on {
  animation-fill-mode: forwards;
}

/* ---------- Hero (contents_top) ---------- */
.crystal-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
#bg_movie {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}
#bg_movie video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.crystal-hero__bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(180, 220, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(200, 180, 255, 0.03) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(180, 200, 255, 0.04) 0%, transparent 40%),
    linear-gradient(180deg, #000 0%, #0a0a0a 50%, #000 100%);
}
.crystal-hero__particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  z-index: 2;
}
.crystal-hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float-particle 8s ease-in-out infinite;
}
.crystal-hero__particle:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; width: 3px; height: 3px; }
.crystal-hero__particle:nth-child(2) { top: 25%; left: 80%; animation-delay: 1.2s; width: 5px; height: 5px; }
.crystal-hero__particle:nth-child(3) { top: 60%; left: 15%; animation-delay: 2.5s; width: 2px; height: 2px; }
.crystal-hero__particle:nth-child(4) { top: 70%; left: 85%; animation-delay: 0.8s; width: 4px; height: 4px; }
.crystal-hero__particle:nth-child(5) { top: 40%; left: 50%; animation-delay: 3.5s; width: 6px; height: 6px; }
.crystal-hero__particle:nth-child(6) { top: 80%; left: 30%; animation-delay: 1.8s; width: 3px; height: 3px; }
.crystal-hero__particle:nth-child(7) { top: 10%; left: 60%; animation-delay: 4.2s; width: 5px; height: 5px; }
.crystal-hero__particle:nth-child(8) { top: 50%; left: 90%; animation-delay: 2.2s; width: 2px; height: 2px; }
.crystal-hero__particle:nth-child(9) { top: 85%; left: 70%; animation-delay: 3.0s; width: 4px; height: 4px; }
.crystal-hero__particle:nth-child(10) { top: 20%; left: 40%; animation-delay: 0.5s; width: 3px; height: 3px; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-40px) scale(1.5); opacity: 0.8; }
}

.crystal-hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(180, 200, 255, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 3;
  animation: pulse-glow 6s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

/* Hero overlay (bg_top) */
.crystal-hero__overlay {
  z-index: 4;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: fadeIn 1.5s ease 2s 1 forwards;
}
@media (max-width: 1024px) {
  .crystal-hero__overlay {
    animation: fadeIn 1.5s ease 1.5s 1 forwards;
  }
}

/* Hero upper overlay (bg_top_upper) */
.crystal-hero__upper {
  z-index: 5;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  animation: fadeOut 1.5s ease 0.5s 1 forwards;
}

.crystal-hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fadeIn 1.5s ease 3s 1 forwards;
}
@media (max-width: 1024px) {
  .crystal-hero__content {
    animation: fadeIn 1.5s ease 2s 1 forwards;
  }
}

.crystal-hero__title-wrap {
  padding: 50px 30px;
  text-align: center;
  letter-spacing: 0.1em;
}
@media (max-width: 1024px) {
  .crystal-hero__title-wrap {
    max-width: 300px;
    padding: 0 30px 70px;
  }
}

.crystal-hero__logo {
  margin-bottom: 40px;
  padding: 70px 10px;
  text-align: center;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.crystal-hero__logo img {
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(180, 200, 255, 0.3));
}
@media (max-width: 1024px) {
  .crystal-hero__logo {
    padding: 50px 10px;
  }
  .crystal-hero__logo img {
    max-width: 240px;
  }
}

.crystal-hero__limited {
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.3em;
  color: #d0b58d;
}
.crystal-hero__limited .no {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}
.crystal-hero__custom {
  font-size: 1.8rem;
  margin-bottom: 1em;
}
.crystal-hero__limited-ja {
  font-size: 1.6rem;
  color: #d0b58d;
  margin-bottom: 40px;
}

.crystal-hero__cta {
  display: inline-block;
  padding: 14px 50px;
  border: 1px solid #848484;
  color: #fff;
  font-size: 1.8rem;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
@media (hover: hover) and (min-width: 768px) {
  .crystal-hero__cta:hover {
  border-color: #fff;
  color: #fff;
}
}

/* ---------- Section Common ---------- */
.content_wrap {
  position: relative;
}
@media (max-width: 1024px) {
  .content_wrap {
    padding-bottom: 100px;
  }
}
.content_default {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}
@media (max-width: 1024px) {
  .content_default {
    padding: 0 40px;
  }
}
@media (max-width: 736px) {
  .content_default {
    padding: 0 20px;
  }
}

.txt_area {
  max-width: 500px;
}
@media (max-width: 1024px) {
  .txt_area {
    max-width: 100%;
  }
}

/* ---------- Section Titles ---------- */
.ttl_content {
  position: relative;
  display: inline-block;
  margin: 0 0 45px;
  padding-top: 30px;
  font-size: 1.8rem;
  text-align: center;
  line-height: 1.2;
  color: #d0b58d;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.3em;
}
.ttl_content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #d0b58d;
}
@media (max-width: 736px) {
  .ttl_content {
    padding-top: 20px;
    font-size: 1.6rem;
  }
}

.body_copy {
  margin-bottom: 3em;
  font-size: 3.1rem;
  line-height: 1.2;
}
@media (max-width: 736px) {
  .body_copy {
    font-size: 2.4rem;
  }
}
.body_copy .en {
  display: block;
  font-size: 1.8rem;
  color: #b4b4b4;
}
@media (max-width: 736px) {
  .body_copy .en {
    margin-top: 0.6em;
    line-height: 1.2;
  }
}

.body_copy_main {
  margin-bottom: 1.8em;
  font-size: 4rem;
}
@media (max-width: 736px) {
  .body_copy_main {
    font-size: 2.8rem;
  }
}

.paragraph {
  margin-bottom: 2em;
}
.txt_default {
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
@media (max-width: 736px) {
  .txt_default {
    line-height: 1.8;
  }
}
.txt_default_en {
  text-align: left;
  line-height: 1.8;
  word-wrap: break-word;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: #b4b4b4;
}
@media (max-width: 736px) {
  .txt_default_en {
    line-height: 1.6;
  }
}

/* ---------- Concept Section ---------- */
.concept {
  background: url(../images/bg_concept.png) right 35% / 893px auto no-repeat;
  padding: 150px 0 100px;
}
@media (max-width: 1024px) {
  .concept {
    padding-top: 50px;
    background: url(../images/bg_concept.png) center 105% / contain no-repeat;
  }
}
.concept .txt_area {
  padding: 150px 0;
}
@media (max-width: 1024px) {
  .concept .txt_area {
    padding: 0 10%;
    margin-bottom: 50px;
  }
}
@media (max-width: 736px) {
  .concept .txt_area {
    padding: 0;
  }
}

.piano_concept {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 50%;
  height: 100%;
  background: url(../images/brands/kawai/cr-45/crystal_concept.png) top left/contain no-repeat;
}
@media (max-width: 1024px) {
  .piano_concept {
    position: static;
    width: 100%;
    padding: 0 50px;
    /* Tắt background-image của bản desktop — trên mobile ảnh được hiện
       bằng thẻ <img> con (.piano_concept img) thay thế, nếu không sẽ bị
       lặp 2 lần (background + <img> cùng hiện chồng nhau). */
    background: none;
  }
}
@media (max-width: 736px) {
  .piano_concept {
    padding: 0 30px;
  }
}
.piano_concept img {
  display: none;
}
@media (max-width: 1024px) {
  .piano_concept img {
    display: block;
    max-width: 900px;
    overflow: hidden;
  }
}
@media (max-width: 736px) {
  .piano_concept img {
    max-width: 450px;
  }
}

/* ---------- Secret / Features Section ---------- */
.secret {
  background: url(https://www.kawai-global.com/kawai_design_event/img/bg_secret.jpg) 0% 50% / contain no-repeat;
  padding: 100px 0;
}
@media (max-width: 1024px) {
  .secret {
    background: url(https://www.kawai-global.com/kawai_design_event/img/bg_secret.jpg) center center / cover no-repeat;
  }
}
.secret .txt_area {
  margin-left: 60%;
  padding: 180px 0;
}
@media (max-width: 1024px) {
  .secret .txt_area {
    margin: 0 0 50px 0;
    padding: 0 10%;
  }
}
@media (max-width: 736px) {
  .secret .txt_area {
    padding: 0;
  }
}

.piano_secret {
  position: absolute;
  top: 0;
  right: 45%;
  width: 60%;
  max-width: 750px;
  height: 100%;
  background: url(https://www.kawai-global.com/kawai_design_event/img/piano_secret.png) top right / contain no-repeat;
}
.piano_secret_sp {
  display: none;
}
@media (max-width: 1024px) {
  /* Ẩn bản desktop (.piano_secret, background-image) khi hiện bản mobile
     (.piano_secret_sp, <img> riêng) — trước đây thiếu dòng này nên cả 2
     cùng hiển thị chồng nhau trên mobile, nhìn như ảnh bị lặp 2 lần. */
  .piano_secret {
    display: none;
  }
  .piano_secret_sp {
    display: block;
  }
}

.secret_wrap {
  margin-top: 18%;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1024px) {
  .secret_wrap {
    display: block;
  }
}
.secret_wrap .secret_list {
  width: calc(100% / 3 - 38px);
  padding-top: 25px;
  color: #d0b58d;
  border-top: 1px solid #d0b58d;
}
@media (max-width: 1024px) {
  .secret_wrap .secret_list {
    width: 100%;
    margin-bottom: 40px;
    padding-top: 15px;
  }
}
.secret_wrap .tlt_secret {
  margin-bottom: 3em;
  font-size: 3.4rem;
  line-height: 1.2;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.1em;
}
@media (max-width: 1024px) {
  .secret_wrap .tlt_secret {
    margin-bottom: 1.8em;
    font-size: 2.6rem;
  }
}
.secret_txt {
  color: #efefef;
}
.secret_txt .txt_default {
  margin-bottom: 10px;
}

/* ---------- About Section ---------- */
.about {
  margin: 150px 0;
}
@media (max-width: 1024px) {
  .about {
    margin: 0;
  }
}
.about_wrap {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1024px) {
  .about_wrap {
    display: block;
  }
}
.about_wrap .about_image {
  width: calc(100% - 350px);
  padding: 50px 100px 0 0;
}
@media (max-width: 1024px) {
  .about_wrap .about_image {
    width: 100%;
    padding: 0;
    margin-bottom: 50px;
  }
}
.about_wrap .about_txt {
  width: 350px;
}
@media (max-width: 1024px) {
  .about_wrap .about_txt {
    width: 100%;
  }
}
.about_txt {
  text-align: center;
}
.about_txt .name {
  margin-bottom: 60px;
  padding: 50px 0;
  text-align: center;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
@media (max-width: 1024px) {
  .about_txt .name {
    max-width: 260px;
    margin: 0 auto 40px;
    padding: 40px 30px;
  }
}
.about_txt .txt_limited {
  margin-bottom: 70px;
}
@media (max-width: 1024px) {
  .about_txt .txt_limited {
    margin-bottom: 50px;
  }
}
.about_txt .limited {
  margin-bottom: 0.4em;
  font-size: 3rem;
  letter-spacing: 0.1em;
}
@media (max-width: 1024px) {
  .about_txt .limited {
    font-size: 2.4rem;
  }
}
.about_txt .limited .limit_no {
  font-size: 4.2rem;
}
@media (max-width: 1024px) {
  .about_txt .limited .limit_no {
    font-size: 3rem;
  }
}
.about_txt .custom_made {
  margin-bottom: 1em;
  font-size: 2rem;
  letter-spacing: 0.1em;
}
@media (max-width: 1024px) {
  .about_txt .custom_made {
    font-size: 1.8rem;
  }
}
.about_txt .limited_ja {
  margin-bottom: 0.4em;
  font-size: 2rem;
  letter-spacing: 0.1em;
}
@media (max-width: 1024px) {
  .about_txt .limited_ja {
    font-size: 1.6rem;
  }
}
.about_txt .specs {
  margin-bottom: 50px;
}
.about_txt .size {
  text-align: left;
}
.about_txt .size::after {
  content: "";
  display: block;
  clear: both;
}
.about_txt .size dt {
  clear: both;
  float: left;
  padding-left: 30%;
}
.about_txt .size dd {
  padding: 0 0 0 55%;
}
.about_txt .price {
  margin-bottom: 0.5em;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.1em;
  font-size: 2.4rem;
}
.about_txt .price span {
  font-size: 3.2rem;
  font-style: italic;
}
.about_txt .price a {
  color: #d0b58d;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s ease;
}
@media (hover: hover) and (min-width: 768px) {
  .about_txt .price a:hover {
    opacity: 0.7;
  }
}
@media (max-width: 1024px) {
  .about_txt .price {
    font-size: 2.4rem;
  }
}

/* ---------- Events Timeline ---------- */
.crystal-timeline {
  padding: 100px 0;
  text-align: center;
  background: #0a0a0a;
}
.crystal-timeline__inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
}
.crystal-timeline__item {
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.crystal-timeline__item:last-child {
  border-bottom: none;
}
.crystal-timeline__year {
  font-size: 1.4rem;
  color: #d0b58d;
  letter-spacing: 0.3em;
  font-weight: 300;
  margin-bottom: 5px;
  font-family: "Noto Serif JP", serif;
}
.crystal-timeline__event {
  font-size: 1.8rem;
  color: #efefef;
  font-weight: 400;
}
.crystal-timeline__location {
  font-size: 1.3rem;
  color: #888;
}
@media (max-width: 736px) {
  .crystal-timeline {
    padding: 60px 0;
  }
  .crystal-timeline__inner {
    padding: 0 20px;
  }
}

/* ---------- Gallery Section ---------- */
.gallery {
  padding: 100px 0 0;
}
.galleries {
  margin-bottom: 150px;
}
@media (max-width: 1024px) {
  .galleries {
    margin-bottom: 50px;
  }
}
.galleries .ttl_wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}
@media (max-width: 1024px) {
  .galleries .ttl_wrap {
    display: block;
    margin-bottom: 20px;
  }
}
.galleries .photo_wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.galleries .photo_wrap .photo {
  display: block;
  width: calc(100% / 3 - 12px);
  overflow: hidden;
  transition: opacity 0.3s ease;
}
@media (hover: hover) and (min-width: 768px) {
  .galleries .photo_wrap .photo:hover {
  opacity: 0.7;
}
}
@media (max-width: 1024px) {
  .galleries .photo_wrap .photo {
    width: calc(100% / 3 - 4px);
  }
}
.galleries .photo_wrap .photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
@media (hover: hover) and (min-width: 768px) {
  .galleries .photo_wrap .photo:hover img {
  transform: scale(1.05);
}
}
@media (max-width: 736px) {
  .galleries .photo_wrap .photo img {
    height: 180px;
  }
}

.mov_wrap {
  width: 100%;
  max-width: 718px;
}
.mov_gallery {
  width: 100%;
  height: auto;
  max-width: 718px;
}

.ttl_gallery {
  font-size: 2.4rem;
  line-height: 1.8;
}
@media (max-width: 1024px) {
  .ttl_gallery {
    margin-bottom: 0.8em;
    line-height: 1.2;
    font-size: 2rem;
  }
}
.ttl_gallery span {
  font-size: 1.8rem;
}
@media (max-width: 1024px) {
  .ttl_gallery span {
    font-size: 1.4rem;
  }
}

/* ---------- CTA Section ---------- */
.contact {
  margin-bottom: 150px;
  padding: 0 20px;
  text-align: center;
}
@media (max-width: 1024px) {
  .contact {
    margin-bottom: 50px;
  }
}
.contact .txt_contact {
  margin-bottom: 1.4em;
  text-align: center;
  font-size: 1.6rem;
  color: #fff; /* chữ trắng đồng bộ */
}
.contact .btn_default {
  z-index: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  width: 100%;
  height: 60px;
  line-height: 60px;
  max-width: 450px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  font-size: 1.8rem;
  color: #fff; /* chữ trắng */
  background-color: transparent; /* nền trong suốt */
  border: 1px solid #848484;
  transition: all 0.2s linear;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.2em;
}
@media (hover: hover) and (min-width: 768px) {
  .contact .btn_default:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.05); /* hover nhẹ */
}
}
@media (max-width: 736px) {
  .contact .btn_default {
    max-width: 100%;
  }
}

/* ---------- Contact Menu ---------- */
.contact-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.contact-menu a {
  display: block;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 1.6rem;
  color: #fff; /* chữ trắng */
  background-color: transparent; /* nền trong suốt */
  border: 1px solid #848484;
  text-decoration: none;
  transition: all 0.2s linear;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.1em;
}

@media (hover: hover) and (min-width: 768px) {
  .contact-menu a:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.05); /* hover nhẹ */
}
}

@media (max-width: 736px) {
  .contact-menu {
    max-width: 100%;
  }
}

/* ---------- Footer ---------- */
.crystal-footer {
  background-color: #000;       /* giữ nguyên màu đen */
  padding: 30px 40px;
  color: #fff;
}

.crystal-footer__content {
  display: flex;
  justify-content: center;      /* căn giữa ngang */
  align-items: center;          /* căn giữa dọc */
  gap: 20px;                    /* khoảng cách giữa logo và chữ */
  text-align: center;
}

.crystal-footer__logo img {
  max-height: 30px;
  width: auto;
}

.crystal-footer__copyright {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 736px) {
  .crystal-footer__content {
    flex-direction: column;     /* logo và chữ xếp dọc trên mobile */
    gap: 10px;
  }
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(10px, 0, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-10px, 0, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 15px, 0); }
  to { opacity: 1; transform: none; }
}

/* Animation trigger classes */
.animation_on.fadeIn { animation: fadeIn 1s ease forwards; }
.animation_on.fadeInLeft { animation: fadeInLeft 1s ease forwards; }
.animation_on.fadeInRight { animation: fadeInRight 1s ease forwards; }
.animation_on.fadeInUp { animation: fadeInUp 0.8s ease forwards; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .crystal-header {
    height: 60px;
    padding: 0 30px;
    background: rgba(0, 0, 0, 0.8);
  }
  .crystal-header__nav {
    gap: 15px;
  }
  .crystal-header__nav a {
    font-size: 1.1rem;
  }
  .crystal-subnav { top: 60px; }
  .crystal-subnav a { font-size: 1rem; padding: 5px 16px; }
}
/* Mốc 767px riêng cho link "Liên hệ" kế logo — khớp đúng breakpoint mà
   mobile-bottom-nav.css thật sự ẩn .crystal-header__nav đi (không phải
   1024px/736px mà file này tự dùng cho các điều chỉnh responsive khác). */
@media (max-width: 767px) {
  .custom-header__mobile-contact {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    color: #d0b58d;
    font-family: "Noto Serif JP", serif;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s;
  }
  .custom-header__mobile-contact:active {
    opacity: 0.6;
  }
@media (hover: hover) and (min-width: 768px) {
  .custom-header__mobile-contact:hover {
    opacity: 0.6;
  }
}
  .custom-header__mobile-contact.is-active {
    color: #fff;
  }
}
@media (max-width: 736px) {
  .crystal-header {
    height: 50px;
    padding: 0 15px;
  }
  .crystal-header__logo img {
    max-height: 20px;
  }
  .crystal-header__nav {
    gap: 8px;
  }
  .crystal-header__nav a {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }
  .crystal-subnav { top: 50px; gap: 8px; padding: 10px 15px; }
  .crystal-subnav a { font-size: 0.85rem; padding: 4px 12px; letter-spacing: 0.1em; }
  .crystal-hero__title-wrap {
    padding: 0 15px 50px;
  }
  .crystal-hero__logo {
    padding: 40px 10px;
  }
  .crystal-hero__logo img {
    max-width: 180px;
  }
  .crystal-hero__limited {
    font-size: 1.8rem;
  }
  .crystal-hero__limited .no {
    font-size: 2.2rem;
  }
  .crystal-hero__custom {
    font-size: 1.4rem;
  }
  .crystal-hero__cta {
    font-size: 1.4rem;
    padding: 12px 30px;
  }
  .body_copy_main {
    font-size: 2.8rem;
  }
  .body_copy {
    font-size: 2.4rem;
  }
  .about_txt .limited {
    font-size: 2.4rem;
  }
  .about_txt .limited .limit_no {
    font-size: 3rem;
  }
  .about_txt .custom_made {
    font-size: 1.8rem;
  }
  .about_txt .limited_ja {
    font-size: 1.6rem;
  }
  .about_txt .price {
    font-size: 2rem;
  }
  .galleries .photo_wrap {
    flex-wrap: wrap;
    gap: 8px;
  }
  .galleries .photo_wrap .photo {
    width: calc(50% - 4px);
  }
  .galleries .photo_wrap .photo:last-child {
    width: 100%;
  }
}


/* Lightbox xem ảnh phóng to cho 3 gallery sự kiện (180B, Milan, Roppongi) —
   bấm ảnh mở lớp xem lớn ngay tại trang thay vì nhảy sang tab mới. */
.crystal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: rgba(10, 8, 6, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.crystal-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.crystal-lightbox__fig {
  max-width: 92rem;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}
.crystal-lightbox__fig img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 0.4rem;
  display: block;
}
.crystal-lightbox__close,
.crystal-lightbox__prev,
.crystal-lightbox__next {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}
.crystal-lightbox__close:hover,
.crystal-lightbox__prev:hover,
.crystal-lightbox__next:hover {
  background: rgba(255, 255, 255, 0.18);
}
.crystal-lightbox__close { top: 1.6rem; right: 1.6rem; }
.crystal-lightbox__prev { left: 1.6rem; top: 50%; transform: translateY(-50%); }
.crystal-lightbox__next { right: 1.6rem; top: 50%; transform: translateY(-50%); }
.crystal-lightbox__close svg,
.crystal-lightbox__prev svg,
.crystal-lightbox__next svg {
  width: 1.4rem;
  height: 1.4rem;
}
@media (max-width: 736px) {
  .crystal-lightbox { padding: 5.5rem 1rem 2rem; }
  .crystal-lightbox__close { top: 1rem; right: 1rem; width: 2.6rem; height: 2.6rem; }
  .crystal-lightbox__prev { left: 0.6rem; width: 2.6rem; height: 2.6rem; }
  .crystal-lightbox__next { right: 0.6rem; width: 2.6rem; height: 2.6rem; }
}