/* 全体設定 */
body {
    font-family: 'Helvetica Neue', sans-serif;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
}

/* プロフィールセクション */
.profile {
    text-align: center;
    padding: 40px 20px;
}

.profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #a0c4ff;
    margin-bottom: 20px;
}

.profile h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
}

.profile h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #555;
}

.profile p {
    font-size: 1.1em;
    color: #333333;
}

/* 区切り線 */
.divider {
    border: none;
    height: 2px;
    background-color: #a0c4ff;
    margin: 40px 0;
}

/* SNSリンクセクション */
.sns-links {
    text-align: center;
    padding: 20px;
}

.sns-links h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #000000;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.instagram {
    background-color: #a0c4ff;
    color: #000000;
}

.twitter {
    background-color: #000000;
    color: #ffffff;
}

.blog {
    background-color: #f0f0f0;
    color: #000000;
}

.btn i {
    font-size: 1.2em;
}

.btn:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

/* ギャラリーセクション */
.gallery {
    text-align: center;
    padding: 20px;
}

.gallery h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery-item {
    max-width: 400px;
    text-align: center;
}

/* ▼▼▼ 変更箇所 (PC表示) ▼▼▼ */
.gallery-img {
    width: 100%;
    height: 300px; /* 縦長の画像に合わせ、高さを調整しました */
    object-fit: cover; /* この設定で、画像の高さが統一されます */
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}
/* ▲▲▲ 変更箇所 ▲▲▲ */


.gallery-title {
    margin-top: 10px;
    font-size: 1em;
    color: #333;
}

/* フッター */
.footer {
    background-color: #f9f9f9;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: #555;
}

.footer p {
    margin: 5px 0;
}

/* and more セクション */
.and-more {
    margin-top: 30px;
    font-size: 1.2em;
    color: #555;
    text-align: center;
    font-style: italic;
    letter-spacing: 1px;
}

/* お問い合わせセクション */
.contact {
    text-align: center;
    padding: 40px 20px;
}

.contact h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #000000;
}

.contact p {
    font-size: 1.1em;
    color: #333333;
    word-break: break-word;
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .profile-img {
        width: 120px;
        height: 120px;
    }

    .profile h1 {
        font-size: 1.8em;
    }

    .profile p {
        font-size: 1em;
    }

    .sns-links h2,
    .gallery h2 {
        font-size: 1.5em;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 70%;
        max-width: 300px;
        justify-content: center;
    }

    .gallery-grid {
        flex-direction: column;
        align-items: center;
    }

    .gallery-item {
        width: 90%;
        max-width: 400px;
    }
    
    /* ▼▼▼ 変更箇所 (スマートフォン表示) ▼▼▼ */
    .gallery-img {
        width: 100%;
        height: 320px; /* スマートフォンでも高さを固定し、見た目を統一します */
        object-fit: cover;
        pointer-events: none;
    }
    /* ▲▲▲ 変更箇所 ▲▲▲ */

    .and-more {
        margin-top: 30px;
        font-size: 1.2em;
        color: #555;
        text-align: center;
        font-style: italic;
        letter-spacing: 1px;
    }

    .contact {
        padding: 30px 15px;
    }

    .contact p {
        word-break: break-word;
        font-size: 1em;
    }
}