@charset "utf-8";
/* Simple fluid media*/
img, object, embed{
}
*,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,form,fieldset,input,textarea,p,th,td,address,figure{
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-left-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;
    vertical-align: baseline;
    line-height: 1;
    background-repeat: no-repeat;
    background-size: contain;
    letter-spacing: 0.2em;
}
img {
	width:100%;
	height: auto;
}
/*font*/
.font_min{
	font-family: "fot-tsukumin-pr6n", "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", "serif";
}
.font_kaisei{
	 font-family: "Kaisei Decol", serif;
}

.font_go{
    font-family: 'Noto Sans JP', sans-serif;
}
.vertical {
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    width: 100%;
}
.color_white{
	color: #fff;
}


/*reset */
html, body {
  height:100%;
}
body{
    width: 100%;
}
body.is-loading {
	overflow: hidden;
	height: 100vh;
}

/* ===== 初期ローディングアニメーション ===== */
.loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;   /* ← 100% から変更:main_cnt01_logoと同じ基準(vh)に統一 */
	z-index: 9999;
	background-color: #f6f3ee;
	transition: opacity 0.9s ease;
}

.loader.is-hidden {
	opacity: 0;
	pointer-events: none;
}

/* ロゴを画面中央に絶対配置(実ページのmain_cnt_logoと同じ中央位置・同じサイズ) */
.loader_logo_wrap {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;   /* ← 実ページの max-width: 200px に合わせて修正 */
}

.loader_logo {
	position: relative;
	clip-path: inset(100% 0 0 0);   /* 最初は下端で完全に隠れた状態 */
	animation: loaderLogoReveal 1.3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.loader_logo img {
	display: block;
	width: 100%;
	height: auto;
}

/* 下から上へ、少しずつ全貌が見えてくる */
@keyframes loaderLogoReveal {
	to {
		clip-path: inset(0 0 0 0);
	}
}

/* ロゴ下の線:ロゴの実際の高さ(loader_logo_wrapのcontent高さ)を基準に、その直下へ配置 */
.loader_line {
	position: absolute;
	top: 100%;              /* ← wrap(=ロゴ画像)の下端を基準に */
	left: 50%;
	margin-top: 1.4em;      /* ← ロゴとの間隔 */
	transform: translateX(-50%);
	width: 0;
	height: 1px;
	background-color: #333;
	opacity: 0;
	animation: loaderLineIn 0.9s ease 1.1s forwards;
}

@keyframes loaderLineIn {
	0% {
		width: 0;
		opacity: 0;
	}
	10% {
		opacity: 1;
	}
	100% {
		width: 48px;
		opacity: 1;
	}
}
a,svg,img,.hover_anm{
    transition: all  0.3s ease;
}
a:hover{
    text-decoration: none;
}

/* リンク・画像のネイティブドラッグを無効化(ドラッグ時の描画バグ対策) */
a, img, svg, button {
	-webkit-user-drag: none;
	user-drag: none;
	-webkit-user-select: none;
	user-select: none;
}

html { 
	font-size:1.3333333333vw;
}

.pc480{
	visibility:hidden;
	display: none;
}
.pc768{
	visibility:hidden;
	display: none;
}
.pc1200{
	display: none;
}
.pd_top02 {
    padding-top: 2em;
}
.pd_top04 {
	padding-top: 4em;
}
.pd_top06 {
    padding-top: 6em;
}
.pd_top08 {
	padding-top: 8em;
}
.pd_top10 {
	padding-top: 10em;
}
.pd_top12 {
	padding-top: 12em;
}
.pd_btm02 {
    padding-bottom: 2em;
}
.pd_btm04 {
    padding-bottom: 4em;
}
.pd_btm06 {
    padding-bottom: 6em;
}
.pd_btm08 {
    padding-bottom: 8em;
}
.pd_btm10 {
    padding-bottom: 10em;
}
.pd_btm12 {
    padding-bottom: 12em;
}
.mgn_top02{
	margin-top: 2em;
}
.mgn_top04{
	margin-top: 4em;
}
.mgn_top06{
	margin-top: 6em;
}
.mgn_top08{
	margin-top: 6em;
}
.mgn_btm02{
	margin-bottom: 2em;
}
.mgn_btm04{
	margin-bottom: 4em;
}
.mgn_btm06{
	margin-bottom: 6em;
}
.mgn_btm08{
	margin-bottom: 6em;
}



.main {
	position: relative;
}

.main_cnt {
	position: relative;
	z-index: 2;
	margin-top: -100vh;   /* ← 追加:動画の上に重ねる */
}

.main_mv_bk {
	position: sticky;      /* ← fixed から変更 */
	top: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	min-height: 667px;
	z-index: 1;
}

.main_mv_bk video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.main_cnt01_logo {
	position: relative;
	width: 100%;
	height: 100vh;
}
.main_cnt_logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	max-width: 200px;
}
/* スクロールダウン表示 */
.scroll_down {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, 200px);
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #fff;
	width: max-content;
}

.scroll_down_bar {
	position: relative;
	width: 1px;
	height: 50px;
	background-color: rgba(255, 255, 255, 0.3);
	overflow: hidden;
	margin-bottom: 8px;
}

.scroll_down_bar::after {
	content: "";
	position: absolute;
	top: -100%;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	animation: scrollDownAnim 1.6s infinite;
}

@keyframes scrollDownAnim {
	0% {
		top: -100%;
	}
	100% {
		top: 100%;
	}
}

