/* デザイン変数 */
:root {
    --main-pink: #fdf2f2;     /* 全体の背景 */
    --accent-orange: #ffb4a2; /* 柔らかいオレンジ */
    --accent-green: #b5c99a;  /* 優しいグリーン */
    --text-brown: #6d5959;    /* 文字色（黒より柔らかいブラウン） */
    --white: #ffffff;
    --font-rounded: 'M PLUS Rounded 1c', sans-serif;
    --font-hand: 'Kiwi Maru', serif;
}

/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--main-pink);
    color: var(--text-brown);
    font-family: var(--font-rounded);
    line-height: 1.8;
}

/* ヘッダー */
header {
    padding: 30px 40px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-hand);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-brown);
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-orange);
    border-radius: 5px;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* ヒーローセクション */
.hero {
    padding: 40px 0 100px;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 80px 20px 80px 20px; /* 特徴的な角丸 */
    overflow: hidden;
    box-shadow: 10px 10px 0px var(--accent-orange);
}

.hero-text {
    flex: 1;
    padding: 60px;
}

.hero-text h1 {
    font-family: var(--font-hand);
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.hero-img {
    flex: 1;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* アイデアセクション */
.ideas {
    padding-bottom: 100px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    text-align: center;
    font-family: var(--font-hand);
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::before {
    content: '☁';
    color: var(--accent-orange);
    position: absolute;
    top: -30px;
    left: -40px;
}

.idea-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.idea-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 40px;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

.idea-card:hover {
    transform: translateY(-10px) rotate(2deg);
}

.idea-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 30px;
    margin-bottom: 20px;
}

.card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-green);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.idea-card h3 {
    margin-bottom: 15px;
    color: var(--text-brown);
}

.idea-card p {
    font-size: 0.9rem;
    color: #887272;
}

/* メッセージセクション */
.message {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

.bubble {
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 50px 80px;
    border-radius: 100px 100px 100px 0;
    text-align: center;
    font-size: 1.5rem;
    font-family: var(--font-hand);
    position: relative;
}

/* フッター */
footer {
    padding: 60px;
    text-align: center;
    font-size: 0.8rem;
    color: #bca0a0;
}

/* レスポンシブ */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        border-radius: 40px;
    }
    .hero-text {
        padding: 40px 20px;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .idea-grid {
        grid-template-columns: 1fr;
    }
    .bubble {
        padding: 40px 30px;
        font-size: 1.1rem;
        border-radius: 50px;
    }
}