/* 
 * VSG Brand Top ACF v2 - final PC/SP tuned
 * Font: Noto Sans JP
 * Purpose: Custom styling for VSG Brand landing page
 */

/* ==========================================================================
   Variables & Base Styles
   ========================================================================== */

:root {
    --vsg-cyan: rgb(45, 190, 205);
    --vsg-dark: #545d5f;
    --vsg-light: #f4f4f4;
    --vsg-muted: #8f9495;
    --vsg-container: 1040px;
    --vsg-reasons-container: 1080px;
    --vsg-hero-container: 1280px;
    --vsg-header-container: 1140px;
    --vsg-page-px: 120px;
    --vsg-header-px: 70px;
    --vsg-sp-px: 35px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.vsg-brand-body {
    margin: 0;
    padding-top: 100px;
    background: var(--vsg-light);
    color: var(--vsg-dark);
    font-family: "Noto Sans JP", sans-serif;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
}
@media (max-width: 641px) {
    body.vsg-brand-body {
        padding-top: 70px;
    }
}

body.vsg-brand-body img {
    max-width: 100%;
    height: auto;
}

body.vsg-brand-body a,
body.vsg-brand-body button {
    transition: none !important;
}

body.vsg-brand-body a:hover,
body.vsg-brand-body a:focus,
body.vsg-brand-body a:active,
body.vsg-brand-body button:hover,
body.vsg-brand-body button:focus,
body.vsg-brand-body button:active {
    color: currentColor !important;
    text-decoration: none !important;
    opacity: 1 !important;
    filter: none !important;
    -ms-filter: none !important;
    box-shadow: none !important;
    outline: none !important;
}

body.vsg-brand-body a:hover img,
body.vsg-brand-body a:focus img,
body.vsg-brand-body a:active img,
body.vsg-brand-body button:hover img,
body.vsg-brand-body button:focus img,
body.vsg-brand-body button:active img {
    opacity: 1 !important;
    filter: none !important;
    -ms-filter: none !important;
}

body.vsg-brand-body .vsg-main-nav__inner a,
body.vsg-brand-body .vsg-main-nav__inner a:visited,
body.vsg-brand-body .vsg-main-nav__inner a:hover,
body.vsg-brand-body .vsg-main-nav__inner a:focus,
body.vsg-brand-body .vsg-main-nav__inner a:active,
body.vsg-brand-body .vsg-header__tel,
body.vsg-brand-body .vsg-header__tel:visited,
body.vsg-brand-body .vsg-header__tel:hover,
body.vsg-brand-body .vsg-header__tel:focus,
body.vsg-brand-body .vsg-header__tel:active,
body.vsg-brand-body .vsg-office-link,
body.vsg-brand-body .vsg-office-link:visited,
body.vsg-brand-body .vsg-office-link:hover,
body.vsg-brand-body .vsg-office-link:focus,
body.vsg-brand-body .vsg-office-link:active,
body.vsg-brand-body .vsg-mobile-submenu__panel a,
body.vsg-brand-body .vsg-mobile-submenu__panel a:visited,
body.vsg-brand-body .vsg-mobile-submenu__panel a:hover,
body.vsg-brand-body .vsg-mobile-submenu__panel a:focus,
body.vsg-brand-body .vsg-mobile-submenu__panel a:active,
body.vsg-brand-body .vsg-btn--white,
body.vsg-brand-body .vsg-btn--white:visited,
body.vsg-brand-body .vsg-btn--white:hover,
body.vsg-brand-body .vsg-btn--white:focus,
body.vsg-brand-body .vsg-btn--white:active {
    color: #fff !important;
    border-color: #fff !important;
}

body.vsg-brand-body .vsg-btn:not(.vsg-btn--white),
body.vsg-brand-body .vsg-btn:not(.vsg-btn--white):visited,
body.vsg-brand-body .vsg-btn:not(.vsg-btn--white):hover,
body.vsg-brand-body .vsg-btn:not(.vsg-btn--white):focus,
body.vsg-brand-body .vsg-btn:not(.vsg-btn--white):active,
body.vsg-brand-body .vsg-cta__tel,
body.vsg-brand-body .vsg-cta__tel:visited,
body.vsg-brand-body .vsg-cta__tel:hover,
body.vsg-brand-body .vsg-cta__tel:focus,
body.vsg-brand-body .vsg-cta__tel:active {
    color: var(--vsg-cyan) !important;
    border-color: var(--vsg-cyan) !important;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

.vsg-top {
    overflow: hidden;
    background: var(--vsg-light);
}

.vsg-container {
    width: min(calc(100% - calc(var(--vsg-page-px) * 2)), var(--vsg-container));
    margin: 0 auto;
}

.vsg-main-nav {
    position: absolute;
    top: 20px;
    right: 70px;
    z-index: 10;
}

.vsg-main-nav__inner {
    display: flex;
    align-items: center;
}

.vsg-nav-item {
    position: relative;
}

.vsg-nav-item::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
}

.vsg-br-sp {
    display: none;
}

.vsg-br-pc {
    display: block;
}

.vsg-main-nav__inner a,
.vsg-nav-item > a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 0 15px;
    border-right: 1px solid #fff;
    line-height: 1;
}