.scroll_down_text {
	font-size: 12px;
	letter-spacing: 0.2em;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.main_cnt_lead {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	font-size: min(2.5em, 20px);
	line-height: 2.5;
	letter-spacing: 0.15em;
	max-width: 760px;
}

.main_cnt02 {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-top: 50em;
}

.main_cnt02_title {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 12em;
}

.main_cnt02_title_jp {
	font-size: min(10em, 100px);
	line-height: 1.3;
	writing-mode: vertical-rl;
	letter-spacing: 0.3em;
}

.main_cnt02_title_en {
	font-size: min(2.5em, 20px);
	letter-spacing: 0.3em;
}

/* ===== ヘッダー ===== */
.l-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 300;
	padding-top: 4em;
	padding-right: 5em;
	padding-left: 5em;
	padding-bottom: 0px;
	mix-blend-mode: difference;
}

.l-header_inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* メニューボタンとインスタアイコンをまとめて右側に配置するためのラッパー */
.l-header_right {
	display: flex;
	align-items: center;
	gap: 28px;
}

.l-header_insta {
	display: flex;
	align-items: center;
}

.l-header_insta img {
	width: 22px;
	height: auto;
}

.l-header_logo_a {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.l-header_logo_img {
	width: 40px;
	max-width: 90px;
	height: auto;
}

.l-header_logo_txt {
	font-size: 10px;
	letter-spacing: 0.15em;
}

/* menuボタン */
.menu_btn {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	position: relative;
	z-index: 210;
}

.menu_btn_icon {
	position: relative;
	width: 24px;
	height: 24px;
}

.menu_btn_sq {
	position: absolute;
	left: 50%;
	width: 14px;
	height: 14px;
	background-color: #fff;
	transform: translateX(-50%);
	transition: transform 0.5s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.menu_btn_sq01 {
	top: 0;
	transform: translate(-50%, -50%) rotate(45deg)
}

.menu_btn_sq02 {
	bottom: 0;
	opacity: 0.5;
	transform: translate(-50%, -50%) rotate(45deg)
}

/* menu / close テキスト切り替え */
.menu_btn_text_wrap {
	position: relative;
	display: block;
	width: max-content;
	height: 12px;
}

.menu_btn_text {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	font-family: "Kaisei Decol", serif;
	font-size: 10px;
	letter-spacing: 0.15em;
	color: #fff;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.menu_btn_text_open {
	opacity: 1;
}

.menu_btn.is-active .menu_btn_sq01 {
	top: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
}
.menu_btn.is-active .menu_btn_sq02 {
	bottom: 50%;
	opacity: 0.5;
	transform: translate(-50%, 50%) rotate(-45deg);
}
.menu_btn.is-active .menu_btn_text_open {
	opacity: 0;
}
.menu_btn.is-active .menu_btn_text_close {
	opacity: 1;
}

/* ===== フルスクリーンメニュー ===== */
.g_nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 200;
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s linear 0.9s;
}

.g_nav.is-open {
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

.g_nav_bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-color: rgba(246, 243, 238, 0.92);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1) 0.3s;
}

.g_nav.is-open .g_nav_bg {
	transform: scaleY(1);
	transition-delay: 0s;
}

.g_nav_inner {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}

.g_nav_list {
	list-style: none;
	text-align: center;
}

.g_nav_item {
	overflow: hidden;
	margin-bottom: min(3em, 32px);
}

.g_nav_item a {
	display: inline-block;
	font-family: "Kaisei Decol", serif;
	font-size: min(5em, 36px);
	color: #000;
	letter-spacing: 0.1em;
	opacity: 0;
	transform: translateY(100%);
	transition: transform 0.5s ease, opacity 0.5s ease;
}

.g_nav.is-open .g_nav_item a {
	opacity: 1;
	transform: translateY(0);
}

/* 開く時:上から順にふわっと表示 */
.g_nav.is-open .g_nav_item:nth-child(1) a { transition-delay: 0.35s; }
.g_nav.is-open .g_nav_item:nth-child(2) a { transition-delay: 0.42s; }
.g_nav.is-open .g_nav_item:nth-child(3) a { transition-delay: 0.49s; }
.g_nav.is-open .g_nav_item:nth-child(4) a { transition-delay: 0.56s; }
.g_nav.is-open .g_nav_item:nth-child(5) a { transition-delay: 0.63s; }
.g_nav.is-open .g_nav_item:nth-child(6) a { transition-delay: 0.70s; }

/* 閉じる時:下から順にふわっと消える(逆順) */
.g_nav_item:nth-child(1) a { transition-delay: 0.25s; }
.g_nav_item:nth-child(2) a { transition-delay: 0.2s; }
.g_nav_item:nth-child(3) a { transition-delay: 0.15s; }
.g_nav_item:nth-child(4) a { transition-delay: 0.1s; }
.g_nav_item:nth-child(5) a { transition-delay: 0.05s; }
.g_nav_item:nth-child(6) a { transition-delay: 0s; }

body.nav-open {
	overflow: hidden;
	height: 100vh;
}


.l-header_logo {
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 1s ease, transform 1s ease;
	pointer-events: none;
}

.l-header_logo.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}
.main_mv_bk video {
	filter: brightness(1);
	transition: filter 1s ease;
}

.main_mv_bk.is-dimmed video {
	filter: brightness(0.4);
}

/* ナビゲーションの背景動画 */
.g_nav_movie {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 0;
	opacity: 0;                      /* ← 追加:デフォルト非表示 */
	transition: opacity 0.3s ease;   /* ← 追加 */
}

.g_nav.is-open .g_nav_movie {
	opacity: 1;                      /* ← 追加:開いたら表示 */
	transition-delay: 0s;            /* ← 追加:開く時は即座に */
}

.g_nav_movie .sp768,
.g_nav_movie .pc768 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.g_nav_movie video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}


