/* Variables */
:root {
    /* Colors */
    --primary-color: #2c3e50;
    /* 信頼感のあるダークブルー */
    --accent-color: #d4a373;
    /* 美容室らしい洗練されたベージュ・ゴールド系 */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #fdfbf9;
    /* 温かみのあるオフホワイト */
    --bg-white: #ffffff;
    --bg-dark: #2c3e50;
    --border-color: #e2e8f0;

    /* Typography */
    --font-base: 'Noto Sans JP', sans-serif;

    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
}

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

body {
    font-family: var(--font-base);
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-white);
    letter-spacing: 0.05em;
}

body.no-scroll {
    overflow: hidden;
}

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

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

/* Utility */
.section-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: var(--space-xl) 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--primary-color);
    font-weight: 700;
}

.section-title .ja-subtext {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.5rem;
    color: var(--text-light);
}

.section-title.light {
    color: var(--bg-white);
}

.section-title.light .ja-subtext {
    color: rgba(255, 255, 255, 0.8);
}

.section-lead {
    text-align: center;
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

.section-lead.light {
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

.btn-primary:hover {
    background-color: #c08e5e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s ease-in-out;
}

.header.hide {
    transform: translateY(-100%);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
}

.global-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.global-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.global-nav a {
    font-size: 0.9rem;
    font-weight: 500;
}

.global-nav a:hover {
    color: var(--accent-color);
}

.btn-contact-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
}

.btn-contact-header:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    margin-left: 1rem;
}

.lang-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.2s;
    font-family: var(--font-base);
    line-height: 1;
}

.lang-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.lang-btn.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

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

/* Hero */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    background: linear-gradient(to right, rgba(253, 251, 249, 1) 40%, rgba(253, 251, 249, 0.8) 70%, transparent 100%);
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-overlay {
        width: 100%;
        background: rgba(253, 251, 249, 0.85);
    }
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1.5;
}

.hero-label {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid var(--accent-color);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.hero-title span {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(212, 163, 115, 0.2);
    z-index: -1;
}

.hero-title small {
    display: block;
    font-size: 1.3rem;
    font-weight: 400;
    margin-top: 1.5rem;
    color: var(--text-light);
}

.hero-text {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    line-height: 2;
}

.hero-text strong {
    color: var(--primary-color);
}

.hero-btns {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.btn-secondary-light {
    font-weight: 500;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 4px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary-light:hover {
    color: var(--accent-color);
    letter-spacing: 0.05em;
}

.hero-image-wrap {
    display: none;
    /* Background image is used instead */
}

/* Service */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.service-item {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    cursor: default;
    /* Remove pointer cursor as it's not clickable */
}

.service-item:hover {
    border-color: var(--border-color);
    /* No highlight on hover */
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-visual {
    height: 200px;
    overflow: hidden;
}

.service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-item:hover .service-visual img {
    transform: none;
}

.service-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-name {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.service-desc {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-more {
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-item:hover .service-more::after {
    transform: translateX(5px);
}

/* Price */
.price-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.price-header h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.price-body {
    text-align: right;
}

.price-amount {
    font-size: 0.9rem;
    color: var(--text-light);
}

.price-amount span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.price-caution {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Flow - Redesigned Robust Layout */
.flow-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    padding: 2rem 0;
}

.flow-step-item {
    flex: 1;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.step-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
}

.step-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    background: var(--accent-color);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(212, 163, 115, 0.3);
}

.step-label {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.step-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: center;
}

/* Connectors (Desktop) */
.flow-step-item:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

@media (max-width: 900px) {
    .flow-container {
        flex-direction: column;
        gap: 3rem;
    }

    .flow-step-item:not(:last-child)::after {
        content: '↓';
        right: auto;
        left: 50%;
        bottom: -2.5rem;
        top: auto;
        transform: translateX(-50%);
    }

    .step-head {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .step-number {
        margin-bottom: 0;
    }

    .step-text {
        text-align: left;
    }
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    list-style: none;
    color: var(--primary-color);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-color);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.trust-badges .badge {
    display: inline-block;
    background: rgba(44, 62, 80, 0.08);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Data Management Section */
.data-flow {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 2rem;
}

.data-step {
    flex: 1;
    max-width: 280px;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.data-step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.data-step h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.data-step p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.data-step-arrow {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 700;
}

.data-note {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* Price Tags */
.price-tag {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
    margin-top: 0.5rem;
}

.price-tag.popular {
    background: #e74c3c;
}

.price-item.recommended {
    border: 2px solid var(--accent-color);
    position: relative;
}

.price-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Mid CTA */
.mid-cta {
    padding: var(--space-lg) 0;
}

.mid-cta-box {
    background: linear-gradient(135deg, var(--primary-color), #1a252f);
    color: #fff;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.mid-cta-box h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.mid-cta-box p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    opacity: 0.9;
}

.mid-cta-box .btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

/* English Support */
.en-support-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.en-support-desc {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.en-support-en {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-color);
    font-style: italic;
    line-height: 1.8;
}

/* Contact */
.contact {
    background-color: var(--bg-dark);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.required {
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-light);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--bg-white);
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #1a252f;
}

.btn-submit-accent {
    background-color: var(--accent-color);
    font-size: 1.2rem;
    padding: 1.4rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

.btn-submit-accent:hover {
    background-color: #c08e5e;
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
}

/* Footer */
.footer {
    background-color: #1a252f;
    color: #fff;
    padding: 3rem 5%;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive (Tablet & Mobile) */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0.8rem 5%;
    }

    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
        text-align: center;
    }

    .hero-inner {
        flex-direction: column;
        gap: 3rem;
    }

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

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-image-wrap {
        width: 100%;
        max-width: 500px;
    }

    .hero-image-float::before {
        display: none;
    }

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

    .trust-badges {
        justify-content: center;
    }

    .lang-switcher {
        margin-left: auto;
        margin-right: 0.5rem;
    }

    .data-flow {
        flex-direction: column;
        align-items: center;
    }

    .data-step {
        max-width: 100%;
    }

    .data-step-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }

    .mid-cta-box {
        padding: 2rem 1.5rem;
    }

    .mid-cta-box h3 {
        font-size: 1.3rem;
    }

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

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        position: absolute;
        transition: all 0.3s;
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 9px;
    }

    .hamburger span:nth-child(3) {
        top: 18px;
    }

    .hamburger.active span:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        top: 9px;
        transform: rotate(-45deg);
    }

    .global-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-white);
        z-index: 100;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
    }

    .global-nav.active {
        display: flex;
    }

    .global-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .global-nav a {
        font-size: 1.2rem;
        font-weight: 700;
    }

    .btn-contact-header {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }

    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .price-body {
        text-align: left;
    }

    .btn-primary {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }
}