@supports (height: 100dvh){
	.auth-modal-content{ max-height: 92dvh; }
}
@media (max-width: 900px) {
	#NT_00V_slider,
	#randomSlider {
		display: none !important;
	}
	.w50 {
		width: 90%;
	}
	.wk-lmr {
		grid-template-columns: 12em 1fr;
	}
	FOOTER {
		display: none;
	}
	#footerFloat {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: 90vw;
		max-width: none;
		border-radius: 12px 0 0 12px;
		box-shadow: 0 12px 28px rgba(0,0,0,.22);
		transform: translateX(100%);
		transition: transform .28s ease;
		z-index: 10050;
		overflow: hidden;
		display: block !important;
	}
	#footerFloat.in {
		transform: translateX(0);
	}
	#footerFloatContent {
		position: absolute;
		inset: 12px 8px 12px 12px;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}
	#footerSwipeHandle {
		position: fixed;
		top: 50%;
		right: 0;
		transform: translateY(-50%);
		width: 22px;
		height: 120px;
		border-radius: 12px 0 0 12px;
		background: #111;
		opacity: .75;
		z-index: 10060;
		display: none;
		touch-action: pan-y;
	}
	#footerSwipeHandle::after {
		content: 'プロフィール↓';
		writing-mode: vertical-rl;
		color: #fff;
		font-size: 12px;
		letter-spacing: .1em;
		display: block;
		text-align: center;
		line-height: 1;
		padding: 10px 4px;
		opacity: .9;
	}
	.ff-mode-prof #footerSwipeHandle {
		display: block;
	}
	.ff-open #footerSwipeHandle {
		display: none;
	}
	.ff-mode-iq #footerSwipeHandle::after {
		content: 'お問い合わせ↓';
	}
	.ff-mode-pp #footerSwipeHandle::after {
		content: 'プライバシーポリシー';
	}
	.ff-mode-iq #footerSwipeHandle,
	.ff-mode-pp #footerSwipeHandle {
		display: block;
	}
	.ff-open .menu-toggle,
	.ff-open #menuToggle {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}
	#menuToggle {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 10070;
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		background: none !important;
		color: #000 !important;
		font-weight: 700;
		font-size: 2em;
		line-height: 1;
		padding: 0;
	}
	#menuToggle NAV, #menuToggle UL {
		background: none !important;
		margin: 0;
		padding: 0;
		list-style: none;
		font-family: "Noto Serif JP", "Yu Mincho", serif;
	}
	MAIN#mainContent {
		padding-top: 1.5em;
	}
	NAV#sideMenu {
		transform: translateX(-100%);
		width: 220px;
		height: 100%;
		position: fixed;
		left: 0;
		top: 0;
	}
	NAV#sideMenu.open {
		transform: translateX(0);
	}
	.menu-toggle {
		display: inline-block;
	}
	MAIN#mainContent {
		margin-left:0;
		padding:16px;
	}
	FOOTER {
		font-size:15px;
	}
	.wk-lmr {
		grid-template-columns: 100%;
	}
	.wk-left {
		margin-bottom: .8rem;
	}
	.wk-right-grid {
		grid-template-columns: 6.5em 1fr;
	}
	.ff-mode-prof MAIN#mainContent {
		padding-right: 1em;
	}
	.ff-mode-prof .works-list2 {
		padding-right: 12px;
	}
	.mpv-works {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
	}
	.wk-lmr {
		grid-template-columns: 100% !important;
	}
	.wk-left {
		margin-bottom: .8rem;
	}
	.wk-right-grid {
		grid-template-columns: 4em 1fr;
	}
	#NT_00V_slider .works_card2 .wk-lmr {
		grid-template-columns: 100%;
		grid-template-rows: auto auto;
		height: auto;
		align-items: stretch;
	}
	#NT_00V_slider .works_card2 .wk-left {
		height: 42vw;
		overflow: hidden;
		line-height: 0;
	}
	#NT_00V_slider .works_card2 .wk-left IMG {
		display: block;
		height: 100%;
		width: auto;
	}
	#NT_00V_slider .works_card2.ntv-mini-card {
		width: 92vw;
	}
	#NT_00V_slider .works_card2 .wk-main {
		padding: 10px 12px 14px;
	}
	.work-row {
		grid-template-columns: 7.5em 1fr;
	}
	.wk-lmr {
		grid-template-columns: 100%;
	}
	.wk-right-grid {
		grid-template-columns: 6.5em 1fr;
	}
	.IQ {
		font-size: 1em;
		margin: 0 24px 2em 0;
	}
	#NT_01V .nl-links {
		grid-template-columns: 1fr;
	}
	#footerFloatContent #inquiryForm, #inquiryForm {
		grid-template-columns: 1fr 1fr;
	}
	#TOP_INFO, #PB {
		width: 90%;
		margin-left: initial;
		margin: 0 auto;
	}
	.pb-panels {
		flex-flow: column nowrap!important;
		overflow-x: visible!important;
		overflow-y: auto!important;
	}
	.tategaki {
		writing-mode: initial;
		text-orientation: initial;
	}
	#PB_INFO {
		padding: initial;
		margin: 0 auto;
		padding-top: 1em;
	}  
	#PB_INFO .pl10e {
		padding-left: initial;
	}
	#PB_PANELS,
	#PB_DESCRIPTION,
	.pb-selected-row {
		width: 90%;
		margin: 0 auto;
	}
	.pb-panels {
		flex-flow: column nowrap !important;
		overflow-x: visible !important;
		overflow-y: auto !important;
		gap: initial;
	}
	.pb-group {
		flex-direction: column;
		align-items: stretch;
		gap: .6em;
	}
	.pb-selected-row {
		display: flex;
		gap: 0;
		margin-bottom: 1em;
		width: 100%;
	}
	.pb-selected-row .pb-card {
		flex: 1 1 0;
		min-width: 0;
	}
	.pb-selected-row .pb-card.clip-left {
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
		border-left: none;
	}
	.pb-selected-row .pb-card.clip-right {
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}
	.pb-card .pb-title, .PBselectBefore {
		font-weight: 600;
		font-size: .80rem;
	}
	.ogcard--row {
		display: block;
	}
	.ogcard--row .ogcard__media {
		height: auto;
		aspect-ratio: 1200 / 630;
	}
	.ogcard--row .ogcard__media IMG {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}