/* ===== フローティングボタン(共通/SP時:下部固定・横並び) ===== */
.floating_btn {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 250;
	display: flex;
	gap:0.3em;
}

.floating_btn_item {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	font-family: "Kaisei Decol", serif;
	font-size: min(2.5em, 18px);
	letter-spacing: 0.1em;
	text-align: center;
}



.floating_btn_contact {
	background-color: #fff;
	color: #000;
}
.floating_btn_document {
	background-color: #fff;
	color: #000;
}
.floating_btn_reservation {
	background-color: #fff;
	color: #000;
}

/* ===== アンダーラインアニメーション(共通) ===== */
.a_line {
	position: relative;
	display: inline-block;
	text-decoration: none;
	padding-bottom: 6px;
}

.a_line::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background-color: currentColor;

	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.a_line:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}
.g_nav_bk {
	display: none;
	opacity: 0;
	transform: translateY(20px);
	transition: transform 0.6s ease, opacity 0.6s ease;
}
.g_nav_logo_txt {
	font-size: 12px;
	color: #000000;
	text-align: center;
	padding-top: 2em;
}

/* 開く時:リスト全表示(0.70s)が終わった後に、ふわっと表示 */
.g_nav.is-open .g_nav_bk {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.85s;
}

/* 閉じる時:一番最初に消える(リストより先にフェードアウト開始) */
.g_nav_bk {
	transition-delay: 0s;
}


/* ===== タイトルアニメーション(共通/他のタイトルにも使用) ===== */
.title_anime {
	text-align: center;
}

.title_anime_en,
.title_anime_jp {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease, transform 0.8s ease, color 1s ease;
}

.title_anime_en {
	font-size: min(4em, 30px);
	letter-spacing: 0.2em;
}

.title_anime_line {
	display: block;
	width: 40px;
	height: 1px;
	background-color: #000;
	margin: 16px auto;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.8s ease 0.25s;
}

.title_anime_jp {
	font-size: min(2em, 13px);
	letter-spacing: 0.2em;
	transition-delay: 0.4s;
}

/* 画面内に入ったら表示 */
.title_anime.is-inview .title_anime_en {
	opacity: 1;
	transform: translateY(0);
}
.title_anime.is-inview .title_anime_line {
	transform: scaleX(1);
}
.title_anime.is-inview .title_anime_jp {
	opacity: 1;
	transform: translateY(0);
}


/* ===== ガウスぼかし表示アニメーション(共通/他の要素にも使用) ===== */
.fade_blur {
	opacity: 0;
	filter: blur(12px);
	transform: translateY(24px);
	transition: opacity 1s ease, filter 1s ease, transform 1s ease;
}

.fade_blur.is-inview {
	opacity: 1;
	filter: blur(0);
	transform: translateY(0);
}


/* ===== フェードアップ表示アニメーション(共通/他の要素にも使用) ===== */
.fade_up {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 1s ease, transform 1s ease;
}

.fade_up.is-inview {
	opacity: 1;
	transform: translateY(0);
}


/* ===== works セクション ===== */
.works {
	width: 100%;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 14em;
	padding-top: 14em;
	background-color: #F6F3EE; /* ← 画面内に無い時のデフォルト */
	transition: background-color 3s ease; /* ← ふわっと変化させる */
	position: relative;
	z-index: 20;
}

/* 画面内に入ったら白背景へ */
.works.is-inview {
	background-color: #fff;
}

/* worksセクション内のtitle_animeだけ、文字色を背景色に連動させる */
.works .title_anime_en,
.works .title_anime_jp {
	color: #fff;
}
.works.is-inview .title_anime_en,
.works.is-inview .title_anime_jp {
	color: #000;
}

.works_swiper_wrap {
	margin-top: 3em;
	overflow: hidden;
	margin-left: auto;
	margin-right: auto;
	max-width: 1200px;
	position: relative; /* ← 追加: 疑似要素の位置基準 */
}

/* ↓ mask-image をやめて、白いグラデーションを上から重ねる方式に変更。
   mask-image は中の要素(スライド)が動くたびにマスク合成をリアルタイムで
   再計算するため負荷が高い。疑似要素なら一度描画されるだけで済む。 */
/* グラデーションの色を滑らかにアニメーションさせるため、
   カスタムプロパティを「色」として登録する(これがないと一部ブラウザで
   backgroundのtransitionがグラデーションの色に効かず、瞬時に切り替わってしまう) */
@property --works-edge-color {
	syntax: '<color>';
	inherits: true;
	initial-value: #F6F3EE;
}

.works_swiper_wrap::before,
.works_swiper_wrap::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 12%;
	z-index: 5;
	pointer-events: none;
	--works-edge-color: #F6F3EE; /* ← 画面内に無い時のデフォルト */
	transition: --works-edge-color 3s ease; /* ← 追加: .worksの背景色変化に合わせてふわっと変化 */
}

.works_swiper_wrap::before {
	left: 0;
	background: linear-gradient(to right, var(--works-edge-color), transparent);
}

.works_swiper_wrap::after {
	right: 0;
	background: linear-gradient(to left, var(--works-edge-color), transparent);
}

/* 画面内に入ったら白へ */
.works.is-inview .works_swiper_wrap::before,
.works.is-inview .works_swiper_wrap::after {
	--works-edge-color: #fff;
}

.works_more {
	display: flex;
	justify-content: center;
	margin-top: 3em;
}

.works_more_btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding-top: 0.5em;
	padding-right: 1.2em;
	padding-left: 1.2em;
	padding-bottom: 0.7em;
	border: 1px solid #ccc;
	border-radius: 999px;
	font-size: min(3em, 16px);
	letter-spacing: 0.15em;
	color: #000;
	text-decoration: none;
	overflow: hidden;   /* ← 追加:内側の背景アニメーションをボタンの丸みで切り取る */
	z-index: 0;         /* ← 追加:疑似要素との重なり順の基準に */
}

