/*
Theme Name: GFDirect Original Theme
Author: Tomiko Camus
Version: 3.4.6
Description: Custom theme designed by Tomiko Camus for gfdirect.eu. Adds the responsive site footer and section navigation.
*/

/* Inter 3.19 — local Latin subset, SIL Open Font License 1.1 */
@font-face {
    font-family: 'Inter';
    src: url('./fonts/inter-v3.19/Inter-roman-latin.var.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* ========================================================================== 
   10. 固定法務ページ
   ========================================================================== */
.gfd-legal-page {
    min-height: 100vh;
    background: #151515;
    color: #fff;
}

.legal-site-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 150px;
    padding: 35px max(40px, calc((100% - 1120px) / 2));
    background: #151515;
}

.legal-home-logo img {
    width: 72px;
    height: auto;
}

.legal-back-link {
    padding: 11px 24px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.legal-back-link:hover,
.legal-back-link:focus-visible {
    border-color: #fcb02b;
    color: #fcb02b;
}

.legal-main {
    padding: 50px 40px 90px;
    background: #292424;
}

.legal-article,
.legal-page-navigation {
    width: 100%;
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
}

.legal-article-header {
    margin-bottom: 40px;
}

.legal-kicker {
    margin: 0 0 8px;
    color: #fcb02b;
    font-size: 18px;
    font-style: italic;
    letter-spacing: 0.04em;
}

.legal-article-header h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 64px);
    font-style: italic;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.legal-content {
    padding: 50px 58px;
    border-radius: 20px;
    background: #201e1e;
    color: #fff;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.75;
    letter-spacing: 0.02em;
}

.legal-content h2 {
    margin: 46px 0 18px;
    color: #fcb02b;
    font-size: 26px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.3;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    margin: 28px 0 12px;
    font-size: 20px;
}

.legal-content p {
    margin: 0 0 18px;
}

.legal-content ul {
    margin: 0 0 22px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content strong {
    font-weight: 700;
}

.legal-content a {
    color: #fcb02b;
}

.legal-content .client-confirmation,
.legal-content .pending-information {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(252, 176, 43, 0.14);
    color: #fcb02b;
    font-weight: 600;
}

.legal-page-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin-top: 35px;
    text-align: center;
}

.legal-page-navigation a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-page-navigation a:hover,
.legal-page-navigation a:focus-visible {
    color: #fcb02b;
}

.legal-site-footer {
    min-height: 91px;
    padding: 0 40px;
    background: #151515;
}

.legal-site-footer span {
    color: #fcb02b;
}

@media (max-width: 767px) {
    .legal-site-header {
        min-height: 110px;
        padding: 24px 22px;
    }

    .legal-home-logo img {
        width: 55px;
    }

    .legal-back-link {
        padding: 9px 16px;
        font-size: 12px;
    }

    .legal-main {
        padding: 42px 20px 32px;
    }

    .legal-article-header {
        margin-bottom: 28px;
    }

    .legal-kicker {
        font-size: 15px;
    }

    .legal-content {
        padding: 32px 24px;
        border-radius: 16px;
        font-size: 15px;
        line-height: 1.7;
    }

    .legal-content h2 {
        margin-top: 38px;
        font-size: 22px;
    }

    .legal-content h3 {
        font-size: 18px;
    }

    .legal-page-navigation {
        display: grid;
        width: fit-content;
        margin: 30px auto 0;
        justify-items: start;
        gap: 10px;
        text-align: left;
    }

    .legal-site-footer {
        min-height: 171px;
        padding: 0 20px;
    }
}

/* ========================================================================== 
   9. フッター
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.section-anchor {
    display: block;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.site-footer {
    color: #fff;
    background: #151515;
    font-family: 'Inter', Arial, sans-serif;
}

.site-footer-main {
    padding: 62px 40px 55px;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 75px;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.footer-heading {
    margin: 0 0 24px;
    padding: 0 0 12px 14px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.72);
    color: #fcb02b;
    font-size: 20px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.footer-column ul {
    margin: 0;
    padding: 0 0 0 14px;
    list-style: none;
}

.footer-column li {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.04em;
}

.footer-column a,
.footer-column span,
.footer-cookie-settings {
    color: #fff;
    text-decoration: none;
}

.footer-navigation a {
    transition: color 0.2s ease;
}

.footer-navigation a:hover,
.footer-navigation a:focus-visible {
    color: #fcb02b;
}

.footer-partner-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    min-height: 64px;
    padding-left: 14px;
}

.footer-partner-links a {
    display: flex;
    align-items: center;
}

.footer-partner-links a:first-child img {
    width: 128px;
    height: auto;
}

.footer-partner-links a:last-child img {
    width: 160px;
    height: auto;
}

.footer-cookie-settings {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    letter-spacing: inherit;
    text-align: left;
}

.footer-cookie-settings:disabled {
    opacity: 1;
    cursor: default;
}

.site-footer-bottom {
    min-height: 91px;
    padding: 0 40px;
    background: #292424;
}

.site-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1120px;
    min-height: 91px;
    margin: 0 auto;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 17px;
}

.footer-copyright img {
    width: 60px;
    height: auto;
}

.footer-copyright p,
.footer-company {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.footer-company span {
    color: #fcb02b;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .site-footer-main {
        padding: 58px 40px 50px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 50px 70px;
        max-width: 720px;
    }

    .footer-partners {
        text-align: center;
    }

    .footer-navigation {
        grid-column: 1;
        grid-row: 2;
    }

    .footer-legal {
        grid-column: 2;
        grid-row: 2;
    }

    .footer-partners {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .footer-partner-links {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 36px;
        padding-left: 0;
    }

    .footer-partner-links a:first-child img {
        width: 100px;
    }

    .footer-partner-links a:last-child img {
        width: 130px;
    }

    .site-footer-bottom,
    .site-footer-bottom-inner {
        min-height: 149px;
    }

    .site-footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 12px;
    }

    .footer-copyright img {
        width: 58px;
    }
}

@media (max-width: 767px) {
    .site-footer-main {
        padding: 51px 31px 48px;
    }

    .site-footer-inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        max-width: 390px;
    }

    .footer-column+.footer-column {
        margin-top: 0;
    }

    .footer-partners {
        order: 1;
    }

    .footer-navigation {
        order: 2;
    }

    .footer-legal {
        order: 3;
    }

    .site-footer-inner .footer-navigation,
    .site-footer-inner .footer-legal {
        margin-top: 48px;
    }

    .footer-heading {
        margin-bottom: 22px;
        padding-left: 14px;
        font-size: 20px;
    }

    .footer-column li {
        margin-bottom: 11px;
        font-size: 16px;
    }

    .footer-partners {
        text-align: left;
    }

    .footer-partner-links {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 32px;
        padding-left: 14px;
    }

    .footer-partner-links a:first-child img {
        width: 118px;
    }

    .footer-partner-links a:last-child img {
        width: 128px;
    }

    .site-footer-bottom {
        min-height: 171px;
        padding: 0 20px;
    }

    .site-footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        min-height: 171px;
        text-align: center;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 12px;
    }

    .footer-copyright img {
        width: 50px;
    }

    .footer-copyright p,
    .footer-company {
        font-size: 12px;
    }
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/inter-v3.19/Inter-italic-latin.var.woff2') format('woff2');
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}

/* ==========================================================================
   1. デザインシステムの設定
   ========================================================================== */
:root {
    --color-bg-dark: #151515;
    --color-text-light: #FFFFFF;
    --color-text-muted: #D4C4C4;
    --color-accent-gold: #FCB02B;
    --font-primary: 'Inter', sans-serif;
    --container-max-width: 1280px;
}

/* ==========================================================================
   2. 基本リセット
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    font-family: var(--font-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 62px;
    width: 100%;
    position: relative;
}

/* ==========================================================================
   3. 上部ブランドブロック (Height: 400px 仕様)
   ========================================================================== */
.brand-top-block {
    width: 100%;
    height: 400px;
    background-color: var(--color-bg-dark);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.brand-top-container {
    height: 100%;
}

.logo-area {
    position: absolute;
    top: 43px;
    left: 62px;
    z-index: 12;
}

.logo-img {
    width: 80px;
    height: 52px;
    object-fit: contain;
}

.lang-selector-area {
    position: absolute;
    top: 50px;
    right: 62px;
    z-index: 12;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 11px;
}

.lang-selector .lang-btn {
    width: 77px;
    height: 37px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-selector .lang-btn.active {
    color: #FFFFFF !important;
    background-color: #434040 !important;
    cursor: default;
}

.lang-selector .lang-btn.btn-selectable {
    color: #151515 !important;
    background-color: #FFFFFF !important;
}

.center-brand-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    pointer-events: none;
}

.brand-logo-container {
    margin-top: 146px;
    display: flex;
    justify-content: center;
    pointer-events: auto;
}

.brand-logo-img {
    width: 140px;
    height: 36px;
    object-fit: contain;
}

.main-title {
    font-size: 74px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 12px;
    color: var(--color-text-light);
    line-height: 1.2;
}

.main-description {
    font-size: 24px;
    font-weight: 400;
    color: #D4C4C4;
    line-height: 1.4;
    margin-top: 10px;
    max-width: 635px;
}

/* ==========================================================================
   4. ヒーローセクション（Figma完全準拠・px絶対配置）
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    aspect-ratio: 1280 / 570;
    max-height: 850px;
    overflow: hidden;
    background-color: var(--color-bg-dark);
    z-index: 1;
}

.hero-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-content-container {
    position: relative;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slide-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
}

/* ========================================================================== 
   7. GARANTIE & SERVICE
   ========================================================================== */
.guarantee-section {
    position: relative;
    height: 819px;
    overflow: hidden;
    background: #151515;
}

.guarantee-inner {
    position: relative;
    width: 100%;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
}

.guarantee-title {
    position: absolute;
    top: 77px;
    left: 0;
    width: 100%;
    color: #fff;
    font-size: 60px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.15;
    text-align: center;
}

.guarantee-title strong {
    color: var(--color-accent-gold);
    font-weight: 400;
}

.guarantee-highlight {
    position: absolute;
    top: 194px;
    left: 50%;
    display: flex;
    width: calc(100% - 100px);
    height: 169px;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #201e1e;
    transform: translateX(-50%);
}

.guarantee-highlight p {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.guarantee-highlight strong {
    color: var(--color-accent-gold);
}

.guarantee-copy {
    position: absolute;
    top: 428px;
    left: 50%;
    width: 1100px;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    transform: translateX(-50%);
}

.guarantee-copy p {
    margin: 0;
}

.guarantee-copy p:first-child {
    margin-bottom: 34px;
}

.guarantee-copy strong {
    font-weight: 700;
}

@media (min-width: 1024px) {
    .guarantee-title {
        font-weight: 600;
        letter-spacing: 0.04em;
    }

    .guarantee-title strong {
        font-weight: 600;
    }

    .guarantee-highlight p {
        font-weight: 500;
        letter-spacing: 0.04em;
    }

    .guarantee-copy {
        font-weight: 300;
        letter-spacing: 0.04em;
    }

    .guarantee-copy strong {
        font-weight: 700;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .guarantee-section {
        height: 674px;
    }

    .guarantee-title {
        top: 80px;
        font-size: 44px;
        font-weight: 500;
        letter-spacing: 0.04em;
    }

    .guarantee-title strong {
        font-weight: 500;
    }

    .guarantee-highlight {
        top: 163px;
        width: calc(100% - 80px);
        height: 90px;
    }

    .guarantee-highlight p {
        font-size: 18px;
        line-height: 1.45;
        letter-spacing: 0.04em;
    }

    .guarantee-copy {
        top: 299px;
        width: calc(100% - 130px);
        font-size: 16px;
        font-weight: 300;
        line-height: 1.6;
        letter-spacing: 0.04em;
    }

    .guarantee-copy p:first-child {
        margin-bottom: 28px;
    }

    .guarantee-copy strong {
        font-weight: 700;
    }
}

@media (max-width: 767px) {
    .guarantee-section {
        height: 857px;
    }

    .guarantee-title {
        top: 64px;
        font-size: 40px;
        line-height: 1.18;
        letter-spacing: 0.04em;
    }

    .guarantee-title-first {
        display: block;
    }

    .guarantee-highlight {
        top: 180px;
        width: calc(100% - 32px);
        height: 123px;
        padding: 0 25px;
    }

    .guarantee-highlight p {
        font-size: 15px;
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: 0.04em;
    }

    .guarantee-copy {
        top: 338px;
        width: 270px;
        font-size: 14px;
        font-weight: 300;
        line-height: 1.5;
        letter-spacing: 0.04em;
    }

    .guarantee-copy p:first-child {
        margin-bottom: 24px;
    }

    .guarantee-copy strong {
        font-weight: 700;
    }
}

/* ========================================================================== 
   8. CONTACT FORM
   ========================================================================== */
.contact-section {
    position: relative;
    width: 100%;
    height: 876px;
    overflow: hidden;
    background: #292424;
    color: #fff;
}

.contact-inner {
    position: relative;
    width: 100%;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
}

.contact-title {
    position: absolute;
    top: 76px;
    left: 142px;
    color: var(--color-accent-gold);
    font-size: 64px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.04em;
}

.contact-form {
    position: absolute;
    top: 188px;
    left: 50%;
    width: 1062px;
    height: 567px;
    padding: 49px 33px 22px;
    border-radius: 20px;
    background: #151515;
    transform: translateX(-50%);
}

.contact-form,
.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form button,
.recaptcha-notice {
    letter-spacing: 0.04em;
}

.contact-form-layout {
    display: grid;
    grid-template-columns: 470px 470px;
    gap: 52px;
    height: 100%;
}

.contact-form-left,
.contact-form-right {
    min-width: 0;
}

.form-required-note {
    position: absolute;
    top: 19px;
    right: 33px;
    margin: 0;
    color: #d7d7d7;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

.form-required-note span,
.required-marker {
    color: var(--color-accent-gold);
}

.field-optional {
    color: #d7d7d7;
    font-size: 12px;
    font-weight: 400;
}

.form-field label {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #8d8d8d;
    border-radius: 0;
    outline: none;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: none;
}

.form-field input,
.form-field select {
    height: 46px;
    padding: 0 26px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #fff;
    opacity: 1;
}

.form-field select {
    padding-right: 38px;
    appearance: none;
    cursor: pointer;
}

.form-field select option {
    background: #151515;
    color: #fff;
}

.select-wrap {
    position: relative;
}

.select-wrap::after {
    position: absolute;
    top: 17px;
    right: 22px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    content: '';
    pointer-events: none;
    transform: rotate(45deg);
}

.form-field-select {
    margin-bottom: 14px;
}

.form-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 10px;
}

.form-pair+.form-pair {
    margin-top: 14px;
}

.form-field-message textarea {
    display: block;
    height: 337px;
    padding: 15px 26px;
    resize: none;
}

.contact-consent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 17px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
}

.contact-consent input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.consent-box {
    position: relative;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    border: 1px solid #fff;
    border-radius: 5px;
}

.contact-consent input:checked+.consent-box::after {
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border-right: 2px solid var(--color-accent-gold);
    border-bottom: 2px solid var(--color-accent-gold);
    content: '';
    transform: rotate(45deg);
}

.contact-consent input:focus-visible+.consent-box {
    outline: 2px solid var(--color-accent-gold);
    outline-offset: 3px;
}

.contact-consent a,
.contact-privacy-notice a,
.recaptcha-notice a {
    color: var(--color-accent-gold);
    text-decoration: none;
}

.contact-privacy-notice {
    max-width: 440px;
    margin: 17px auto 0;
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.55;
    text-align: center;
}

.contact-submit {
    display: block;
    width: 300px;
    height: 41px;
    margin: 17px auto 0;
    border: 0;
    border-radius: 22px;
    background: var(--color-accent-gold);
    color: #151515;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.contact-submit:disabled {
    cursor: wait;
    opacity: 0.65;
}

.contact-feedback {
    margin-top: 12px;
    font-size: 12px;
    text-align: center;
}

.contact-feedback.is-success {
    color: #FCB02B;
}

.contact-feedback.is-error {
    color: #ff9a9a;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.recaptcha-notice {
    position: absolute;
    top: 794px;
    left: 0;
    width: 100%;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.5;
    text-align: center;
}

/* The required Google disclosure remains visible below the form. */
.grecaptcha-badge {
    visibility: hidden;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .contact-section {
        height: 1105px;
    }

    .contact-title {
        top: 76px;
        left: calc(50% - 261px);
        font-size: 60px;
    }

    .contact-form {
        top: 215px;
        width: 600px;
        height: auto;
        padding: 0;
        border-radius: 0;
        background: transparent;
    }

    .contact-form-layout {
        display: block;
        height: auto;
    }

    .form-required-note {
        top: -30px;
        right: 0;
        font-size: 12px;
    }

    .form-field-select {
        margin-bottom: 29px;
    }

    .form-pair {
        gap: 20px;
        margin-top: 0;
        margin-bottom: 29px;
    }

    .form-pair+.form-pair {
        margin-top: 0;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 16px;
    }

    .form-field input,
    .form-field select {
        height: 46px;
        padding: 0 19px;
    }

    .select-wrap::after {
        right: 27px;
    }

    .form-field-message textarea {
        height: 190px;
        padding: 15px 19px;
    }

    .contact-privacy-notice {
        margin-top: 30px;
        font-size: 12px;
    }

    .contact-submit {
        margin-top: 23px;
    }

    .recaptcha-notice {
        top: auto;
        bottom: 50px;
        padding: 0 90px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .contact-section {
        height: 1190px;
    }

    .contact-title {
        top: 52px;
        left: 50px;
        font-size: 38px;
    }

    .contact-form {
        top: 155px;
        width: 315px;
        height: auto;
        padding: 0;
        border-radius: 0;
        background: transparent;
    }

    .contact-form-layout {
        display: block;
    }

    .form-required-note {
        top: -27px;
        right: 0;
        font-size: 11px;
    }

    .form-field label {
        font-size: 16px;
        line-height: 1.3;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 14px;
    }

    .form-field input,
    .form-field select {
        height: 37px;
        padding: 0 17px;
    }

    .select-wrap::after {
        top: 11px;
        right: 9px;
    }

    .form-field-select {
        height: 58px;
        margin-bottom: 35px;
    }

    .form-pair {
        display: block;
        margin: 0;
    }

    .form-pair+.form-pair {
        margin-top: 0;
    }

    .form-pair .form-field {
        height: 58px;
        margin-bottom: 35px;
    }

    .form-field-message textarea {
        height: 150px;
        padding: 13px 17px;
    }

    .contact-privacy-notice {
        margin-top: 28px;
        font-size: 12px;
        line-height: 1.5;
        text-align: left;
    }

    .consent-box {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
        border-radius: 4px;
    }

    .contact-submit {
        width: 300px;
        margin-top: 18px;
    }

    .contact-feedback {
        margin-top: 10px;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.4;
    }

    .recaptcha-notice {
        top: 1085px;
        padding: 0 50px;
        font-size: 11px;
        line-height: 1.7;
        text-align: left;
    }
}

/* --- 各個別要素：Figmaの絶対配置数値を適用 --- */

/* EDIFIERロゴ */
.slide-logo-edifier {
    position: absolute;
    top: 61px;
    left: 53px;
    width: 276px;
    height: 70px;
}

.inner-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* HECATEロゴ（スライド3専用） */
.slide-logo-hecate {
    position: absolute;
    top: 61px;
    left: 67px;
    width: 250px;
    height: 76px;
}

.inner-hecate-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left top;
}

/* スライド3はFigmaに合わせて説明文とボタンを上へ配置 */
.swiper-slide-hecate .slide-desc-italic {
    top: 154px;
}

.swiper-slide-hecate .slide-btn-area {
    top: 255px;
}

/* A Passion for Sound */
.slide-title-passive {
    position: absolute;
    top: 138px;
    left: 67px;
    font-size: 25px;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
}

/* 説明文テキスト */
.slide-desc-italic {
    position: absolute;
    top: 254px;
    left: 67px;
    width: 850px;
    font-size: 32px;
    font-weight: 600;
    font-style: italic;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* Découvrir ボタン */
.slide-btn-area {
    position: absolute;
    top: 351px;
    left: 67px;
    width: 248px;
    height: 40px;
    z-index: 20;
    pointer-events: none;
}

.slide-btn-area .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent-gold);
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 21;
    pointer-events: none;
    cursor: pointer;
    touch-action: manipulation;
}

/* 透明な非表示スライドにクリックを奪わせない */
.hero-swiper .swiper-slide {
    z-index: 0;
}

.hero-swiper .swiper-slide-active {
    z-index: 2;
}

.hero-swiper .swiper-slide-active .slide-btn-area,
.hero-swiper .swiper-slide-active .slide-btn-area .btn-primary {
    pointer-events: auto;
}

/* --- 左下固定ディストリビューター情報（下基準配置） --- */
.slide-distributor-info-block {
    position: absolute;
    bottom: 54px;
    left: 67px;
    display: flex;
    align-items: center;
    z-index: 5;
}

.gfd-footer-logo {
    width: 40px;
    height: 26px;
    object-fit: contain;
}

.distributor-footer-text {
    font-size: 20px;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    margin-left: 10px;
    line-height: 1;
    white-space: nowrap;
}

/* --- 全スライド共通インジケーター用の土台コンテナ設定 --- */
.pagination-container-global {
    position: absolute;
    bottom: 35px;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 10;
    pointer-events: none;
}

/* インジケーター本体（3本線） */
.custom-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
    position: absolute;
    bottom: 0;
    left: 65px;
    width: auto;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    pointer-events: auto;
}

.custom-pagination .swiper-pagination-bullet {
    width: 50px;
    height: 4px;
    background-color: #FFFFFF !important;
    border-radius: 2px;
    /* 従来の0から2pxに変更し、両端に丸みを持たせました */
    margin: 0 !important;
    opacity: 0.40;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.custom-pagination .swiper-pagination-bullet-active {
    opacity: 0.70;
}

/* ==========================================================================
   5. DIGITAL DISTRIBUTOR
   ========================================================================== */
.digital-distributor-section {
    position: relative;
    width: 100%;
    height: 496px;
    overflow: hidden;
    background-color: #151515;
    color: #FFFFFF;
}

.digital-distributor-inner {
    position: relative;
    width: 100%;
    max-width: var(--container-max-width);
    height: 100%;
    margin: 0 auto;
}

.digital-distributor-logo {
    position: absolute;
    top: 64px;
    left: 50%;
    width: 120px;
    height: 78px;
    object-fit: contain;
    transform: translateX(-50%);
}

.digital-distributor-title {
    position: absolute;
    top: 178px;
    left: 0;
    width: 100%;
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-align: center;
}

.digital-distributor-description {
    position: absolute;
    top: 226px;
    left: 0;
    width: 100%;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.25;
    text-align: center;
}

.partner-logos {
    position: absolute;
    top: 309px;
    left: 50%;
    width: 940px;
    height: 126px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(-50%);
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partner-logo-fnac {
    width: 120px;
    height: 126px;
}

.partner-logo-amazon {
    width: 128px;
    height: 60px;
}

.partner-logo-rakuten {
    width: 120px;
    height: 48px;
}

.partner-logo-rdc {
    width: 187px;
    height: 84px;
}

/* ==========================================================================
   6. NOTRE ADN
   ========================================================================== */
.adn-section {
    position: relative;
    width: 100%;
    height: 697px;
    overflow: hidden;
    background-color: #2A2525;
    color: #FFFFFF;
}

.adn-inner {
    position: relative;
    width: 100%;
    max-width: var(--container-max-width);
    height: 100%;
    margin: 0 auto;
}

.adn-title {
    position: absolute;
    top: 62px;
    left: 0;
    width: 100%;
    color: #FFFFFF;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    text-align: center;
}

.adn-title strong {
    color: var(--color-accent-gold);
    font-size: 64px;
    font-weight: 700;
    font-style: italic;
}

.adn-lead {
    position: absolute;
    top: 155px;
    left: 50%;
    width: 1000px;
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
    transform: translateX(-50%);
}

.adn-lead span {
    color: var(--color-accent-gold);
}

.adn-copy {
    position: absolute;
    top: 273px;
    left: 50%;
    width: 958px;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02em;
    transform: translateX(-50%);
}

.adn-copy p {
    margin: 0;
}

.adn-conclusion {
    position: absolute;
    top: 583px;
    left: 0;
    width: 100%;
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.adn-conclusion span {
    color: var(--color-accent-gold);
}

/* Notre ADN：PC版のタイポグラフィ調整 */
@media (min-width: 1024px) {
    .adn-title {
        letter-spacing: 0.04em;
    }

    .adn-lead {
        width: 1100px;
        font-size: 32px;
        letter-spacing: 0.04em;
    }

    .adn-lead strong {
        font-weight: 600;
    }

    .adn-copy {
        width: 990px;
        font-size: 19px;
        letter-spacing: 0.04em;
    }

    .adn-conclusion {
        letter-spacing: 0.02em;
    }
}

/* ==========================================================================
   7. アニメーション（安全なフェード制御）
   ========================================================================== */
.anim-item {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.is-animated {
    opacity: 1 !important;
}

/* ==========================================================================
   8. レスポンシブ対応
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 32px;
    }

    .brand-top-block {
        height: 407px;
    }

    .logo-area {
        top: 43px;
        left: 60px;
    }

    .lang-selector-area {
        top: 50px;
        right: 49px;
    }

    .brand-logo-container {
        margin-top: 146px;
    }

    .brand-logo-img {
        width: 120px;
        height: 31px;
    }

    .main-title {
        margin-top: 18px;
        font-size: 64px;
        line-height: 1.15;
        white-space: nowrap;
    }

    .main-description {
        margin-top: 13px;
        max-width: 635px;
        font-size: 24px;
        line-height: 1.4;
    }

    .hero-section {
        aspect-ratio: 800 / 494;
        max-height: none;
    }

    .slide-logo-edifier {
        top: 49px;
        left: 58px;
        width: 204px;
        height: 52px;
    }

    .slide-title-passive {
        top: 105px;
        left: 68px;
        font-size: 18px;
    }

    .slide-desc-italic {
        top: 254px;
        left: 67px;
        width: 660px;
        font-size: 24px;
    }

    .slide-btn-area {
        top: 328px;
        left: 67px;
        width: 202px;
        height: 33px;
    }

    .slide-btn-area .btn-primary {
        border-radius: 17px;
        font-size: 14px;
    }

    .slide-distributor-info-block {
        top: 394px;
        bottom: auto;
        left: 67px;
    }

    .distributor-footer-text {
        font-size: 16px;
    }

    .custom-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
        left: 65px;
    }

    .slide-logo-hecate {
        top: 61px;
        left: 67px;
        width: 250px;
        height: 76px;
    }

    .swiper-slide-hecate .slide-desc-italic {
        top: 118px;
    }

    .swiper-slide-hecate .slide-btn-area {
        top: 193px;
    }

    .digital-distributor-section {
        height: 410px;
    }

    .digital-distributor-logo {
        top: 51px;
        width: 90px;
        height: 59px;
    }

    .digital-distributor-title {
        top: 137px;
        font-size: 32px;
    }

    .digital-distributor-description {
        top: 184px;
        font-size: 16px;
    }

    .partner-logos {
        top: 250px;
        width: 642px;
        height: 98px;
    }

    .partner-logo-fnac {
        width: 90px;
        height: 98px;
    }

    .partner-logo-amazon {
        width: 102px;
        height: 48px;
    }

    .partner-logo-rakuten {
        width: 102px;
        height: 40px;
    }

    .partner-logo-rdc {
        width: 150px;
        height: 68px;
    }

    .adn-section {
        height: 674px;
    }

    .adn-title {
        top: 66px;
        font-size: 40px;
        letter-spacing: 0.04em;
    }

    .adn-title strong {
        font-size: 48px;
    }

    .adn-lead {
        top: 143px;
        width: 740px;
        font-size: 22px;
        line-height: 1.5;
        letter-spacing: 0.04em;
    }

    .adn-lead strong {
        font-weight: 600;
    }

    .adn-copy {
        top: 239px;
        width: 682px;
        font-size: 16px;
        line-height: 1.6;
        letter-spacing: 0.04em;
    }

    .adn-conclusion {
        top: 580px;
        font-size: 20px;
        letter-spacing: 0.02em;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 20px;
    }

    .brand-top-block {
        height: 252px;
        padding-bottom: 0;
    }

    .brand-top-container {
        display: block;
        height: 100%;
    }

    .logo-area {
        position: absolute;
        top: 29px;
        left: 20px;
    }

    .logo-img {
        width: 50px;
        height: 33px;
    }

    .lang-selector-area {
        position: absolute;
        top: 32px;
        right: 23px;
        left: auto;
    }

    .lang-selector .lang-btn.active {
        display: none;
    }

    .lang-selector .lang-btn.btn-selectable {
        width: 67px;
        height: 32px;
        border-radius: 16px;
        font-size: 12px;
    }

    .brand-logo-container {
        margin-top: 97px;
    }

    .brand-logo-img {
        width: 90px;
        height: 23px;
    }

    .main-title {
        margin-top: 8px;
        font-size: 32px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .main-description {
        margin-top: 8px;
        max-width: 340px;
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-section {
        height: auto;
        aspect-ratio: 390 / 220;
        max-height: none;
    }

    .slide-logo-edifier {
        top: 20px;
        left: 15px;
        width: 122px;
        height: 31px;
        transform: none;
    }

    .slide-title-passive {
        top: 52px;
        left: 22px;
        width: auto;
        font-size: 12px;
        text-align: left;
    }

    .slide-logo-hecate {
        top: 41px;
        left: 20px;
        width: 145px;
        height: 44px;
    }

    .slide-desc-italic,
    .swiper-slide-hecate .slide-desc-italic {
        top: 89px;
        left: 22px;
        width: calc(100% - 44px);
        height: auto;
        font-size: 14px;
        line-height: 1.2;
        text-align: left;
    }

    .slide-btn-area,
    .swiper-slide-hecate .slide-btn-area {
        top: 128px;
        left: 22px;
        width: 145px;
        height: 24px;
        transform: none;
    }

    .slide-btn-area .btn-primary {
        border-radius: 12px;
        font-size: 12px;
    }

    .slide-distributor-info-block {
        top: 45.128205vw;
        bottom: auto;
        left: 22px;
        width: auto;
        transform: none;
        justify-content: flex-start;
    }

    .gfd-footer-logo {
        width: 24px;
        height: 16px;
    }

    .distributor-footer-text {
        margin-left: 4px;
        font-size: 12px;
    }

    .pagination-container-global {
        top: 51.282051vw;
        bottom: auto;
        height: 4px;
    }

    .custom-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
        top: auto;
        bottom: 0;
        left: 22px;
        transform: none;
        justify-content: flex-start;
    }

    .digital-distributor-section {
        height: 311px;
    }

    .digital-distributor-logo {
        top: 44px;
        width: 62px;
        height: 40px;
    }

    .digital-distributor-title {
        top: 101px;
        padding: 0 20px;
        font-size: 16px;
        line-height: 1.25;
    }

    .digital-distributor-description {
        top: 135px;
        left: 50%;
        width: 320px;
        font-size: 14px;
        line-height: 1.3;
        transform: translateX(-50%);
    }

    .partner-logos {
        top: 209px;
        width: 322px;
        height: 53px;
    }

    .partner-logo-fnac {
        width: 50px;
        height: 53px;
    }

    .partner-logo-amazon {
        width: 61px;
        height: 30px;
    }

    .partner-logo-rakuten {
        width: 61px;
        height: 24px;
    }

    .partner-logo-rdc {
        width: 78px;
        height: 38px;
    }

    .adn-section {
        height: 725px;
    }

    .adn-title {
        top: 63px;
        font-size: 24px;
        letter-spacing: 0.04em;
    }

    .adn-title strong {
        font-size: 32px;
    }

    .adn-lead {
        top: 120px;
        width: 350px;
        font-size: 18px;
        line-height: 1.35;
        letter-spacing: 0.04em;
    }

    .adn-lead strong {
        font-weight: 600;
    }

    .adn-copy {
        top: 239px;
        width: 300px;
        font-size: 13px;
        line-height: 1.45;
        letter-spacing: 0.04em;
    }

    .adn-conclusion {
        top: 613px;
        padding: 0 35px;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
    }

    .adn-conclusion span {
        display: block;
    }
}

/* 法務ページのリンク状態と最下部レイアウト（最終優先指定） */
.gfd-legal-page .legal-page-navigation a,
.gfd-legal-page .legal-page-navigation a:visited,
.gfd-legal-page .legal-page-navigation a:active,
.gfd-legal-page .legal-page-navigation a:focus {
    color: #fff;
    text-decoration: none;
}

.gfd-legal-page .legal-page-navigation a:focus-visible {
    color: #fff;
    outline: 1px solid #fcb02b;
    outline-offset: 4px;
}

.gfd-legal-page .legal-page-navigation a:hover {
    color: #fcb02b;
}

/* LP・法務ページ共通：Footerの文字リンクはhover時のみ黄色 */
.site-footer .footer-column a,
.site-footer .footer-column a:visited,
.site-footer .footer-column a:focus,
.site-footer .footer-column a:active,
.site-footer .footer-cookie-settings,
.site-footer .footer-cookie-settings:focus,
.site-footer .footer-cookie-settings:active {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer .footer-column a:hover,
.site-footer .footer-cookie-settings:hover {
    color: #fcb02b;
}

.site-footer .footer-column a:focus-visible,
.site-footer .footer-cookie-settings:focus-visible {
    color: #fff;
    outline: 1px solid #fcb02b;
    outline-offset: 4px;
}

.gfd-legal-page .legal-site-footer {
    display: block;
    min-height: 91px;
    padding: 0 40px;
    background: #151515;
}

.gfd-legal-page .legal-site-footer .site-footer-bottom-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1120px;
    min-height: 91px;
    margin: 0 auto;
    text-align: left;
}

.gfd-legal-page .legal-site-footer .footer-copyright {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 17px;
}

.gfd-legal-page .legal-site-footer .footer-copyright img {
    width: 60px;
    height: auto;
}

.gfd-legal-page .legal-site-footer .footer-copyright p,
.gfd-legal-page .legal-site-footer .footer-company {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) and (max-width: 1023px) {

    .gfd-legal-page .legal-site-footer,
    .gfd-legal-page .legal-site-footer .site-footer-bottom-inner {
        min-height: 149px;
    }

    .gfd-legal-page .legal-site-footer .site-footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        text-align: center;
    }

    .gfd-legal-page .legal-site-footer .footer-copyright {
        flex-direction: column;
        gap: 12px;
    }

    .gfd-legal-page .legal-site-footer .footer-copyright img {
        width: 58px;
    }
}

@media (max-width: 767px) {
    .gfd-legal-page .legal-site-footer {
        min-height: 171px;
        padding: 0 20px;
    }

    .gfd-legal-page .legal-site-footer .site-footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        min-height: 171px;
        text-align: center;
    }

    .gfd-legal-page .legal-site-footer .footer-copyright {
        flex-direction: column;
        gap: 12px;
    }

    .gfd-legal-page .legal-site-footer .footer-copyright img {
        width: 50px;
    }

    .gfd-legal-page .legal-site-footer .footer-copyright p,
    .gfd-legal-page .legal-site-footer .footer-company {
        font-size: 12px;
    }
}

/* スワイプ時もアクティブスライドの説明文とボタンを必ず表示 */
.hero-swiper .swiper-slide-active .anim-item {
    opacity: 1 !important;
}

/* スマートフォン：必須項目注記をタイトルと重ならない位置へ */
@media (max-width: 767px) {
    .form-required-note {
        position: static;
        display: block;
        width: 100%;
        margin: 0 0 12px;
        text-align: right;
    }
}