.vsg-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 20;
    display: grid;
    width: 210px;
    padding: 0;
    background: rgba(45, 190, 205, .96);
    border: 1px solid rgba(255, 255, 255, .75);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
}

.vsg-nav-item--has-submenu:hover .vsg-submenu,
.vsg-nav-item--has-submenu:focus-within .vsg-submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-25%, 0);
}

.vsg-submenu a {
    display: block;
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, .55);
    border-right: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.vsg-submenu a:first-child {
    border-top: 0;
}

.vsg-main-nav__inner > a:last-child {
    border-right: none;
    padding-right: 0;
}

.vsg-main-nav__inner > a:first-child {
    padding-left: 0;
}

@media print {
  * {
    visibility: hidden !important;
  }

  body {
    background: #fff !important;
  }
}

.vsg-anti-copy, .vsg-anti-copy-small {
    position: relative;
}

.vsg-anti-copy__overlay {
    position: absolute; 
    inset: 0px; 
    width: 100%; 
    height: 100%; 
    z-index: 2; 
    background: transparent;
}

.vsg-anti-copy__overlay img {
   width: 100%;
   display: block;
   -webkit-user-drag: none;
   user-select: none;
}

/* ==========================================================================
   Header
   ========================================================================== */

.vsg-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: var(--vsg-cyan);
    color: #fff;
    height: 100px;
    border-bottom: 1px solid #fff;
}

/* WordPress Admin Bar compensation */
.admin-bar .vsg-header {
    top: 32px;
}

.admin-bar .vsg-header__mobile-nav {
    top: calc(100px + 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .vsg-header {
        top: 46px;
    }
    .admin-bar .vsg-header__mobile-nav {
        top: calc(70px + 46px);
    }
}

/* Mobile Admin Bar Adjustment */
@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed !important;
    }
    .admin-bar .vsg-header {
        top: 46px;
    }
    .admin-bar .vsg-header__mobile-nav {
        top: calc(70px + 46px);
    }
}

.vsg-header__inner {
    width: min(calc(100% - calc(var(--vsg-header-px) * 2)), var(--vsg-header-container));
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.vsg-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    margin-right: auto;
}

.vsg-header__logo img {
    display: block;
    width: 560px;
    height: auto;
}

.vsg-header__logo-box {
    width: 46px;
    height: 46px;
    background: #fff;
    color: var(--vsg-cyan);
    display: flex;
    align-items: end;
    justify-content: center;
    font-size: 19px;
    font-weight: 900;
}

.vsg-header__logo-text {
    margin-left: 7px;
    max-width: 70px;
    font-size: 15px;
    line-height: 1.05;
    font-weight: 600;
}

.vsg-header__divider {
    width: 3px;
    height: 50px;
    background: #fff;
    flex-shrink: 0;
}