/* ↓追加:ホバー時に広がる背景 */
.works_more_btn::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background-color: #f6f3ee;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.5s ease, height 0.5s ease;
	z-index: -1;   /* テキストより背面に */
}

.works_more_btn:hover::before {
	width: 250%;   /* ボタン全体を覆うくらい大きく広げる */
	height: 250%;
}

.works_more_btn:hover {
	border-color: #f6f3ee;
}

.works_more_arrow {
	font-family: sans-serif;
}
.works_slide_img {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	background-color: #ddd;
	display: block;   /* ← 追加:aタグをブロック要素化し、円全体をクリック領域に */
}
/* .works_slide_img を <a> から <button> に変更したため、
   button要素のデフォルトの見た目(枠線・背景・パディングなど)をリセット */
.works_slide_img {
	border: none;
	background: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	font: inherit;
}
.works_slide_img:hover img {
	-webkit-box-shadow: inset 0px 0px 10px 0px rgba(103,103,103,0.30);
	box-shadow: inset 0px 0px 10px 0px rgba(103,103,103,0.30);
}

/* ===== FLOW セクション ===== */
.flow {
	width: 100%;
	padding-top: 6em;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 12em;
	background-color: #FFFFFF;
	position: relative;
	z-index: 20;
}

/* タブ */
.flow_tab {
	display: flex;
	max-width: 900px;
	margin: 6em auto 0;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);   /* ← 追加:タブ全体にふんわり影 */
}

.flow_tab_btn {
	flex: 1;
	background: #fff;
	border: none;
	padding: 1.2em 1em;
	font-size: min(2em, 14px);
	line-height: 1.6;
	color: #000;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.flow_tab_btn.is-active {
	background: #f6f3ee;
	color: #000;
	font-weight: bold;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);   /* ← 追加:アクティブなタブを少し浮き上がらせる */
	position: relative;
	z-index: 1;
	clip-path: inset(-12px -12px 0 -12px);   /* ← 追加:下側の影だけをクリップ */
}

/* パネル(タブの中身) */
.flow_panel {
	display: none;
	background: #f6f3ee;
	padding: 5em 0 2em;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.flow_panel.is-active {
	display: block;
}

/* ↓追加:表示アニメーション用のクラス */
.flow_panel.is-active.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.flow_swiper {
	width: 100%;
	max-width: 1625px;
	margin: 0 auto;
	padding: 0 2em;
	padding-bottom: 3.5em !important; /* ← 追加: 下のスクロールバー分の余白 */
	position: relative; /* ← 追加: スクロールバーのabsolute配置の基準にする */
}

/* ↓追加: PCでスワイプ(ドラッグ)できることがわかるようカーソルを変更 */
@media (hover: hover) and (pointer: fine) {
	.flow_swiper {
		cursor: grab;
	}
	.flow_swiper:active {
		cursor: grabbing;
	}
}

/* 現在どこまで見えているかを示すスクロールバー */
.flow_swiper_scrollbar {
	position: absolute;
	left: 2em;
	right: 2em;
	bottom: 0;
	width: auto;
	height: 3px;
	background-color: #e5ded0;
	border-radius: 999px;
}

.flow_swiper_scrollbar .swiper-scrollbar-drag {
	background-color: #b8a888;
	border-radius: 999px;
}

/* ↓追加: 1625px(.flow_swiperのmax-width)以上ではtab2(リノベーションの場合・4STEP)が
   全て表示され、スクロールの必要が無いため、バーを非表示にする */
@media (min-width: 1625px) {
	[data-swiper="tab2"] .flow_swiper_scrollbar {
		display: none;
	}
}

/* 変更前:.flow_step 単体 → 変更後:.flow_swiper .swiper-slide.flow_step で詳細度アップ */
.flow_swiper .swiper-slide.flow_step {
	width: min(70%, 350px) !important;
    flex-shrink: 0;
    position: relative;
    background: #fff;
    border-radius: 25px;
    padding: 6% 2% 7%;
    text-align: center;
    margin-left: min(4%,27px);
}

/* STEPとSTEPの間の矢印(最後以外に表示) */
.flow_step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -8%;
	width: 12px;
	height: 12px;
	border-top: 1px solid #999;
	border-right: 1px solid #999;
	transform: translateY(-50%) rotate(45deg);
}

/* 最後のスライドのみ:右にも余白を追加 */
.flow_swiper .swiper-slide.flow_step:last-child {
	margin-right: min(4%,27px);
}

.flow_step_num {
	font-size: min(3.5em, 22px);
    letter-spacing: 0.1em;
    margin-bottom: 1.2em;
    margin-top: 0.8em;
    text-align: center;
}

.flow_step_icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 1.4em;
	border-radius: 50%;
	overflow: hidden;
	padding: 20px;
	background-color: #FFFFFF;
	border: 1px solid #E0E0E0;
}

.flow_step_icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.flow_step_title {
	font-size: min(3em, 17px);
    letter-spacing: 0.1em;
    margin-bottom: 1.5em;
    margin-top: 1.8em;
}

.flow_step_text p {
	font-size: min(1.9em, 13px);
    line-height: 1.9;
    color: #000;
    width: 71%;
    margin: 0 auto;
    text-align: left;
}

/* 下部の注釈 & リンク */
.flow_note {
	text-align: center;
	font-size: min(1.6em, 13px);
	color: #000;
	margin-top: 2.5em;
	padding-top: 0;
	padding-right: 1em;
	padding-left: 1em;
	padding-bottom: 2em;
}

