@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/* ==========================================================================
   株式会社マーケットプレイス 本体サイト（https://www.marketplace.co.jp/）の
   ヘッダー・フッター模倣
   - 値は本体の css/style.css と Bootstrap 3 の既定値に合わせている
   - すべて #mp-header-wrap / #mp-footer / #mp-pagetop / #mp-shadow の内側に限定する
   ========================================================================== */

/* 0. SWELL標準UIの非表示（子孫セレクタは使わない）
   ========================================================================== */
.l-header,
.l-fixHeader,
.l-footer,
.p-fixBtnWrap,
.c-fixBtn,
#pagetop,
.p-spMenu,
.p-spMenuBtn {
	display: none !important;
}

/* 1. 共通
   ========================================================================== */
#mp-header-wrap,
#mp-header-wrap *,
#mp-header-wrap *::before,
#mp-header-wrap *::after,
#mp-footer,
#mp-footer *,
#mp-footer *::before,
#mp-footer *::after,
#mp-pagetop,
#mp-pagetop * {
	box-sizing: border-box;
}

#mp-header-wrap,
#mp-footer {
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Noto Sans Japanese", Meiryo, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.42857143;
	color: #646464;
	text-align: left;
	letter-spacing: normal;
}

#mp-header-wrap *,
#mp-footer * {
	font-weight: inherit;
}

#mp-header-wrap a,
#mp-footer a {
	color: #9a9a9a;
	text-decoration: none;
}

#mp-header-wrap ul,
#mp-header-wrap li {
	margin: 0;
	padding: 0;
	list-style: none;
}

#mp-header-wrap p,
#mp-footer p {
	margin: 0;
	padding: 0;
}

#mp-header-wrap img,
#mp-footer img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 0;
}

/* 2. ヘッダー（固定ナビ）
   ========================================================================== */
#mp-header-wrap {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
}

.admin-bar #mp-header-wrap {
	top: 32px;
}

#mp-header-spacer {
	height: 50px;
}

#mp-header-wrap .mp-navbar {
	position: relative;
	min-height: 50px;
	background-color: #fff;
	border-bottom: 1px solid #f0f0f0;
}

#mp-header-wrap .mp-navbar::after {
	content: "";
	display: table;
	clear: both;
}

#mp-header-wrap .mp-navbar-header::after {
	content: "";
	display: table;
	clear: both;
}

#mp-header-wrap .mp-brand {
	float: left;
	height: 50px;
	padding: 5px;
	line-height: 20px;
}

#mp-header-wrap .mp-brand img {
	height: 40px;
	width: auto;
	max-width: none;
}

/* ハンバーガー（SPのみ表示） */
#mp-header-wrap .mp-toggle {
	display: none;
	position: relative;
	float: right;
	margin: 8px 15px 8px 0;
	padding: 9px 10px;
	background: transparent;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

#mp-header-wrap .mp-toggle:focus {
	outline: 0;
}

#mp-header-wrap .mp-bar {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 1px;
	background-color: #0076a3;
	transition: all .15s;
}

#mp-header-wrap .mp-bar + .mp-bar {
	margin-top: 4px;
}

#mp-header-wrap .mp-toggle.is-open .mp-bar:nth-child(1) {
	transform: rotate(45deg);
	transform-origin: 10% 10%;
}

#mp-header-wrap .mp-toggle.is-open .mp-bar:nth-child(2) {
	opacity: 0;
}

#mp-header-wrap .mp-toggle.is-open .mp-bar:nth-child(3) {
	transform: rotate(-45deg);
	transform-origin: 10% 90%;
}

/* ナビ項目 */
#mp-header-wrap .mp-nav > li > a {
	position: relative;
	display: block;
	padding: 15px;
	line-height: 20px;
	transition: none;
}

#mp-header-wrap .mp-nav > li > a:hover,
#mp-header-wrap .mp-nav > li.is-open > a {
	color: #fff;
	background-color: #0076a3;
}

/* メガメニュー */
#mp-header-wrap .mp-mega-menu {
	display: none;
	font-size: 14px;
	background-color: #2b4255;
}

#mp-header-wrap .mp-mega.is-open > .mp-mega-menu {
	display: block;
}

#mp-header-wrap .mp-mega-menu p {
	color: #fff;
}

#mp-header-wrap .mp-mega-sub {
	font-family: 'NTR', sans-serif;
	letter-spacing: .1em;
}

#mp-header-wrap .mp-mega-inner::after {
	content: "";
	display: table;
	clear: both;
}

#mp-header-wrap .mp-mega-head,
#mp-header-wrap .mp-mega-box {
	float: left;
	position: relative;
	min-height: 1px;
	padding-left: 15px;
	padding-right: 15px;
}

#mp-header-wrap .mp-mega-box a {
	display: table-cell;
	width: 256px;
	max-width: 100%;
	text-align: center;
	vertical-align: middle;
	color: #0076a3;
	letter-spacing: .08em;
	line-height: 1.3;
	background-color: #fff;
}

