@charset "UTF-8";
/* ==========================================================================
   レンタルメニュー選択欄の見た目（index.php で読み込む。2026-10-30 デザイン変更）
   ・画面全体（form1.css / view.css / sample.css）の上に、メニュー選択欄（.msMenu の中）だけを上書きする
   ・メニュー1件（.rentalmenu）の HTML・JS は今と同じ。JS が付ける selected / disabled と
     display の切り替え（table / none）でそのまま動くよう、表の形（table）のまま幅と色だけを変える
   ========================================================================== */

/* テスト画面のお知らせ */
#form1 .msLeading .msTest{
	display: block;
	margin: 0 0 6px;
	color: #e53935;
	font-weight: bold;
}

/* 欄の見出し・補足 */
#form1 .msMenu .msHeading{
	margin: 18px 0 2px;
	padding: 0 0 0 7px;
	border-left: 4px solid #333;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.3;
	color: #222;
}
#form1 .msMenu .msHeading:first-child{ margin-top: 8px; }
#form1 .msMenu .msNote{
	margin: 2px 0 6px;
	font-size: 12px;
	color: #555;
}
#form1 .msMenu .msHeading span,
#form1 .msMenu .msNote span{ float: none; width: auto; }

/* 欄（メニューの行を縦に並べる） */
#form1 .msMenu div.rental{ margin: 0; }

/* PCなど幅の広い画面で広がりすぎないよう、行の最大幅は以前のデザイン（view.css の 314px）と同じにする
   ②の枠は、中の行（314px）＋余白・枠線の幅まで */
#form1 .msMenu .msAct,
#form1 .msMenu div.rentalmenu{ max-width: 314px; }
#form1 .msMenu .msPanel{ max-width: 332px; box-sizing: border-box; }

/* ① スキー / スノーボード / 利用しない */
#form1 .msMenu .msActivity{ display: block; }
#form1 .msMenu .msAct{
	position: relative;
	display: block;
	width: 100%;
	min-height: 62px;
	margin: 0 0 6px;
	padding: 6px 10px 6px 70px;
	border: 1px solid #333;
	border-radius: 2px;
	background: #fff;
	color: #222;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	cursor: pointer;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}
#form1 .msMenu .msAct img,
#form1 .msMenu .msAct .msNone{
	position: absolute;
	left: 6px;
	top: 50%;
	width: 50px;
	height: 50px;
	margin-top: -25px;
}
#form1 .msMenu .msAct .msActLabel span{ float: none; width: auto; }
/* 「利用しない」の×印 */
#form1 .msMenu .msAct .msNone::before,
#form1 .msMenu .msAct .msNone::after{
	content: "";
	position: absolute;
	left: 50%;
	top: 4px;
	width: 9px;
	height: 42px;
	margin-left: -4px;
	background: #111;
	transform: rotate(45deg);
}
#form1 .msMenu .msAct .msNone::after{ transform: rotate(-45deg); }
/* 選択中 */
#form1 .msMenu .msAct[aria-pressed="true"]{
	border: 2px solid #2b7cc1;
	padding: 5px 9px 5px 69px;
	background: #eaf4fc;
}
#form1 .msMenu .msAct[aria-pressed="true"] img,
#form1 .msMenu .msAct[aria-pressed="true"] .msNone{ left: 5px; }

/* ② 選んだ方の用具（少し下げて枠で囲む） */
#form1 .msMenu .msPanel{
	margin: 4px 0 8px 14px;
	padding: 6px 8px 2px;
	border: 1px solid #d6d6d6;
	background: #f7f7f7;
}
#form1 .msMenu .msPanel[hidden]{ display: none; }

/* メニュー1件（表の形はそのまま、幅を画面に合わせる） */
#form1 .msMenu div.rentalmenu{
	width: 100%;
	min-height: 62px;
	height: auto;
	margin: 0 0 6px;
	border: 1px solid #333;
	border-radius: 2px;
	background-color: #fff;
	color: #222;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
#form1 .msMenu div.rentalmenu img{
	width: 50px;
	height: 50px;
	margin: 6px;
	object-fit: contain;
}
#form1 .msMenu div.rentalmenu div.rentaldetail{
	width: auto;
	white-space: normal;
}
#form1 .msMenu div.rentalmenu div.rentaldetail div{
	font-size: 13px;
	line-height: 1.35;
}
#form1 .msMenu div.rentalmenu div.rentaldetail div:nth-child(1){
	width: auto;
	font-weight: bold;
	text-align: center;
}
#form1 .msMenu div.rentalmenu div.rentaldetail div.onedayPrice,
#form1 .msMenu div.rentalmenu div.rentaldetail div.twodayPrice{
	width: 1%;
	padding-right: 12px;
	text-align: right;
	white-space: nowrap;
}

/* 選択中：薄い青と青い枠 */
#form1 .msMenu div.rentalmenu.selected,
#form1 .msMenu div.rentalmenu.selected.disabled{
	border: 2px solid #2b7cc1;
	background-color: #eaf4fc;
	color: #222;
}
#form1 .msMenu div.rentalmenu.selected img{ margin: 5px; }

/* 選べない：灰色にして「選択不可」を付ける（選択中のメニューとの組み合わせで選べない） */
#form1 .msMenu div.rentalmenu.disabled{
	border-color: #c8c8c8;
	background-color: #f3f3f3;
	color: #999;
	cursor: not-allowed;
}
#form1 .msMenu div.rentalmenu.disabled img{ opacity: .5; }
#form1 .msMenu div.rentalmenu.selected.disabled img{ opacity: 1; }
#form1 .msMenu div.rentalmenu.disabled div.rentaldetail div:nth-child(1)::after{
	display: inline-block;
	margin-left: 8px;
	font-size: 11px;
	font-weight: bold;
	color: #e53935;
}
#form1 .msMenu div.rentalmenu.disabled div.rentaldetail.jpn div:nth-child(1)::after{ content: "選択不可"; }
#form1 .msMenu div.rentalmenu.disabled div.rentaldetail.eng div:nth-child(1)::after{ content: "Not available"; }
#form1 .msMenu div.rentalmenu.disabled div.rentaldetail.kan div:nth-child(1)::after{ content: "不可选择"; }
#form1 .msMenu div.rentalmenu.disabled div.rentaldetail.han div:nth-child(1)::after{ content: "不可選擇"; }
#form1 .msMenu div.rentalmenu.disabled div.rentaldetail.tai div:nth-child(1)::after{ content: "เลือกไม่ได้"; }
/* 選択中のセットにも JS が disabled を付けるため、その場合は「選択不可」を出さない */
#form1 .msMenu div.rentalmenu.selected.disabled div.rentaldetail div:nth-child(1)::after{ content: none; }