.flow_more {
	text-align: center;
	margin-top: 1em;
}

.flow_more a {
	font-size: min(2em, 14px);
	color: #000;
}
.flow_panel_wrap {
	background-color: #f6f3ee;
	padding-bottom: 4em;
	position: relative;        /* ← 追加 */
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.07);   /* ← 追加:下方向の影 */
	clip-path: inset(0 -20px -20px -20px);          /* ← 追加:上・左・右の影をクリップして消す */
	
}


/* ===== FAQ セクション ===== */
.faq {
	width: 100%;
	padding: 6em 0;
	background-color: #fff;
	position: relative;
	z-index: 20;
}

.faq_list {
	max-width: 900px;
	margin: 6em auto 0;
	padding: 0 3em;
}



.faq_question {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 1.6em;
	background: #f6f3ee;
	border: none;
	margin: 0;
	padding: min(3em,30px);
	border-radius: 6px;
	cursor: pointer;
	text-align: left;
}

.faq_question_text {
	font-size: min(2em, 16px);
	letter-spacing: 0.1em;
	color: #333;
	line-height: 1.7;
}

/* +ボタン(→の形にアニメーション) */
.faq_icon {
	position: relative;
	flex-shrink: 0;
	width: 10px;
	height: 10px;
}

.faq_icon_bar {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: #333;
	transform: translateY(-50%);
	transition: transform 0.4s ease;
}

.faq_icon_bar02 {
	transform: translateY(-50%) rotate(90deg);   /* 縦棒(+の縦線) */
}
.faq_item{
	margin-bottom: min(3em,30px);
}

/* 開いた時:+ → − に変化(縦棒を寝かせて消す) */
.faq_item.is-open .faq_icon_bar01 {
	transform: translateY(-50%) rotate(180deg);
}
.faq_item.is-open .faq_icon_bar02 {
	transform: translateY(-50%) rotate(0deg);
	opacity: 0;
}

/* 回答部分:高さアニメーション */
.faq_answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease;
}

.faq_answer_inner {
	padding-top: 2em;
	padding-right: 1.6em;
	padding-left: 1.6em;
	padding-bottom: 4em;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.faq_item.is-open .faq_answer_inner {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.1s;
}

.faq_answer_inner p {
	font-size: min(2em, 13px);
	line-height: 2;
	color: #666;
}


/* ===== STAFF セクション ===== */
.staff {
	width: 100%;
	padding-top: 6em;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 12em;
	background-color: #fff;
	text-align: center;
	position: relative;
	z-index: 20;
}

.staff_lead {
	margin-top: 2em;
	font-size: min(2em, 14px);
	letter-spacing: 0.1em;
	color: #333;
}

.staff_list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 3.5em;
	margin: 0 auto;
	margin-top: 3em;
	padding: 0 1.5em;
	max-width: 610px;
}

.staff_item {
	width: 43%;
	position: relative;
	padding-bottom: min(4em,30px);
}
.staff_item::before{
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50%;
	background: #f6f3ee;
	border-radius: 10px;
}


/* 写真の背景:上部が半円形になった台形っぽい形 */
.staff_photo {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;

	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}




/* 写真本体:背景より一回り小さく、手前に配置 */
.staff_photo_img {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 82%;             /* ← 背景よりひとまわり小さく */
	height: 92%;
	object-fit: cover;
	object-position: top center;
	border-radius: 50em;
	z-index: 2;
}

.staff_role {
	margin-top: 1em;
	font-size: min(2em, 14px);
	letter-spacing: 0.15em;
	color: #333;

	/* ↓表示アニメーション用の初期状態 */
	opacity: 0;
	transform: translateY(15px);
	transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}

/* 画面内に入ったら表示 */
.staff_item.is-inview .staff_photo {
	opacity: 1;
	transform: translateY(0);
}

.staff_item.is-inview .staff_role {
	opacity: 1;
	transform: translateY(0);
}


/* ===== EVENT / SEMINAR セクション ===== */
.event {
	width: 100%;
	padding-top: 6em;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 12em;
	background-color: #fff;
	text-align: center;
	position: relative;
	z-index: 20;






}

.event_list {
	max-width: 2200px;
	margin: 8em auto 0;
	padding: 0 1.5em;
	display: flex;
	gap: 7em;
	flex-wrap: wrap;
	justify-content: center;
}
 
/* event_row 自体がリンク(aタグ)になったため、display/text-decorationをリセット */
.event_row {
	display: flex;
	align-items: stretch;
	gap: 1em;
	text-decoration: none;
	color: #000;
	padding-bottom: min(6%,35px);
	padding-right: min(3%,35px);
	border-radius: 10px;
	max-width: 480px;
}
 
/* 左側の縦書きカテゴリラベル */
.event_label {
	flex-shrink: 0;
	width: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 4px;
}
 
.event_label_line {
	display: block;
	width: 16px;
	height: 1px;
	background-color: #333;
	margin-bottom: 12px;
	transition: background-color 0.3s ease;
}
 
.event_label_text {
	writing-mode: vertical-rl;
	font-size: min(1.7em, 12px);
	letter-spacing: 0.15em;
	color: #666;
	transition: color 0.3s ease;
}
 
/* カード本体 */
.event_card {
	position: relative;
	flex: 1;
	display: block;
}

/* 写真+本文をまとめる内側のボックス */
.event_card_in {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	margin-bottom: 5%;
}

/* ホバー時:event_row全体で判定し、event_card_in / event_card_btn それぞれにシャドウ */
.event_row:hover .event_card_in {
	transform: translateY(-6px);
	box-shadow: 0 20px 34px rgba(0, 0, 0, 0.14);
}

