.clearfix {
	clear: both;
}

#secret_contents_main {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 100px;
	padding-bottom: 200px;
}

#secret_contents_main_entry {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-top: 60px;
}

.secret_contents_loop {
	padding-bottom: 100px;
}


/* ↓↓↓ table ↓↓↓ */
.machine-table {
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  margin-bottom: 20px;
}

.machine-table th,
.machine-table td {
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: top;
  text-align: left;
  font-size: 14px;

  word-break: break-word;        /* 長い単語や英語を折り返す */
  white-space: normal;           /* 必要に応じて改行させる */
  overflow-wrap: break-word;     /* 古いブラウザ対応も含めて */
}

.machine-table th {
  background-color: #004ea2;
	color: #FFF;
}

.machine-table .no {
  width: 80px;
  text-align: center;
  font-weight: bold;
vertical-align: middle;
	font-size: 1.3rem;
	
}
.machine-table .photo {
	text-align: center;
}

.machine-table .photo img {
  width: 200px;
  height: auto;
	
}

.detail-btn {
  display: inline-block;
  
  background-color: #940002;
  color: #fff;
  padding: 5px 10px;
  text-decoration: none;
  font-size: 16px;
width: 150px;
	text-align: center;
}

.detail-btn:hover {
  opacity: 0.8;
}

.detail-btn-contact {
  display: inline-block;
  
  background-color: #fc9b00;
  color: #fff;
  padding: 5px 10px;
  text-decoration: none;
  font-size: 16px;
	width: 150px;
	text-align: center;
}

.detail-btn-contact:hover {
  opacity: 0.8;
}




.machine-table .info div {
  margin-bottom: 4px;
}

.machine-table .info div strong{
	display: inline-block;
	width: 80px;
	background-color: #004ea2;
	color: #FFF;
	text-align: center;
	margin-right: 15px;
	font-weight: normal;
	padding-top: 2px;
	padding-bottom: 2px;
	
}


.machine-table .info .info-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4px;
  flex-wrap: wrap; /* 長いテキストの折り返し対応 */
}

.machine-table .info .info-row strong {
  display: inline-block;
  width: 80px;
  background-color: #004ea2;
  color: #FFF;
  text-align: center;
  font-weight: normal;
  padding: 2px 5px;
  flex-shrink: 0;
}

.machine-table .info .info-row span {
  flex: 1;
  font-size: 14px;
  word-break: break-word;
}
	



.machine-table .spec {
  white-space: normal;
  line-height: 1.5;
	font-size: 13px;
	width: 300px;
}

.machine-table .price .ask {
  color: red;
  font-weight: bold;
	font-size: 18px;
}

.machine-table .mail,
.machine-table .download {
  text-align: center;
  font-size: 12px;
}

.machine-table tbody:nth-of-type(even) {
  background-color: #F2F2F2;
}

.action-group {
  text-align: center;
}

.price-text {
color: red;
  font-weight: bold;
	font-size: 17px;
}

.price_left {
	width: 50%;
	display: inline-block;
}

.price_right {
	width: 49%;
	display: inline-block;
}

.price_right a{
	margin-left: 5px;
	margin-right: 5px;
}


.main_image_single {
	text-align: center;
	width: 100%;
}

.main_image_single img{
	height: 480px;
	}

.main_youtube_box {
	width: 980px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding-top: 50px;
}

.machine-table tr th:nth-child(1){
	width: 80px;
}

.machine-table tr th:nth-child(2){
	width: 200px;
}

.machine-table tr th:nth-child(3){
	width: 300px;
}

