@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

.advice--keyvisual::after{
    content: none;
}

/* 非会員のみに表示　レポートサンプル */
.section--advice01-2 {
    background: #fff;
    padding: 64px 0;
}
.section--advice01-2__inner {
    position: relative;
    max-width: 1240px;
    padding: 0 20px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin: 0 auto;
}

.section--advice01-2__content{
    max-width: 580px;
}
.section--advice01-2__title_top{
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    font-family: "Noto Serif JP", serif;
    line-height: 1.5;
    position: relative;
    color: #584D4D;
}
.section--advice01-2__title_top::before{
    content: "";
    position: absolute;
    left: -13px;
    bottom: 0;
    background: #584D4D;
    width: 2px;
    height: 48px;
    transform: rotate(160deg);
}
.section--advice01-2__title_top::after{
    content: "";
    position: absolute;
    right: -9px;
    bottom: 0;
    background: #584D4D;
    width: 2px;
    height: 48px;
    transform: rotate(200deg);
}

.section--advice01-2__title_bottom{
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    font-family: "Noto Serif JP", serif;
    line-height: 1.5;
    color: #584D4D;
}

.section--advice01-2__title_bottom span{
    font-size: 40px;
    font-weight: 700;
}
.section--advice01-2__title_big{
    font-size: 56px;
    font-weight: 700;
    color: #584D4D;
    margin-bottom: 48px;
}

.section--advice01-2__text{
    font-size: 20px;
    line-height: 1.8;
    text-align: center;
    font-family: "Noto Serif JP", serif;
    color: #584D4D;
}
.section--advice01-2__image{
    max-width: 524px;
}

@media screen and (max-width: 1100px) {
    .section--advice01-2__image{
        max-width: 400px;
    }
}


.section--advice01-2__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section--advice01__title{
    font-size: 20px;
    text-align: center;
    font-family: "Noto Serif JP", serif;
    margin-bottom: 32px;
    color: #584D4D;
}
@media screen and (max-width: 768px) {
    .section--advice01__title{
        font-size: 16px;
        margin-bottom: 16px;
    }
    
}
.section--advice01__button{
    margin-bottom: 84px;
}
.section--advice01__button a{
    display: block;
    color: #fff;
    background: #535355;
    padding: 16px 0;
    border-radius: 100px;
    text-align: center;
    font-size: 18px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 700;
    width: 280px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .section--advice01__button{
        margin-bottom: 0;
    }
    .section--advice01__button a{
        width: 224px;
        font-size: 16px;
    }
    .advice--keyvisual__text02{
        position: relative;
        background: #f7f6f5;
        z-index: -2;
        padding: 0 0 70px;
    }
   .advice--keyvisual__text02 p{
        position: relative;
        height: 100%;
        background: #e7e2d6;
        padding: 20px 0 20px;
    }
    .advice--keyvisual__text02 p:after{
        content: '';
        position: absolute;
        bottom: -54px;
        left: 0;
        width: 100%;
        height: 55px;
        background: #e7e2d6;
        pointer-events: none;
        clip-path: polygon(100% 0, 0 0, 50% 56%);
        z-index: -1;
    }
    .section--advice01 {
        padding-top: 0;
    }
}

@media screen and (min-width: 769px) {
    .section--advice01 {
        padding-top: 64px;
    }
    .advice--keyvisual__text02{
        display: none!important;
    }
}

/* =============================
   非会員限定：外壁セクションの途中から内容を隠す
   - 見出しブロックをオーバーレイ表示
   - 見出し直下に半透明の#F7F6F5グラデーションを敷く
   - リストは1列目のみ表示（以降は非表示）
   ============================= */

#outer-wall { position: relative; }

/* 見出しを上に被せる */
#outer-wall .section--advice01__head {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

/* 見出し下に半透明の白（#F7F6F5）グラデーションを展開 */
#outer-wall .section--advice01__head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 120px; /* 見出しの下あたりから開始 */
    height: 560px; /* 被せる高さ（必要に応じて調整） */
    background: linear-gradient(
        to bottom,
        rgba(247, 246, 245, 0.10) 0%,
        rgba(247, 246, 245, 0.50) 25%,
        rgba(247, 246, 245, 0.85) 60%,
        rgba(247, 246, 245, 1.00) 100%
    );
    pointer-events: none;
}

/* 見出し分のスペースを確保 */
#outer-wall .section--advice02__inner { position: relative; padding-top: 120px; }

/* 非会員限定：外壁セクションは上から759pxまでを表示し、それ以降は非表示 */
#outer-wall:has(.section--advice01__head) {
    max-height: 759px;
    overflow: hidden;
}

/* 1列目以降を非表示（PCは4列） */
@media screen and (min-width: 769px) {
    #outer-wall .section--advice02__list > li[data-membership="false"]:nth-child(n+5) { display: none !important; }
}

/* 1列目以降を非表示（SPは2列想定） */
@media screen and (max-width: 768px) {
    #outer-wall .section--advice02__list > li[data-membership="false"]:nth-child(n+3) { display: none !important; }
}