.event_row:hover .event_label_line {
	background-color: #000;
}
 
.event_row:hover .event_label_text {
	color: #000;
}
.event_row::before{
	content: "";
	position: absolute;
	background: #f6f3ee;
	width: 100%;
	height: 40%;
	bottom: 0;
	left: 0;
}

.event_card_photo {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
 
.event_card_photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}
 
.event_row:hover .event_card_photo img {
	transform: scale(1.08);
}
 
.event_card_body {
	padding-top: 6%;
	padding-right: 3%;
	padding-left: 9%;
	padding-bottom: 7%;
	background: #fff;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
 
.event_card_ttl {
	font-size: min(3em, 16px);
	line-height: 2;
	letter-spacing: 0.05em;
	margin-bottom: 0.8em;
	text-align: left;
}
 
.event_card_date,
.event_card_place {
	font-size: min(2em, 12px);
	color: #666;
	line-height: 1.8;
	text-align: left;
}
 
.event_card_btn {
	position: relative;
	width: 100%;
	text-align: center;
	padding: 1.2em;
	color: #fff;
	letter-spacing: 0.1em;
	font-size: min(2.4em, 14px);
	transition: filter 0.3s ease, transform 0.4s ease, box-shadow 0.4s ease;
	overflow: hidden;
	border-radius: 10px;
}

/* ホバー時:ボタン自体にも独立してシャドウ */
.event_row:hover .event_card_btn {
	filter: brightness(1.12);
	transform: translateY(-6px);
	box-shadow: 0 20px 34px rgba(0, 0, 0, 0.14);
}

.event_card_btn span {
	position: relative;
	z-index: 1;
}

.event_card_btn.is-red {
	background-color: #6b1f24;
}

.event_card_btn.is-green {
	background-color: #3f6b4a;
}
.event_card_btn.is-gray {
	background-color:#8E8E8E;
}


 
/* ボタンの上を光がすっと通り抜けるホバー演出 */
.event_card_btn::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
	transition: left 0.6s ease;
}
 
.event_row:hover .event_card_btn::after {
	left: 120%;
}
 
/* もっと見るボタン */
.event_more {
	display: flex;
	justify-content: center;
	margin-top: 3em;
}
 
.event_more_btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	background: none;
	border: 1px solid #ccc;
	border-radius: 999px;
	padding: 1em 2em;
	font-size: min(1.9em, 14px);
	letter-spacing: 0.1em;
	color: #000;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	z-index: 0;
}
 
.event_more_btn::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background-color: #f6f3ee;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.5s ease, height 0.5s ease;
	z-index: -1;
}
 
.event_more_btn:hover::before {
	width: 250%;
	height: 250%;
}
 
.event_more_btn_arrow {
	font-family: sans-serif;
}
 
 










/* ===== フッター ===== */
.l-footer {
	width: 100%;
	padding: 12em 1.5em 20em;
	background-color: #f6f3ee;
	text-align: center;
	position: relative;
	z-index: 20;
}

.l-footer_logo {
	width: min(13em,120px);
	height: min(13em,120px);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
	border-radius: 50%;
}
.l-footer_logo:hover{
	box-shadow: 0 8px 34px rgba(0, 0, 0, 0.14);
}

.l-footer_logo img {
	width: 55%;
	height: auto;
}

.l-footer_catch {
	margin-top: 4em;
	margin-bottom: 8em;
	font-size: min(1.6em, 12px);
	letter-spacing: 0.15em;
	color: #555;
}

.l-footer_offices {
	margin-top: 3em;
	display: flex;
	flex-direction: column;
	gap: 3em;
}

.l-footer_office_name {
	font-size: min(1.8em, 13px);
	letter-spacing: 0.1em;
	color: #333;
	margin-bottom: 0.5em;
}

.l-footer_office_address {
	font-size: min(1.7em, 12px);
	letter-spacing: 0.05em;
	color: #666;
}

.l-footer_links {
	margin-top: 3em;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em;
}

.l-footer_links a {
	font-size: min(1.7em, 12px);
	letter-spacing: 0.1em;
	color: #333;
	text-decoration: none;
}

.l-footer_links_sep {
	color: #ccc;
	font-size: 12px;
}

.l-footer_copyright {
	margin-top: 2em;
	font-size: min(1.5em, 11px);
	letter-spacing: 0.05em;
	color: #999;
}
/* ===== 施工事例 詳細モーダル(Fancybox) ===== */
/* JS側で fancybox.container に付与するクラス。
   ラベル・カルーセル(カード)・サムネイル行を縦に並べて中央寄せすることで、
   ラベルとサムネイルはスワイプに巻き込まれず固定表示のまま、
   カードだけがその場でスワイプ切り替わるようにする。 */
.work_modal_chrome_host {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75em;
	position: relative; /* ← 追加: 閉じるボタンのabsolute配置の基準にする */
}

/* スクロールできることを知らせるヒント(.scroll_downを再利用)。
   元は特定のセクション基準の位置指定だったため、モーダル内では画面中央に来るよう上書きする。 */
.work_modal_scroll_hint {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 15;
	opacity: 1;
	pointer-events: none;
	transition: opacity 0.8s ease;
}

.work_modal_scroll_hint.is-hidden {
	opacity: 0;
}

/* Fancybox標準の閉じるボタン・矢印は使わず、独自のものに差し替える
   (重複・消失の不具合や、太さを変更できない問題があったため) */
.work_fancybox [data-fancybox-close],
.work_fancybox .f-button,
.work_fancybox .fancybox__nav {
	display: none !important;
}

.work_modal_close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 20;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: none;
	padding: 0;
	cursor: pointer;
	color: #fff;
}

