/* ===========================
   改善版アクセスページ CSS
   =========================== */

:root {
	--primary-blue: #0066cc;
	--primary-blue-dark: #0052a3;
	--primary-orange: #ff6b35;
	--primary-orange-dark: #f7931e;
	--success-green: #4caf50;
	--warning-yellow: #ffc107;
	--bg-gray: #f8f9fa;
	--border-gray: #e9ecef;
	--text-dark: #333;
	--text-gray: #666;
	--text-light: #999;
	--shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
	--shadow-md: 0 4px 12px rgba(0,0,0,0.12);
	--shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
}

.access-page-wrapper {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0;
	font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===========================
   ヒーローセクション
   =========================== */

.access-hero {
	background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
	color: #fff;
	padding: 60px 20px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.access-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: rgba(255,255,255,0.1);
	border-radius: 50%;
}

.access-hero::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: -10%;
	width: 400px;
	height: 400px;
	background: rgba(255,255,255,0.08);
	border-radius: 50%;
}

.access-hero-content {
	position: relative;
	z-index: 1;
}

.access-hero-title {
	font-size: clamp(32px, 5vw, 48px);
	font-weight: bold;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.title-icon {
	font-size: clamp(36px, 6vw, 52px);
}

.access-hero-description {
	font-size: clamp(14px, 2vw, 18px);
	line-height: 1.8;
	max-width: 800px;
	margin: 0 auto;
	opacity: 0.95;
}

/* ===========================
   店舗選択カードセクション
   =========================== */

.store-selection {
	padding: 60px 20px;
	background: var(--bg-gray);
}

.store-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
	max-width: 1000px;
	margin: 0 auto;
}

.store-card {
	background: #fff;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	border: 3px solid transparent;
}

.store-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
}

.store-card.active {
	border-color: var(--primary-blue);
	box-shadow: 0 8px 32px rgba(0,102,204,0.25);
}

.store-card-header {
	padding: 20px;
	background: linear-gradient(135deg, var(--bg-gray) 0%, #fff 100%);
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 2px solid var(--border-gray);
}

.store-badge {
	display: inline-block;
	padding: 8px 20px;
	background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
	color: #fff;
	border-radius: 20px;
	font-size: 14px;
	font-weight: bold;
	box-shadow: 0 2px 8px rgba(0,102,204,0.3);
}

.store-badge.odawara {
	background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
	box-shadow: 0 2px 8px rgba(255,107,53,0.3);
}

.store-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--success-green);
	font-weight: 600;
}

.store-status::before {
	content: '●';
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

.store-card-body {
	padding: 30px;
}

.store-name {
	font-size: 22px;
	font-weight: bold;
	color: var(--text-dark);
	margin-bottom: 24px;
}

.store-info-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.info-item {
	display: flex;
	align-items: start;
	gap: 12px;
	padding: 12px;
	background: var(--bg-gray);
	border-radius: var(--radius-sm);
	transition: all 0.3s;
}

.info-item:hover {
	background: #e3f2fd;
	transform: translateX(4px);
}

.info-icon {
	font-size: 24px;
	flex-shrink: 0;
}

.info-content {
	flex: 1;
}

.info-label {
	font-size: 11px;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
}

.info-value {
	font-size: 15px;
	font-weight: 600;
	color: var(--text-dark);
}

.store-card-footer {
	padding: 0 30px 30px;
}

.view-access-btn {
	width: 100%;
	padding: 16px 24px;
	background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
	color: #fff;
	border: none;
	border-radius: 30px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	transition: all 0.3s;
	box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

.view-access-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,102,204,0.4);
}

.btn-arrow {
	font-size: 20px;
	transition: transform 0.3s;
}

.view-access-btn:hover .btn-arrow {
	transform: translateX(4px);
}

/* ===========================
   店舗詳細コンテンツ
   =========================== */

.store-detail-content {
	display: none;
	animation: fadeInUp 0.6s ease-out;
}

.store-detail-content.active {
	display: block;
}

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

/* ===========================
   アクセス概要セクション
   =========================== */

.access-overview {
	padding: 60px 20px;
	background: #fff;
}

.overview-container {
	max-width: 1000px;
	margin: 0 auto;
}

.overview-header h2 {
	font-size: clamp(24px, 4vw, 36px);
	font-weight: bold;
	text-align: center;
	margin-bottom: 40px;
	color: var(--text-dark);
}

