@charset "utf-8";
/* CSS Document */

@media screen { .imgInput input { display: none; } }

input, button, textarea, select{
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}


/*==============================
ヘッダ
==============================*/

header{
  height: auto;
  padding: 150px 0;
}

header h2{
  position: relative;
  text-align: center;
  height: 40px;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
}

/*==============================
メイン
==============================*/
#titleWrap{
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: -50px;
  z-index: 0;
  text-align: center;
  background-color: #fff;
  padding: 50px 15px 100px;
  bottom: -50px;
}

.btn{
  position: relative;
  display: inline-block;
  padding: 25px 40px;
  margin-right: 5px;
  margin-left: 5px;
  background-color: #06355c;
  color: #fff;
  box-shadow: 5px 5px 0 0 rgba(0,0,0,.2);
}

.btn i{
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #06355c;
}

.btn::before{
  content: "";
  position: absolute;
  transform: rotate(135deg);
  border-right: 35px solid transparent;
  border-bottom: 35px solid #fff;
  border-left: 35px solid transparent;
  bottom: -2px;
  right: -20px;
}

#thumbnailWrap{
  position: relative;
  z-index: 1;
  padding: 50px;
  background-color: #06355c;
  margin: 0 auto;
  width: 1000px;
  text-align: center;
}

#thumbnailWrap h2{
  display: inline-block;
  padding: 20px 40px;
  color: #fff;
  font-weight: 100;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  margin-bottom: 50px;
}

#thumbnailWrap > p{
  color: #fff;
  margin-bottom: 50px;
}

#thumbnailWrap table{
  width: 80%;
  margin: 0 auto 50px;
}

#thumbnailWrap table tr th{
  border-radius: 10px;
  background-color: #fff;
  width: 35%;
  padding: 20px;
}

#thumbnailWrap table tr th i{
  color: #06355c;
  font-size: 60px;
}

#thumbnailWrap table tr th p{
  line-height: 14px;
  font-weight: bold;
  font-size: 14px;
  color: #06355c;
  letter-spacing: 1px;
}

#thumbnailWrap table tr td p{
  padding-left: 30px;
  text-decoration: underline;
  text-align: left;
  color: #fff;
}

#thumbnailWrap table tr td p.kigo{
  padding: 10px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

#thumbnailWrap .btn{
  background-color: #fff;
  color: #06355c;
}

#thumbnailWrap .btn i{
  color: #fff;
}

#thumbnailWrap .btn::before{
  border-right: 35px solid transparent;
  border-bottom: 35px solid #06355c;
  border-left: 35px solid transparent;
}
#thumbnailForm{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 100px;
  background-color: #fff;
  padding: 100px;
  text-align: center;
}

#thumbnailForm form{
  max-width: 600px;
  margin: 0 auto;
}

#thumbnailForm p{
  text-align: left;
}

.thumbnailMovbuttun{
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 20px;
  border-radius: 30px;
  padding: 10px 0;
  text-align: center;
  background-color: #4BAB17;
  color: #fff;
  font-weight: bold;
  transition: .3s;
  letter-spacing: 1px;
}

.thumbnailMovbuttun i{
  margin-right: 5px;
}

.thumbnailMovbuttun:hover{
  transition: .3s;
}

.thumbnailBox{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}

.thumbnailBox h3{
  text-align: left;
  width: 100%;
  font-weight: bold;
  color: #06355c;
  border-left: 4px solid #06355c;
  padding-left: 8px;
  margin-bottom: 5px;
}

.thumbnailBox p{
  color: #06355c;
}

.thumbnailBoxcheck{
  display: none;
}

.thumbnaiOpen{
  display: none;
  width: 100%;
  padding: 10px;
  border: 1px solid #06355c;
  cursor: pointer;
  transition: .2s;
  color: #06355c;
}

.thumbnaiOpen:hover{
  transition: .2s;
  background-color: #06355c;
  color: #fff;
  font-weight: bold;
}

.thumbnailBox:nth-of-type(6),
.thumbnailBox:nth-of-type(7),
.thumbnailBox:nth-of-type(8),
.thumbnailBox:nth-of-type(9),
.thumbnailBox:nth-of-type(10),
.thumbnailBox:nth-of-type(11),
.thumbnailBox:nth-of-type(12),
.thumbnailBox:nth-of-type(13),
.thumbnailBox:nth-of-type(14),
.thumbnailBox:nth-of-type(15),
.thumbnailBox:nth-of-type(16),
.thumbnailBox:nth-of-type(17),
.thumbnailBox:nth-of-type(18),
.thumbnailBox:nth-of-type(19),
.thumbnailBox:nth-of-type(20){
  display: none;
}