.work_modal_close svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	stroke-width: 1.5;
	fill: none;
}

.work_modal_arrow {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: none;
	padding: 0;
	cursor: pointer;
	color: #fff;
	display: none;
}

.work_modal_arrow_prev {
	left: 24px;
}

.work_modal_arrow_next {
	right: 24px;
}

.work_modal_arrow svg {
	width: 28px;
	height: 28px;
	stroke: currentColor;
	stroke-width: 1;
	fill: none;
}

/* Fancyboxはモーダルを開いた瞬間、自動でどこかにフォーカスを当てるため、
   独自ボタン(閉じる・矢印)にブラウザ標準のフォーカスリングが表示されてしまう。無効化する。 */
.work_modal_close:focus,
.work_modal_close:focus-visible,
.work_modal_arrow:focus,
.work_modal_arrow:focus-visible {
	outline: none;
	box-shadow: none;
}

/* モーダルを開く時、クリックした位置から円が画面全体に広がる演出 */
.work_modal_circle_reveal {
	position: fixed;
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(20, 18, 15, 0.95); /* fancybox__backdropと近い色に合わせている */
	transform: translate(-50%, -50%) scale(0);
	opacity: 0;
	pointer-events: none;
	z-index: 100000; /* Fancybox本体より手前に表示する */
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work_modal_circle_reveal.is-active {
	transform: translate(-50%, -50%) scale(var(--reveal-scale, 60));
}

.work_fancybox .fancybox__backdrop {
	background-color: rgba(20, 18, 15, 0.9); /* 画像が無い場合・読み込み前のフォールバック */
	background-image:

		linear-gradient(rgba(20, 18, 15, 0.75), rgba(20, 18, 15, 0.75)),
		var(--work-modal-bg-image, none);
	background-size: cover;
	background-position: center;
	backdrop-filter: blur(6px);
	filter: blur(6px); /* ← 追加: 背景写真自体もぼかす */
	transform: scale(1.1); /* ← 追加: ぼかしの端が画面端でにじんで見えないよう、少し大きめに表示 */
}

.work_fancybox .fancybox__content {
	background: transparent;
	padding: 0;
	max-width: 1100px;
	width: 92%;
	/* ← vhの固定値ではなく、ラベル・サムネイル・余白など「カード以外の高さ」を
	   px単位で見積もって差し引く方式に変更。画面の高さが変わっても
	   常に合計が100vh以内に収まり、ページに余分なスクロールバーが出ない。
	   内訳: ラベル(約24px) + gap x2(約24px) + サムネイル行(約108px) + スライド下余白(約16px) + 余裕(約8px) */
	max-height: calc(100vh);
}

.work_fancybox .fancybox__slide {
	padding: 0 0 1em 0; /* ← 上の余白を削除、下は少し残す */
}

/* Fancybox本体が持つ、スライドを縦中央寄せするための疑似要素。
   このモーダルは独自のflexレイアウト(.work_modal_chrome_host)で中央寄せしているため、
   この疑似要素が余計な余白を作ってしまう。このモーダル内だけ無効化する。 */
.work_fancybox .fancybox__slide::before,
.work_fancybox .fancybox__slide::after {
	content: none;
	display: none;
}

.work_modal {
	position: relative;
	color: #fff;
	display: flex;           /* ← 追加 */
	flex-direction: column;  /* ← 追加 */
	max-height: calc(100vh - 105px); /* ← fancybox__content と合わせる */
}

.work_modal_header {
	flex-shrink: 0; /* ← 追加: 上部を固定(スクロールしない) */
	position: relative;
	z-index: 20;
}

.work_modal_scroll {
	flex: 1 1 auto;   /* ← 追加: 残りの高さを全部使う */
	overflow-y: auto; /* ← 追加: ここだけがスクロールする */
	min-height: 0;    /* ← 追加: flex内でoverflowを効かせるために必須 */

	/* ↓追加: スクロールした時、上下の端がスパッと切れず、ふわっとフェードして見えるように */
	-webkit-mask-image: linear-gradient(
		to bottom,
		transparent 0%,
		#000 15%,
		#000 85%,
		transparent 100%
	);
	mask-image: linear-gradient(
		to bottom,
		transparent 0%,
		#000 15%,
		#000 85%,
		transparent 100%
	);

	/* ↓追加: スクロールバーの色を背景色に合わせて控えめに(Firefox) */
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.0) transparent;
	padding-top: min(15em,150px);
	padding-bottom: 4em;

	/* ↓追加: セクション(写真1枚/写真グリッド/テキスト)を自由な順番で並べられるよう、
	   .work_modal_scroll 自体を縦のflexにし、直接の子要素として並べる */
	display: flex;
	flex-direction: column;
	gap: 3em;
}

/* ↓追加: スクロールバーの色を背景色に合わせて控えめに(Chrome / Safari / Edge) */
.work_modal_scroll::-webkit-scrollbar {
	width: 5px;
}

.work_modal_scroll::-webkit-scrollbar-track {
	background: transparent;
}

.work_modal_scroll::-webkit-scrollbar-thumb {
	background-color: rgba(255, 255, 255, 0.3);
	border-radius: 999px;
}

.work_modal_scroll::-webkit-scrollbar-thumb:hover {
	background-color: rgba(255, 255, 255, 0.5);
}

.work_modal_label {
	display: flex;
	align-items: center;
	gap: 0.8em;
	width: 92%;
	max-width: 1100px;
	font-size: min(1.8em, 13px);
	letter-spacing: 0.15em;
	flex-shrink: 0;
	padding-bottom: 0em;
	transform: translateY(-20px);
}

