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

:root {
    /* Color Palette */
    --color-primary: #8C4A5C;     /* 深みのあるプラム */
    --color-secondary: #D9A0A0;   /* ローズゴールド */
    --color-dark: #1A1A1A;        /* ダークグレー/ブラック */
    --color-light: #FDFBFB;       /* オフホワイト */
    --color-text: #333333;
    --color-text-light: #666666;
    
    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Noto Sans JP', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-light);
    letter-spacing: 0.1em;
}

/* =========================================
   Header
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all var(--transition-fast);
}

.header.scrolled {
    background-color: rgba(253, 251, 251, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.logo span {
    color: var(--color-secondary);
}

.global-nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
}

.global-nav a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
}

.global-nav a:not(.btn-contact-sm)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width var(--transition-fast);
}

.global-nav a:not(.btn-contact-sm):hover::after {
    width: 100%;
}

.btn-contact-sm {
    background-color: var(--color-primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    border: 1px solid var(--color-primary);
}

.btn-contact-sm:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: zoomInOut 20s infinite alternate linear;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.4) 100%);
}

@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero-text {
    max-width: 600px;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-secondary);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.hero-subtitle::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: var(--color-secondary);
    vertical-align: middle;
    margin-right: 15px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
}

.hero-desc {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--color-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #fff;
    z-index: -1;
    transition: width var(--transition-fast);
}

.btn-primary:hover {
    color: var(--color-primary);
}

.btn-primary:hover::before {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.scroll-indicator p {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    transform: rotate(90deg);
    margin-bottom: 30px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--color-secondary);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* Responsive basics */
@media (max-width: 768px) {
    .global-nav {
        display: none; /* スマホメニューは後で実装 */
    }
    .hamburger {
        display: block;
    }
    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--color-primary);
        position: absolute;
        left: 0;
        transition: all var(--transition-fast);
    }
    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 9px; }
    .hamburger span:nth-child(3) { top: 18px; }

    .header.scrolled .hamburger span {
        background-color: var(--color-primary);
    }

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

/* =========================================
   Utility / Layouts
   ========================================= */
.container-sm {
    max-width: 800px;
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.pc-only {
    display: inline;
}

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

/* =========================================
   About Section
   ========================================= */
.about {
    background-color: var(--color-light);
    position: relative;
    overflow: hidden;
}

/* 背景にあしらい */
.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(217, 160, 160, 0.2) 0%, rgba(253, 251, 251, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-vision {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.5;
    margin-bottom: 40px;
    color: var(--color-primary);
}

.about-text {
    font-size: 1rem;
    line-height: 2;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .about-vision {
        font-size: 1.6rem;
    }
}

/* =========================================
   Services Section
   ========================================= */
.services {
    background-color: #fff;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-top: 60px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.service-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.5s ease;
}

.service-item:hover .service-img img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

/* CSSで描くフェイク画像領域 (Service 3) */
.artificial-bg {
    background: linear-gradient(135deg, #1A1A1A, #3e202a);
    aspect-ratio: 4/3;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.abstract-flower {
    width: 150px;
    height: 150px;
    background-color: var(--color-secondary);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite;
    opacity: 0.5;
    filter: blur(20px);
}

.abstract-flower::before,
.abstract-flower::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 50% 50% 30% 70% / 50% 50% 70% 50%;
    animation: morph 6s ease-in-out infinite alternate;
    opacity: 0.6;
}
.abstract-flower::after {
    background-color: #E6C2C2;
    animation-delay: -3s;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

.service-info {
    flex: 1;
}

.service-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-name span {
    font-size: 1.4rem;
    color: var(--color-secondary);
    font-weight: 400;
}

.service-jp {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 25px;
    font-weight: 500;
}

.service-desc {
    line-height: 1.8;
    color: var(--color-text);
}

@media (max-width: 900px) {
    .service-item, .service-item.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .service-img, .service-info {
        width: 100%;
    }
}

/* =========================================
   Company Section
   ========================================= */
.company {
    background-color: #FAFAFA;
}

.company-table-wrap {
    background-color: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.company-table th {
    width: 25%;
    text-align: left;
    font-weight: 500;
    color: var(--color-primary);
}

.company-table td {
    width: 75%;
    color: var(--color-text);
    line-height: 1.8;
}

@media (max-width: 600px) {
    .company-table-wrap {
        padding: 30px 20px;
    }
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 15px 0;
    }
    .company-table th {
        padding-bottom: 5px;
        border-bottom: none;
    }
}

/* =========================================
   Contact Section
   ========================================= */
.contact {
    position: relative;
    padding: 120px 0;
    background-color: var(--color-primary);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.contact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(217, 160, 160, 0.4) 0%, transparent 40%),
                      radial-gradient(circle at 20% 80%, rgba(26, 26, 26, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.btn-large {
    padding: 20px 60px;
    font-size: 1.1rem;
    background-color: #fff;
    border-color: #fff;
    color: var(--color-primary);
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
}

.btn-large::before {
    background-color: var(--color-secondary);
}

.btn-large:hover {
    color: #fff;
    border-color: var(--color-secondary);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--color-dark);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.footer-logo span {
    color: #fff;
}

.footer-info p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-sns {
    display: flex;
    gap: 15px;
}

.sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.sns-icon:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
}

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

.footer-nav a {
    color: #ccc;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.footer-nav a:hover {
    color: var(--color-secondary);
}

.copyright {
    text-align: center;
    color: #777;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }
}

/* =========================================
   Contact Form Page
   ========================================= */
.page-header {
    padding: 150px 0 80px;
    background-color: var(--color-light);
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-light);
    letter-spacing: 0.1em;
}

.contact-form-section {
    padding: 60px 0 120px;
    background-color: var(--color-light);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group label span.required {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-left: 10px;
    background: rgba(231, 76, 60, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    background-color: var(--color-primary);
    color: #fff;
    padding: 15px 60px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-submit:hover {
    background-color: #713847;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .form-container {
        padding: 30px 20px;
    }
}

