/* ==========================================================================
   全体リセット & 基本設定
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ffcccc, #ff99cc); /* ピンクのグラデーション */
    background-attachment: fixed; /* 背景を固定して高級感を出す */
}

/* ==========================================================================
   トップ画像セクション
   ========================================================================== */
.hero {
    width: 100%;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
}

.top-content {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.85); /* 半透明の白 */
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.header-title {
    color: #ff6699;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.top-text h1 {
    font-size: 36px;
    margin: 0;
    color: #ff6699;
    letter-spacing: 2px;
}

.top-text p {
    font-size: 18px;
    margin-top: 5px;
}

/* ==========================================================================
   SNSバナーセクション (PC・スマホ両対応版)
   ========================================================================== */
.sns-image-area {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 15px;
    text-align: center;
}

.sns-message {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333;
}

.sns-image-flex {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

/* 画像を囲む白い箱のサイズを固定 */
.sns-image-flex a {
    flex: 0 1 300px;     /* PCでは最大300px幅 */
    height: 100px;       /* 高さを統一 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.sns-image-flex a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* 画像自体のサイズを強制制御 */
.sns-image-flex img {
    width: auto !important;
    height: auto !important;
    max-width: 85% !important; /* 枠に対してのロゴサイズ */
    max-height: 75% !important;
    object-fit: contain !important;
    display: block;
}

/* ==========================================================================
   メニュー & コンテンツセクション
   ========================================================================== */
.menu-items {
    text-align: center;
    background: linear-gradient(135deg, #ffcccc, #ff99cc);
    position: relative;
    z-index: 2;
}

.menu-items a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s;
}

.menu-items a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

section {
    padding: 50px 20px;
    max-width: 1000px;
    margin: 0 auto 30px auto;
    background: rgba(255, 255, 255, 0.9); /* コンテンツの可読性を上げる */
    border-radius: 12px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #ff6699;
    border-bottom: 2px solid #ffcccc;
    display: inline-block;
    width: 100%;
    padding-bottom: 10px;
}

/* プロフィール */
.profile-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

.profile-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    border: 3px solid #ff99cc;
}

.profile-text {
    flex: 1;
    min-width: 300px;
}

.profile-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ff6699;
}

/* 主要政策 */
.policy-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.policy-item {
    flex: 1;
    min-width: 280px;
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #ffccdd;
}

.policy-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* ==========================================================================
   フッター
   ========================================================================== */
footer {
    text-align: center;
    padding: 30px 20px 80px 20px; /* メニュー分の余白 */
    background: linear-gradient(135deg, #ff6699, #ff99cc);
    color: white;
}

.footer-menu {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #ff6699;
    color: white;
    text-align: center;
    padding: 15px 0;
    cursor: pointer;
    z-index: 1000;
    font-weight: bold;
}

.footer-menu-content {
    display: none;
    position: fixed;
    bottom: 54px;
    width: 100%;
    background: #ff99cc;
    z-index: 1000;
}

.footer-menu-content.active {
    display: block;
}

.footer-menu-content a {
    display: block;
    padding: 15px;
    color: white;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   スマートフォン調整
   ========================================================================== */
@media screen and (max-width: 600px) {
    .top-text h1 { font-size: 28px; }
    .sns-image-flex a {
        flex: 1 1 100%;
        height: 80px;
    }
    .profile-content { flex-direction: column; align-items: center; }
}