/* ====================================================
   LP Common Styles - Primary Marketing
   Version: 1.1
   ==================================================== */

/* ====================================================
   Cocoon テーマのデフォルトスタイルを上書き・無効化
   ==================================================== */
#container,
#content,
#main,
.content,
.wrap,
#sidebar,
.sidebar,
.go-to-top,
#notice-area,
.notice-area,
.appeal,
#header,
#footer,
.breadcrumb,
.article-header,
.article-footer,
.under-entry-content,
.pager-post-navi,
.comment-area,
.related-entries,
#navi,
.navi,
.mobile-menu-buttons,
.admin-bar #wpadminbar + * {
    /* Cocoonデフォルト要素を必要に応じて非表示 */
}

/* Cocoonのラッパー要素のスタイルをリセット */
body.page-template-page-primary-lp,
body.page-template-page-lp-corporate,
body.page-template-page-lp-service,
body.page-template-page-lp-contact {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #FFFFFF !important;
}

/* WordPress管理バーがある場合の調整 */
body.admin-bar .lp-header {
    top: 32px;
}
@media (max-width: 782px) {
    body.admin-bar .lp-header {
        top: 46px;
    }
}

/* Cocoonのデフォルト要素を非表示にする */
body.page-template-page-primary-lp #container,
body.page-template-page-primary-lp .go-to-top,
body.page-template-page-primary-lp #notice-area,
body.page-template-page-primary-lp .notice-area,
body.page-template-page-primary-lp .appeal,
body.page-template-page-primary-lp #header,
body.page-template-page-primary-lp #header-container,
body.page-template-page-primary-lp .header-container,
body.page-template-page-primary-lp #navi,
body.page-template-page-primary-lp .navi,
body.page-template-page-primary-lp .mobile-menu-buttons,
body.page-template-page-primary-lp #footer,
body.page-template-page-primary-lp .footer-bottom,
body.page-template-page-lp-corporate #container,
body.page-template-page-lp-corporate .go-to-top,
body.page-template-page-lp-corporate #notice-area,
body.page-template-page-lp-corporate .notice-area,
body.page-template-page-lp-corporate .appeal,
body.page-template-page-lp-corporate #header,
body.page-template-page-lp-corporate #header-container,
body.page-template-page-lp-corporate .header-container,
body.page-template-page-lp-corporate #navi,
body.page-template-page-lp-corporate .navi,
body.page-template-page-lp-corporate .mobile-menu-buttons,
body.page-template-page-lp-corporate #footer,
body.page-template-page-lp-corporate .footer-bottom,
body.page-template-page-lp-service #container,
body.page-template-page-lp-service .go-to-top,
body.page-template-page-lp-service #notice-area,
body.page-template-page-lp-service .notice-area,
body.page-template-page-lp-service .appeal,
body.page-template-page-lp-service #header,
body.page-template-page-lp-service #header-container,
body.page-template-page-lp-service .header-container,
body.page-template-page-lp-service #navi,
body.page-template-page-lp-service .navi,
body.page-template-page-lp-service .mobile-menu-buttons,
body.page-template-page-lp-service #footer,
body.page-template-page-lp-service .footer-bottom,
body.page-template-page-lp-contact #container,
body.page-template-page-lp-contact .go-to-top,
body.page-template-page-lp-contact #notice-area,
body.page-template-page-lp-contact .notice-area,
body.page-template-page-lp-contact .appeal,
body.page-template-page-lp-contact #header,
body.page-template-page-lp-contact #header-container,
body.page-template-page-lp-contact .header-container,
body.page-template-page-lp-contact #navi,
body.page-template-page-lp-contact .navi,
body.page-template-page-lp-contact .mobile-menu-buttons,
body.page-template-page-lp-contact #footer,
body.page-template-page-lp-contact .footer-bottom {
    display: none !important;
}

/* =========================================
   Design Tokens / Variables
   ========================================= */
:root {
    --color-main: #111111;
    --color-base: #FFFFFF;
    --color-gray-light: #F4F5F7;
    --color-gray-text: #666666;
    --color-accent: #333333;

    --font-serif-en: 'Cormorant Garamond', serif;
    --font-serif-jp: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;

    --spacing-section: 140px;
    --spacing-element: 40px;

    --width-max: 1200px;
    --width-text: 720px;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans) !important;
    color: var(--color-main) !important;
    background-color: var(--color-base) !important;
    line-height: 1.8 !important;
    letter-spacing: 0.05em !important;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* Typography Utilities */
.u-serif-en {
    font-family: var(--font-serif-en);
}

.u-serif-jp {
    font-family: var(--font-serif-jp);
}

.lp-section-title {
    font-family: var(--font-serif-en);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-element);
    display: block;
}

.lp-section-subtitle {
    font-family: var(--font-serif-jp);
    font-size: 1rem;
    color: var(--color-gray-text);
    margin-bottom: 1rem;
    display: block;
}

/* =========================================
   Components
   ========================================= */
.lp-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 3rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.1em;
    text-decoration: none;
}

.lp-btn-primary {
    background-color: var(--color-main);
    color: var(--color-base);
    border: 1px solid var(--color-main);
}

.lp-btn-primary:hover {
    background-color: transparent;
    color: var(--color-main);
    opacity: 1;
}

.lp-btn-secondary {
    background-color: var(--color-base);
    color: var(--color-main);
    border: 1px solid var(--color-main);
}

.lp-btn-secondary:hover {
    background-color: var(--color-main);
    color: var(--color-base);
    opacity: 1;
}