.vsg-header__center {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.vsg-header__site-name {
    font-size: 31px;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
}

.vsg-header__nav {
    margin-left: auto;
    display: flex;
    gap: 15px;
    align-items: center;
}

.vsg-header__nav a {
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.vsg-header__contact {
    min-width: 190px;
    text-align: right;
    color: #fff;
}

.vsg-header__tel {
    font-family: Roboto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #fff;
    text-decoration: none;
    font-size: 28.6px;
    line-height: 1;
    font-weight: 600;
}

.vsg-header__tel-icon {
    width: 35px;
    height: auto;
    margin-right: 6px;
    transform: translateY(2px);
}

.vsg-header__tel-note {
    font-size: 15px;
    line-height: 1.1;
    font-weight: 800;
    margin-top: 4px;
    transform: translateX(-10px);
}

.vsg-header__toggle {
    display: none;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    padding: 0;
    margin-left: auto;
}

.vsg-header__toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    margin: 5px auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.vsg-header__mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: var(--vsg-cyan);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0 20px;
}

.vsg-header__mobile-nav.is-open {
    display: flex;
}

/* Toggle X animation */
.vsg-header__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.vsg-header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.vsg-header__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.vsg-header__mobile-nav .vsg-btn {
    width: 100%;
    max-width: 400px;
    border: none;
}

.vsg-header__mobile-contact {
    margin-top: 20px;
    width: 100%;
    max-width: 400px;
    padding: 20px 0;
    color: #fff;
    text-align: left;
    border-top: 1px solid #fff;
}

.vsg-mobile-submenu {
    width: 100%;
    max-width: 400px;
}

.vsg-mobile-submenu__toggle {
    cursor: pointer;
}

.vsg-mobile-submenu__toggle::after {
    transition: transform .2s ease;
}

.vsg-mobile-submenu.is-open .vsg-mobile-submenu__toggle::after {
    transform: rotate(135deg);
}

.vsg-mobile-submenu__panel {
    display: none;
    padding: 6px 0 12px 32px;
}

.vsg-mobile-submenu.is-open .vsg-mobile-submenu__panel {
    display: grid;
}

.vsg-mobile-submenu__panel a {
    display: block;
    padding: 9px 0;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.4;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.vsg-hero {
    position: relative;
    background: var(--vsg-cyan);
}

.vsg-hero__inner {
    position: relative;
    width: min(100%, var(--vsg-hero-container));
}

.vsg-hero__picture,
.vsg-hero__picture img {
    display: block;
}

.vsg-hero__picture img {
    object-fit: cover;
    height: auto;
}

.vsg-hero__content {
    position: absolute;
    top: 48%;
    right: 0;
    transform: translateY(-38%);
    width: 400px;
    color: #fff;
}

.vsg-hero__title {
    margin: 0;
    font-size: 60px;
    line-height: 1.24;
    font-weight: 500;
    letter-spacing: -.04em;
}

.vsg-hero__text {
    margin: 46px 0 0;
    font-size: 17px;
    line-height: 1;
    font-weight: 500;
    white-space: pre-line;
}

/* ==========================================================================
   Movie / Slider Section
   ========================================================================== */

.vsg-movie {
    position: relative;
    padding: 67px 0 56px;
    background: var(--vsg-light);
}

.vsg-movie__viewport {
    width: min(calc(100% - var(--vsg-page-px)), 1160px);
    margin-left: max(var(--vsg-page-px), calc((100% - 1280px) / 2 + var(--vsg-page-px)));
    margin-right: 0;
    overflow: hidden;
}

.vsg-movie__track {
    display: flex;
    transition: transform .45s ease;
    will-change: transform;
}

.vsg-movie__slide {
    flex: 0 0 clamp(320px, calc(100vw - 240px), 1040px);
    margin: 0 30px 0 0;
    opacity: .38;
    transition: opacity .28s ease;
}

.vsg-movie__slide.is-active {
    opacity: 1;
}

.vsg-movie__media {
    position: relative;
    background: #000;
}

.vsg-movie__media img,
.vsg-movie__media video {
    display: block;
    width: 100%;
    max-width: 100%; /* override global 87% */
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #000;
}

.vsg-movie__media iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border: 0;
    background: #000;
}

.vsg-movie__media img.vsg-movie__custom-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    background: transparent;
    cursor: pointer;
    z-index: 10;
}

.vsg-movie__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    border: 3px solid var(--vsg-cyan);
    border-radius: 50%;
    background: rgba(0, 0, 0, .18);
    cursor: pointer;
}

.vsg-movie__play::before {
    content: "";
    position: absolute;
    left: 46%;
    top: 50%;
    transform: translate(-35%, -50%);
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 20px solid var(--vsg-cyan);
}

.vsg-movie__arrows-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.vsg-movie__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 80px;
    border: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
}

.vsg-movie__arrow:focus,
.vsg-movie__arrow:focus-visible,
.vsg-movie__play:focus,
.vsg-movie__play:focus-visible {
    outline: none;
    box-shadow: none;
}

.vsg-movie__arrow::before {
    content: "";
    display: block;
    width: 46px;
    height: 46px;
    border-top: 4px solid var(--vsg-cyan);
    border-right: 4px solid var(--vsg-cyan);
}

.vsg-movie__arrow--prev {
    left: 0;
}

.vsg-movie__arrow--prev::before {
    transform: rotate(-135deg);
}

.vsg-movie__arrow--next {
    right: 0;
}

.vsg-movie__arrow--next::before {
    transform: rotate(45deg);
}

/* ==========================================================================
   Ambassador Section
   ========================================================================== */

.vsg-ambassador {
    padding: 50px 0 75px;
    background: var(--vsg-light);
}

.vsg-ambassador__inner {
    width: min(calc(100% - calc(var(--vsg-page-px) * 2)), 640px);
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 55px;
    align-items: center;
}

.vsg-ambassador__label {
    font-size: 18px;
    line-height: 1;
    color: var(--vsg-cyan);
    font-weight: 700;
    margin-bottom: 12px;
}

.vsg-ambassador__name {
    margin: 0 0 55px;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--vsg-dark);
}

.vsg-ambassador__text {
    margin: 0 0 24px;
    color: var(--vsg-muted);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
}

.vsg-ambassador__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.vsg-ambassador__visual img {
    display: block;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    background: var(--vsg-cyan);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.vsg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 220px;
    height: 50px;
    padding: 8px 35px;
    border: 2px solid var(--vsg-cyan);
    color: var(--vsg-cyan);
    text-decoration: none;
    font-size: 21px;
    line-height: 1;
    font-weight: 700;
    background: transparent;
}