#thumbnai-input01:checked ~ .thumbnailBox:nth-of-type(6),
#thumbnai-input02:checked ~ .thumbnailBox:nth-of-type(7),
#thumbnai-input03:checked ~ .thumbnailBox:nth-of-type(8),
#thumbnai-input04:checked ~ .thumbnailBox:nth-of-type(9),
#thumbnai-input05:checked ~ .thumbnailBox:nth-of-type(10),
#thumbnai-input06:checked ~ .thumbnailBox:nth-of-type(11),
#thumbnai-input07:checked ~ .thumbnailBox:nth-of-type(12),
#thumbnai-input08:checked ~ .thumbnailBox:nth-of-type(13),
#thumbnai-input09:checked ~ .thumbnailBox:nth-of-type(14),
#thumbnai-input10:checked ~ .thumbnailBox:nth-of-type(15),
#thumbnai-input11:checked ~ .thumbnailBox:nth-of-type(16),
#thumbnai-input12:checked ~ .thumbnailBox:nth-of-type(17),
#thumbnai-input13:checked ~ .thumbnailBox:nth-of-type(18),
#thumbnai-input14:checked ~ .thumbnailBox:nth-of-type(19),
#thumbnai-input15:checked ~ .thumbnailBox:nth-of-type(20){
  display: flex;
}

#thumbnai-open01{
  display: block;
}

#thumbnai-input01:checked ~ #thumbnai-open02,
#thumbnai-input02:checked ~ #thumbnai-open03,
#thumbnai-input03:checked ~ #thumbnai-open04,
#thumbnai-input04:checked ~ #thumbnai-open05,
#thumbnai-input05:checked ~ #thumbnai-open06,
#thumbnai-input06:checked ~ #thumbnai-open07,
#thumbnai-input07:checked ~ #thumbnai-open08,
#thumbnai-input08:checked ~ #thumbnai-open09,
#thumbnai-input09:checked ~ #thumbnai-open10,
#thumbnai-input10:checked ~ #thumbnai-open11,
#thumbnai-input11:checked ~ #thumbnai-open12,
#thumbnai-input12:checked ~ #thumbnai-open13,
#thumbnai-input13:checked ~ #thumbnai-open14,
#thumbnai-input14:checked ~ #thumbnai-open15{
  display: block;
}

#thumbnai-input01:checked ~ #thumbnai-open01,
#thumbnai-input02:checked ~ #thumbnai-open02,
#thumbnai-input01:checked ~ #thumbnai-open01,
#thumbnai-input03:checked ~ #thumbnai-open03,
#thumbnai-input04:checked ~ #thumbnai-open04,
#thumbnai-input05:checked ~ #thumbnai-open05,
#thumbnai-input06:checked ~ #thumbnai-open06,
#thumbnai-input07:checked ~ #thumbnai-open07,
#thumbnai-input08:checked ~ #thumbnai-open08,
#thumbnai-input09:checked ~ #thumbnai-open09,
#thumbnai-input10:checked ~ #thumbnai-open10,
#thumbnai-input11:checked ~ #thumbnai-open11,
#thumbnai-input12:checked ~ #thumbnai-open12,
#thumbnai-input13:checked ~ #thumbnai-open13,
#thumbnai-input14:checked ~ #thumbnai-open14,
#thumbnai-input15:checked ~ #thumbnai-open15{
  display: none;
}

p.formtitle{
  padding-left: 5px;
  color: #555;
  font-size: 16px;
  margin-top: 15px;
  position: relative;
}

p.formtitleBold{
  font-weight: bold;
}

.hissuIcon::after{
  display: block;
  position: absolute;
  content: "＊";
  font-size: 10px;
  left: -12px;
  bottom: -32px;
}

#thumbnailForm textarea,
#thumbnailForm input[type="text"],
#thumbnailForm select{
  position: relative;
  padding: 7px 12px;
  font-size: 14px;
  line-height: 20px;
  border-radius: 5px;
  width: 100%;
  border: 1px solid #ccc;
}
#thumbnailForm input[type="text"].formBold{
  border: 2px solid #666;
}

#thumbnailForm select::after{
  content: "▼";
  font-size: 16px;
  color: #ccc;
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  margin: auto;
}

#thumbnailForm input[type="button"],
#thumbnailForm input[type="submit"]{
  text-align: center;
  display: inline-block;
  padding: 15px 40px;
  background-color: #06355c;
  color: #fff;
  font-size: 20px;
  margin-top: 15px;
  cursor: pointer;
}

.thumbnailBox > div{
  width: 49.5%;
}

.imgInput{
  position: relative;
  overflow: hidden;
}

.imgInput label{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 150px;
  background-color: #f5f5f5;
  border: 2px solid #ccc;
  border-style: dashed;
  cursor: pointer;
  border-radius: 5px;
  transition: .3s;
}