.lp-container {
    width: 90%;
    max-width: var(--width-max);
    margin: 0 auto;
}

.lp-container-narrow {
    width: 90%;
    max-width: var(--width-text);
    margin: 0 auto;
}

/* =========================================
   Header
   ========================================= */
.lp-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(17, 17, 17, 0.95);
    display: flex;
    align-items: center;
    z-index: 999;
    border-bottom: 1px solid #333;
}

.lp-header-inner {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center;
    width: 90%;
    max-width: var(--width-max);
    margin: 0 auto;
    gap: 40px;
}

.lp-header-inner nav {
    margin-left: auto;
}

.lp-logo {
    font-family: var(--font-serif-en);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-base);
}

.lp-nav-list {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-nav-item a {
    font-size: 1.05rem;
    font-weight: 500;
    position: relative;
    color: var(--color-base);
}

.lp-nav-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-base);
    transition: width 0.3s;
}

.lp-nav-item a:hover::after {
    width: 100%;
}

.lp-header-cta-sp {
    display: block;
}

/* Header CTA Button (白ボタン・黒文字) */
.lp-btn-header-cta {
    background-color: var(--color-base);
    color: var(--color-main);
    border: 1px solid var(--color-base);
}

.lp-btn-header-cta:hover {
    background-color: transparent;
    color: var(--color-base);
    border: 1px solid var(--color-base);
    opacity: 1;
}

/* =========================================
   Hero Section (FV)
   ========================================= */
.lp-hero {
    padding-top: 200px;
    padding-bottom: 120px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.lp-hero-content {
    max-width: 900px;
}

.lp-hero-copy {
    font-family: var(--font-serif-jp);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--color-main);
}

.lp-hero-lead {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--color-accent);
}

/* =========================================
   Problem Section
   ========================================= */
.lp-problem {
    padding: var(--spacing-section) 0;
    background-color: var(--color-main);
    color: var(--color-base);
    text-align: center;
}

.lp-problem-title {
    font-family: var(--font-serif-jp);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-base);
}

.lp-problem-text {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-base);
}

/* =========================================
   Solution Section (Split Screen)
   ========================================= */
.lp-solution {
    padding: var(--spacing-section) 0;
}

.lp-split-screen {
    display: flex;
    align-items: center;
    gap: 80px;
}

.lp-split-image {
    flex: 1;
    background-color: var(--color-gray-light);
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ccc;
    font-family: var(--font-serif-en);
    font-size: 2rem;
}

.lp-split-content {
    flex: 1;
}

.lp-solution-usp {
    font-family: var(--font-serif-jp);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.lp-solution-desc {
    margin-bottom: 2rem;
    color: var(--color-accent);
}

/* =========================================
   Services Section (Grid)
   ========================================= */
.lp-services {
    padding: var(--spacing-section) 0;
    background-color: var(--color-gray-light);
}

.lp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
	align-items: stretch;
}

.lp-service-card {
    background: var(--color-base);
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
	min-height: 350px;
}

.lp-service-num {
    font-family: var(--font-serif-en);
    font-size: 3rem;
    color: #ddd;
    line-height: 1;
    margin-bottom: 0px;
}

.lp-service-title {
    font-family: var(--font-serif-jp);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.lp-service-text {
    font-size: 0.95rem;
    color: var(--color-gray-text);
}

/* =========================================
   Micro CV (Whitepaper)
   ========================================= */
.lp-micro-cv {
    padding: 100px 0;
    border-bottom: 1px solid #eee;
}

.lp-micro-cv-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafafa;
    padding: 60px;
}

.lp-micro-cv-content h3 {
    font-family: var(--font-serif-jp);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* =========================================
   Contact Section
   ========================================= */
.lp-contact {
    padding: var(--spacing-section) 0;
    text-align: center;
    background-color: var(--color-base);
}

.lp-contact-title {
    font-family: var(--font-serif-jp);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.lp-contact-lead {
    margin-bottom: 3rem;
    font-size: 1rem;
}

/* =========================================
   Footer
   ========================================= */
.lp-footer {
    background-color: var(--color-main);
    color: var(--color-base);
    padding: 80px 0 40px;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.lp-footer-logo {
    font-family: var(--font-serif-en);
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-base);
}

.lp-footer-info p {
    color: #999;
}

.lp-footer-nav {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-footer-nav a {
    font-size: 0.9rem;
    color: #999;
}

.lp-footer-nav a:hover {
    color: #fff;
}

.lp-copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

/* =========================================
   Page Hero (サブページ用)
   ========================================= */
.lp-page-hero {
    padding-top: 160px;
    padding-bottom: 80px;
    border-bottom: 1px solid #eee;
}

.lp-page-hero h1 {
    font-family: var(--font-serif-en);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.lp-page-hero p {
    font-size: 1rem;
    color: var(--color-gray-text);
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 768px) {
    :root {
        --spacing-section: 80px;
    }

    .lp-nav-list {
        display: none;
    }

    .lp-hero-copy {
        font-size: 2.2rem;
    }

    .lp-split-screen {
        flex-direction: column;
        gap: 40px;
    }

    .lp-split-image {
        width: 100%;
        height: 300px;
    }

    .lp-services-grid {
        grid-template-columns: 1fr;
    }

    .lp-micro-cv-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 20px;
    }

    .lp-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lp-footer-nav {
        flex-direction: column;
        gap: 15px;
    }

    .lp-page-hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .lp-page-hero h1 {
        font-size: 2rem;
    }
}

/* Solution Image */
.lp-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

