/* =========================================
   BELLEZZA CLINIC
   COMMON PAGE HERO
   H1 3パターン
========================================= */

.page-hero,
.page-hero * {
    box-sizing: border-box;
}


.page-hero {
    width: 100%;
    padding: 24px 0 40px;
}


.page-hero__inner {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
}

.page-hero__en,
.page-hero__title {
    margin: 0;
    padding: 0;
    background: transparent;
    text-align: left;
}

/* =========================================
   ① 施術詳細
   日本語大・英語小
========================================= */

.page-hero--treatment .page-hero__inner {
    padding: 54px 70px 68px;

    background-color: #e9e7e1;
    background-image: url("../img/page-hero-bg.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    border-radius: 0 0 44px 0;
}


/* =========================================
   ① 施術詳細ページ
   英語・日本語：ゴールド縦グラデーション
========================================= */

/* 英語：Italiana */
.page-hero--treatment .page-hero__en {
    margin-bottom: 14px;

    font-family: "Italiana", serif;
    font-size: clamp(26px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.2;

    background: linear-gradient(
        to bottom,
        #272011 0%,
        #94773A 25%,
        #A18B61 50%,
        #5A4525 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 日本語：しっぽり明朝 */
.page-hero--treatment .page-hero__title {
    font-family: "Shippori Mincho", serif;
    font-size: clamp(40px, 5vw, 84px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: .04em;
    overflow-wrap: anywhere;

    background: linear-gradient(
        to bottom,
        #272011 0%,
        #94773A 25%,
        #A18B61 50%,
        #5A4525 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


/* =========================================
   ② その他のページ・一覧
   英語大・日本語小・左寄せ
========================================= */

.page-hero--standard .page-hero__inner {
    padding: 54px 70px 68px;

    background-color: #e9e7e1;
    background-image: url("../img/page-hero-bg.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    border-radius: 0 0 44px 0;
    text-align: left;
}

/* =========================================
   ② その他のページ・一覧
   英語：Italiana 縦グラデーション
   日本語：ゴールド
========================================= */

/* 英語タイトル */
.page-hero--standard .page-hero__en {
    font-family: "Italiana", serif;
    font-size: clamp(64px, 8vw, 100px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.035em;

    background: linear-gradient(
        to bottom,
        #272011 0%,
        #94773A 25%,
        #A18B61 50%,
        #5A4525 100%
    );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 日本語タイトル */
.page-hero--standard .page-hero__title {
    margin-top: 10px;

    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.16em;

    color: #94773A;
    background: transparent;
    -webkit-text-fill-color: #94773A;
}


/* =========================================
   ③ コラム詳細
   背景なし・記事タイトル
========================================= */

.page-hero--article {
    padding: 60px 24px 48px;
    background: transparent;
    border-bottom: 1px solid #d0d0c8;
}

/* =========================================
   コラム詳細：H1を本文の左位置に揃える
========================================= */

.page-hero--article .page-hero__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;

    background: none;
    border-radius: 0;
}

/* スマホ */
@media screen and (max-width: 767px) {

    .page-hero--article .page-hero__inner {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

}

/* =========================================
   ③ コラム詳細ページ
   他ページと同じゴールドグラデーション
========================================= */

.page-hero--article .page-hero__title {
    font-family: "Shippori Mincho", serif;
    font-size: clamp(28px, 3.2vw, 52px);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .02em;
    overflow-wrap: anywhere;

    background: linear-gradient(
        to bottom,
        #272011 0%,
        #94773A 25%,
        #A18B61 50%,
        #5A4525 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.page-hero--article .page-hero__date {
    display: block;
    margin-top: 30px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #555;
}

/* =========================================
   タブレット
========================================= */

@media screen and (max-width: 1024px) {

    .page-hero--treatment .page-hero__inner,
    .page-hero--standard .page-hero__inner {
        padding: 46px 45px 54px;
    }

}

/* =========================================
   スマートフォン
========================================= */

@media screen and (max-width: 767px) {

    .page-hero {
        padding: 16px 16px 28px;
    }

    /* ① 施術詳細 */
    .page-hero--treatment .page-hero__inner {
        padding: 30px 24px 38px;
        border-bottom-right-radius: 28px;
    }

    .page-hero--treatment .page-hero__en {
        margin-bottom: 10px;
        font-size: 21px;
    }

    .page-hero--treatment .page-hero__title {
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.4;
    }

    /* ② その他のページ・一覧 */
    .page-hero--standard .page-hero__inner {
        padding: 32px 24px 40px;
        border-bottom-right-radius: 28px;
        text-align: left;
    }

    .page-hero--standard .page-hero__en {
        font-size: clamp(50px, 12vw, 65px);
    }

    .page-hero--standard .page-hero__title {
        margin-top: 8px;
        font-size: 14px;
    }

    /* ③ コラム詳細 */
    .page-hero--article {
        padding: 35px 16px 30px;
        background: transparent;
    }

    .page-hero--article .page-hero__inner {
        padding: 0;
        background: none;
    }

    .page-hero--article .page-hero__title {
        font-size: 20px;
        line-height: 1.75;
    }

    .page-hero--article .page-hero__date {
        margin-top: 18px;
        font-size: 12px;
    }

}

/* =========================================
   共通H1 背景エリア調整
   ① 施術詳細
   ② 一般ページ・一覧
========================================= */

/* PC：左余白0・右余白100px */
@media screen and (min-width: 768px) {

    .page-hero--treatment,
    .page-hero--standard {
        width: 100%;
        padding: 24px 100px 40px 0;
    }

    .page-hero--treatment .page-hero__inner,
    .page-hero--standard .page-hero__inner {
        width: 100%;
        max-width: none;
        min-height: 350px;
        margin: 0;

        padding: 80px 70px 20px;

        background-color: #e9e7e1;
        background-image: url("../img/page-hero-bg.webp");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;

        border-radius: 0 0 44px 0;
    }

}

/* =========================================
   スマホ：左余白0・右余白50px
   高さは現状維持
========================================= */

@media screen and (max-width: 767px) {

    .page-hero--treatment,
    .page-hero--standard {
        width: 100%;
        padding: 0px 50px 28px 0;
    }

    .page-hero--treatment .page-hero__inner,
    .page-hero--standard .page-hero__inner {
        width: 100%;
        max-width: none;
        min-height: 160px;
        margin: 0;

        padding: 100px 24px 38px;

        border-radius: 0 0 28px 0;
    }

}


/* =========================================
   共通H1：PCの上下余白調整
   ①施術詳細 ②その他のページ
========================================= */

@media screen and (min-width: 768px) {

    .page-hero--treatment,
    .page-hero--standard {
        padding-top: 0px;
        padding-bottom: 0;
    }

    .page-hero--treatment .page-hero__inner,
    .page-hero--standard .page-hero__inner {
        min-height: 350px;

        /* 上・右・下・左 */
        padding: 145px 70px 30px;

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

}

/* =========================================
   共通H1：本文の左位置に揃える
   PCのみ
========================================= */

@media screen and (min-width: 768px) {

    .page-hero--treatment .page-hero__inner,
    .page-hero--standard .page-hero__inner {

        /* 本文のコンテンツ幅に合わせる */
        padding-left: max(
            70px,
            calc((100vw - 1100px) / 2)
        );

    }

}