.imgInput label:hover{
  transition: .3s;
  background-color: #e5e5e5;
}

.imgInput label span{
  letter-spacing: 2px;
  color: #666;
  line-height: 24px;
  font-size: 16px;
}

.imgInput img{
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.googlemapLink{
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #06355c;
  color: #06355c;
  margin-top: 10px;
}

.googlemapLink:hover{
  background-color: #06355c;
  color: #fff;
  opacity: 1;
}

#thumbnailForm h4{
  text-align: center;
  font-size: 22px;
  margin-bottom: 10px;
  margin-top: 20px;
}

.formhissu{
  background-color: #fff5f5;
}


@media screen and (max-width: 1000px) {
  .btn{
    width: 100%;
    margin-bottom: 15px;
  }
  
  #thumbnailWrap{
    width: 600px;
  }
  
  #thumbnailWrap h2{
    font-size: 26px;
    line-height: 36px;
    letter-spacing: 3px;
  }
  #thumbnailWrap table tr{
    display: flex;
    flex-wrap: wrap;
  }
  #thumbnailWrap table tr th,#thumbnailWrap table tr td{
    width: 100%;
  }
  
  #thumbnailForm{
    width: 600px;
    padding: 50px;
  }
}

@media screen and (max-width: 800px) {
}

@media screen and (max-width: 600px){
  header{
    padding: 110px 0 50px;
  }
  
  #thumbnailWrap{
    width: 350px;
    padding: 50px 20px;
  }
  
  #thumbnailForm{
    width: 350px;
    padding: 50px 20px;
  }
  
  .thumbnailBox > div{
    width: 100%;
  }
}

.popupModal1 > input { /* ラジオボックス非表示 */
    display: none;
}
.popupModal1 > input:nth-child(1) + label { 
    cursor: pointer;
}

.popupModal1 > input:nth-child(1) + label{
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 20px;
  border-radius: 30px;
  padding: 10px 0;
  text-align: center;
  background-color: #4BAB17;
  color: #fff;
  font-weight: bold;
  transition: .3s;
  letter-spacing: 1px;
}

.popupModal1 > input:nth-child(1) + label i{
  margin-right: 5px;
}

.popupModal1 > input:nth-child(1) + label:hover{
  transition: .3s;
  opacity: .8;
}

.modalPopup2 { /* 初期設定 ポップアップ非表示 */
    display: none;
}

.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 {/* ラジオ１ チェックでポップアップ表示 */
    display: block;
    z-index: 998;
    position: fixed;
    width: 90%;
    height: 80%;
    border-radius: 20px;
    left: 50%;
    top: 50%;
    margin-top: 30px;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    background: #fff;
    padding: 10px 20px;
    overflow: hidden;
}
@media (min-width: 768px) {/* PCのときはページの真ん中の600x600領域 */
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2{
         width: 600px;
         height: 600px;
         padding: 30px;

    }
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label {
     left: 50% !important;
     top: 50% !important;
     margin-left: 270px !important;
     margin-top: -310px !important;
}
}

.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div {/* */
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    display: inline-block;
    width: 100%;
    height: 100%;
}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div > iframe {
    width: 100%;
      height:100%;
      border:none;
      display:block;
}

.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div > img {/* ポップアップの中の要素 */
max-width: 100%;
}
.popupModal1 > input:nth-child(1) + label ~ label {
    display: none;/* ラジオ１ 以外のラベルを初期は非表示 */

}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.70);
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 997;
    text-indent: -999999px;
    overflow: hidden;
}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label {
    background: rgba(255, 255, 255, 0.5);
    display: inline-block;
    position: fixed;
    left: 10px;
    bottom: 20px;
    z-index: 999;
    width: 44pt;
    height: 44pt;
    font-size: 40px;
    border-radius: 50%;
    line-height: 44pt;
    text-align: center;
    box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
}

.popupModal1 > input:nth-child(1) + label + input:nth-child(3):checked + label + input:nth-child(5) + label + .modalPopup2,
.popupModal1 > input:nth-child(1) + label + input:nth-child(3) + label + input:nth-child(5):checked + label + .modalPopup2 { /* ラジオ２と３ どっちかチェックでポップアップ非表示 */
    display: none;
}


.modalPopup2 {
    animation: fadeIn 1s ease 0s 1 normal;
    -webkit-animation: fadeIn 1s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

.popupModal1 .modalTitle {
     padding-bottom: .5em;
     margin: .5em 0;
     border-bottom:
     1px solid #ccc;
     font-weight: bold;
}
.popupModal1 .modalMain {
     color:#222;
     text-align: left;
     font-size: 14px;
     line-height: 1.8em;
}