@charset "UTF-8";
/*
Template: swell
Theme Name: WP IPU Site
Author URI: https://ipu-japan.ac.jp/
Description: SWELLの子テーマ
Author: Rui Yokoyama
Version: 1.0.1
*/

h1.c-pageTitle {
    display: none!important;
}
div#content {
    padding-top: 0 !important;
}

.post_content {
    margin-top: 0 !important;
}

/* -----------------------------------------------------------
 * IPU SPORTS HERO SECTION - MINIMAL EDIT
 * ----------------------------------------------------------- */

/* 1. 親要素：より没入感を高める設定 */
.main.swell-block-fullWide {
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    padding-top: clamp(80px, 8vw, 120px) !important; 
    padding-bottom: clamp(80px, 8vw, 120px) !important;
    color: #fff !important;
}

/* 2. グラデーション：装飾線がなくなる分、左側の「締まり」を強化 */
.main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.75) 25%, 
        rgba(0, 0, 0, 0.3) 60%, 
        rgba(0, 0, 0, 0) 100%
    ) !important;
    z-index: 1;
}

/* 3. コンテンツ幅の最適化 */
.main .swell-block-fullWide__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding-left: 5% !important;
}

/* 4. h3：サイズを抑え、1行で「強く」見せる */
.main h3.wp-block-heading {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem) !important; 
    font-weight: 800 !important; /* 太さを強調して存在感を出す */
    line-height: 1.2 !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 25px !important; /* 線が消えた分、少しだけ間隔を調整 */
    white-space: nowrap; 
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
}

/* 5. 装飾線を非表示 */
.main hr.wp-block-separator {
    display: none !important;
}

/* 6. リード文：装飾線がない分、スッと目に入ってくるよう調整 */
.main p {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
    line-height: 1.9 !important;
    font-weight: 500 !important;
    max-width: 750px; 
    opacity: 0.9;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7) !important;
}

/* モバイル対応：読みやすさを維持 */
@media screen and (max-width: 959px) {
    .main h3.wp-block-heading {
        white-space: normal;
        font-size: 1.6rem !important;
        margin-bottom: 20px !important;
    }
    .main .swell-block-fullWide__inner {
        padding-right: 5% !important;
    }
}