@charset "utf-8";
/* CSS Document */

/* ============================================
   Virtual Try-On page (Service subpage)
   ============================================ */
.p-service-tryon-root {
  background: #ffffff;
}

html.p-service-tryon-root {
  height: auto;
  overflow: visible;
}
body.p-service-tryon-root {
  height: auto;
  overflow: visible;
  display: block;
  position: relative;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}

.p-service-tryon-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.p-service-tryon-header__logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
}

.p-service-tryon-header__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.p-service-tryon-header__nav-link {
  font-size: 14px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
}
.p-service-tryon-header__nav-link:hover {
  text-decoration: underline;
}

/* Page */
.p-service-tryon-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px var(--spacing-container) 110px;
  box-sizing: border-box;
}

.p-service-tryon-title {
  text-align: center;
  margin: 24px 0 34px;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #E67B00;
}

/* Hero layout */
.p-service-tryon-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 10px 0 54px;
}

.p-service-tryon-hero__media {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.p-service-tryon-hero__img {
  width: min(360px, 90%);
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.15));
}

.p-service-tryon-hero__kicker {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.55);
}

.p-service-tryon-hero__heading {
  margin: 0 0 18px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.55);
}

.p-service-tryon-hero__text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.45);
}

.p-service-tryon-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.p-service-tryon-hero__button:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* Case Study */
.p-service-tryon-case {
  padding-top: 26px;
}

.p-service-tryon-case__head {
  text-align: center;
  margin-bottom: 18px;
}

.p-service-tryon-case__title {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #E67B00;
}

.p-service-tryon-case__subtitle {
  margin: 0;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 600;
}

.p-service-tryon-tabs__list {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 20px 0 26px;
}

.p-service-tryon-tabs__tab {
  width: 140px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  background: #ffffff;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: center
}

.p-service-tryon-tabs__tab.is-active {
  background: #E67B00;
  border-color: #E67B00;
  color: #ffffff;
}

.p-service-tryon-panel__grid {
  display: flex;
    align-items: flex-start;
    justify-content: center;
  gap: 26px;
}


.p-service-tryon-panel__content{
  margin-right: 60px;
  width: max-content;
}

.p-service-tryon-panel__media{
    justify-content: flex-start;
    width: 480px;
}
.p-service-tryon-panel__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.55);
}

.p-service-tryon-panel__project {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 900;
  color: #E67B00;
}

.p-service-tryon-panel__text {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 2;
  color: rgba(0, 0, 0, 0.45);
  font-weight: 700;
}

.p-service-tryon-panel__buttons {
  display: grid;
  gap: 12px;
  max-width: 260px;
}

.p-service-tryon-panel__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.p-service-tryon-panel__button:hover {
  background: rgba(0, 0, 0, 0.03);
}

.p-service-tryon-panel__media {
  display: flex;
  justify-content: center;
}

.p-service-tryon-panel__img {
  width: min(420px, 100%);
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Footer */
.p-service-tryon-root .footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  background: #3b3b3b;
  padding: 18px 0;
}
.p-service-tryon-root .footer__copyright {
  color: rgba(255, 255, 255, 0.9);
}

/* SP */
@media (max-width: 768px) {
  .p-service-tryon-root .header {
    padding: 14px 16px;
  }
  .p-service-tryon-header__nav {
    display: none;
  }
  .p-service-tryon-header__inner {
    position: relative;
    justify-content: center;
  }
  .p-service-tryon-header__logo {
    font-size: 22px;
  }
  .p-service-tryon-root .header__toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .p-service-tryon-page {
    padding: 88px 18px 110px;
  }

  .p-service-tryon-title {
    font-size: 42px;
    margin: 18px 0 18px;
  }

  .p-service-tryon-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
    padding-bottom: 34px;
  }

  .p-service-tryon-hero__img {
    width: min(320px, 88%);
  }

  .p-service-tryon-hero__button {
    width: 260px;
    margin: 0 auto;
  }

  .p-service-tryon-tabs__list {
    gap: 10px;
  }
  .p-service-tryon-tabs__tab {
    width: 98px;
  }

  .p-service-tryon-panel__grid {
    grid-template-columns: 1fr;
  }


.p-service-tryon-panel__content{
  margin-right: 0;
}

  .p-service-tryon-panel__buttons {
    max-width: none;
  }
  .p-service-tryon-panel__button {
    width: 260px;
  }
}