/* ここから下を759pxでクリップ（非会員限定） */
.advice--clipArea {
    max-height: 850px;
    overflow: hidden;
}
@media screen and (max-width: 768px) {
    .advice--clipArea {
        max-height: 740px;
    }
}
@media screen and (max-width:425px) {
    .advice--clipArea {
        max-height: 670px;
    }
}

/* =============================
   非会員時：外壁セクションのロック表示
   - セクション見出しブロックをコンテンツ上にオーバーレイ
   - 見出しとボタンの間に半透明の白帯を入れる
   - リストは1列目のみ表示（以降は非表示）
   ※ li に data-membership="false" が付与される非会員時のみ適用
   ============================= */

/* セクションの重なり管理 */
#outer-wall {
    position: relative;
}

/* 見出しをオーバーレイ表示（非会員時のみ） */
#outer-wall .section--advice01__head {
    position: absolute;
    top: 520px;
    left: 0;
    right: 0;
    z-index: 5;
    pointer-events: auto;
}
/* iPad mini 用 */
@media screen and (max-width: 768px) {
    #outer-wall .section--advice01__head {
        top: 130px;
    }
}
@media screen and (max-width: 767px) {
    #outer-wall .section--advice01__head {
        top: 250px;
    }
}



/* 見出しエリアの下側に半透明の白帯を敷いて、背面コンテンツを隠すニュアンス */
#outer-wall .section--advice01__head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -390px;
    height: 1000px;
    background: linear-gradient(
        to bottom,
        rgba(247, 246, 245, 0.10) 0%,
        rgba(247, 246, 245, 0.50) 10%,
        rgba(247, 246, 245, 0.85) 30%,
        rgba(247, 246, 245, 1.00) 50%
    );
    z-index: -1;
}

/* 外壁リスト：1列目以降を非表示 */
#outer-wall .section--advice02__list > li[data-membership="false"]:nth-child(n+5) {
    display: none !important;
}

/* 背面コンテンツの上に余白を作って、オーバーレイ見出しと重ね順を確保 */
#outer-wall .section--advice02__inner {
    position: relative;
    padding: 120px 0 400px;
}

@media screen and (max-width: 1100px) {
    .section--advice01-2__inner {
        justify-content: center;
    }
    .section--advice01-2__title_top {
        font-size: 16px;
        margin: 48px auto 20px;
        width: fit-content;
    }
    .section--advice01-2__title_top::before {
        left: -20px;
        width: 1px;
        height: 32px;
    }
    .section--advice01-2__title_top::after {
        right: -20px;
        width: 1px;
        height: 32px;
    }
    .section--advice01-2__title_bottom {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .section--advice01-2__title_bottom span{
        font-size: 22px;
    }
    .section--advice01-2__title_big {
        font-size: 32px;
        margin-bottom: 0;
    }
    .section--advice01-2__text {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* iPad mini 用 */
@media screen and (max-width: 768px) {
    .section--advice01-2__inner {
        justify-content: center;
        flex-direction: column-reverse;
    }
    .section--advice01-2__title_top{
        font-size: 32px;
        text-align: center;
        margin-bottom: 40px;
        font-family: "Noto Serif JP", serif;
        line-height: 1.5;
        position: relative;
        color: #584D4D;
    }
    .section--advice01-2__title_top::before{
        content: "";
        position: absolute;
        left: -13px;
        bottom: 0;
        background: #584D4D;
        width: 2px;
        height: 48px;
        transform: rotate(160deg);
    }
    .section--advice01-2__title_top::after{
        content: "";
        position: absolute;
        right: -9px;
        bottom: 0;
        background: #584D4D;
        width: 2px;
        height: 48px;
        transform: rotate(200deg);
    }
    
    .section--advice01-2__title_bottom{
        font-size: 28px;
        text-align: center;
        margin-bottom: 40px;
        font-family: "Noto Serif JP", serif;
        line-height: 1.5;
        color: #584D4D;
    }
    
    .section--advice01-2__title_bottom span{
        font-size: 40px;
        font-weight: 700;
    }
    .section--advice01-2__title_big{
        font-size: 56px;
        font-weight: 700;
        color: #584D4D;
        margin-bottom: 48px;
    }
    
    .section--advice01-2__text{
        font-size: 20px;
        line-height: 1.8;
        text-align: center;
        font-family: "Noto Serif JP", serif;
        color: #584D4D;
    }
}

@media screen and (max-width: 767px) {
    #outer-wall .section--advice02__inner {
        padding-top: 10px;
    }
    .section--advice01-2 {
        padding: 0 calc(25 / 750 * 100vw);
    }
    .section--advice01-2__inner {
        flex-direction: column-reverse;
        gap: 40px;
        padding: 0;
    }
    .section--advice01-2__title_top {
        font-size: 16px;
        margin: 48px auto 20px;
        width: fit-content;
    }
    .section--advice01-2__title_top::before {
        left: -20px;
        width: 1px;
        height: 32px;
    }
    .section--advice01-2__title_top::after {
        right: -20px;
        width: 1px;
        height: 32px;
    }
    .section--advice01-2__title_bottom {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .section--advice01-2__title_bottom span{
        font-size: 22px;
    }
    .section--advice01-2__title_big {
        font-size: 32px;
        margin-bottom: 0;
    }
    .section--advice01-2__text {
        font-size: 14px;
        line-height: 1.7;
    }
}