/*
Theme Name: Pop Design Theme
Author: Gemini
Description: Casual and pop design for creative agency.
Version: 1.0
*/

:root {
    --color-main: #e4ef48;    /* Yellow */
    --color-accent: #48efe0;  /* Cyan/Teal */
    --color-text: #333333;    /* Dark Gray for text */
    --color-gray: #f4f4f4;    /* Light Gray for backgrounds */
    --color-white: #ffffff;
    --font-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    --border-radius: 12px;    /* カジュアルさを出すために丸みを強めに */
}

/* Base Styles */
body {
    font-family: var(--font-base);
    color: var(--color-text);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--color-white);
}

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

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
    border-bottom: 3px solid var(--color-main);
}

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

* ロゴの親要素 */
.logo {
    font-size: 2rem;
    /* 太さの最大値は通常900です。1000だと無効になることがあるので修正しました */
    font-weight: 900; 
    margin: 0;
    line-height: 1; /* 高さを文字にフィットさせる */
}

/* ロゴの文字（リンク部分） */
.logo a {
    /* ★ここが一番のポイント！ */
    /* これを書くことで、幅や隙間の指定が確実に効くようになります */
    display: inline-block; 
    
    /* 変化が分かりやすいように、あえて広めに0.2emにしています */
    letter-spacing: 0.3em; 
    
    text-decoration: none;
    
    /* 文字が広がった時に、変なところで改行されないようにするお守り */
    white-space: nowrap;
}

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

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

.nav-list a {
    font-weight: bold;
    font-size: 1.2rem;
	letter-spacing: 0.1em;
}

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

.btn-contact {
    background-color: var(--color-text);
    color: var(--color-main) !important;
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-contact:hover {
    background-color: var(--color-accent);
    color: var(--color-white) !important;
}

/* Hero Section */
.hero {
    background-color: var(--color-main); /* 指定のイエローを背景に */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    background: var(--color-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}

.hero h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 500;
}

/* Visual Circles (装飾) */
.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}
.circle-1 {
    width: 300px;
    height: 300px;
    background-color: var(--color-accent);
    top: -50px;
    right: -50px;
    z-index: 1;
}
.circle-2 {
    width: 150px;
    height: 150px;
    background-color: var(--color-white);
    bottom: 20px;
    left: 20px;
    z-index: 1;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 239, 224, 0.4);
}

/* Sections Common */
.section {
    padding: 80px 0;
}

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

.section-header h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: inline-block;
    background: linear-gradient(transparent 60%, var(--color-main) 60%); /* マーカー風の下線 */
}

/* Services (Cards) */
.services {
    background-color: var(--color-gray);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 5px solid var(--color-accent); /* アクセントカラーの線 */
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--color-main);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 60px 0 20px;
    text-align: center;
}

.footer .logo {
    color: var(--color-white);
    margin-bottom: 10px;
}

.footer .address {
    color: #999;
    margin-bottom: 40px;
}

.copyright {
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #777;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }

    .nav-list {
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .circle-1 {
        width: 150px;
        height: 150px;
    }
}

