@charset "utf-8";

/* =====================================================
   storage.css
   保管・在庫管理ページ固有スタイル
   service-common.css の後に読み込む
===================================================== */

/* =====================
   ページ基盤
===================== */
#storage {
	background: var(--white);
	color: var(--text-body);
}

#storage section {
	padding: 72px 0;
	position: relative;
	border: none;
}

#storage > section + section {
	margin-top: 0;
}

#storage .service-block {
	padding: 48px 0 !important;
}

#storage .main-wrapper {
	padding-inline: clamp(20px, 4vw, 48px);
}

/* =====================
   ヒーロー
===================== */
#storage #page-title {
	padding-top: var(--header-offset);
	padding-bottom: 40px;
	padding-left: 0;
	padding-right: 0;
	background-image: url(../img/service/storage/bg_mainvisual.jpg);
	color: var(--white);
}

/* =====================
   セクション背景：互い違い（表示順に追随）
   青: #logistics / #station
   白: #warehouses
===================== */
#logistics {
	background: var(--blue-050);
}

#warehouses {
	background: var(--white);
}

#station {
	background: var(--blue-050);
}

#relocation {
	background: var(--white);
}

#documents {
	background: var(--blue-050);
}

#processing {
	background: var(--white);
}

#baggage {
	background: var(--blue-050);
}

/* =====================
   ブロック背景：セクションと逆色
===================== */
#logistics .service-wrapper {
	background: var(--white);
}

#station .service-wrapper {
	background: var(--white);
}

#relocation .service-wrapper {
	background: var(--blue-050);
}

#documents .service-wrapper {
	background: var(--white);
}

#processing .service-wrapper {
	background: var(--blue-050);
}

#baggage .service-wrapper {
	background: var(--white);
}

/* =====================
   ページ固有レスポンシブ
===================== */
@media only screen and (max-width: 1024px) {
	#storage .service-block {
		padding-block: 36px !important;
	}
}

@media only screen and (max-width: 767px) {
	#storage .service-block {
		padding-block: 24px !important;
	}

	#storage #page-title {
		padding-top: var(--header-offset);
		padding-bottom: 64px;
	}

	/* 事務所移転：SP は見出し → 画像 → 本文 */
	#relocation .relocation-row {
		display: flex;
		flex-direction: column;
	}

	#relocation .relocation-copy {
		display: contents;
	}

	#relocation .relocation-heading {
		order: 1;
		padding: 32px 20px 16px;
	}

	#relocation .relocation-heading .section-label {
		margin-bottom: 10px;
	}

	#relocation .relocation-heading h2 {
		margin-bottom: 0;
	}

	#relocation .relocation-row .service-media {
		order: 2;
		padding: 0 16px;
	}

	#relocation .relocation-body {
		order: 3;
		padding: 16px 20px 32px;
	}

	#relocation .relocation-body p:last-child {
		margin-bottom: 0;
	}

	/* 文書保管：SP は見出し → 画像 → 本文（事務所移転と同順） */
	#documents .documents-row {
		display: flex;
		flex-direction: column;
	}

	#documents .documents-copy {
		display: contents;
	}

	#documents .documents-heading {
		order: 1;
		padding: 32px 20px 16px;
	}

	#documents .documents-heading .section-label {
		margin-bottom: 10px;
	}

	#documents .documents-heading h2 {
		margin-bottom: 0;
	}

	#documents .documents-row .service-media {
		order: 2;
		padding: 0 16px;
	}

	#documents .documents-body {
		order: 3;
		padding: 16px 20px 32px;
	}

	#documents .documents-body p:last-child {
		margin-bottom: 0;
	}

	/* 手荷物サービス：SP は見出し → 画像 → 本文 */
	#baggage .baggage-row {
		display: flex;
		flex-direction: column;
	}

	#baggage .baggage-copy {
		display: contents;
	}

	#baggage .baggage-heading {
		order: 1;
		padding: 32px 20px 16px;
	}

	#baggage .baggage-heading .section-label {
		margin-bottom: 10px;
	}

	#baggage .baggage-heading h2 {
		margin-bottom: 0;
	}

	#baggage .baggage-row .service-media {
		order: 2;
		padding: 0 16px;
	}

	#baggage .baggage-body {
		order: 3;
		padding: 16px 20px 32px;
	}

	#baggage .baggage-body p:last-child {
		margin-bottom: 0;
	}
}

/* =====================
   コンテンツ本文ブロック
   service-wrapper 内のテキストエリア
===================== */
.storage-body {
	padding: 48px 40px 32px;
}

.storage-lead {
	font-size: 15px;
	line-height: 1.85;
	color: var(--text-body);
	margin: 0 0 12px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.storage-lead strong {
	color: var(--base);
	font-weight: 700;
}

/* =====================
   物流センターカードグリッド
===================== */
.center-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	padding: 0 0 0;
}

.center-card {
	overflow: hidden;
}

.center-card figure {
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.center-card figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.center-card-info {
	padding: 20px 24px;
}

.center-card-info h3 {
	font-size: 16px;
	font-weight: 700;
	color: var(--text-strong);
	margin: 0 0 4px;
}

.center-card-info p {
	font-size: 13px;
	color: var(--text-muted);
	margin: 0;
}

/* =====================
   特徴リスト
===================== */
.feature-list {
	list-style: none;
	margin: 24px auto 0;
	padding: 0;
	max-width: 640px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.feature-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 20px;
	background: var(--white);
}

.feature-item i {
	font-size: 22px;
	color: var(--base);
	flex-shrink: 0;
	margin-top: 1px;
}

.feature-item span {
	font-size: 14px;
	line-height: 1.7;
	color: var(--text-body);
}

/* =====================
   店舗ギャラリー
===================== */
.store-gallery {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	padding: 32px 0 0;
}

.store-item {
	overflow: hidden;
}

.store-item figure {
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.store-item figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.store-figure--pending {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #e8eef4;
}

.store-pending-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: #7a8fa6;
	border: 1px solid #b0c4d8;
	border-radius: 3px;
	padding: 4px 10px;
}

.store-item span {
	display: block;
	padding: 10px 8px 12px;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	color: var(--text-strong);
}

/* =====================
   駅ビル物流 補足ノート
===================== */
.station-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 20px 40px;
	background: var(--blue-100);
}