.header-badge {
	display: inline-block;
	padding: 8px 20px;
	background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
	color: #fff;
	border-radius: 20px;
	font-size: 18px;
	margin-right: 8px;
	box-shadow: 0 2px 8px rgba(0,102,204,0.3);
}

.header-badge.odawara {
	background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
	box-shadow: 0 2px 8px rgba(255,107,53,0.3);
}

.access-methods {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 24px;
}

.method-card {
	background: #fff;
	border: 2px solid var(--border-gray);
	border-radius: var(--radius-md);
	padding: 32px 24px;
	text-align: center;
	transition: all 0.3s;
	position: relative;
}

.method-card:hover {
	border-color: var(--primary-blue);
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.method-card.recommended {
	border-color: var(--primary-orange);
	background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
}

.method-badge {
	position: absolute;
	top: -12px;
	right: 16px;
	padding: 4px 12px;
	background: var(--primary-orange);
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(255,107,53,0.4);
}

.method-icon {
	font-size: 48px;
	margin-bottom: 16px;
}

.method-card h3 {
	font-size: 18px;
	font-weight: bold;
	color: var(--text-dark);
	margin-bottom: 12px;
}

.method-time {
	font-size: 24px;
	font-weight: bold;
	color: var(--primary-blue);
	margin-bottom: 8px;
}

.method-description {
	font-size: 14px;
	color: var(--text-gray);
	line-height: 1.6;
}

/* ===========================
   マップセクション
   =========================== */

.map-section {
	padding: 60px 20px;
	background: var(--bg-gray);
}

.map-container-improved {
	max-width: 1000px;
	margin: 0 auto;
	background: #fff;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.map-header {
	padding: 24px 30px;
	background: linear-gradient(135deg, var(--bg-gray) 0%, #fff 100%);
	border-bottom: 2px solid var(--border-gray);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.map-header h3 {
	font-size: 22px;
	font-weight: bold;
	color: var(--text-dark);
	display: flex;
	align-items: center;
	gap: 10px;
}

.map-icon {
	font-size: 26px;
}

.map-external-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	background: var(--primary-blue);
	color: #fff;
	text-decoration: none;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s;
}

.map-external-link:hover {
	background: var(--primary-blue-dark);
	transform: translateY(-2px);
}

.external-icon {
	font-size: 16px;
}

.map-frame {
	position: relative;
	overflow: hidden;
}

.map-frame iframe {
	width: 100%;
	height: 450px;
	border: none;
}

.map-address {
	padding: 24px 30px;
	background: var(--bg-gray);
	display: flex;
	align-items: start;
	gap: 16px;
}

.address-icon {
	font-size: 32px;
	flex-shrink: 0;
}

.address-text {
	flex: 1;
}

.address-label {
	font-size: 12px;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}

.address-value {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-dark);
	line-height: 1.6;
}

/* ===========================
   ルートタブセクション
   =========================== */

.route-tabs-section {
	padding: 60px 20px;
	background: #fff;
}

.route-tabs-container {
	max-width: 1000px;
	margin: 0 auto;
}

.route-tabs-header {
	margin-bottom: 32px;
}

.route-tabs-header h3 {
	font-size: 28px;
	font-weight: bold;
	color: var(--text-dark);
	margin-bottom: 24px;
	text-align: center;
}

.route-tab-buttons {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.route-tab-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	background: #fff;
	border: 2px solid var(--border-gray);
	border-radius: 30px;
	cursor: pointer;
	transition: all 0.3s;
	font-family: inherit;
}

.route-tab-btn:hover {
	border-color: var(--primary-blue);
	background: #f0f7ff;
}

.route-tab-btn.active {
	background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
	border-color: var(--primary-blue);
	color: #fff;
	box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

.tab-station-icon {
	font-size: 24px;
}

.tab-station-name {
	font-size: 15px;
	font-weight: 600;
}

.tab-station-time {
	font-size: 12px;
	opacity: 0.8;
	padding: 2px 8px;
	background: rgba(255,255,255,0.2);
	border-radius: 10px;
}

.route-tab-btn.active .tab-station-time {
	background: rgba(255,255,255,0.25);
}

/* ルートコンテンツ */
.route-content {
	display: none;
	animation: fadeIn 0.5s ease-out;
}

.route-content.active {
	display: block;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.route-summary-card {
	display: flex;
	align-items: start;
	gap: 20px;
	padding: 24px;
	background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
	border: 2px solid var(--primary-orange);
	border-radius: var(--radius-md);
	margin-bottom: 40px;
}

.summary-icon {
	font-size: 36px;
	flex-shrink: 0;
}

.summary-text h4 {
	font-size: 20px;
	font-weight: bold;
	color: var(--text-dark);
	margin-bottom: 8px;
}

.summary-text p {
	font-size: 15px;
	color: var(--text-gray);
	line-height: 1.7;
}

/* ===========================
   タイムラインステップ
   =========================== */

.steps-timeline {
	position: relative;
}

.steps-timeline::before {
	content: '';
	position: absolute;
	left: 40px;
	top: 40px;
	bottom: 40px;
	width: 3px;
	background: linear-gradient(to bottom, var(--primary-blue) 0%, var(--border-gray) 100%);
	z-index: 0;
}

.timeline-step {
	display: flex;
	gap: 32px;
	margin-bottom: 48px;
	position: relative;
}

.timeline-step:last-child {
	margin-bottom: 0;
}

.step-marker {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
}

.step-number {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: bold;
	box-shadow: 0 4px 16px rgba(0,102,204,0.3);
	border: 4px solid #fff;
}

.timeline-step.arrival .step-number {
	background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
	box-shadow: 0 4px 16px rgba(255,107,53,0.3);
	animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

.step-card {
	flex: 1;
	background: #fff;
	border: 2px solid var(--border-gray);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: all 0.3s;
}

.step-card:hover {
	border-color: var(--primary-blue);
	box-shadow: var(--shadow-md);
	transform: translateX(4px);
}

.step-card.arrival {
	border-color: var(--primary-orange);
	background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
}

.step-image-container {
	position: relative;
	overflow: hidden;
	background: var(--bg-gray);
}

.step-image-container img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s;
}

.step-card:hover .step-image-container img {
	transform: scale(1.05);
}

.image-label {
	position: absolute;
	bottom: 12px;
	left: 12px;
	padding: 6px 16px;
	background: rgba(0,0,0,0.75);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	border-radius: 20px;
	backdrop-filter: blur(8px);
}

.step-content {
	padding: 24px;
}

.step-content h4 {
	font-size: 20px;
	font-weight: bold;
	color: var(--text-dark);
	margin-bottom: 12px;
}

.step-content p {
	font-size: 15px;
	color: var(--text-gray);
	line-height: 1.8;
	margin-bottom: 16px;
}

.step-content strong {
	color: var(--primary-blue);
	font-weight: 600;
}

.landmark-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 12px;
	background: #e3f2fd;
	color: var(--primary-blue);
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
}

.step-tip {
	display: flex;
	align-items: start;
	gap: 10px;
	padding: 14px;
	background: #f0f7ff;
	border-left: 3px solid var(--primary-blue);
	border-radius: 6px;
	font-size: 14px;
	color: var(--text-gray);
	line-height: 1.6;
}

.step-tip.warning {
	background: #fff3cd;
	border-left-color: var(--warning-yellow);
}

.step-tip.important {
	background: #ffe6e6;
	border-left-color: #f44336;
}

.step-tip.success {
	background: #e8f5e9;
	border-left-color: var(--success-green);
}

.tip-icon {
	font-size: 18px;
	flex-shrink: 0;
}

.arrival-landmark {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.arrival-landmark span {
	padding: 6px 14px;
	background: #fff;
	border: 1px solid var(--border-gray);
	border-radius: 16px;
	font-size: 13px;
	color: var(--text-gray);
}

/* ===========================
   お問い合わせCTA
   =========================== */

.contact-cta {
	padding: 60px 20px;
	background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
}

.cta-container {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.cta-header {
	margin-bottom: 32px;
}

.cta-header h3 {
	font-size: 28px;
	font-weight: bold;
	color: var(--text-dark);
	margin-bottom: 12px;
}

.cta-header p {
	font-size: 16px;
	color: var(--text-gray);
}

.cta-buttons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.cta-btn {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	background: #fff;
	border: 2px solid var(--border-gray);
	border-radius: var(--radius-md);
	text-decoration: none;
	transition: all 0.3s;
	box-shadow: var(--shadow-sm);
}

.cta-btn:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.cta-btn.primary {
	background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
	border-color: var(--primary-blue);
	color: #fff;
}

.cta-btn.primary:hover {
	box-shadow: 0 6px 20px rgba(0,102,204,0.3);
}

.cta-btn.line {
	background: linear-gradient(135deg, #06C755 0%, #05b34c 100%);
	border-color: #06C755;
	color: #fff;
}

.cta-btn.line:hover {
	box-shadow: 0 6px 20px rgba(6,199,85,0.3);
}

.cta-btn.secondary {
	border-color: var(--primary-blue);
	color: var(--primary-blue);
}

.cta-btn.secondary:hover {
	background: var(--primary-blue);
	color: #fff;
}

.cta-btn .btn-icon {
	font-size: 32px;
	flex-shrink: 0;
}

.btn-content {
	flex: 1;
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.btn-label {
	font-size: 16px;
	font-weight: bold;
}

.btn-detail {
	font-size: 13px;
	opacity: 0.85;
}

/* ===========================
   FAQセクション
   =========================== */

.faq-section {
	padding: 60px 20px;
	background: #fff;
}

.faq-container {
	max-width: 900px;
	margin: 0 auto;
}

.faq-title {
	font-size: 28px;
	font-weight: bold;
	color: var(--text-dark);
	margin-bottom: 32px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.faq-icon {
	font-size: 32px;
}

.faq-grid {
	display: grid;
	gap: 16px;
}

.faq-item {
	background: #fff;
	border: 2px solid var(--border-gray);
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: all 0.3s;
}

.faq-item:hover {
	border-color: var(--primary-blue);
	box-shadow: var(--shadow-sm);
}

.faq-item[open] {
	border-color: var(--primary-blue);
	box-shadow: var(--shadow-md);
}

.faq-item summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px;
	background: var(--bg-gray);
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	color: var(--text-dark);
	list-style: none;
	transition: all 0.3s;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: '▼';
	margin-left: auto;
	font-size: 14px;
	color: var(--primary-blue);
	transition: transform 0.3s;
}

.faq-item[open] summary::after {
	transform: rotate(180deg);
}

.faq-item summary:hover {
	background: #e3f2fd;
}

.faq-q {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: var(--primary-blue);
	color: #fff;
	border-radius: 50%;
	font-size: 14px;
	font-weight: bold;
	flex-shrink: 0;
}

.faq-answer {
	display: flex;
	align-items: start;
	gap: 12px;
	padding: 20px;
	background: #fff;
	border-top: 1px solid var(--border-gray);
}

.faq-a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: var(--primary-orange);
	color: #fff;
	border-radius: 50%;
	font-size: 14px;
	font-weight: bold;
	flex-shrink: 0;
}

.faq-answer p {
	flex: 1;
	font-size: 15px;
	color: var(--text-gray);
	line-height: 1.8;
	margin: 0;
}

/* ===========================
   レスポンシブデザイン
   =========================== */

@media (max-width: 768px) {
	.access-hero {
		padding: 40px 20px;
	}

	.access-hero::before,
	.access-hero::after {
		display: none;
	}

	.store-selection {
		padding: 40px 15px;
	}

	.store-cards {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.store-info-grid {
		grid-template-columns: 1fr;
	}

	.access-methods {
		grid-template-columns: 1fr;
	}

	.map-header {
		flex-direction: column;
		gap: 16px;
		align-items: flex-start;
	}

	.map-frame iframe {
		height: 300px;
	}

	.route-tab-buttons {
		flex-direction: column;
	}

	.route-tab-btn {
		width: 100%;
		justify-content: center;
	}

	.steps-timeline::before {
		left: 30px;
	}

	.timeline-step {
		flex-direction: column;
		gap: 16px;
	}

	.step-marker {
		margin: 0 auto;
	}

	.step-number {
		width: 60px;
		height: 60px;
		font-size: 24px;
	}

	.cta-buttons {
		grid-template-columns: 1fr;
	}

	.btn-content {
		text-align: center;
	}
}

@media (max-width: 480px) {
	.access-hero-title {
		font-size: 28px;
	}

	.access-hero-description br {
		display: none;
	}

	.overview-header h2 {
		font-size: 24px;
	}

	.cta-header h3,
	.faq-title {
		font-size: 24px;
	}
}
