/*
 * トップページ
 * 旧 Elementor ページの表示（余白・サイズ・色・動き）を数値どおりに再現しています。
 * ブレークポイント: スマートフォン 〜767px / タブレット 768〜1024px / PC 1025px〜
 */

/* ---------- ページ全体（旧 .elementor 相当） ---------- */
.ug-front *,
.ug-front *::before,
.ug-front *::after {
	box-sizing: border-box;
}

.ug-front a {
	box-shadow: none;
	text-decoration: none;
}

.ug-front img {
	border: none;
	border-radius: 0;
	box-shadow: none;
	height: auto;
	max-width: 100%;
}

.ug-front embed,
.ug-front iframe,
.ug-front object,
.ug-front video {
	border: none;
	line-height: 1;
	margin: 0;
	max-width: 100%;
	width: 100%;
}

/* ---------- コンテナ ---------- */
.ug-con {
	--ug-gap: 20px;
	position: relative;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: var(--ug-gap);
	min-width: 0;
}

/* 最上位のコンテナ */
.ug-front > .ug-con {
	width: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* 幅いっぱい型（内側パディング 10px） */
.ug-con--full {
	padding: 10px;
}

/* 中央寄せ型（最大幅 1140px） */
.ug-con--boxed {
	padding: 0 10px;
}

.ug-con--boxed > .ug-con__inner {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: var(--ug-gap);
	width: 100%;
	max-width: min(100%, 1140px);
	margin: 0 auto;
	padding: 10px 0;
}

.ug-widget {
	position: relative;
	min-width: 0;
}

/* ---------- テキスト系 ---------- */
.ug-text {
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
	font-weight: var(--e-global-typography-text-font-weight);
	color: var(--e-global-color-text);
}

/* 見出し（SALON / NEWS / GALLERY / RECRUIT） */
.ug-heading {
	font-family: "Tahoma", Sans-serif;
	font-size: 2rem;
	font-weight: 400;
}

.ug-heading__box {
	margin: 0 0 0 1%;
	border-style: double;
	border-width: 0 0 0 10px;
}

.ug-anchor__target {
	display: block;
}

/* ---------- ロゴ帯（Dstyle group.） ---------- */
.ug-band {
	padding: 0;
	gap: 0;
}

.ug-band__bar {
	position: relative;
	z-index: 999999;
	background: #000;
	height: 27px;
	padding: 5px 10px;
	box-sizing: content-box !important;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.ug-band__link {
	display: inline-block;
	width: 105px;
	height: 17px;
	text-decoration: none !important;
}

.ug-band__link img {
	width: 105px;
	height: 17px;
	display: block;
	border: 0;
}

@media (hover: none) and (pointer: coarse) {
	.ug-band__link {
		padding-left: 8px;
		padding-right: 8px;
	}
}

/* ---------- ヒーロー（背景スライドショー） ---------- */
.ug-hero {
	padding: 0;
	gap: 0;
}

/*
 * スライド画像（1920×1080 / 16:9）が上下で見切れないよう、
 * PC・タブレットは表示枠を画像と同じ 16:9 にする（高さ＝横幅×9/16）。
 */
.ug-hero__spacer {
	position: relative;
	flex-shrink: 0;
	height: auto;
	aspect-ratio: 16 / 9;
}

.ug-slideshow {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.ug-slideshow__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition-property: opacity;
	transition-duration: 5000ms;
	transition-timing-function: ease;
}

.ug-slideshow__slide.is-active {
	opacity: 1;
}

.ug-slideshow__image {
	width: 100%;
	height: 100%;
	background-position: 50%;
	background-size: cover;
}

/* ---------- 登場アニメーション（下からフェードイン / 2秒） ---------- */
.ug-anim {
	visibility: hidden;
}

.ug-anim.is-animated {
	visibility: visible;
	animation-name: ugFadeInUp;
	animation-duration: 2s;
}

@keyframes ugFadeInUp {
	from {
		opacity: 0;
		transform: translate3d(0, 100%, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ---------- ロゴと文章（H-3） ---------- */
.ug-intro > .ug-con__inner {
	flex-direction: row;
	gap: 0;
}

.ug-intro__logo {
	flex-shrink: 0;
	justify-content: center;
}

.ug-intro__text {
	justify-content: flex-end;
	margin-left: 5%;
}

/*
 * H-3 の文章は指示書どおりの位置で改行（行の途中では折り返さない）。
 * 1行が最長約49文字のため、文字サイズは列の幅に合わせて自動調整（最大16px）。
 */
.ug-intro__text {
	container-type: inline-size;
}

.ug-intro__lead p {
	white-space: nowrap;
	font-size: min(16px, calc(100cqi / var(--ug-lead-chars, 49)));
}

.ug-image {
	text-align: center;
}

.ug-image img {
	display: inline-block;
	vertical-align: middle;
}

/* ---------- 公式予約アプリ ---------- */
.ug-apps {
	margin-top: 5%;
}

.ug-apps__icons {
	font-size: 0;
	line-height: 1;
	text-align: center;
}

.ug-apps__list {
	display: inline-block;
	width: 100%;
	word-spacing: 2rem;
}

.ug-apps__item {
	display: inline-block;
	word-break: break-word;
}

.ug-app-icon {
	--ug-icon-size: 5vw;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(var(--ug-icon-size) + 2 * .5em);
	height: calc(var(--ug-icon-size) + 2 * .5em);
	font-size: var(--ug-icon-size);
	line-height: var(--ug-icon-size);
	text-align: center;
	border-radius: 10%;
	color: #69727d;
	cursor: pointer;
	transition: all .3s;
	word-spacing: normal;
}

.ug-app-icon:hover {
	color: #fff;
	opacity: .9;
}

.ug-app-icon svg {
	display: block;
	position: relative;
	width: 1em;
	height: 1em;
	fill: #fff;
}

.ug-app-icon--google-play {
	background-color: #69727d;
}

.ug-app-icon--apple {
	background-color: #999;
}

.ug-apps__caption {
	text-align: center;
	font-family: "Tahoma", Sans-serif;
	font-size: 1.1vw;
	font-weight: 400;
}

/* ---------- 各セクション共通 ---------- */
.ug-section {
	margin-top: 10%;
}

/* ---------- NEWS ---------- */
.ug-news__box {
	margin: 0 0 0 5%;
}

.ug-news__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ug-news__item {
	display: flex;
	margin: 0 0 10px;
	padding: 0;
}

.ug-news__item:last-child {
	margin-right: 0;
	margin-bottom: 0;
}

.ug-news__item a {
	display: flex;
	width: 100%;
}

.ug-news__icon {
	margin-right: 15px;
	color: #242424;
	font-size: 25px;
}

.ug-news__icon svg {
	width: auto;
	height: 1em;
	fill: currentColor;
}

.ug-news__title {
	display: block;
	margin-top: 0;
	margin-bottom: 0;
	color: #242424;
	font-family: "Tahoma", Sans-serif;
	font-size: 1.5rem;
	font-weight: 400;
	transition: all .4s;
}

.ug-news__item a:hover .ug-news__title {
	color: #e04d8b;
}

/* ---------- GALLERY ---------- */
.ug-gallery__box {
	padding: 0 1%;
}

.ug-filter {
	margin-bottom: 20px;
	text-align: left;
}

.ug-gallery .ug-filter__item {
	display: inline-block;
	overflow: hidden;
	margin-bottom: 10px;
	padding: 8px 20px;
	max-width: 100%;
	border-style: none;
	border-radius: 3px;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
	background-color: #fff;
	color: #848484;
	font-family: "Noto Sans JP", Sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.2;
	text-transform: uppercase;
	text-overflow: ellipsis;
	cursor: pointer;
	transition: all .3s;
}

.ug-gallery .ug-filter__item:not(:last-child) {
	margin-right: 10px;
}

.ug-gallery .ug-filter__item:hover,
.ug-gallery .ug-filter__item:focus {
	outline: 0;
	color: #fff;
	background-color: #737373;
}

.ug-gallery .ug-filter__item:active,
.ug-gallery .ug-filter__item.is-active {
	color: #4f4f4f;
	background-color: #eaeaea;
}

.ug-grid {
	overflow: hidden;
	margin-right: -10px;
	margin-left: -10px;
}

.ug-grid__item {
	--ug-grid-column: 3;
	display: block;
	float: left;
	overflow: hidden;
	width: calc(100% / var(--ug-grid-column));
	outline: 0;
	border: 10px solid transparent;
	text-decoration: none;
}

.ug-grid__item img {
	display: block;
	width: 100%;
	border-radius: inherit;
	object-fit: cover;
	transition: all .25s;
}

.ug-grid__item img.ug-grow:hover,
.ug-grid__item img.ug-grow:focus,
.ug-grid__item img.ug-grow:active {
	transform: scale(1.1);
}

/* ---------- RECRUIT ---------- */
.ug-recruit {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(1, 1fr);
	grid-auto-flow: row;
	align-content: start;
	justify-content: start;
	gap: 20px;
}

/* ---------- スマートフォン ---------- */
@media (max-width: 767px) {
	.ug-con,
	.ug-con--boxed > .ug-con__inner {
		flex-wrap: wrap;
	}

	.ug-hero__spacer {
		height: 25vh;
	}

	.ug-slideshow__image {
		background-size: contain;
		background-position: center center;
	}

	.ug-grid__item {
		--ug-grid-column: 2;
	}

	.ug-recruit {
		grid-template-columns: repeat(1, 1fr);
	}

}

/* ---------- H-3：タブレット・スマートフォン（〜1024px）はロゴの下に文章 ---------- */
@media (max-width: 1024px) {
	.ug-intro > .ug-con__inner {
		flex-wrap: wrap;
	}

	.ug-intro__logo,
	.ug-intro__text {
		width: 100%;
	}

	.ug-intro__text {
		margin-left: 0;
	}
}

/* ---------- H-3：PC（1025px〜）はロゴを左に詰めて文章の幅を確保 ---------- */
@media (min-width: 1025px) {
	.ug-intro__logo {
		width: auto;
		flex: 0 0 auto;
	}

	.ug-intro__text {
		width: auto;
		flex: 1 1 0;
		margin-left: 3%;
	}
}
