body.page-id-58 .cta_section,
body.page-id-59 .cta_section,
body.page-id-60 .cta_section { display: none; }


/* -------------------- 電話番号コピー禁止 -------------------- */
/* 選択・長押しメニューを抑止（iOS含む） */
.no-copy,
.no-copy * {
  user-select: none;
  -webkit-user-select: none; /* iOS Safari */
  -ms-user-select: none;
  -webkit-touch-callout: none; /* iOS 長押しメニュー */
}

/* 仮にリンクが混ざっていても反応させない */
.no-copy a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: inherit;
}

/* -------------------- リセット・汎用クラス -------------------- */
a {
    margin: 0 !important;
}

/* ページタイトル非表示 */
.wp-block-post-title {
    display: none;
}

/* 見出しサブテキスト */
.is-subtext {
    color: var(--wp--preset--color--primary);
}

/* 見出しサブテキスト 丸 */
.is-subtext::before {
    content: '';
    display: inline-block;
    width: 0.6em;
    height: 0.6em;
    margin-right: 0.5em;
    background: var(--wp--preset--color--accent);
    border-radius: 9999px;
    vertical-align: baseline;
    transform: translateY(-0.05em);
}

/* ブロック 角丸・影 */
.shadow_box {
    border-radius: 10px;
    box-shadow: 0 0 16.5px rgba(66, 156, 188, 0.46);
}

/* -------------------- カスタムプロパティ -------------------- */
:root {
    /* 画像パスを変数化：後でメディアクエリで差し替えできます */
    --bg-url: url('https://beans-net.com/wp-content/uploads/2025/09/OAICF90_2.jpg');
    --bg-url2: url('https://beans-net.com/wp-content/uploads/2025/09/背景ロゴ.png');
    --bg-url3: url('https://beans-net.com/wp-content/uploads/2025/09/背景ロゴ2.png');
    --doc-h: 100vh;
    --g1y: 20vh;
    --g2y: 30vh;
    --g3y: 40vh;
    --g4y: 50vh;
    --g5y: 60vh;
    --g6y: 70vh;
    --g7y: 90vh;
    --g8y: 10vh;
}

/* -------------------- グラデーション背景 -------------------- */
body.page-id-2553 #doc-gradient-bg {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: var(--doc-h);
    z-index: -1;
    pointer-events: none;
    background: 
		linear-gradient(180deg, #ffffff 0%, transparent var(--g8y), transparent 100%),
		radial-gradient(36rem 36rem at 20% var(--g8y), #59adc7, transparent),
		radial-gradient(24rem 24rem at 90% var(--g6y), #a2d2de, transparent), 
		radial-gradient(44rem 24rem at 10% var(--g3y), #79bed1, transparent),
		linear-gradient(
			180deg,
			#badee8 var(--g1y),
			#ffffff var(--g2y),
			#badee8 var(--g3y),
			#ffffff var(--g4y),
			#ffffff var(--g5y),
			#badee8 var(--g6y),
			#ffffff var(--g7y));
    background-repeat: no-repeat;
    background-size: auto;
    background-position: 0 0;
}

body:not(.page-id-2553) #doc-gradient-bg {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: var(--doc-h);
    z-index: -1;
    pointer-events: none;
	background: 
		linear-gradient(180deg, transparent 0%, transparent var(--g2y), #ffffff var(--g3y)),
		linear-gradient(180deg, #ffffff 0%, transparent 14rem, transparent 100%),
		radial-gradient(80rem 36rem at 90% 0%, #59adc7, transparent),
		radial-gradient(80rem 36rem at 0% var(--g1y), #d0e7ee, transparent),
		radial-gradient(80rem 36rem at 100% var(--g2y), #d0e7ee, transparent);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: 0 0;
}

/* 背景ロゴ 暗いVer */
#doc-gradient-bg:before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bg-url2) right 5% top var(--g8y) / 25% no-repeat;
    opacity: 0.1;
    z-index: 0;
    filter: blur(10px);
}

/* 背景ロゴ 明るいVer */
body.page-id-2553 #doc-gradient-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bg-url3) left 1% top var(--g3y) / 25% no-repeat, var(--bg-url3) right 1% top var(--g6y) / 25% no-repeat;
    opacity: 0.4;
    z-index: 0;
    filter: blur(10px);
}

/* 背景ロゴ 明るいVer */
body.page-id-57 #doc-gradient-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bg-url3) left 1% top var(--g1y) / 25% no-repeat, var(--bg-url3) right 1% top var(--g2y) / 25% no-repeat;
    opacity: 0.4;
    z-index: 0;
    filter: blur(10px);
}

body.page-id-58 #doc-gradient-bg:after,
body.page-id-59 #doc-gradient-bg:after,
body.page-id-60 #doc-gradient-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bg-url3) left 1% top var(--g1y) / 25% no-repeat;
    opacity: 0.4;
    z-index: 0;
    filter: blur(10px);
}

/* -------------------- ファーストビュー -------------------- */
/* 人とモノと暮らしをつなぐ */
.first_messe {
    color: #fff;
    text-shadow: 0 3px 16px #279aac;
	margin-top: 0;
}

/* -------------------- MESSAGE セクション -------------------- */
.message_section {
    position: relative;
}

.message_section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(https://beans-net.com/wp-content/uploads/2025/09/ロゴマークのみ.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    mix-blend-mode: multiply;
    opacity: 0.5;
}

/* -------------------- NEWS セクション -------------------- */
.news_section {
    background: #ffffff;
    padding: 1.8rem 3.2rem;
    border-radius: 999px;
    box-shadow: 0 0 16.5px rgba(66, 156, 188, 0.46);
    gap: 3em;
}

.news_section ul {
    flex: 1;
    overflow: hidden;
    height: 24px;
}

.news_section .arrow a {
    position: relative;
    display: inline-block;
    width: 100%;
    padding-right: 2em;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.news_section .arrow a::after {
    content: "\203A";
    display: inline-flex;
    justify-content: center;
    align-items: self-end;
    width: 22px;
    height: 22px;
    border: 1px solid var(--wp--preset--color--secondary-2);
    border-radius: 50%;
    font-size: 1em;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.news_section .arrow a:hover::after {
    background: var(--wp--preset--color--secondary-2);
    color: #fff;
    transition: all 0.5s;
}

/* お知らせ 文字色 */
.news_section .taxonomy-category.wp-block-post-terms a {
    color: var(--wp--preset--color--primary);
}

/* -------------------- SERVICE セクション -------------------- */
.service_cover {
    min-height: 524px;
}

.service_section img {
    transition: transform .45s ease, filter .45s ease;
}

.service_section :hover img {
    transform: scale(1.08);
}

.service_section :hover span {
    background: none !important;
}

/* -------------------- RELATED セクション -------------------- */
/* RELATED バナー */
.related_bn {
    height: 104px;
    display: flex;
    justify-content: center;
    align-items: center;
	overflow: hidden;
}
.category_bn {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
	overflow: hidden;
	padding-left: 0 !important;
}

.related_bn> :first-child,
.category_bn> :first-child {
    flex: 0 0 25%;
}

.related_bn> :not(:first-child),
.category_bn> :not(:first-child) {
    flex: 1;
    padding: 0 0 0 4%;
}

.related_bn:hover {
    opacity: 0.6;
}

.category_bn figure.wp-block-media-text__media>img {
    height: 80px;
	object-fit: cover;
}

.category_bn figure.wp-block-media-text__media {
    margin: 0 !important;
	width: 80px;
    overflow: hidden;
}