/* パララックス見出し用のスタイル */
:root {
    --main-padding: 100px 20px;
    --mobile-padding: 50px 20px;
    --main-bg-color: rgba(0, 0, 0, 0.6);
    --text-color: white;
}

.lp-heading {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: calc(50% - 50vw);
    padding: var(--main-padding);
    position: relative;
    width: 100vw;
}

.lp-heading__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-bg-color);
    z-index: 1;
}

.lp-heading__content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
}

.lp-heading__content h1,
.lp-heading__content h2,
.lp-heading__content h3,
.lp-heading__content h4,
.lp-heading__content h5,
.lp-heading__content h6 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.4;
    text-align: center;
}

.custom-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.custom-list li {
    font-size: clamp(1rem, 2vw, 1.8rem);
    margin-bottom: 15px;
    font-weight: bold;
    position: relative;
    padding-left: 2em;
}

.custom-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #db2eea;
}

@media (max-width: 768px) {
    .lp-heading {
        background-attachment: scroll;
        padding: var(--mobile-padding);
    }

    .lp-heading__content h1,
    .lp-heading__content h2,
    .lp-heading__content h3,
    .lp-heading__content h4,
    .lp-heading__content h5,
    .lp-heading__content h6 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    .custom-list li {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }
}

/* .fade-in-h2 クラスのアニメーション設定 */
.fade-in-h2 {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in-h2.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* お知らせセクションのスタイル */
.p-info-section {
	margin-bottom: 3em;
}
.p-info-section .wp-block-heading {
	background-color: #bf00ff; /* 画像に近い紫色 */
	color: #ffffff;
	padding: 0.8em 1em;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
}
.p-info-section .wp-block-heading span {
	font-size: 1.5rem !important; /* 文字サイズを調整 */
}
.p-info-section p {
	padding: 0 1em;
	line-height: 2; /* 行間を調整 */
}

@media (min-width: 960px) {
	.p-info-section .wp-block-heading {
		width: auto;
		margin-left: 0;
		margin-right: 0;
	}
}

/* Hero Section */
.yukemuri-hero {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	line-height: 0;
}

.yukemuri-hero__image {
	width: 100%;
	height: auto;
	display: block;
}

.yukemuri-hero__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.yukemuri-hero__inner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	text-align: center;
	padding: 20px;
	width: 100%;
	color: #fff;
}

.yukemuri-hero__title {
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: bold;
	line-height: 1.5;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.yukemuri-introduction {
	text-align: center;
	margin: 4em 0;
	font-size: 1.5rem;
}

.yukemuri-introduction p {
	margin-bottom: 2em;
	line-height: 1.8;
}

.yukemuri-introduction p:last-child {
	margin-bottom: 0;
}

.yukemuri-introduction .note {
	text-align: right;
	font-size: 0.9rem;
	font-weight: normal;
	color: #fff;
}

/* ヘッダー全体を非表示 */
.l-header {
  display: none;
}

/* ログイン時の管理バーによる上部余白を削除 */
html.admin-bar,
body.admin-bar {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

#header,
.c-infoBar,
.l-fixHeader__inner {
	display: none !important;
}

#footer {
	background-color: #000 !important;
	color: #fff !important;
}

.image-spacer {
	margin-bottom: 50px; /* この値を変更すると余白を調整できます。 */
}