.station-note i {
	font-size: 20px;
	color: var(--base);
	flex-shrink: 0;
	margin-top: 2px;
}

.station-note p {
	font-size: 13px;
	line-height: 1.75;
	color: var(--text-body);
	margin: 0;
}

/* =====================
   倉庫マップ（全幅表示）
===================== */
.warehouse-map-full {
	margin-top: 32px;
	text-align: center;
}

.warehouse-map-full img {
	width: 100%;
	max-width: 800px;
	height: auto;
	display: inline-block;
	border: none;
}

/* =====================
   手荷物サービス 対応エリア
===================== */
.baggage-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 20px;
	padding: 32px 40px 48px;
}

.baggage-area-map {
	flex: 0 0 100%;
}

.baggage-area-map img {
	width: 100%;
	height: auto;
	display: block;
	border: none;
	object-fit: contain;
}

.baggage-area-info {
	flex: 1;
}

.baggage-area-info h3 {
	font-size: 16px;
	font-weight: 700;
	color: var(--text-strong);
	margin: 0 0 10px;
}

.baggage-area-info p {
	font-size: 14px;
	line-height: 1.85;
	color: var(--text-body);
	margin: 0;
}

/* =====================
   Crosta バナー
===================== */
.crosta-banner {
	background: #2868b3;
	padding: 40px 0;
}

.crosta-banner-inner {
	max-width: var(--content-max);
	width: 100%;
	margin: 0 auto;
	padding-inline: clamp(20px, 4vw, 48px);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.crosta-banner-text {
	flex: 1;
}

.crosta-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
	margin: 0 0 6px;
}

.crosta-logo {
	margin: 0 0 8px;
	line-height: 0;
}

.crosta-logo img {
	display: block;
	height: 40px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.crosta-desc {
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.82);
	margin: 0;
}

.crosta-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 14px 28px;
	background: var(--white);
	color: #2868b3 !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
}

.crosta-btn:hover {
	background: var(--blue-050);
}

.crosta-btn i {
	font-size: 18px;
}

/* =====================
   流通加工 3列垂直フロー
===================== */
.distribution-flow {
	padding: 56px clamp(24px, 5vw, 64px) 72px;
	max-width: 900px;
	margin: 0 auto;
}

/* 検品（全幅） */
.flow-start {
	display: flex;
}

/* 3カラムグリッド */
.flow-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

/* 各列：縦に並べる */
.flow-column {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* 接続棒 */
.flow-vline {
	width: 4px;
	height: 24px;
	background: var(--slate);
	flex-shrink: 0;
	position: relative;
}

/* 下向き矢印 */
.flow-vline::after {
	content: '';
	position: absolute;
	bottom: -7px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 8px solid var(--slate);
}

/* 各ステップのボックス */
.flow-box {
	background: var(--base);
	padding: 16px 16px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--white);
	text-align: center;
	width: 100%;
	box-sizing: border-box;
	min-height: 68px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 検品ボックス（全幅・角丸なし） */
.flow-box--primary {
	width: 100%;
	border-radius: 0;
}

/* =====================
   レスポンシブ（コンポーネント）
===================== */
@media only screen and (max-width: 1024px) {
	.center-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.store-gallery {
		grid-template-columns: repeat(3, 1fr);
	}

}

@media only screen and (max-width: 767px) {
	.storage-lead {
		font-size: 14px;
		line-height: 1.8;
	}

	.center-card-info h3 {
		font-size: 17px;
	}

	.center-card-info p {
		font-size: 14px;
		line-height: 1.65;
	}

	.feature-item span {
		font-size: 14px;
		line-height: 1.75;
	}

	.station-note p {
		font-size: 14px;
		line-height: 1.75;
	}

	.storage-body {
		padding: 32px 20px 24px;
	}

	.center-grid {
		grid-template-columns: 1fr;
	}

	.store-gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.station-note {
		padding: 16px 20px;
	}


	.flow-diagram {
		padding: 24px 20px 32px;
	}

	.flow-node {
		width: 76px;
		font-size: 13px;
	}

	.distribution-flow {
		padding: 32px 10px 48px;
	}

	.flow-columns {
		gap: 8px;
	}

	.flow-box {
		padding: 8px 6px;
		font-size: 12px;
		min-height: 44px;
	}

	.baggage-area {
		flex-direction: column;
		padding: 24px 20px 32px;
		gap: 20px;
	}

	.baggage-area-map {
		flex: none;
		width: 100%;
	}

	.baggage-area-info h3 {
		font-size: 17px;
	}

	.baggage-area-info p {
		font-size: 14px;
		line-height: 1.8;
	}

	.crosta-label {
		font-size: 12px;
	}

	.crosta-desc {
		font-size: 14px;
		line-height: 1.75;
	}

	.crosta-btn {
		font-size: 15px;
	}

	.store-item span {
		font-size: 13px;
	}

	.crosta-banner-inner {
		flex-direction: column;
		text-align: center;
		gap: 24px;
	}

	.crosta-logo img {
		margin-left: auto;
		margin-right: auto;
	}

	/* カード見出しも中央 */
	.center-card-info {
		text-align: center;
	}
}