/* ↓↓↓ レスポンシブ対応 ↓↓↓ */
@media screen and (max-width:640px){
	
.main_youtube_box {
	width: 580px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding-top: 50px;
}
	
.machine-table tr th:nth-child(1){
	width: auto;
}

.machine-table tr th:nth-child(2){
	width: auto;
}
	
.machine-table tr th:nth-child(3){
	width: auto;
}
	
#secret_contents_main {
	width: 580px;
}
	

  .machine-table, 
  .machine-table thead, 
  .machine-table tbody, 
  .machine-table th, 
  .machine-table td, 
  .machine-table tr {
    display: block;
    width: 100%;
	 	max-width: 100%;
  }
	
  .machine-table .photo,
  .machine-table .info {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    box-sizing: border-box;
	  margin-right: 0%;
  }

  .machine-table thead {
    display: none;
  }

  .machine-table tr {
    margin-bottom: 20px;
    padding: 7px;
	  box-sizing: border-box;
	  padding-bottom: 0px;
  }

  .machine-table td {
    border: none;
    padding: 0px 0;
  }

  .machine-table .no {
    text-align: left;
    font-weight: bold;
    font-size: 32px;
    margin-bottom: 10px;
  }
	
	.machine-table .photo {
		margin-bottom: 20px;
	}

  .machine-table .photo img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .machine-table .info div strong {
    font-size: 20px;
  }
	
	.machine-table .info .info-row span {
  font-size: 20px;
}

  .machine-table .info div {
    font-size: 18px;
	  display: inline-block;
	  width: 100%;
  }
	
	

	

  .machine-table .spec {
    font-size: 20px;
    white-space: normal;
	  width: 100%;
	  padding-top: 10px;
  }

  .action-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    margin-top: 15px;
  }

  .price-text {
    font-size: 28px;
  }

  .price_left,
  .price_right {
    width: 100%;
    display: block;
  }
	
	.price_left {
		margin-bottom: 20px;
	}

  .detail-btn,
  .detail-btn-contact {
    width: 100%;
    font-size: 20px;
	margin-bottom: 20px;
  }
	
	.machine-table tbody {
		border: 1px #CCC solid;
		margin-bottom: 30px;
	}	
	
	.machine-table tbody:nth-of-type(even) {
	  background-color: #FFF;
	}



	.machine-table tbody tr:nth-child(2){
		padding-top: 0px;
		padding-bottom: 0px;

	}
	
	.price_right {
		margin-bottom: 0px;
	}
	
	
	.price_right a{
		margin-left: 0px;
		margin-right: 0px;
	}
	
	
.detail-btn {
  display: inline-block;
  
  background-color: #940002;
  color: #fff;
  padding: 15px 20px;
  text-decoration: none;
  font-size: 24px;
	text-align: center;
	box-sizing: border-box;
}


.detail-btn-contact {
  display: inline-block;
  
  background-color: #fc9b00;
  color: #fff;
  padding: 15px 20px;
  text-decoration: none;
  font-size: 24px;
	text-align: center;
	box-sizing: border-box;
}




}


/* ↓↓↓ entry 画像処理 ↓↓↓ */


#gallery_contents_area {
	margin-bottom: 20px;
	
		width: 960px;
	margin-left: auto;
	margin-right: auto;
}

#gallery_contents_info_area {
	padding-bottom: 5px;
	padding-top: 30px;
	width: 100%;
	
	background-image: url(../img/common/bg_s.jpg);
        background-repeat: repeat;
}


.gallery-container {
  max-width: 960px;;
  margin: auto;
  padding: 10px;
}

.main-image-wrapper {
  position: relative;
  text-align: center;
}

.main-image-wrapper img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  margin: auto;
  display: block;
  background-color: #f5f5f5;
}

.main-image-wrapper button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.main-image-wrapper .prev {
  left: 10px;
}

.main-image-wrapper .next {
  right: 10px;
}

.thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 5px;
  margin-top: 15px;
}

.thumb {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  background-color: #eee;
}

.thumb.active {
  border: 2px solid red;
}
	