.work_modal_label_line {
	display: block;
	width: 1px;
	height: 14px;
	background-color: #fff;
	opacity: 0.6;
}

.work_modal_ttl {
	font-size: min(4.2em, 40px);
	line-height: 1.7;
	letter-spacing: 0.08em;
	margin-top: 0.8em;
	margin-bottom: -3em;
	margin-left: 1em;

	/* ↓追加: 事例が表示された時にふわっと現れるアニメーション */
	opacity: 0;
	transform: translateY(24px);
	filter: blur(6px);
	transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
		filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.work_modal_ttl.is-title-in {
	opacity: 1;
	transform: translateY(0);
	filter: blur(0);
}

/* タイトル1行目に入るコンセプトタグ(例: ANCHOR, Breathe) */
.work_modal_ttl_tag {
	display: block;
	font-family: 'Kaisei Decol', serif;
	font-size: min(1.6em, 14px);
	font-weight: 500;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: #b8a888;
	margin-bottom: 0.6em;
}

.work_modal_gallery_main {
	flex-shrink: 0;
}

.work_modal_gallery_main img {
	width: 100%;
	display: block;
	border-radius: 4px;
	object-fit: cover;
}

.work_modal_gallery_row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3em;
}

.work_modal_gallery_item img {
	width: 100%;
	height: 100%;
	display: block;
	border-radius: 4px;
	object-fit: cover;
}

/* photo_gridセクション内の複数行(work_modal_gallery_row)同士の間隔 */
.work_modal_section_photo_grid {
	display: flex;
	flex-direction: column;
	gap: 3em;
	flex-shrink: 0;
}

.work_modal_case_switcher {
	width: 100%;
	max-width: none;
	flex-shrink: 0;
	padding-bottom: 2em;
}
.work_modal_case_switcher.swiper {
	padding-bottom: 4px !important;
	transform: translateY(-20px);
}


.work_modal_case_switcher .swiper-slide {
	width: 64px;
	flex-shrink: 0;
}

/* is-active時にtransform: scale(1.1)で少し拡大される分、上下が切れないように余白を確保 */
.work_modal_case_switcher .swiper-wrapper {
	padding: 6px 0;
	padding-bottom: 0px;
}

.work_modal_case_thumb {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	background: none;
	padding: 0;
	opacity: 0.6;
	transition: opacity 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
	flex-shrink: 0;
}

.work_modal_case_thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.work_modal_case_thumb:hover {
	opacity: 0.9;
}

/* 今まさに開いている事例のサムネイル */
.work_modal_case_thumb.is-active {

	opacity: 1;
	border-color: #fff;
	transform: scale(1.1);
	cursor: default;
}

.work_modal_text {
	max-width: 600px;
	margin: 0 auto;
	flex-shrink: 0;
}

.work_modal_text p {
	font-size: min(2em, 15px);
	line-height: 3;
	letter-spacing: 0.05em;
	margin-bottom: 1.6em;
	opacity: 0.9;
}
.fancybox__container:not(.is-compact) .fancybox__slide.has-close-btn{
	padding-top: 0px !important;
}





/* Tablet Layout: 481px to 767px. Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 481px) {
.sp480{
	visibility: hidden;
	display: none;
}
.pc480{
	visibility:visible;
	display: block;
}
.floating_btn_item {
	position: relative;   /* ← 追加 */
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	font-family: "Kaisei Decol", serif;
	font-size: min(2.5em, 18px);
	letter-spacing: 0.1em;
	text-align: center;
	overflow: hidden;      /* ← 追加:はみ出す背景円を切り取る */
	z-index: 0;            /* ← 追加 */
}

/* ↓追加:ホバー時に広がる背景 */
.floating_btn_item::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background-color: #f6f3ee;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.5s ease, height 0.5s ease;
	z-index: -1;
}

.floating_btn_item:hover::before {
	width: 250%;
	height: 250%;
}
.work_modal {
	max-height: calc(100vh - 132px); /* ← fancybox__content と合わせる */
}
.work_modal_arrow {
	display: flex;	
}
	
	
	
}



@media only screen and (min-width:768px){
.sp768{
	visibility:hidden;
	display: none;
}
.pc768{
    visibility: visible;
    display: block;
}
.floating_btn {
	top: 50%;
	left: auto;
	right: 0;
	bottom: auto;
	width: auto;
	flex-direction: column;
	transform: translateY(-50%);
}

.floating_btn_item {
	flex: auto;
	writing-mode: vertical-rl;
	height: auto;
	width: 60px;
	padding: 28px 0;
}	
.flow_tab_btn {
	font-size: min(1.6em, 15px);
}

.flow_swiper .swiper-slide.flow_step {
    padding: 30px 20px 40px;
}
.flow_step_num {

}

.l-footer_offices {
	flex-direction: row;
	justify-content: center;
	gap: 4em;
}
.main_cnt_logo{
	width: 150px;
}
.loader_logo_wrap{
	width: 150px;
}

.event_list {
	gap: min(7em,60px);
}
.l-header_insta img {
	width: 80px;
}
	
	

}


@media only screen and (min-width: 900px) {
html { 
		width:100%;
}




}

@media only screen and (min-width: 1000px) {
.work_modal {
	max-height: calc(100vh - 140px); /* ← fancybox__content と合わせる */
}


}


@media only screen and (min-width: 1100px) {


	
}
@media only screen and (min-width: 1200px) {
.g_nav_bk {
	display: block;
	width: 50%;
	max-width: 140px;
	margin-right: 14em;
}






}



@media only screen and (min-width:1300px){
	
}


@media only screen and (min-width:1400px){

}
@media only screen and (min-width:1600px){
html { 
	font-size:16px;
}	
}