@charset "utf-8";
/* CSS Document */

/* modal
--------------------------*/


.modal_body {
    min-width: 0;
}
.modal_area {
    display: none;
}
/*
.modal {
    padding: 30px;
}*/
.modal .btn {
    background-color: #2C2C2D;
    color: #fff;
    font-size: 85.7%;
    font-weight: bold;
    margin: 10px auto;
    display: block;
    width: 300px;
    padding: 15px 10px;
    text-align: center;
}
.modal .btn:hover {
	opacity:0.8;
}
.modal .btn span {
    background: url("images/icn_arw_white.png") no-repeat left center;
    color: #fff;
    display: inline-block;
    padding-left: 12px;
    text-align: left;
    width: auto;
}
.modal .close {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}
.modal .close a {
    background-color: #fff;
    color: #333;
    font-size: 85.7%;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}
.modal .close span::before {
    content: "× ";
    font-size: 16px;
}
.modal .close a:hover {
    text-decoration: underline;
}
.modal .column_wrap {
    margin-bottom: 35px;
}

/* システム構成
--------------------------*/
.sys_img {
    position: relative;
}
.sys_img a {
	display: block;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	position: absolute;
	left: 540px;
	top: 348px;
}
.sys_img a:hover {
    background-color: #993333;
    opacity:0.1;
}

/* 発酵・醸造 */
.sys_img a.step01_01 {
    width: 339px;
    height: 18px;
    top: 0px;
    left: 0px;
}
.sys_img a.step01_02 {
	width: 288px;
	height: 18px;
	top: 364px;
	left: 0px;
}
.sys_img a.step01_03 {
	width: 482px;
	height: 18px;
	top: 364px;
	left: 295px;
}

/* 洗浄・充填 */
.sys_img a.step02_01 {
	width: 344px;
	height: 18px;
	top: 0px;
	left: 0px;
}
.sys_img a.step02_02 {
	width: 254px;
	height: 18px;
	top: 364px;
	left: 0px;
}
.sys_img a.step02_03 {
	width: 254px;
	height: 18px;
	top: 364px;
	left: 263px;
}
.sys_img a.step02_04 {
	width: 254px;
	height: 22px;
	top: 364px;
	left: 530px;
}
.sys_img a.step02_05 {
	width: 72px;
	height: 64px;
	top: 138px;
	left: 150px;
}
.sys_img a.step02_06 {
	width: 72px;
	height: 64px;
	top: 138px;
	left: 412px;
}
.sys_img a.step02_07 {
	width: 68px;
	height: 58px;
	top: 140px;
	left: 688px;
}

/* ラベリング */
.sys_img a.step03_01 {
	width: 340px;
	height: 18px;
	top: 0px;
	left: 0px;
}
.sys_img a.step03_02 {
	width: 382px;
	height: 18px;
	top: 364px;
	left: 0px;
}
.sys_img a.step03_03 {
	width: 386px;
	height: 22px;
	top: 362px;
	left: 398px;
}
.sys_img a.step03_04 {
	width: 74px;
	height: 69px;
	top: 135px;
	left: 225px;
}
.sys_img a.step03_05 {
	width: 72px;
	height: 64px;
	top: 136px;
	left: 630px;
}

/* 検査 */
.sys_img a.step04_01 {
	width: 344px;
	height: 18px;
	top: 0px;
	left: 0px;
}
.sys_img a.step04_02 {
	width: 382px;
	height: 18px;
	top: 365px;
	left: 0px;
}
.sys_img a.step04_03 {
	width: 386px;
	height: 18px;
	top: 365px;
	left: 398px;
}

/* 搬送 */
.sys_img a.step05_01 {
	width: 340px;
	height: 18px;
	top: 0px;
	left: 0px;
}
.sys_img a.step05_02 {
	width: 160px;
	height: 18px;
	top: 363px;
	left: 0px;
}
.sys_img a.step05_03 {
	width: 160px;
	height: 18px;
	top: 363px;
	left: 200px;
}
.sys_img a.step05_04 {
	width: 200px;
	height: 18px;
	top: 363px;
	left: 370px;
}
.sys_img a.step05_05 {
	width: 200px;
	height: 18px;
	top: 363px;
	left: 580px;
}

/* 箱詰め */
.sys_img a.step06_01 {
	width: 344px;
	height: 18px;
	top: 0px;
	left: 0px;
}
.sys_img a.step06_02 {
	width: 380px;
	height: 18px;
	top: 363px;
	left: 0px;
}
.sys_img a.step06_03 {
	width: 380px;
	height: 18px;
	top: 363px;
	left: 400px;
}

/* パレタイズ */
.sys_img a.step07_01 {
	width: 340px;
	height: 18px;
	top: 0px;
	left: 0px;
}
.sys_img a.step07_02 {
	width: 780px;
	height: 18px;
	top: 363px;
	left: 0px;
}

/*モバイル表示*/
.sys_config img {max-width: 100%; height: auto;}


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  z-index: 9999;
}

.modal-overlay.active {
  display: block;
}

.modal.fullscreen {
  width: 100%;
  height: 100%;
  background: #fff;
  position: relative;
  overflow-y: auto;
}

.modal-content {
  max-width: 900px;
  margin: 80px auto;
  padding: 24px;
}

.modal img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  margin: 24px 0;
}

.close-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.close-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e53935; /* red */
  color: #fff;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.close-btn:hover {
  background: #c62828;
}

.close-btn:active {
  transform: scale(0.95);
}