/* 追加または変更 */
.main-image-wrapper img {
  max-width: 100%;
  /* max-height: 650px; */
	height: 480px;
  object-fit: contain;
  margin: auto;
  display: block;
  background-color: #f5f5f5;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

/* フェードアウト中に使うクラス */
.main-image-wrapper img.fade-out {
  opacity: 0;
}
	

/* レスポンシブ対応 */
@media (max-width: 640px) {
  .main-image-wrapper img {
    max-height: 300px;
  }
	
	
	#gallery_contents_area {
		margin-bottom: 20px;

			width: 580px;
		margin-left: auto;
		margin-right: auto;
	}

	.gallery-container {
	  max-width: 580px;
	  margin: auto;
	  padding: 10px;
		
		margin-left: auto;
		margin-right: auto;
	}
	
	#gallery_contents_info_area {
		padding-bottom: 20px;
		padding-top: 20px;
	}
	
	
	
}





/* ↓↓↓ entry 情報 ↓↓↓ */

#secret-entry-top-back_area {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	
}

#secret-entry-top-back {
	width: 150px;
	height: 45px;
	background-color: #005aab;
	color: #FFF;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
		border-bottom-right-radius: 7px;
	border-bottom-left-radius: 7px;
}

#secret-entry-top-back:hover {
	opacity: 0.7;
}

#secret-entry-top-back a{
	display: block;
	color: #FFF;
	width: 100%;
	height: 45px;
	box-sizing: border-box;
	padding-top: 8px;
}

#secret-entry-video {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 50px;
	
}

.youtube-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9比率 = 9 / 16 * 100 */
  overflow: hidden;
  background-color: #000;
}

.youtube-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.entry_info_box {
	background-color: #FFF;
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
}

.entry_info_box h3{
	border-bottom: 1px #E0E0E0 solid;
    padding: 20px;
	font-size: 22px;
	color: #004ea2;
	padding-top: 7px;
	padding-bottom: 7px;
	
}

.entry_info_box .price {
	padding: 20px;
	text-align: center;
	font-size: 30px;
	color: #B30002;
	font-weight: bold;
}

.entry_info_box .info {
	padding: 20px;
	font-size: 20px;
}


.entry_info_box .body {
	padding: 20px;
	font-size: 20px;
	line-height: 1.6;
}


.entry_info_box .info .spec-table {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: sans-serif;
}

.entry_info_box .info .spec-table .row {
  display: grid;
  grid-template-columns: 100px 1fr 100px 1fr;
  gap: 5px;
  align-items: center;
}

.entry_info_box .info .spec-table .label {
  background-color: #004ea2;
  color: #fff;
  padding: 8px;
  font-weight: bold;
  text-align: center;
}

.entry_info_box .info .spec-table .value {
  padding: 8px;
}


#carrental_contnets {
	background-image: url();
	padding-top: 60px;
}


#form_contents_pdbt {
	width: 100%;
	padding-bottom: 30px;
}

#contact_main_contents_m h4{
	padding-bottom: 6px;
	font-size: 15px;
}

#contact_main_contents_m p{
	font-size: 15px;
	line-height: 1.6;
	display: block;
	padding-bottom: 30px;
}


@media (max-width: 640px) {
	
	
	#secret-entry-top-back_area {
		width: 580px;

	}
	
	
	#secret-entry-video {
		width: 580px;

	}
	
	.entry_info_box .price {
		font-size: 28px;
	}
	
	.entry_info_box {
		background-color: #FFF;
		width: 580px;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 20px;
	}
	
	.main_image_single img{
		width: 100%;
		height: auto;
	}
	
	
	.entry_info_box .body {
	font-size: 20px;
}
	
	.entry_info_box .info {
    font-size: 20px;
}	
	
	
	#contact_main_contents_m h4 {
    padding-bottom: 6px;
    font-size: 23px;
}
	#contact_main_contents_m p {
		 font-size: 20px;
	}
	
	#contact_main_contents table tr th {
		display: block;
		width: auto;
	}
	#contact_main_contents table tr td {
		display: block;
		border-left: 0px;
		padding-left: 15px;
		padding-top: 0px;
		border-top: 0px;
		
	}
	
	    .sub_orange_contact_bt a {
        width: 100%;
        height: 100%;
        display: block;
        color: #FFF;
        font-size: 24px;
    }
	
	    .office_entry_bt {
		 font-size: 24px;	
	}
	
	.contact_submit {
		font-size: 24px;
	}
	
	
	
}


