/* デザイン変数：温かみのあるパステルパレット */
:root {
    --sakura-pink: #ffafcc;   /* さくら色 */
    --leaf-green: #bde0fe;    /* 爽やかな空色 */
    --warm-yellow: #ffecb3;   /* 陽だまりの黄色 */
    --soft-green: #d1e2d3;    /* 若草色 */
    --text-brown: #5d4037;    /* 優しい茶色（文字用） */
    --pure-white: #ffffff;
    --font-main: 'Zen Maru Gothic', sans-serif;
    --font-pop: 'Yusei Magic', sans-serif;
}

/* リセット & 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--pure-white);
    color: var(--text-brown);
    font-family: var(--font-main);
    line-height: 1.8;
    font-size: 18px;
    overflow-x: hidden;
}

/* ヘッダー：親しみやすさ重視 */
header {
    height: 90px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-pop);
    font-size: 1.8rem;
    color: var(--sakura-pink);
}

.logo span {
    color: var(--soft-green);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-brown);
    font-weight: 700;
    font-size: 1rem;
}

.btn-join {
    background-color: var(--sakura-pink);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-join:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 175, 204, 0.4);
}

/* ヒーロー：非対称な丸み */
.hero-community {
    background-color: var(--soft-green);
    padding-top: 100px;
    padding-bottom: 150px;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 40px;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-family: var(--font-pop);
    font-size: 3.2rem;
    line-height: 1.3;
    color: var(--pure-white);
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.hero-visual {
    flex: 1;
}

.hero-visual img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 50% 50% 50% 50% / 30% 70% 30% 70%; /* いびつな丸み */
    border: 15px solid var(--pure-white);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    width: 100%;
    line-height: 0;
}

/* コンセプト：吹き出しレイアウト */
.concept-section {
    padding: 100px 20px;
    background-color: var(--pure-white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.speech-bubble-area {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.bubble-item {
    flex: 1;
    background-color: var(--warm-yellow);
    padding: 40px;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bubble-item::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50px;
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: var(--warm-yellow) transparent;
}

.bubble-text h3 {
    margin-bottom: 15px;
    color: var(--text-brown);
    font-size: 1.4rem;
}

/* ギャラリー：タイルデザイン */
.activity-section {
    padding: 120px 20px;
    background-color: #fafafa;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-pop);
    font-size: 2.5rem;
    color: var(--sakura-pink);
}

.mosaic-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--pure-white);
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--sakura-pink);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* フッター */
footer {
    padding: 80px 20px;
    background-color: var(--soft-green);
    color: var(--pure-white);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-pop);
    font-size: 2rem;
    margin-bottom: 15px;
}

.copyright {
    margin-top: 30px;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* レスポンシブ */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-visual img { height: 350px; }
    .speech-bubble-area {
        flex-direction: column;
    }
    .mosaic-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .large { grid-row: auto; height: 300px; }
}