/* ==========================================================================
   PPP Portal Style - FULL DECORATIVE & FUNCTIONAL COMPLETE
   ========================================================================== */

/* --- 1. 共通・ベース設定 --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.relative-box { position: relative; z-index: 10; }
.bg-light-blue { background-color: #f0f8ff; } /* Aboutセクション用の薄い水色 */

/* --- 2. サイトヘッダー (重なり防止・固定) --- */
.site-header {
    position: sticky; top: 0; width: 100%; z-index: 1000;
    background: #ffffff; border-bottom: 2px solid #eee;
}
.header-inner {
    max-width: 1100px; margin: 0 auto; padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 1.4rem; font-weight: 900; color: #333; text-decoration: none; }
.main-nav ul { display: flex; list-style: none; gap: 25px; }
.main-nav a { text-decoration: none; color: #333; font-weight: 700; transition: 0.3s; }
.main-nav a:hover { color: #ff0099; }

/* --- 3. ヒーローエリア (PC版：縦幅・バッジ・ボタン) --- */
.hero-img-container {
    width: 100%; min-height: 900px; /* 縦幅を広く確保 */
    background-size: cover; background-position: center;
    position: relative; display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45);
    display: flex; align-items: center; justify-content: center;
}
.hero-text-box { text-align: center; color: #fff; max-width: 900px; padding: 20px; z-index: 10; }
.hero-main {
    font-size: 3.5rem; font-weight: 900; line-height: 1.3; margin-bottom: 25px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6);
}
.ppp-logo-hero { width: 100%; max-width: 450px; margin: 10px auto 30px; }
.ppp-logo-hero img { width: 100%; height: auto; filter: drop-shadow(0 0 15px rgba(255,255,255,0.4)); }

/* 22周年バッジ */
.achievement-badges { position: absolute; top: 40px; right: 40px; display: flex; gap: 15px; z-index: 100; }
.badge {
    width: 90px; height: 90px; border-radius: 50%; border: 4px solid #333;
    display: flex; align-items: center; justify-content: center;
    text-align: center; font-weight: 900; font-size: 0.9rem;
    box-shadow: 5px 5px 0 #333; transform: rotate(12deg);
}
.anniv-badge { background: #ffcc00; color: #333; }
.itteq-badge { background: #ff0099; color: #fff; }

/* ヒーローボタン */
.hero-btn-area { margin-bottom: 80px; }
.hero-btn {
    display: inline-block; background: #ffcc00; color: #333;
    padding: 18px 55px; border-radius: 50px; font-weight: 900; font-size: 1.4rem;
    text-decoration: none; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 0 #b28f00; border: none;
}
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 #b28f00; background: #ffd633; }

/* --- 4. 最新スケジュールバー --- */
.latest-schedule-bar {
    background: #222; color: #fff; padding: 25px 0;
    border-top: 5px solid #ffcc00; border-bottom: 4px solid #ffcc00;
}
.latest-flex { display: flex; align-items: center; justify-content: space-between; }
.latest-title { font-size: 0.85rem; background: #ffcc00; color: #222; padding: 4px 15px; border-radius: 50px; font-weight: 900; }
.latest-list { flex: 1; display: flex; gap: 40px; margin-left: 30px; }
.latest-item .date { color: #ffcc00; font-weight: 800; margin-right: 12px; }
.view-all-link { color: #fff; text-decoration: none; font-size: 0.85rem; border-bottom: 1px solid #ffcc00; }

/* --- 5. 歓迎メッセージ & 浮遊する星 --- */
.welcome-balloon {
    background: #fff; border: 5px solid #333; border-radius: 50px;
    padding: 60px 40px; max-width: 850px; margin: 60px auto;
    text-align: center; box-shadow: 15px 15px 0 #ffcc00; position: relative;
}
.star-deco {
    position: absolute; font-size: 3.5rem; color: #ffcc00;
    text-shadow: 3px 3px 0 #333; z-index: 1;
    animation: star-floating 3s ease-in-out infinite;
}
.s1 { top: -30px; left: -20px; }
.s2 { bottom: -20px; right: -20px; color: #ff0099; animation-delay: 1s; }
@keyframes star-floating {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(15deg); }
}

/* --- 6. コンテンツメニュー & SNS --- */
.portal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.p-card {
    background: #fff; border: 4px solid #333; padding: 35px;
    border-radius: 30px; text-decoration: none; color: #333;
    transition: 0.3s; box-shadow: 8px 8px 0 #333; position: relative;
}
.p-card:hover { transform: translateY(-8px); box-shadow: 12px 12px 0 #333; }
.tag {
    display: inline-block; padding: 3px 15px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 900; color: #fff; background: #333; margin-bottom: 15px;
}
.tag.color-orange { background: #ff9800; }
.tag.color-blue { background: #03a9f4; }
.tag.color-green { background: #4caf50; }
.tag.color-darkblue { background: #3f51b5; }
.sunburst-bg { background: repeating-conic-gradient(from 0deg, #fff 0deg 15deg, #fff9c4 15deg 30deg) !important; }

.sns-links { display: flex; justify-content: center; gap: 30px; margin: 20px 0; }
.sns-link { font-size: 2.8rem; color: #333; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.sns-link:hover { transform: scale(1.2) rotate(8deg); }
.sns-link.yt:hover { color: #ff0000; }
.sns-link.fb:hover { color: #1877f2; }
.sns-link.ig:hover { color: #e4405f; }

/* --- 7. About PPP (復活・修正箇所) --- */
.about-flex {
    display: flex; align-items: center; gap: 60px; /* テキストと画像の間隔 */
}
.section-title { font-size: 2.2rem; font-weight: 900; margin-bottom: 30px; color: #333; }
.section-title.left { text-align: left; }

.about-catch {
    font-size: 1.8rem; color: #ff0099; /* PPPピンク */
    margin-bottom: 25px; line-height: 1.5; font-weight: 900;
}
.about-text-body p {
    font-size: 1.1rem; line-height: 1.8; margin-bottom: 15px; color: #444;
}
.pop-photo {
    width: 100%; border-radius: 30px; /* 角丸 */
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); /* 浮き上がるような影 */
    border: 5px solid #fff; /* 白い縁取り */
}

/* --- 8. スマホ表示調整 --- */
@media (max-width: 992px) {
    .about-flex { flex-direction: column; text-align: center; }
    .section-title.left { text-align: center; }
}

@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 10px; }
    .main-nav ul { gap: 15px; font-size: 0.75rem; }
    .hero-img-container { min-height: 750px; }
    .hero-main { font-size: 1.6rem !important; }
    .ppp-logo-hero { max-width: 240px; }
    .achievement-badges { display: none; }
    .hero-btn-area { margin-bottom: 60px; }
    .latest-flex { flex-direction: column; gap: 15px; }
    .latest-list { margin-left: 0; flex-direction: column; gap: 10px; align-items: center; }
    .about-catch { font-size: 1.4rem; }
}

/* 不要な画像パーツを隠す */
.h-member, .hero-peek-member, .akiba-peek, .motoda-peek { display: none; }