.vsg-btn::after {
    content: "";
    width: 14px;
    height: 14px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.vsg-btn--white {
    color: #fff;
    border-color: #fff;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.vsg-services {
    position: relative;
    background-color: var(--vsg-cyan);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 200%;
    color: #fff;
    padding: 70px 0;
    height: 820px;
    overflow: hidden;
}

.vsg-services__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vsg-services__content {
    padding-top: 170px;
}

.vsg-services__content h2 {
    margin: 0 0 32px;
    font-size: 60px;
    line-height: 80px;
    font-weight: 700;
    letter-spacing: 0%;
    white-space: pre-line;
}

.vsg-services__content p {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 0%;
    text-align: justify;
}

.vsg-services__content .vsg-btn {
    margin-top: 12px;
    width: 100%;
    height: 50px;
    font-size: 21px;
    line-height: 24px;
    letter-spacing: 0%;
    font-weight: 700;
}

.vsg-services__visual {
    position: relative;
    width: 80%;
    height: 100%;
    min-height: 550px;
}

.vsg-services__orb {
    position: absolute;
    left: calc(50% - 28px);
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 280px;
    height: 280px;
    font-size: 42px;
    font-weight: 700;
    line-height: 56px;
    letter-spacing: 0%;
}

.vsg-services__orb--top {
    top: 25%;
}

.vsg-services__orb--bottom {
    top: 98%;
}

/* ==========================================================================
   Reasons Section
   ========================================================================== */

.vsg-reasons {
    padding: 73px 0 82px;
    background: var(--vsg-light);
}

.vsg-reasons .vsg-container {
    width: min(calc(100% - 200px), var(--vsg-reasons-container));
}

.vsg-reasons__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 36px;
    padding-bottom: 50px;
}

.vsg-reason-card {
    position: relative;
    height: 350px;
    padding: 29px 31px 25px;
}

.vsg-reason-card__frame::before,
.vsg-reason-card__frame::after,
.vsg-reason-card::before,
.vsg-reason-card::after {
    content: "";
    position: absolute;
    width: 27px;
    height: 27px;
    border-color: var(--vsg-cyan);
    border-style: solid;
}

.vsg-reason-card::before {
    left: 0;
    top: 0;
    border-width: 2px 0 0 2px;
}

.vsg-reason-card::after {
    right: 0;
    top: 0;
    border-width: 2px 2px 0 0;
}

.vsg-reason-card__frame::before {
    left: 0;
    bottom: 0;
    border-width: 0 0 2px 2px;
}

.vsg-reason-card__frame::after {
    right: 0;
    bottom: 0;
    border-width: 0 2px 2px 0;
}

.vsg-reason-card--heading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vsg-reason-card--heading h2 {
    margin: 0;
    color: var(--vsg-cyan);
    font-size: 60px;
    line-height: 80px;
    font-weight: 700;
    letter-spacing: 0%;
}

.vsg-reason-card__number {
    font-family: Helvetica Neue, Helvetica,sans-serif;
    position: absolute;
    right: 24px;
    top: 22px;
    color: var(--vsg-cyan);
    font-size: 75px;
    line-height: 75px;
    font-weight: 700;
}

.vsg-reason-card__title {
    height: 112px;
    color: var(--vsg-dark);
    font-size: 42px;
    line-height: 56px;
    font-weight: 700;
    letter-spacing: -3%;
    margin-bottom: 20px;
}

.vsg-reason-card__second_title {
    margin: 0 78px 28px 0 !important;
}

.vsg-reason-card p {
    margin: 0;
    color: var(--vsg-muted);
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 0%;
    text-align: justify;
}

/* ==========================================================================
   Company Section
   ========================================================================== */

.vsg-company {
    background: var(--vsg-cyan);
    color: #fff;
    padding: 160px 0 87px;
}

.vsg-company__inner {
    display: grid;
    grid-template-columns: 1fr 410px;
    gap: 105px;
    align-items: end;
}

.vsg-company__content h2 {
    margin: 0 0 34px;
    font-size: 60px;
    line-height: 80px;
    font-weight: 700;
    letter-spacing: 0%;
}

.vsg-company__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 0%;
}

.vsg-company__offices {
    display: grid;
    gap: 50px;
}

.vsg-office-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 20px;
    border: 1.5px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 21px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0%;
}