#mp-header-wrap .mp-mega-box img {
	display: block;
	width: 100%;
}

#mp-header-wrap .mp-mega-caption {
	display: block;
}

/* 「詳しく見る」ボタン */
#mp-header-wrap .mp-btn {
	position: relative;
	display: inline-block;
	overflow: hidden;
	z-index: 1;
	color: #fff;
	background-color: #0076a3;
	border-radius: 30px;
	white-space: nowrap;
	text-align: center;
	transition: all .3s;
}

#mp-header-wrap .mp-btn-arrow {
	padding-right: .35em;
}

/* 背景の暗幕（PCでメガメニューを開いたとき） */
#mp-shadow {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: #000;
	opacity: .6;
	z-index: 1000;
}

#mp-shadow.is-show {
	display: block;
}

/* 2-1. PC（768px以上）
   ========================================================================== */
@media screen and (min-width: 768px) {
	#mp-header-wrap .mp-navbar-header {
		float: left;
	}

	#mp-header-wrap .mp-collapse {
		display: block !important;
		height: auto !important;
		padding: 0;
	}

	#mp-header-wrap .mp-nav {
		float: right;
	}

	#mp-header-wrap .mp-nav > li {
		float: left;
	}

	#mp-header-wrap .mp-nav > li.mp-info {
		padding-right: 15px;
	}

	#mp-header-wrap .mp-mega-menu {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		z-index: 1000;
	}

	#mp-header-wrap .mp-mega-inner {
		margin: 0 auto;
		padding: 20px 0;
		max-width: 880px;
	}

	#mp-header-wrap .mp-mega-head,
	#mp-header-wrap .mp-mega-box {
		width: 33.33333333%;
	}

	#mp-header-wrap .mp-mega-sub {
		margin-bottom: 10px;
		font-size: 28px;
	}

	#mp-header-wrap .mp-mega-title {
		margin-bottom: 10px;
		font-size: 42px;
	}

	#mp-header-wrap .mp-mega-view {
		margin-top: 38px;
	}

	#mp-header-wrap .mp-mega-box a {
		padding: 0 0 16px;
		font-size: 16px;
		border-radius: 5px;
	}

	#mp-header-wrap .mp-mega-box img {
		margin-bottom: 1em;
		border-radius: 5px 5px 0 0;
	}

	#mp-header-wrap .mp-btn {
		padding: .8em 3em;
		font-size: 14px;
		line-height: 1;
	}

	#mp-header-wrap .mp-btn::after,
	#mp-header-wrap .mp-btn::before {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		height: 100%;
		border-radius: 30px;
	}

	#mp-header-wrap .mp-btn::after {
		width: 100%;
		background-color: #0076a3;
		z-index: -2;
	}

	#mp-header-wrap .mp-btn::before {
		width: 0;
		background-color: #003f57;
		transition: all .3s;
		z-index: -1;
	}

	#mp-header-wrap .mp-btn:hover {
		color: #fff;
	}

	#mp-header-wrap .mp-btn:hover::before {
		width: 100%;
	}
}

@media screen and (min-width: 768px) and (max-width: 782px) {
	.admin-bar #mp-header-wrap {
		top: 46px;
	}
}

/* 2-2. SP（767px以下）
   ========================================================================== */
