@charset "UTF-8";

/* ==========================================================================
   CSS Variables (White & Blue-Green - Clean & Professional)
   ========================================================================== */
:root {
    --color-primary: #2C6A84; /* 指定されたブルーグリーン */
    --color-secondary: #4A7C92; /* 少し明るいブルーグリーン */
    --color-text: #2C3E50; /* 濃い紺色（読みやすさ重視） */
    --color-bg: #FFFFFF; /* 白 */
    --color-bg-alt: #D9E8ED; /* さらに存在感を出したブルーグリーン */
    --color-accent: #2C6A84; /* アクセントも統一 */
    --color-border: #D1E1E6;
    
    --font-base: 'Noto Sans JP', sans-serif;
    --font-heading: 'Zen Kaku Gothic New', sans-serif;
    
    --max-width: 1000px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    line-height: 1.4;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

/* ==========================================================================
   Layout & Utility
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 5rem 0;
}

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

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

/* Utility */
.mobile-only {
    display: none;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.1;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    z-index: 101; /* メニューより上に表示 */
}

.logo-sub {
    font-size: 0.6rem;
    font-weight: 500;
    margin-top: 2px;
}

/* Burger Button */
.burger {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 10px; }
.burger span:nth-child(3) { top: 20px; }

/* Burger Animation to X */
.burger.is-open span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}
.burger.is-open span:nth-child(2) {
    opacity: 0;
}
.burger.is-open span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

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

.nav a {
    color: var(--color-secondary);
    font-weight: 500;
}

.btn-contact-header {
    background-color: var(--color-accent);
    color: #fff !important;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    background-color: var(--color-bg); /* 白に変更 */
    padding: 6rem 20px;
    border-bottom: 1px solid var(--color-border);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    max-width: 400px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
    line-height: 1.2;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 20px;
    }
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        text-align: center;
    }
    .hero-image {
        order: -1;
        margin-bottom: 2rem;
        max-width: 300px;
    }
    .hero h2 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Common Section Styling
   ========================================================================== */
section {
    padding: 6rem 20px;
}

#concept {
    background-color: var(--color-primary);
    color: #fff;
}

#concept .section-title {
    color: #fff;
}

#pricing {
    background-color: var(--color-bg);
}

#contact {
    background-color: var(--color-primary);
    color: #fff;
}

#contact .section-title {
    color: #fff;
}

#contact p {
    color: rgba(255,255,255,0.9);
}

/* ==========================================================================
   Message Section (Concept)
   ========================================================================== */
.message-box {
    background: #fff;
    color: var(--color-secondary);
    font-weight: bold;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
    border-top: 4px solid var(--color-primary);
}

.message-box p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.price-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--color-border);
}

.price-card.featured {
    border: 2px solid var(--color-primary);
    position: relative;
}

.price-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.price-card h3 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-bg-alt);
    padding-bottom: 1rem;
}

.price-amount {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

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

.price-list {
    list-style: none;
    margin-bottom: 2rem;
}

.price-list li {
    padding: 0.8rem 0;
    border-bottom: 1px dashed var(--color-border);
    padding-left: 1.5rem;
    position: relative;
}

.price-list li::before {
    content: '✓';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--color-secondary);
}

#contact .form-group label {
    color: #fff;
}

.form-required {
    background: var(--color-accent);
    color: white;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    font-family: var(--font-base);
    font-size: 1rem;
    background-color: #FAFAFA;
}

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

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

.btn-submit {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--color-accent);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #24556A; /* 少し濃いブルーグリーン */
}

#contact .btn-submit {
    background-color: #fff;
    color: var(--color-primary);
}

#contact .btn-submit:hover {
    background-color: #f0f0f0;
}

/* Success Message */
.contact-success {
    display: none;
    text-align: center;
    background: #fff;
    padding: 4rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 0 auto;
    border-top: 4px solid var(--color-primary); /* Success Blue-Green */
}

.contact-success.is-visible {
    display: block;
    animation: fadeInUp 0.5s ease forwards;
}

.contact-success h3 {
    color: #2F855A;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-success p {
    color: var(--color-text);
    margin-bottom: 2rem;
}

.icon-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #E6F1F4;
    color: var(--color-primary);
    border-radius: 50%;
    font-size: 30px;
    margin-bottom: 1.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-secondary);
    color: #fff;
    text-align: center;
    padding: 3rem 20px;
}

.footer a {
    color: #A0AEC0;
}

/* Page Top Button */
.pagetop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pagetop.is-visible {
    opacity: 1;
    visibility: visible;
}

.pagetop:hover {
    background-color: var(--color-secondary);
    transform: translateY(-5px);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Portfolio Samples
   ========================================================================== */
.sample-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sample-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.sample-image-link img {
    transition: transform 0.5s ease;
}

.sample-image-link:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .burger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        padding: 80px 40px;
        z-index: 100;
    }

    .nav.is-open {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .nav a {
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
    }

    .btn-contact-header {
        border-radius: 5px;
        margin-top: 1rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }
    .section {
        padding: 3rem 0;
    }
    .message-box, .contact-form {
        padding: 1.5rem;
    }
}
