@charset "utf-8";

/* ==========================================================================
   Responsive styles
   Breakpoints:
   - 968px : tablet / fluid layout
   - 768px : mobile / hamburger menu
   ========================================================================== */

/* ----- Utilities ----- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

body.menu-open {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
}

/* ----- Tablet and below (968px) ----- */
@media screen and (max-width: 968px) {
	header {
		width: auto;
		max-width: 100%;
		margin: 2em 15px;
		padding: 0;
	}

	#contents_bg {
		width: auto;
		max-width: calc(100% - 30px);
		margin-left: 15px;
		margin-right: 15px;
		margin-bottom: 30px;
	}

	#contents_wrap {
		width: auto;
		max-width: 100%;
		margin-top: 20px;
		margin-bottom: 40px;
		padding: 0 15px;
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	/* clearfix 疑似要素が flex 子要素として余白を作るのを防ぐ */
	#contents_wrap::before,
	#contents_wrap::after {
		display: none;
		content: none;
	}

	#sidemenu {
		display: contents;
	}

	.sidemenu-meta {
		order: 1;
		width: 100%;
		margin-bottom: 16px;
	}

	#section_wrap {
		order: 2;
		margin-bottom: 0;
	}

	.sidemenu-banners {
		order: 3;
		width: 100%;
		margin-top: 40px;
		margin-bottom: 0;
		padding: 12px;
		border-radius: 12px;
		border: 1px solid #dceaf5;
		background-color: #f0f7fc;
		box-sizing: border-box;
	}

	#sidemenu,
	#section_wrap {
		float: none;
		width: 100%;
	}

	/* Collapsible banners header */
	.sidemenu-banners__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 12px 16px;
		border: 1px solid #c5d9eb;
		border-radius: 8px;
		background-color: #fff;
		color: #1063A3;
		font-size: 14px;
		font-weight: bold;
		cursor: pointer;
		box-sizing: border-box;
	}

	.sidemenu-banners__toggle:hover {
		background-color: #f8fbfe;
		opacity: 1;
		filter: none;
	}

	.sidemenu-banners__toggle-icon {
		width: 8px;
		height: 8px;
		border-right: 2px solid #1063A3;
		border-bottom: 2px solid #1063A3;
		transform: rotate(45deg);
		transition: transform 0.2s ease;
		flex-shrink: 0;
	}

	.sidemenu-banners.is-open .sidemenu-banners__toggle-icon {
		transform: rotate(-135deg);
	}

	.sidemenu-banners__body {
		margin-top: 10px;
	}

	.sidemenu-banners__list {
		width: 100%;
	}

	/* Text-based link buttons (responsive) */
	.sidemenu-banners__list li + li {
		margin-top: 8px;
	}

	#sidemenu .sidemenu-banners .sidemenu-banner {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 12px;
		position: static;
		width: 100%;
		height: auto;
		min-height: 52px;
		padding: 10px 14px;
		box-sizing: border-box;
		overflow: visible;
		border-radius: 10px;
		border: 1px solid #c5d9eb;
		background-color: #fff;
		box-shadow: 0 1px 4px rgba(16, 99, 163, 0.08);
		text-decoration: none;
		transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	}

	#sidemenu .sidemenu-banners li {
		width: 100%;
		height: auto;
		position: static;
		background-color: transparent;
	}

	#sidemenu .sidemenu-banners .sidemenu-link__text {
		position: static;
		top: auto;
		flex: 1;
		min-width: 0;
		height: auto;
		border-left: none;
		padding: 0;
		margin: 0;
		font-size: 14px;
		font-weight: bold;
		line-height: 1.45;
		color: #1063A3;
	}

	#sidemenu .sidemenu-banners .sidemenu-link__icon {
		position: static;
		top: auto;
		flex: 0 0 40px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		min-height: 40px;
		max-height: 40px;
		padding: 0;
		margin: 0;
		border-left: none;
		border-radius: 10px;
		background-color: #e8f2fa;
		color: #1063A3;
		overflow: hidden;
	}

	#sidemenu .sidemenu-banners .sidemenu-link__icon svg {
		display: block;
		width: 22px;
		height: 22px;
		flex-shrink: 0;
	}

	#sidemenu .sidemenu-banners .sidemenu-link__icon-img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		border: none;
	}

	#sidemenu .sidemenu-banners .sidemenu-link__trail {
		position: static;
		top: auto;
		flex: 0 0 18px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 18px;
		height: 18px;
		margin: 0;
		padding: 0;
		border: none;
		color: #1063A3;
		opacity: 0.75;
	}

	#sidemenu .sidemenu-banners .sidemenu-link__trail::before {
		content: "";
		display: block;
		width: 8px;
		height: 8px;
		border-top: 2px solid currentColor;
		border-right: 2px solid currentColor;
		transform: rotate(45deg);
	}

	#sidemenu .sidemenu-banners .sidemenu-link--external .sidemenu-link__trail::before {
		width: 14px;
		height: 14px;
		border: none;
		background-color: currentColor;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3C/svg%3E") center / contain no-repeat;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3C/svg%3E") center / contain no-repeat;
		transform: none;
	}

	#sidemenu .sidemenu-banners .sidemenu-banner:hover,
	#sidemenu .sidemenu-banners .sidemenu-banner:focus-visible {
		background-color: #f0f7fc;
		border-color: #1063A3;
		box-shadow: 0 2px 8px rgba(16, 99, 163, 0.15);
		opacity: 1;
		filter: none;
	}

	#sidemenu .sidemenu-banners .sidemenu-banner__img,
	#sidemenu .sidemenu-banners .sidemenu-banner__label {
		display: none !important;
	}

	#sidemenu .sidemenu-banners .sidemenu-link__icon--recruit {
		background-color: #fff3e0;
		color: #e65100;
	}

	#sidemenu .sidemenu-banners .sidemenu-link__icon--map {
		background-color: #e8f5e9;
		color: #2e7d32;
	}

	#sidemenu .sidemenu-banners .sidemenu-link__icon--support {
		background-color: #e3f2fd;
		color: #1565c0;
	}

	#sidemenu .sidemenu-banners .sidemenu-link__icon--homecare {
		background-color: #fce4ec;
		color: #c2185b;
	}

	#sidemenu .sidemenu-banners .sidemenu-link__icon--pdf {
		background-color: #ffebee;
		color: #c62828;
	}

	#sidemenu .sidemenu-banners .sidemenu-link__icon--external,
	#sidemenu .sidemenu-banners .sidemenu-link__icon--video {
		background-color: #eceff1;
		color: #546e7a;
	}

	#sidemenu .sidemenu-banners .sidemenu-link__icon--news,
	#sidemenu .sidemenu-banners .sidemenu-link__icon--link,
	#sidemenu .sidemenu-banners .sidemenu-link__icon--contact,
	#sidemenu .sidemenu-banners .sidemenu-link__icon--training,
	#sidemenu .sidemenu-banners .sidemenu-link__icon--default {
		background-color: #e8f2fa;
		color: #1063A3;
	}

	/* Floating action button */
	.sidemenu-fab {
		display: none;
		position: fixed;
		bottom: 16px;
		left: 50%;
		transform: translateX(-50%) translateZ(0);
		z-index: 10050;
		align-items: center;
		gap: 6px;
		padding: 10px 18px;
		border: none;
		border-radius: 24px;
		background-color: #1063A3;
		color: #fff;
		font-size: 13px;
		font-weight: bold;
		cursor: pointer;
		pointer-events: auto;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
		box-shadow: 0 4px 16px rgba(16, 99, 163, 0.35);
		isolation: isolate;
	}

	.sidemenu-fab.is-visible {
		display: flex;
	}

	.sidemenu-fab:hover {
		background-color: #0d5288;
		opacity: 1;
		filter: none;
	}

	body.has-sidemenu-fab {
		padding-bottom: 56px;
	}

	#sidemenu select {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	footer small {
		width: auto;
		max-width: calc(100% - 30px);
		margin-left: 15px;
		margin-right: 15px;
		box-sizing: border-box;
	}

	#page-title {
		width: auto;
		margin-left: 15px;
		margin-right: 15px;
	}

	#mainphoto img {
		width: 100%;
		height: auto;
	}

	.home #contents_wrap {
		margin-top: 12px;
	}

	/* Google Map embed: iframe が固定ボタンのクリックを奪わないよう z-index を下げる */
	section iframe {
		position: relative;
		z-index: 0;
	}

	/* homecare */
	#homecare img {
		float: none;
		margin: 0 auto 15px;
	}

	#homecare ul {
		width: auto;
	}

	/* support */
	#support {
		overflow-x: clip;
	}

	#support h1 {
		font-size: 1.05em;
		line-height: 1.5;
		word-break: break-word;
	}

	#support h2 {
		font-size: 1.15em;
		line-height: 1.45;
		margin-bottom: 12px;
	}

	#support .column {
		display: flow-root;
		margin: 10px 0 24px;
		padding: 12px;
	}

	#support dt {
		font-size: 1em;
		margin-bottom: 4px;
	}

	#support .img01,
	#support ul {
		float: none;
		width: auto;
		margin: 0 0 16px;
	}

	#support .img01 {
		display: block;
		float: none;
		max-width: 200px;
		width: 100%;
		height: auto;
		margin: 0 auto 16px;
	}

	#support img {
		display: block;
		max-width: 200px;
		width: 100%;
		height: auto;
		margin: 16px auto 0;
	}

	#support dl {
		margin: 0;
	}

	#support dd {
		margin: 0 0 12px 0;
	}

	#support ol {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	#support ol li {
		padding-bottom: 32px;
		margin-bottom: 16px;
		background-size: 24px auto;
	}

	#support ol li h3 {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		margin: 0 0 10px;
		padding: 10px 12px;
		font-size: 1.05em;
		line-height: 1.45;
	}

	#support ol li.cf {
		display: flow-root;
	}

	#support ol li.cf .img01 {
		float: right;
		margin: -10px auto 12px;
		width: 40%;
	}

	#support ul {
		float: none;
		width: auto;
		margin: 0 0 16px;
		padding: 12px 12px 12px 28px;
	}

	#support ul li {
		margin: 0 0 6px 0;
	}

	#support .support-table {
		display: block;
		width: 100%;
		border: none !important;
	}

	#support .support-table tbody {
		display: block;
	}

	#support .support-table tr {
		display: block;
		margin-bottom: 12px;
		border: 1px solid #999;
		border-radius: 8px;
		overflow: hidden;
		background-color: #fff;
	}

	#support .support-table th,
	#support .support-table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
		white-space: normal;
		border: none;
	}

	#support .support-table th {
		padding: 10px 12px;
		border-bottom: 1px solid #999;
		font-size: 14px;
	}

	#support .support-table td {
		padding: 12px;
		font-size: 14px;
		line-height: 1.6;
	}

	#support .support-table tr + tr td {
		border-top: none;
	}

	/* single-station */
	.single-station section .photo li {
		float: none;
		width: auto;
		margin-bottom: 10px;
	}

	.single-station section .photo li + li {
		margin-left: 0;
	}

	.single-station section .comment,
	.single-station section .link {
		float: none;
		width: auto;
		margin-right: 0;
		margin-bottom: 20px;
	}

	/* recruit table: card layout on mobile */
	.recruit .recruit-table {
		display: block;
		width: 100%;
		overflow: visible;
		border: none !important;
	}

	.recruit .recruit-table thead {
		display: none;
	}

	.recruit .recruit-table tbody {
		display: block;
	}

	.recruit .recruit-table tr {
		display: block;
		margin-bottom: 14px;
		padding: 14px 16px;
		border: 1px solid #dbe8f2;
		border-radius: 8px;
		background-color: #fff;
		box-shadow: 0 2px 6px rgba(16, 99, 163, 0.06);
	}

	.recruit .recruit-table tr + tr td {
		border-top: none;
	}

	.recruit .recruit-table td {
		display: block;
		width: 100%;
		padding: 10px 0;
		border: none;
		border-left: none !important;
		border-bottom: 1px dotted #e5edf3;
		text-align: left !important;
		white-space: normal;
	}

	.recruit .recruit-table td:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}

	.recruit .recruit-table td:first-child {
		padding-top: 0;
	}

	.recruit .recruit-table td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 4px;
		color: #1063A3;
		font-size: 12px;
		font-weight: bold;
		line-height: 1.4;
	}

	.recruit .recruit-table td a {
		font-weight: bold;
	}

	.recruit section address .info {
		width: auto;
	}

	#guidance img {
		width: 100%;
		height: auto;
	}

	/* stationmap: horizontal scroll on tablet/mobile */
	#stationmap .stationmap-wrap {
		margin: 12px 0 16px;
	}

	#stationmap .stationmap-scroll-hint {
		display: none;
		align-items: center;
		justify-content: center;
		gap: 8px;
		margin: 0 0 10px;
		padding: 8px 12px;
		border-radius: 6px;
		background-color: #f0f7fc;
		border: 1px solid #c5d9eb;
		color: #1063A3;
		font-size: 12px;
		font-weight: bold;
		text-align: center;
	}

	#stationmap .stationmap-scroll-hint.is-visible {
		display: flex;
	}

	#stationmap .stationmap-scroll-hint__arrow:first-child {
		animation: stationmap-hint-bounce-left 1.2s ease-in-out infinite;
	}

	#stationmap .stationmap-scroll-hint__arrow:last-child {
		animation: stationmap-hint-bounce-right 1.2s ease-in-out infinite;
	}

	@keyframes stationmap-hint-bounce-left {
		0%, 100% { transform: translateX(0); opacity: 0.5; }
		50% { transform: translateX(-3px); opacity: 1; }
	}

	@keyframes stationmap-hint-bounce-right {
		0%, 100% { transform: translateX(0); opacity: 0.5; }
		50% { transform: translateX(3px); opacity: 1; }
	}

	#stationmap .stationmap-scroll-hint.is-scrolled .stationmap-scroll-hint__text {
		opacity: 0.7;
	}

	#stationmap .stationmap-scroll {
		overflow-x: auto;
		overflow-y: visible;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		scrollbar-width: thin;
		scrollbar-color: #1063A3 transparent;
		background-color: transparent;
	}

	#stationmap .stationmap-scroll::-webkit-scrollbar {
		height: 5px;
	}

	#stationmap .stationmap-scroll::-webkit-scrollbar-thumb {
		background-color: #1063A3;
		border-radius: 3px;
	}

	#stationmap .stationmap-scroll__inner {
		display: block;
		width: max-content;
		min-width: 580px;
		font-size: 0;
		line-height: 0;
		margin: 0 auto;
	}

	#stationmap .stationmap-img {
		display: block;
		width: 580px;
		max-width: none;
		height: auto;
		vertical-align: top;
		-webkit-user-drag: none;
		user-select: none;
	}

	/* Hamburger navigation (tablet and below) */
	header .header-inner {
		display: block;
		position: relative;
		padding-right: 60px;
	}

	header h1 {
		float: none;
		margin-bottom: 0;
		max-width: 100%;
	}

	header h1 img {
		width: 100%;
		max-width: 280px;
		height: auto;
	}

	.menu-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 6px;
		position: fixed;
		top: 14px;
		right: 16px;
		width: 48px;
		height: 48px;
		padding: 0;
		margin: 0;
		border: none;
		border-radius: 50%;
		background-color: #1063A3;
		cursor: pointer;
		z-index: 10050;
		box-shadow: 0 2px 8px rgba(16, 99, 163, 0.3);
		transition: background-color 0.2s ease, box-shadow 0.2s ease;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
		isolation: isolate;
		transform: translateZ(0);
	}

	.menu-toggle:hover {
		background-color: #0d5288;
		opacity: 1;
		filter: none;
	}

	.menu-toggle-bar {
		display: block;
		width: 20px;
		height: 2px;
		background-color: #fff;
		border-radius: 1px;
		transition: transform 0.25s ease, opacity 0.25s ease;
	}

	.menu-toggle[aria-expanded="true"] {
		background-color: #fff;
		box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle-bar {
		background-color: #1063A3;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.menu-overlay {
		display: none;
		position: fixed;
		inset: 0;
		background-color: rgba(15, 40, 65, 0.45);
		backdrop-filter: blur(2px);
		z-index: 1000;
	}

	.menu-overlay.is-visible {
		display: block;
	}

	.main-navigation {
		position: fixed;
		top: 0;
		right: -100%;
		width: min(320px, 88vw);
		height: 100vh;
		height: 100dvh;
		background: linear-gradient(180deg, #1a7bc4 0%, #1063A3 100%);
		z-index: 1001;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
		font-size: 14px;
	}

	.main-navigation.is-open {
		right: 0;
	}

	.nav-panel-header {
		padding: 12px 16px 8px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	}

	.nav-panel-title {
		color: #fff;
		font-size: 12px;
		font-weight: bold;
		letter-spacing: 0.06em;
		opacity: 0.9;
	}

	.main-navigation ul {
		width: 100%;
		padding: 4px 0 16px;
	}

	.main-navigation #primary-menu > li {
		float: none;
		width: 100%;
		margin: 0 !important;
	}

	.main-navigation #primary-menu > li > a {
		display: flex;
		align-items: center;
		min-height: 42px;
		padding: 10px 16px;
		line-height: 1.4;
		text-align: left;
		border-radius: 0;
		background-color: transparent;
		transition: background-color 0.2s ease;
	}

	.main-navigation #primary-menu > li > a:hover,
	.main-navigation #primary-menu > li > a:focus {
		background-color: rgba(255, 255, 255, 0.1);
		opacity: 1;
		filter: none;
	}

	.main-navigation .nav-icon {
		display: none;
	}

	.main-navigation .nav-label {
		display: block;
		color: #fff;
		font-size: 14px;
		font-weight: bold;
		letter-spacing: 0.02em;
	}

	.main-navigation .sub-menu {
		position: static;
		display: none;
		padding: 2px 0 4px;
		background-color: rgba(0, 0, 0, 0.12);
	}

	.main-navigation .menu-item-has-children.submenu-open > .sub-menu {
		display: block;
	}

	.main-navigation .sub-menu li {
		float: none;
		width: 100%;
		height: auto;
		overflow: visible;
	}

	.main-navigation .sub-menu li a {
		display: block;
		min-height: 38px;
		padding: 8px 16px 8px 28px;
		line-height: 38px;
		font-size: 13px;
		color: rgba(255, 255, 255, 0.95);
		background-color: transparent;
		border: none;
		text-align: left;
		transition: background-color 0.2s ease;
	}

	.main-navigation .sub-menu li a:hover,
	.main-navigation .sub-menu li a:focus {
		background-color: rgba(255, 255, 255, 0.08);
		padding-left: 28px;
		opacity: 1;
		filter: none;
	}

	.main-navigation .menu-item-has-children > a {
		padding-right: 16px;
	}

	.main-navigation .menu-item-has-children > a::after {
		content: "";
		flex-shrink: 0;
		width: 6px;
		height: 6px;
		margin-left: auto;
		border-right: 2px solid rgba(255, 255, 255, 0.9);
		border-bottom: 2px solid rgba(255, 255, 255, 0.9);
		transform: rotate(45deg);
		transition: transform 0.25s ease;
	}

	.main-navigation .menu-item-has-children.submenu-open > a::after {
		transform: rotate(-135deg);
	}

	header nav ul li:hover ul li {
		height: auto;
	}

	/* Page top button (tablet and below) */
	.pagetop-btn {
		position: fixed;
		right: 16px;
		bottom: 16px;
		z-index: 10050;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		padding: 0;
		border: none;
		border-radius: 50%;
		background-color: #1063A3;
		color: #fff;
		cursor: pointer;
		box-shadow: 0 4px 12px rgba(16, 99, 163, 0.35);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
	}

	.pagetop-btn.is-visible {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.pagetop-btn:hover {
		background-color: #0d5288;
		opacity: 1;
		filter: none;
	}

	.pagetop-btn__icon {
		font-size: 20px;
		font-weight: bold;
		line-height: 1;
	}

	body.has-sidemenu-fab .pagetop-btn {
		bottom: 72px;
	}
}