.vsg-office-link::after {
    content: "";
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

/* ==========================================================================
   CTA Section & Footer
   ========================================================================== */

.vsg-cta {
    background: var(--vsg-light);
    padding: 100px 0 45px;
}

.vsg-cta h2 {
    margin: 0 0 108px;
    color: var(--vsg-cyan);
    font-size: 60px;
    line-height: 80px;
    font-weight: 700;
    letter-spacing: 0%;
}

.vsg-cta__note {
    color: var(--vsg-cyan);
    font-size: 21px;
    line-height: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.vsg-cta__tel {
    font-family: Roboto;
    display: inline-flex;
    align-items: center;
    color: var(--vsg-cyan);
    text-decoration: none;
    font-size: 70px;
    line-height: 70px;
    font-weight: 700;
    letter-spacing: 0%;
}

.vsg-cta__tel-icon {
    width: 79px;
    height: auto;
    margin-right: 12px;
}

.vsg-cta__copy {
    margin-top: 53px;
    color: var(--vsg-cyan);
    font-size: 14px;
    line-height: 14px;
    font-weight: 700;
    letter-spacing: 0%;
}

/* ==========================
   VIDEO CONTAINERS
   ========================== */

.vsg-movie__media--youtube {
    position: relative;
    padding-top: 56.25%;           /* 16:9 */
    background: #000;
    overflow: hidden;
    cursor: pointer;
}

.vsg-movie__media--youtube img,
.vsg-movie__media--youtube .vsg-anti-copy__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

/* Icon play */
.vsg-movie__custom-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;           /* để click xuyên qua vào container */
    transition: all 0.3s ease;
}

.vsg-movie__media--youtube.is-playing .vsg-movie__custom-play,
.vsg-movie__media--youtube.is-playing img {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Player iframe */
.vsg-movie__media--youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ====================== FIX YOUTUBE CONTROL ====================== */

/* Ẩn overlay khi video đang phát */
.vsg-movie__media--youtube.is-playing .vsg-anti-copy__overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Đảm bảo iframe có thể tương tác */
.vsg-movie__media--youtube.is-playing iframe {
    z-index: 10;
}

/* Khi hover lên video đang phát, hiện lại cursor mặc định */
.vsg-movie__media--youtube.is-playing {
    cursor: default;
}

/* Giữ overlay chỉ hoạt động khi chưa play */
.vsg-movie__media--youtube:not(.is-playing) .vsg-anti-copy__overlay {
    z-index: 9;
    pointer-events: auto;
}

/* ====================== VIMEO VIDEO FIX ====================== */

.vsg-movie__media--vimeo {
    position: relative;
    padding-top: 56.25%;           /* Tỷ lệ 16:9 */
    background: #000;
    overflow: hidden;
    cursor: pointer;
}

.vsg-movie__media--vimeo img,
.vsg-movie__media--vimeo .vsg-anti-copy__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

/* Icon Play */
.vsg-movie__media--vimeo .vsg-movie__custom-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Iframe Vimeo */
.vsg-movie__media--vimeo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border: 0;
}

.vsg-movie__media--vimeo.is-playing iframe {
    z-index: 10;
}

/* Khi đang phát → ẩn thumbnail + icon play */
.vsg-movie__media--vimeo.is-playing img,
.vsg-movie__media--vimeo.is-playing .vsg-movie__custom-play,
.vsg-movie__media--vimeo.is-playing .vsg-anti-copy__overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
}

.vsg-movie__media--vimeo.is-playing {
    cursor: default;
}

/* Giữ overlay chỉ hoạt động khi chưa play */
.vsg-movie__media--vimeo:not(.is-playing) .vsg-anti-copy__overlay {
    z-index: 4;
    pointer-events: auto;
}

.vsg-footer {
    display: none;
}

/* ==========================================================================
   Responsive Styles (Tablet)
   ========================================================================== */

@media (max-width: 1100px) {
    .vsg-header__inner {
        width: calc(100% - calc(var(--vsg-header-px) * 2));
    }

    .vsg-header__site-name {
        font-size: 18px;
    }

    .vsg-header__nav {
        gap: 10px;
    }

    .vsg-header__nav a {
        font-size: 9px;
    }

    .vsg-header__contact {
        min-width: 160px;
    }
}

/* ==========================================================================
   Responsive Styles (max 1220)
   ========================================================================== */

@media (min-width: 640px) and (max-width: 1220px) {
    .vsg-reason-card__title {
        font-size: 3vw;
    }
    .vsg-reason-card__number {
        font-size: 5vw;
    }
    .vsg-reason-card--heading h2 {
        font-size: 5vw;
    }
    .vsg-reason-card {
        height: auto;
    }
}

/* ==========================================================================
   Responsive Styles (Mobile)
   ========================================================================== */