@media screen and (max-width: 767px) {
	.admin-bar #mp-header-wrap {
		top: 46px;
	}

	#mp-header-wrap .mp-toggle {
		display: block;
	}

	#mp-header-wrap .mp-collapse {
		display: none;
		max-height: calc(100vh - 50px);
		overflow-y: auto;
		border-top: 1px solid #e7e7e7;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
	}

	#mp-header-wrap .mp-collapse.is-open {
		display: block;
	}

	#mp-header-wrap .mp-nav > li {
		position: relative;
	}

	#mp-header-wrap .mp-nav > li > a {
		color: #fff;
		padding: 15px 10px;
		border-bottom: 1px solid #0076a3;
		background-color: #016084;
	}

	/* 右端の丸アイコン（＋ / − / ＞） */
	#mp-header-wrap .mp-nav > li > a::after {
		content: "";
		position: absolute;
		top: 50%;
		right: 20px;
		width: 18px;
		height: 18px;
		margin-top: -9px;
		background-color: #fff;
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		-webkit-mask-size: contain;
		mask-size: contain;
	}

	#mp-header-wrap .mp-mega > a::after {
		-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm5 11h-4v4H9v-4H5V9h4V5h2v4h4z'/%3E%3C/svg%3E");
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm5 11h-4v4H9v-4H5V9h4V5h2v4h4z'/%3E%3C/svg%3E");
	}

	#mp-header-wrap .mp-mega.is-open > a::after {
		-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm5 11H5V9h10z'/%3E%3C/svg%3E");
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm5 11H5V9h10z'/%3E%3C/svg%3E");
	}

	#mp-header-wrap .mp-link > a::after {
		-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zM8.4 15 7 13.6 10.6 10 7 6.4 8.4 5l5 5z'/%3E%3C/svg%3E");
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zM8.4 15 7 13.6 10.6 10 7 6.4 8.4 5l5 5z'/%3E%3C/svg%3E");
	}

	#mp-header-wrap .mp-nav > li > a:hover,
	#mp-header-wrap .mp-nav > li.is-open > a {
		background-color: #016084;
	}

	#mp-header-wrap .mp-mega-menu {
		padding: 20px 0;
	}

	/* 本体の .row（左右 -15px）込みの幅にそろえる */
	#mp-header-wrap .mp-mega-inner {
		margin: 0 auto;
		width: calc(90% + 30px);
	}

	#mp-header-wrap .mp-mega-head {
		width: 100%;
		padding: 0;
	}

	#mp-header-wrap .mp-mega-sub,
	#mp-header-wrap .mp-mega-title,
	#mp-header-wrap .mp-mega-view {
		padding: 0 15px;
	}

	#mp-header-wrap .mp-mega-sub {
		margin-bottom: 10px;
		font-size: 21px;
		line-height: 1.1;
	}

	#mp-header-wrap .mp-mega-title {
		float: left;
		width: 41.66666667%;
		margin-bottom: 10px;
		font-size: 21px;
		line-height: 1.1;
	}

	#mp-header-wrap .mp-mega-view {
		float: left;
		width: 58.33333333%;
		margin-top: -21px;
		margin-bottom: 15px;
	}

	#mp-header-wrap .mp-mega-box {
		width: 50%;
	}

	#mp-header-wrap .mp-mega-box a {
		font-size: 16px;
		border-radius: 3px;
	}

	#mp-header-wrap .mp-mega-box img {
		border-radius: 3px 3px 0 0;
	}

	#mp-header-wrap .mp-mega-caption {
		margin: .5em 0;
		font-size: .9em;
	}

	#mp-header-wrap .mp-btn {
		padding: 1em 2.8em;
		font-size: 14px;
		line-height: 1;
	}
}

/* 3. フッター
   ========================================================================== */
#mp-footer {
	margin: 2em 0 0;
	border-top: 1px solid #f0f0f0;
	background-color: #fafafa;
	text-align: center;
}

#mp-footer .mp-footer-container {
	margin: 0 auto;
	padding: 0 15px;
}

#mp-footer .mp-footer-pc {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 40px;
}

#mp-footer .mp-footer-pc .mp-footer-logo {
	flex-shrink: 0;
}

#mp-footer .mp-footer-links {
	display: flex;
	gap: 40px;
	white-space: nowrap;
}

#mp-footer .mp-footer-links .mp-policy {
	display: inline-block;
}

#mp-footer .mp-copyright {
	text-align: center;
}

@media screen and (min-width: 768px) {
	#mp-footer {
		padding: 5em 0;
	}

	#mp-footer .mp-footer-container {
		width: 750px;
		padding: 2em 0 0;
	}

	#mp-footer .mp-footer-sp {
		display: none;
	}

	#mp-footer .mp-copyright {
		margin: 16px auto;
	}

	#mp-footer .mp-footer-logo img {
		width: 70%;
	}
}

@media screen and (min-width: 992px) {
	#mp-footer .mp-footer-container {
		width: 880px;
	}
}

@media screen and (max-width: 767px) {
	#mp-footer .mp-footer-pc {
		display: none;
	}

	#mp-footer .mp-policy {
		margin-bottom: 1.5em;
		font-size: .8em;
	}

	#mp-footer .mp-footer-sp .mp-footer-logo {
		margin-bottom: 10px;
	}

	#mp-footer .mp-footer-logo img {
		width: 50%;
	}

	#mp-footer .mp-copyright {
		margin-bottom: 10px;
		font-size: .7em;
	}
}

/* 4. ページトップ
   ========================================================================== */
#mp-pagetop {
	position: fixed;
	bottom: 20px;
	right: 20px;
	margin: 0;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: opacity .4s, visibility .4s;
}

#mp-pagetop.is-show {
	opacity: 1;
	visibility: visible;
}

#mp-pagetop a {
	display: block;
	position: relative;
	width: 48px;
	height: 48px;
	border-radius: 24px;
	background-color: #0076a3;
	text-decoration: none;
	transition: all .5s cubic-bezier(.55, .055, .675, .19);
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .12), 0 2px 2px 0 rgba(0, 0, 0, .24);
}

#mp-pagetop a:hover {
	opacity: .7;
	box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2);
}

#mp-pagetop .mp-pagetop-arrow {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	margin: -2px 0 0 -4.5px;
	border-top: 3px solid #fff;
	border-left: 3px solid #fff;
	transform: rotate(45deg);
}
