table {
	width: 500px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #999;
}
th {
	text-align: right;
	padding-right: 10px;
	font-weight: normal;
	padding-top: 5px;
	padding-bottom: 5px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #999;
	border-bottom-color: #999;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #999;
}
td {
	padding-top: 7px;
	padding-bottom: 7px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #999;
	border-bottom-color: #999;
	padding-left: 10px;
	line-height: 200%;
}
textarea {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	font-size: 12px;
}
#thanks {
	line-height: 200%;
	width: 420px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 50px;
	margin-bottom: 70px;
}

#attention{
	width: 500px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 10px;
}
#form_header{
	width: 500px;
	margin-right: auto;
	margin-left: auto;
}
#form_header_t{
	color: #0B693E;
	font-size: 20px;
	margin-bottom: 10px;
}
#form_header p {
	display: inline-block;
}
.attention_b {
	font-weight: bold;
	font-size: 13px;
}
.attention_red {
	color: #FF0000;
}
#furikomi {
	border: 1px solid #000;
	padding: 15px;
	margin-bottom: 5px;
	margin-top: 10px;
}

.photosize{
	border: 1px solid #999;
}
.photosize th,.photosize td{
	width: 125px;
}
.photosize,.photo_shurui{
	margin-bottom: 3px;
	font-size: 11px;
}
.photosize th,.photosize td,.photo_shurui th,.photo_shurui td{
	padding: 0 6px;
	text-align: left;
}

.kubun{
	background-color:#efefef;
}
.photoprice_td1{
	width: 68px;
}
.photoprice_td2{
	width: 37px;
}
.photo_shurui td{
}
.photo_shurui th{
	width: 270px!important;
}
.kinyu{
	border: 1px solid #000000;
	text-align: center;
	width: 250px;
}



     #popup:checked ~ .overlay {
      display: flex;
    }



    .overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }



    .modal {
      position: relative;
      background: white;
      padding: 40px 20px 20px; /* ←上に40px余白で×のスペース確保 */
      border-radius: 10px;
      max-width: 90%;
      max-height: 90%;
      overflow: auto;
      box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }



    .modal img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
      display: block;
      margin: 0 auto;
    }



    .close-x {
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 20px;
      font-weight: bold;
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      line-height: 28px;
      text-align: center;
      color: #333;
      cursor: pointer;
      text-decoration: none;
      box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    }



    .open-btn {
      background: #0daa67;
      color: #fff;
      padding: 2px 20px;
      border-radius: 5px;
      text-decoration: none;
      cursor: pointer;
      display: inline-block;
      margin: 0px;
		vertical-align: top;
    }
#open{
	margin-top: 10px;
	line-height: 1.2;
	
}
    .open-txt {
     display: inline-block;
	vertical-align: top;
    }