@charset "UTF-8";

/* =========================================================
   行き方：タブ切り替え ＆ スライダー
========================================================= */
.studio-access-wrapper .access-tab-container {
	margin: 30px 0;
}

.studio-access-wrapper .access-tab-list {
	display: flex; flex-wrap: wrap;
	gap: 10px; list-style: none;
	padding: 0; margin: 0 0 25px 0;
	border-bottom: 2px solid #e0e0e0;
}

.studio-access-wrapper .access-tab-btn {
	font-size: 0.9rem;
	padding: 8px 16px;
	line-height: 1.5;
	background: #f4f6f7;
	color: #666; font-weight: bold;
	border-radius: 6px 6px 0 0;
	cursor: pointer;
	transition: 0.3s;
	margin-bottom: -2px;
	border: 2px solid transparent;
}

.studio-access-wrapper .access-tab-btn.is-active {
	background: #fff;
	color: #263a43;
	border: 2px solid #e0e0e0;
	border-bottom: 2px solid #fff;
}

.studio-access-wrapper .access-tab-panel {
	display: none;
	animation: fadeIn 0.4s ease;
}

.studio-access-wrapper .access-tab-panel.is-active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
    .studio-access-wrapper .access-tab-list {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 5px;
	}
	
    .studio-access-wrapper .access-tab-btn {
		flex: 0 0 auto; white-space: nowrap;
		font-size: 0.85rem;
		padding: 8px 15px;
	}
}

/* --- スライダーとカード --- */
.studio-access-wrapper .access-slider-wrapper {
	position: relative;
	margin: 0;
	padding: 0 21px 40px;
}

.studio-access-wrapper .swiper-access {
	width: 100%;
	height: auto;
	overflow: hidden;
}

.studio-access-wrapper .swiper-wrapper {
	display: flex;
	align-items: stretch;
}

.studio-access-wrapper .swiper-slide {
	height: auto;
	display: flex;
	flex-shrink: 0;
	width: 32.3%;
}

@media (max-width: 768px) {
	.studio-access-wrapper .swiper-slide {
		width: 100%;
	}
}

.studio-access-wrapper .access-step-item {
	position: relative;
	padding: 15px;
	background: #fff;
	border: 2px solid #f0f0f0; border-radius: 8px;
	margin-top: 15px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.studio-access-wrapper .access-step-img img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	margin-bottom: 12px;
	object-fit: cover;
}

.studio-access-wrapper .access-step-text {
	line-height: 1.6;
	font-size: 0.9rem;
	color: #333;
	flex-grow: 1;
}

/* --- 数字バッジ（四角） --- */
.studio-access-wrapper .access-step-header {
	position: absolute;
	top: 15px;
	left: 15px;
	width: 32px;
	height: 32px;
	background: #8BBAD3;
	color: #fff;
	border-radius: 4px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.1rem;
	font-weight: bold;
	z-index: 10;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	margin: 0;
	padding: 0;
}

/* --- 矢印（四角）とピンマーク --- */
.studio-access-wrapper .swiper-button-next::after, .studio-access-wrapper .swiper-button-prev::after {
	font-size: 18px;
	color: #263a43;
}

.studio-access-wrapper .swiper-button-next, .studio-access-wrapper .swiper-button-prev {
	background-color: #fff;
	border: 2px solid #8BBAD3;
	border-radius: 4px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	width: 44px;
	height: 44px;
	margin-top: -22px;
	transition: all 0.3s ease;
}

.studio-access-wrapper .swiper-button-next:hover, .studio-access-wrapper .swiper-button-prev:hover {
	background-color: #f4f6f7;
}

.studio-access-wrapper .swiper-button-next {
	right: -10px;
}

.studio-access-wrapper .swiper-button-prev {
	left: -10px;
}

.studio-access-wrapper .swiper-pagination-bullet-active {
	background: #263a43;
}

.studio-access-wrapper .access-route-line {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	text-align: left;
}

.studio-access-wrapper .access-route-line:last-child {
	margin-bottom: 0;
}

.studio-access-wrapper .access-route-line .material-symbols-outlined {
	font-size: 1.2em;
	color: #61567d;
	flex-shrink: 0;
}


/* =========================================================
   Googleマップ（iframe）スマホの高さ調整
========================================================= */
@media screen and (max-width: 768px) {
    .studio-map-wrapper iframe {
        height: 250px !important;
        min-height: 250px !important;
    }
}
