.fixed-hero-section {
    position: relative;
    height: 70vh !important; 
    width: 100%;
    max-width: 100% !important;
    margin: 0;
    overflow: hidden;
}

.fixed-hero-background {
    position: absolute;   /* 親の全体を覆う */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;           /* コンテンツより下に */
}

.fixed-hero-content {
    position: relative;    /* 背景の上に置く */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;          /* 親全体の高さを使う */
    max-width: 1500px;
    padding: 0 60px;       /* 上下は0で中央揃えに影響しない */
    margin: 0 auto;
    z-index: 10;
}

.fixed-hero-catchphrase {
    color: #FFFFFF;
    font-size: 70px !important;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 1.4;
    margin: 0;
    animation-name: catchphrase-fade;
    animation-duration: 7s;
}

@keyframes catchphrase-fade {
0% {
opacity: 0; 
}
100% {
opacity: 1;
}
}

.fixpage-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;       /* 小さい画面で折り返す場合に必要 */
    width: 100%;
}

.flex-item{
    flex: 0 0 50%;         /* 横幅50%、縮小も拡大もしない */
    box-sizing: border-box;
}

.fixpage-left{
    padding-right: 3%;
}

.fixpage-right{
    padding-left: 3%;
}


@media (max-width: 768px) {
/*
==========================================================================
   hero section / mobile
========================================================================== */
    .fixed-hero-section{
        height: 350px !important; 
    }
    /* 1. 全体の高さを350pxに固定 */
    .fixed-hero-section,
    .fixed-slide-item {
        height: 350px !important;
    }

    /* 2. 画像が拡大されすぎないよう調整 */
    .fixed-slide-item {
        background-size: cover; /* 隙間を作らない最小限の拡大 */
        background-position: center center;
    }

    .fixed-hero-catchphrase {
        font-size: 2rem !important; /* 3remから変更 */
        padding: 0 20px;   /* 左右に少し余白 */
        line-height: 1.3;
    }

    /* 4. コンテンツのパディング調整 */
    .fixed-slide-content {
        padding: 20px;     /* 60pxから縮小して文字スペースを確保 */
    }   

    .fixpage-container{
    flex-direction: column;
        gap:30px
    }
    .fixpage-left {
        padding: 0px;
    }

    .fixpage-right{
       padding: 0px;

    }
}