@charset "utf-8";

#suntory_contents .modal-open {
  transition: 0.5s;
}
@media screen and (min-width: 769px) {
  #suntory_contents .modal-open:hover {
    filter: drop-shadow(0px 0px 20px #fff) contrast(100%) brightness(200%);
  }
}

/*modal*/
/*モーダルを開くボタン*/
.modal-open {
  cursor: pointer;
  transition: 0.5s;
}
/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 50%);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
  z-index: 9999;
  

}
.modal1-container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
  overflow-y: auto;
  cursor: pointer;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active {
  opacity: 1;
  visibility: visible;
}
#suntory_contents .modal-container.active img {
  padding-bottom: 5vh;
}
/*モーダル枠の指定*/
.modal-body {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 1770px;
  width: 65%;
  height: 90vh;
  max-height: 90%;
  overflow-y:visible;
}
@media screen and (max-width: 768px) {
.modal-body {
  vertical-align: top;
}  
.modal1-container .modal-body {
  width: calc(100vw * 315 / 375);
}
}

/*モーダルを閉じるボタンの指定*/
.modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 2%;
  right: 2%;
  width: 5%;
  cursor: pointer;
}
.modal-close img {
  width: 100%;
  transition: 0.5s;
}

@media screen and (max-width: 768px) {
.modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: calc(100vw * 30 / 375);
  right: calc(100vw * 10 / 375);
  width: calc(100vw * 25 / 375);
  height: calc(100vw * 25 / 375);
  cursor: pointer;
}
}

/*モーダル内のコンテンツの指定*/
.modal-content {

  
}
.modal1-content h3 {
  margin: 0;
  padding: 0;
}
.modal1-content ul {
  margin: 0;
  padding: 0;
}
.modal1-content li {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 0;
}

#contents07_04 {
  margin: 8% auto 0;
  width: 44%;
}
@media screen and (max-width: 768px) {
  #contents07_04 {
    margin: calc(100vw * 30 / 375) auto calc(100vw * 12 / 375);
    width: calc(100vw * 300 / 375);
  }
}


#contents08 {
  max-width: 1166px;
  margin: 165px auto 0;
}
@media screen and (max-width: 1770px) {
  #contents08 {
    margin: 9% auto 0;

  }
}
@media screen and (max-width: 768px) {
  #contents08 {
    margin: calc(-1*(100vw * 12 / 375)) auto 0;
  }
}
#contents08_01 {
  width: 100%;
  margin: 4.5% auto 0;
}
@media screen and (max-width: 768px) {
  #contents08_01 {
    margin-top: calc(100vw * 18 / 375);
  }
}
#contents08_02 {
  margin: 4.5% auto 0;
  width: 93%;
}
@media screen and (max-width: 768px) {
  #contents08_02 {
    margin: calc(100vw * 18 / 375) auto 0;
    width: calc(100vw * 263 / 375);
  }
}
#contents08_03 {
  margin: 8% auto 0;
  width: 44%;
}
@media screen and (max-width: 768px) {
  #contents08_03 {
    margin: calc(100vw * 30 / 375) auto calc(100vw * 12 / 375);
    width: calc(100vw * 311 / 375);
  }
}