/* ----- Small mobile (768px) : typography ----- */
@media screen and (max-width: 768px) {
	section iframe {
		height: 250px !important;
	}

	section h1 {
		font-size: 1.1em;
		padding: 8px 12px;
	}

	#sidemenu h1 {
		font-size: 1.2em;
	}

	body {
		font-size: 62.5%;
	}

	#section_wrap {
		font-size: 1.25em;
	}

	footer address {
		font-size: 0.9em;
		padding: 0 15px 20px;
	}

	.page-id-2124 section li a,
	.page-id-2127 section li a {
		line-height: 1.5em;
    padding-right: 50px;
    display: flex;
    align-items: center;
	}
}

/* ----- Desktop nav : hide hamburger (969px+) ----- */
@media screen and (min-width: 969px) {
	.menu-toggle,
	.menu-overlay,
	.pagetop-btn {
		display: none;
	}

	.main-navigation {
		clear: both;
		width: 100%;
	}

	.main-navigation .nav-label {
		display: none;
	}

	.nav-panel-header {
		display: none;
	}

	header .header-inner {
		display: block;
	}
}

/* ----- Desktop layout : 2-column sidemenu (969px+) ----- */
@media screen and (min-width: 969px) {
	#contents_wrap {
		display: block;
	}

	#sidemenu {
		display: block;
		float: left;
		width: 240px;
		margin-bottom: 0;
	}

	#section_wrap {
		float: right;
		width: 580px;
	}

	.sidemenu-banners {
		padding: 0;
		border: none;
		border-radius: 0;
		background-color: transparent;
		margin-top: 0;
	}

	.sidemenu-meta + .sidemenu-banners {
		margin-top: 24px;
	}

	.sidemenu-banners__toggle {
		display: none;
	}

	.sidemenu-banners__body {
		display: block !important;
		margin-top: 0;
	}

	.sidemenu-banners__body[hidden] {
		display: block !important;
	}

	.sidemenu-link__icon,
	.sidemenu-link__text,
	.sidemenu-link__trail {
		display: none !important;
	}

	#sidemenu .sidemenu-banners li {
		height: 80px;
	}

	#sidemenu .sidemenu-banners .sidemenu-banner {
		display: block;
		position: relative;
		width: 100%;
		height: 100%;
		min-height: 0;
		padding: 0;
		gap: 0;
		border: none;
		border-radius: 0;
		box-shadow: none;
		background-color: transparent;
	}

	#sidemenu .sidemenu-banners .sidemenu-banner:hover,
	#sidemenu .sidemenu-banners .sidemenu-banner:focus-visible {
		background-color: transparent;
		border-color: transparent;
		box-shadow: none;
	}

	#sidemenu .sidemenu-banners .sidemenu-banner__img {
		display: block;
		width: 100%;
		height: 80px;
		object-fit: cover;
		border: 1px solid #1063A3;
	}

	#sidemenu .sidemenu-banners .sidemenu-banner__label {
		display: block;
	}

	.sidemenu-fab {
		display: none !important;
	}

	body.has-sidemenu-fab {
		padding-bottom: 0;
	}

	/* stationmap: fit container on desktop */
	#stationmap .stationmap-scroll-hint {
		display: none !important;
	}

	#stationmap .stationmap-scroll {
		overflow: visible;
		border: none;
		background: transparent;
	}

	#stationmap .stationmap-scroll__inner {
		display: block;
		min-width: 0;
		width: 100%;
	}

	#stationmap .stationmap-img {
		width: 100%;
		max-width: 580px;
		height: auto;
	}
}

/* ----- Small mobile (480px) ----- */
@media screen and (max-width: 480px) {
	header {
		margin: 2em 10px;
	}

	#contents_bg {
		max-width: calc(100% - 20px);
		margin-left: 10px;
		margin-right: 10px;
	}

	#contents_wrap {
		padding: 0 10px;
	}

	header h1 img {
		max-width: 260px;
	}

	.menu-toggle {
		top: 14px;
		right: 12px;
	}

	section table th,
	section table td {
		font-size: 1.2em;
		padding: 6px 4px;
	}

	section th {
		white-space: normal;
	}
}
