@charset "UTF-8";

h2 {
    margin-bottom: 35px;
}

p.align-left {
    text-align: right;
}

.l-mainContent__inner>.post_content {
    padding: 0;
}

/* h1とパンくず調整 */
.c-filterLayer.-texture-dot:after {
    content: none;
}

.l-topTitleArea.c-filterLayer::before {
    content: none;
}

.l-topTitleArea {
    background: #e4e5eb;
    min-height: 428px;
}

.u-obf-cover {
    display: none;
}

h1.c-pageTitle {
    color: #242424;
    font-size: min(5vw, 60px);
    text-align: center;
}

// 画像調整
/* 親は相対配置（必須） */
#top_title_area {
    position: relative;
}

/* 画像レイヤー（テキストの下、背景の上） */
#top_title_area::after {
    content: "" !important;
    position: absolute;
    inset: 0;
    background: url(https://demo-domain.monster/wp-content/uploads/2025/10/mg_mark_800.webp) no-repeat;
    background-size: clamp(320px, 40vw, 743px);
    /* 最小/推奨/最大。最大で800pxを超えない */
    background-position: right -40px bottom 0;
    /* %ではなくpxで “整数” に寄せる */
    z-index: 1;
    pointer-events: none;
}

/* 背景<img>は最下層、テキストは最上層に */
#top_title_area .c-filterLayer__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

#top_title_area .l-topTitleArea__body {
    position: relative;
    z-index: 3;
}


/*h2以下*/
h2.wp-block-heading {
    font-family: "Josefin Sans", Montserrant, "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", 'メイリオ', Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 45px;
    font-weight: normal;
    margin: 5rem 0 0;
    letter-spacing: 8px;
}

h2.wp-block-heading span {
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
}

h2.wp-block-heading span:before {
    content: "/";
    padding: 0 .75rem 0 1rem;
}

#message h3 {
    margin-top: 1rem;
    padding: 0 0 4rem !important;
}

#message .wp-block-media-text {
    padding-bottom: 5rem;
}

#message h4 {
    margin-top: 1rem;
}

@media screen and (max-width:960px) {
    h2.wp-block-heading {
        font-size: 28px;
    }

    #message h3 {
        font-size: 20px !important;
        word-break: auto-phrase !important;
        letter-spacing: 2px !important;
        padding: 0 0 2rem !important;
    }

}

@media (max-width: 600px) {
    .is-stacked-on-mobile>.wp-block-media-text__content {
        padding: 1rem 0 0 !important;
    }
	.l-topTitleArea {
	    min-height: 290px;
	}
	#top_title_area .l-topTitleArea__body {
    	top: 24px;
	}
}

figure.wp-block-image.size-large {
    margin-bottom: 5rem;
}