@media (max-width: 640px) {
    .vsg-container {
        width: calc(100% - calc(var(--vsg-sp-px) * 2));
    }

    /* Mobile Header */
    .vsg-header {
        height: 70px;
    }

    .vsg-header__inner {
        height: 70px;
        width: calc(100% - 20px);
        padding: 0;
        gap: 8px;
    }

    .vsg-main-nav {
        display: none;
    }

    .vsg-header__logo {
        margin-right: auto;
        align-self: center;
        padding-bottom: 0;
    }

    .vsg-header__logo img {
        width: 278px;
        height: auto;
    }

    .vsg-header__logo-box {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .vsg-header__logo-text {
        font-size: 10px;
        max-width: 40px;
        margin-left: 4px;
    }

    .vsg-header__site-name {
        font-size: 16px;
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: 0%;
    }

    .vsg-br-sp {
        display: block;
    }

    .vsg-br-pc {
        display: none;
    }

    .vsg-header__divider {
        width: 1px;
        height: 42px;
    }

    .vsg-header__center {
        margin-left: 10px;
    }

    .vsg-header__nav,
    .vsg-header__contact {
        display: none;
    }

    .vsg-header__toggle {
        margin-top: -10px;
        display: block;
        width: 28px;
        height: 28px;
    }

    .vsg-header__toggle span {
        width: 28px;
        height: 2px;
        margin: 8px auto;
    }

    .vsg-header__mobile-nav .vsg-btn {
        font-size: 16px;
        font-weight: 400;
    }
    
    .vsg-header__mobile-nav .vsg-btn.vsg-btn--white{
        padding: 0;
    }

    .vsg-header__mobile-contact .vsg-header__tel {
        justify-content: flex-start;
    }

    .vsg-header__mobile-contact .vsg-header__tel-note {
        transform: none;
    }

    .vsg-anti-copy::after, .vsg-movie__media::after {
        content: "";
        position: absolute;
        inset: 0px;
        width: 100%;
        height: 100%;
        z-index: 2;
        background: transparent;
    }

    /* Mobile Hero */
    .vsg-hero {
        height: auto;
    }

    .vsg-hero__inner {
        width: 100%;
        height: auto;
    }

    .vsg-hero__picture {
        overflow: hidden;
        height: auto;
    }

    .vsg-hero__picture img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain;
        object-position: center center;
        margin: 0;
    }

    .vsg-hero__content {
        right: 10px;
        left: 10px;
        top: auto;
        bottom: 10%;
        width: auto;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .vsg-hero__title {
        writing-mode: vertical-rl;
        font-size: 51px;
        line-height: 54px;
        font-weight: 500;
        letter-spacing: 7%;
    }

    .vsg-hero__text {
        margin-top: 20px;
        font-size: 16px;
        line-height: 28px;
        font-weight: 500;
        text-align: right;
        letter-spacing: -11%;
        white-space: inherit;
    }

    /* Mobile Movie */
    .vsg-movie {
        padding: 72px 0 75px;
    }

    .vsg-movie__viewport {
        width: calc(100% - calc(var(--vsg-sp-px) * 2));
        margin-left: var(--vsg-sp-px);
        margin-right: 0;
    }

    .vsg-movie__slide {
        flex-basis: 320px;
        margin: 0 18px 0 0;
    }

    .vsg-movie__media img,
    .vsg-movie__media video {
        aspect-ratio: 320/180;
    }

    .vsg-movie__media img.vsg-movie__custom-play {
        width: 90px;
        height: 90px;
        aspect-ratio: auto;
        content: url("../images/vsg/play_video_icon_SP.png");
    }

    .vsg-movie__play {
        width: 90px;
        height: 90px;
        border-width: 2px;
    }

    .vsg-movie__play::before {
        border-top-width: 14px;
        border-bottom-width: 14px;
        border-left-width: 22px;
    }

    .vsg-movie__arrow {
        width: 24px;
        height: 40px;
    }

    .vsg-movie__arrow::before {
        display: block;
        width: 18px;
        height: 18px;
        border-width: 3px;
    }

    .vsg-movie__arrow--prev {
        left: 3px;
    }

    .vsg-movie__arrow--next {
        right: 3px;
    }

    /* Mobile Ambassador */
    .vsg-ambassador {
        padding: 0 0 95px;
    }

    .vsg-ambassador__inner {
        width: calc(100% - calc(var(--vsg-sp-px) * 2));
        display: grid;
        grid-template-columns: 1fr 150px;
        gap: 0 16px;
    }

    .vsg-ambassador__content,
    .vsg-ambassador__visual {
        display: contents;
    }

    .vsg-ambassador__label {
        font-size: 18px;
        line-height: 18px;
        margin-bottom: 4px;
        grid-column: 1;
        grid-row: 1;
        align-self: end;
        margin-top: 80px;
    }

    .vsg-ambassador__name {
        font-size: 36px;
        line-height: 48px;
        letter-spacing: 0% ;
        margin: 0 0 16px;
        grid-column: 1;
        grid-row: 2;
        align-self: start;
    }

    .vsg-ambassador__text {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 16px;
        grid-column: 1 / -1;
        grid-row: 3;
        margin-top: 20px;
    }

    .vsg-gallery-section--cyan .vsg-ambassador__text {
        margin-bottom: 0;
        padding-bottom: 45px;
    }

    .vsg-ambassador__visual img {
        width: 150px;
        height: 150px;
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
        margin-bottom: 16px;
    }

    .vsg-ambassador__visual .vsg-btn {
        grid-column: 1 / -1;
        grid-row: 4;
        padding: 3px 35px;
    }

    /* Mobile Buttons */
    .vsg-btn {
        width: 100%;
        min-width: 0;
        min-height: 27px;
        padding: 3px 0;
        font-size: 21px;
        border-width: 1px;
    }

    .vsg-btn.vsg-btn--white {
        padding: 3px 35px;
    }

    .vsg-btn::after {
        width: 14px;
        height: 14px;
        border-top-width: 3px;
        border-right-width: 3px;
    }

    /* Mobile Services */
    .vsg-services {
        padding: 90px 0 98px;
        background-position: center 190%;
        background-size: 110% auto;
        height: auto;
    }

    .vsg-services__inner {
        display: block;
    }

    .vsg-services__content {
        padding-top: 0px;
    }

    .vsg-services__content h2 {
        font-size: 50px;
        line-height: 60px;
        margin-bottom: 22px;
    }

    .vsg-services__content p {
        margin-bottom: 16px;
    }

    .vsg-services__content .vsg-btn {
        width: 100%;
        height: 50px;
        font-size: 21px;
        margin: 8px 0 14px;
    }

    .vsg-services__visual {
        min-height: 360px;
        margin-top: 8px;
        width: 100%;
    }

    .vsg-services__orb {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 210px;
        height: 210px;
        font-size: 30px;
        line-height: 39px;
    }

    .vsg-services__orb::before {
        inset: 16px;
    }

    .vsg-services__orb::after {
        inset: -33px 12px;
    }

    .vsg-services__orb--top {
        top: 0;
    }

    .vsg-services__orb--bottom {
        top: 218px;
        bottom: auto;
    }

    /* Mobile Reasons */
    .vsg-reasons {
        padding: 78px 0 90px;
    }

    .vsg-reasons .vsg-container {
        width: calc(100% - calc(var(--vsg-sp-px) * 2));
    }

    .vsg-reasons__grid {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .vsg-reason-card {
        height: 500px;
        padding: 52px 0 20px;
    }

    .vsg-reason-card--heading {
        min-height: 170px;
        justify-content: flex-start;
        align-items: center;
        order: -1;
    }

    .vsg-reason-card--heading h2 {
        font-size: 50px;
        line-height: 60px;
        padding: 0 10px;
    }

    .vsg-reason-card__frame::before,
    .vsg-reason-card__frame::after,
    .vsg-reason-card::before,
    .vsg-reason-card::after {
        width: 28px;
        height: 28px;
    }

    .vsg-reason-card__number {
        right: 8px;
        top: auto;
        bottom: 45px;
    }

    .vsg-reason-card__title {
        color: var(--vsg-dark);
        font-size: 34px;
        line-height: 48px;
        letter-spacing: 0%;
        margin-bottom: -10px;
    }

    .vsg-reason-card p {
        font-size: 14px;
        line-height: 24px;
    }

    /* Mobile Company */
    .vsg-company {
        padding: 90px 0;
    }

    .vsg-company__inner {
        display: block;
    }

    .vsg-company__content h2 {
        font-size: 50px;
        line-height: 60px;
        margin-bottom: 30px;
    }

    .vsg-company__list {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 100px;
    }

    .vsg-company__offices {
        gap: 9px;
    }

    .vsg-office-link {
        height: 50px;
        padding: 0 35px;
        font-size: 21px;
        line-height: 24px;
        border-width: 1px;
    }

    .vsg-office-link::after {
        width: 14px;
        height: 14px;
        border-width: 3px 3px 0 0;
    }

    /* Mobile CTA */
    .vsg-cta {
        padding: 88px 0 82px;
    }

    .vsg-cta .vsg-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .vsg-cta h2 {
        font-size: 50px;
        line-height: 60px;
        margin-bottom: 90px;
        order: 1;
    }

    .vsg-cta__note {
        font-size: 21px;
        line-height: 24px;
        margin-bottom: 0;
        order: 3;
    }

    .vsg-cta__tel {
        font-size: 40px;
        order: 2;
        margin-bottom: 5px;
    }

    .vsg-cta__tel-icon {
        width: 40px;
        margin-right: 6px;
    }

    .vsg-cta__copy {
        font-size: 14px;
        line-height: 14px;
        margin-top: 60px;
        order: 4;
        letter-spacing: -6%;
    }
}

/* ==========================================================================
   Gallery Page Styles
   ========================================================================== */

/* ==========================================================================
   Gallery Page Styles
   ========================================================================== */

.vsg-gallery-page {
    background: var(--vsg-light);
}

.vsg-gallery-section--cyan {
    background: var(--vsg-cyan);
    color: #fff;
    border-bottom: 1px solid #fff;
}

.vsg-gallery-section--cyan .vsg-gallery-hero__title,
.vsg-gallery-section--cyan .vsg-gallery-item__title,
.vsg-gallery-section--cyan .vsg-gallery-item__sub,
.vsg-gallery-section--cyan .vsg-gallery-item__text,
.vsg-gallery-section--cyan .vsg-ambassador__label,
.vsg-gallery-section--cyan .vsg-ambassador__name,
.vsg-gallery-section--cyan .vsg-ambassador__text {
    color: #fff;
}

.vsg-gallery-section--cyan .vsg-ambassador {
    background-color: transparent;
    padding: 0px;
    position: relative;
    background-position: calc(50% + 120px) top;
    background-size: auto 100%;
    background-repeat: no-repeat;
}

.vsg-gallery-section--cyan .vsg-ambassador__inner {
    display: block;
    text-align: left;
}

.vsg-gallery-section--cyan .vsg-ambassador__content {
    padding-top: 150px;
    max-width: var(--vsg-container);
    padding-bottom: 75px;
    padding-left: 0;
}


.vsg-gallery-section--white {
    background: #fff;
    padding-bottom: 120px;
}

.vsg-gallery-hero {
    padding: 0 0 120px; /* Removed padding-top: 120px */
}

.vsg-gallery-hero__nav-wrap {
    width: min(calc(100% - calc(var(--vsg-header-px) * 2)), var(--vsg-container));
    margin: 0 auto;
    position: relative;
    height: 0;
}

.vsg-gallery-hero__title {
    font-size: 60px;
    line-height: 80px;
    letter-spacing: 0%;
    font-weight: 700;
    margin: 0;
    padding-top: 120px; /* Title stays 120px from header bottom */
}

.vsg-gallery-item {
    display: grid;
    grid-template-columns: 1fr 600px;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.vsg-gallery-item__info {
    max-width: 500px;
    transform: translateY(30px)
}

.vsg-gallery-item__sub {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 30px;
}

.vsg-gallery-item__title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 60px;
}

.vsg-gallery-item__text {
    font-size: 14px;
    line-height: 24px;
    margin: 0;
    letter-spacing: 0%;
    font-weight: 700;
    text-align: justify;
}

.vsg-gallery-item__video {
    justify-self: end;
    width: 600px;
}

.vsg-gallery-item__video .vsg-movie__media {
    width: 100%;
    height: 100%;
    background: #000;
}

.gallery-play-icon {
    width: 121px !important;
    height: 121px !important;
}

/* Making Section */
.vsg-gallery-making {
    padding-top: 120px;
    display: flex;
    flex-direction: column;
}

.vsg-gallery-making__title {
    font-size: 60px;
    font-weight: 700;
    color: var(--vsg-cyan);
    text-align: center;
    margin: 0;
    line-height: 80px;
}

.vsg-gallery-making__video {
    width: 600px;
    height: 339px;
    margin: 90px auto 150px;
}

@media (max-width: 640px) {
    .vsg-gallery-hero {
        padding: 80px 0 90px;
    }

    .vsg-gallery-hero__title {
        font-size: 50px;
        line-height: 60px;
        padding-top: 0;
    }

    .vsg-gallery-item__sub {
        order: 1;
        line-height: 21px;
        margin: 0 0 20px;
    }

    .vsg-gallery-item__title {
        order: 2;
        font-size: 32px;
        line-height: 32px;
        margin: 0 0 30px;
    }

    .vsg-gallery-making {
        padding-top: 90px;
    }

    .vsg-gallery-making__title {
        font-size: 50px;
        line-height: 60px;
        letter-spacing: -7%;
        margin-bottom: 60px;
        text-align: left;
    }

    .vsg-gallery-section--cyan .vsg-ambassador {
        margin-top: 0;
        padding-top: 100px;
        padding-bottom: 0;
        background-image: url(../images/vsg/half_body_ambassador_SP.png) !important;
        background-position: right 0px top -80px;
        background-size: auto 128%;
        background-repeat: no-repeat;
    }

    .vsg-gallery-section--cyan .vsg-ambassador__inner {
        display: block;
        padding-top: 0px;
    }

    .vsg-gallery-item {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 90px;
    }

    .vsg-gallery-item__info {
        display: contents;
    }
    .vsg-gallery-item__video {
        order: 3;
        width: 100%;
        height: auto;
        justify-self: center;
        margin-bottom: 30px;
    }

    .vsg-gallery-item__text {
        order: 4;
        margin: 0;
    }

    .vsg-gallery-making__video {
        width: 100%;
        height: auto;
        margin: 0 auto 120px;
    }

    .gallery-play-icon {
        content: url("../images/vsg/play_video_icon_PC_white.png") !important;
        width: 90px !important;
        height: 90px !important;
    }
}
