@charset "utf-8";

/* Desktop向けスタイル(1200px以上) */
/* 2023 add style */
img {
	max-width: 100%;
}

.jumbotron{
	/* margin-top: 62px; */
	margin-top: 72px;
	text-align: center;
	color: #fff;
}

.jumbotron h1{
	font-size: 50px;
	color: #fff;
	
}

div.page-top{
	margin: 0;
    padding: 0;
    display: none;
}


/* end */

/* ------------------- 製品型番 検索窓 ------------------- */
.inputmodel {
	margin : 20px 0 0;
	padding: 0px;
}

.ui-autocomplete {
	max-height: 14.3em;
	overflow-y: auto;
	overflow-x: hidden;
}

/* 対象となる要素のクラス名が"element"の場合 */
.ui-autocomplete {
	overflow: auto;
}

/* スクロールバー本体 */
.ui-autocomplete::-webkit-scrollbar {
	width     : 10px;
	background: #9aadfc;
}

/* スクロールバーの動く部分 */
.ui-autocomplete::-webkit-scrollbar-thumb {
	background   : #435295;
	border-radius: 2px;
}

/* スクロールバーの動く部分の前 */
.ui-autocomplete::-webkit-scrollbar-track-piece:start,
.ui-autocomplete::-webkit-scrollbar-track-piece:end {
	background: #dddddd;
}

/*タップ・フォーカスの色 */
ul li.ui-menu-item a.ui-state-focus,
ul li.ui-menu-item a.ui-state-active,
ul li.ui-menu-item a:hover {
	background: #CCC 50% 50% repeat-x;
}

/* 角丸 */
input.f_product {
	border-bottom-left-radius: 4px !important;
	border-top-left-radius   : 4px !important;
}

div.jumbotron p#error_message{
	background-color: rgba(0,0,0,0.7);
	padding: 6px 12px;
	border-radius: 8px;
	width: 100%;
	color: #afeeee;
	font-size: 14px;
}

/* ------------------- 製品名の確認方法 ------------------- */

.inputmodel .method {
	background-color: #d8751d;
	margin-bottom   : 8px;
	margin-top      : 8px;
	padding         : 2px 8px;
	border          : solid 1px #dfc7b2;
}
div.method_PN .btn {
	border-radius: 18px;
}

/* ------------------- モーダル ------------------- */
.inputmodel .modal-body p {
	color    : #333;
	font-size: 15px;
}
.modal-body {
	position: relative;
}
.hand-left-1 h2 {
	position: absolute;
	color   : #f5a032;
	top     : 25%;
	right   : 23%;
}
.hand-left-2 h2 {
	position: absolute;
	color   : #f5a032;
	top     : 58%;
	right   : 45%;
}
.hand-left-3 h2 {
	position: absolute;
	color   : #f5a032;
	top     : 66%;
	right   : 6%;
}


/* ------------------- ギャラリーリボン用 ------------------- */

.ribbon5 {
	position: relative;
	float: left;
	height: 48px;
	margin-top: 80px;
	padding: 5px 0;
	background: #c4586c;
	color: #FFF;
	box-sizing: border-box;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
}
.ribbon5 h5 {
	position: relative;
	float: left;
	margin: 0;
	border-top: dashed 1px #ffffff;
	border-bottom: dashed 1px #ffffff;
	padding: 8px 15px;
}
.ribbon5:after {
	content: '';
	position: absolute;
	left: 100%;
	top: 0;
	height: 0;
	width: 0;
	z-index: 1;
	border-top: 24px solid #c4586c;
	border-bottom: 24px solid #c4586c;
	border-left: 0px;
	border-right: 15px solid transparent;
}
.ribbon5:hover {
	color: #d9eaff;
}
.ribbon5 h5:hover {
	border-top   : dashed 1px #d9eaff;
	border-bottom: dashed 1px #d9eaff;
}
.top_gallery-icon {
	position      : relative;
	top           : 0;
	vertical-align: middle;
	display       : inline;
	height        : auto;
}
.top_gallery-icon {
	margin-left : 0.5em;
	margin-right: 0.5em;
	max-width   : 20px;
}


/* ------------------- 製品ラインナップ一覧 ------------------- */

.category-list{
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: flex-start;
	max-width: 900px;
	margin: 0 auto;
}

.category-item{
	width: 200px;
	border: solid 1px #ddd;
	border-radius: 4px;
	padding: 10px;
	box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
	background: #fff;
	color: #000;
}

.category-list h4{
	margin: 10px;
	word-wrap: break-word;
}

/* ------------------- RESPONSIVE CSS ------------------- */

@media (max-width: 767px) {
	.top_gallery-icon {
		margin-left : 0.3em;
		margin-right: 0.3em;
		max-width   : 20px;
	}

	/* 2023 add style */
	.jumbotron h1{
		font-size: 32px;
	}
}

@media (max-width: 480px) {

	.category-item{
		width: calc(50% - 10px);
	}
}