/* 
  INCELLDERM LP - Premium Aesthetic Styles 
  Typography: Cormorant Garamond (Headings), Noto Sans JP (Body)
  Colors: Deep Black (#080808), Champagne Gold (#d4af37, #e0c367), Soft White (#fafaf8)
*/

:root {
    --bg-color: #F8FBF8;
    --surface-color: #FFFFFF;
    --surface-light: #F0F5F0;
    --text-main: #2A332B;
    --text-muted: #6B726C;
    --gold-primary: #B8860B;
    --gold-light: #D4AF37;
    --gold-gradient: linear-gradient(135deg, #CFB53B 0%, #A67C00 100%);
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.global-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background-image: url('./画像/logo_mark.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 60%;
    opacity: 0.03;
    pointer-events: none;
    z-index: -100;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    border-radius: 4px;
}

/* Typography styles */
.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

/* Components */
.section-badge {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-radius: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.cta-button:hover::after {
    left: 100%;
}

.primary-btn {
    background: var(--gold-gradient);
    color: var(--bg-color);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.primary-btn .arrow {
    margin-left: 10px;
    transition: transform 0.3s;
}

.primary-btn:hover .arrow {
    transform: translateX(5px);
}

.block-btn {
    display: flex;
    width: 100%;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold-primary);
}

.nav-btn {
    border: 1px solid var(--gold-primary);
    padding: 8px 20px;
    border-radius: 2px;
    color: var(--gold-primary) !important;
}

.nav-btn:hover {
    background: var(--gold-primary);
    color: var(--bg-color) !important;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: 0.3s;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: 0.5s ease-in-out;
}

.mobile-nav.active {
    right: 0;
}

.mobile-link {
    font-size: 1.5rem;
    font-family: var(--font-serif);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate linear;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.4rem);
    letter-spacing: 0.1em;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 5.5vw, 2.8rem);
    line-height: 1.35;
    margin-bottom: 30px;
    margin-top: 10px;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Split Layout */
.layout-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-image {
    flex: 1;
    position: relative;
}

.glass-img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--gold-primary);
    filter: blur(100px);
    opacity: 0.15;
    z-index: 1;
}

.split-content {
    flex: 1;
}

.concept-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--surface-light);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 2px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--gold-light);
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--surface-light);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 2px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(255,255,255,0.9);
}

.feature-card p {
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(255,255,255,1);
}

.features-grid .feature-card:nth-child(1) {
    background-image: linear-gradient(rgba(248, 251, 248, 0.45), rgba(248, 251, 248, 0.65)), url('./画像/bg_nature.png');
    background-size: cover;
    background-position: center;
}

.features-grid .feature-card:nth-child(2) {
    background-image: linear-gradient(rgba(248, 251, 248, 0.45), rgba(248, 251, 248, 0.65)), url('./画像/bg_tech.png');
    background-size: cover;
    background-position: center;
}

.features-grid .feature-card:nth-child(3) {
    background-image: linear-gradient(rgba(248, 251, 248, 0.45), rgba(248, 251, 248, 0.65)), url('./画像/bg_korea.png');
    background-size: cover;
    background-position: center;
}

.features-grid .feature-card:nth-child(4) {
    background-image: linear-gradient(rgba(248, 251, 248, 0.45), rgba(248, 251, 248, 0.65)), url('./画像/bg_tech.png');
    background-size: cover;
    background-position: center;
}

.features-grid .feature-card:nth-child(5) {
    background-image: linear-gradient(rgba(248, 251, 248, 0.45), rgba(248, 251, 248, 0.65)), url('./画像/bg_chejyu.png');
    background-size: cover;
    background-position: center;
}

.features-grid .feature-card:nth-child(6) {
    background-image: linear-gradient(rgba(248, 251, 248, 0.45), rgba(248, 251, 248, 0.65)), url('./画像/bg_salon.png');
    background-size: cover;
    background-position: center;
}

.target-grid .target-card:nth-child(1) {
    background-image: linear-gradient(rgba(248, 251, 248, 0.65), rgba(248, 251, 248, 0.75)), url('./画像/forsalon.jpeg');
    background-size: cover;
    background-position: center;
}

.target-grid .target-card:nth-child(2) {
    background-image: linear-gradient(rgba(248, 251, 248, 0.65), rgba(248, 251, 248, 0.75)), url('./画像/forcare.jpeg');
    background-size: cover;
    background-position: center;
}

/* Products Gallery */
.products {
    position: relative;
    overflow: hidden;
}

.products-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.products-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-color) 0%, rgba(248, 251, 248, 0.85) 50%, var(--bg-color) 100%);
}

.products-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.product-item {
    background: var(--surface-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition);
}

.product-item:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.product-image-placeholder {
    height: 250px;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    color: rgba(212, 175, 55, 0.5);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-info {
    padding: 30px;
}

.product-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Before After Results */
.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.result-card {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.ba-images {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.ba-img-wrapper {
    flex: 1;
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
    background: #f0f0f0;
}

.ba-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    padding: 10px;
}

.ba-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 2;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.ba-label.after {
    background: var(--gold-primary);
}

.ba-arrow {
    color: var(--gold-primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.result-info h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 8px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 8px;
}

.result-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 600px;
    margin: 50px auto 0;
    background: var(--surface-light);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 2px;
}

.form-group {
    margin-bottom: 25px;
}

input,
select,
textarea {
    width: 100%;
    padding: 15px 20px;
    background: #FFFFFF;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-family: var(--font-sans);
    border-radius: 4px;
    transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

/* Footer */
.footer {
    background: #000;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    color: #FAFAF8;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-social {
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Target Section */
.target-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.target-card {
    flex: 1;
    min-width: 300px;
    background: var(--surface-light);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: 2px;
    text-align: center;
    transition: var(--transition);
}

.target-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.target-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-main);
    font-family: var(--font-serif);
}

.target-card h3 span {
    font-size: 0.95rem;
    color: var(--gold-primary);
    display: block;
    margin-top: 10px;
    font-family: var(--font-sans);
}

.target-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.target-link {
    color: var(--gold-light);
    border-bottom: 1px solid var(--gold-primary);
    padding-bottom: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.target-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* Seminars Section */
.seminar-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.seminar-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: var(--surface-light);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 2px;
    transition: var(--transition);
    height: 100%;
}

.seminar-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-8px);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 6vw, 4rem);
    color: var(--gold-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.seminar-date {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold-primary);
    min-width: 120px;
}

.seminar-info {
    flex: 1;
}

.seminar-info h4 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: var(--font-sans);
}

.seminar-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.seminar-btn {
    padding: 10px 20px;
    border: 1px solid var(--text-muted);
    border-radius: 2px;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.seminar-btn:hover {
    background: var(--text-main);
    color: var(--bg-color);
    border-color: var(--text-main);
}

@media (max-width: 600px) {
    .seminar-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: var(--surface-light);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
}

.blog-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.blog-content {
    padding: 30px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.blog-content h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-family: var(--font-sans);
    font-weight: 500;
    line-height: 1.5;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes slowZoom {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.15);
    }
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 900px) {
    .layout-split {
        flex-direction: column;
    }

    .split-image {
        order: -1;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}