

body{
  color: #333333;
}
.pairing-main{
  display: block;          /* inline要素の余白対策 */
  margin: 0 auto;          /* 横方向中央寄せ */
  width: 100vw;        /* 親要素の幅に収まるように */
  height: auto;  
}
.title-wrap-pair h2{
  font-size: 3rem;
  letter-spacing: .2rem;
  margin: 1rem 0;
  padding: 0 0 1.5rem;
  border-bottom: .1rem solid #000000;
  font-family: 'Raleway';
  color: #333333;
}
.title-wrap-pair p{
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
  margin: 1rem 0;
  font-family: 'Raleway';
  color: #333333;
}
h2.pairtitle {
	text-align: center;
	font-size: 1.5rem;
	margin: 8rem 0 5rem;
	letter-spacing: 0.2rem;
	position: relative;
  color: #333333;
}
h2.pairtitle:before {
	content: "";
	display: block;
	width: 6rem;
	height: .3rem;
	background: #000000;
	position: absolute;
	left: calc(50% - 3rem);
	top: -2rem;
}
.pairing-left{
  display: flex;
  margin-bottom: 50px;
}
.pairing-right{
  display: flex;
  flex-direction: row-reverse;
  margin-bottom: 50px;
}
.pairing-img{
  width: 40%;
  align-items: center;
}
.pairing-img img{
  height: 100%;
  object-fit: cover;
}
.pairing-description{
  width: 60%;
  background-color: rgba(230, 230, 230, 0.5);
  padding: 30px;
}
/* 瓶アイコンここから */
.tekikaka,.koutok,.lager,.dolgo,.soda,.hopped,.litchi,.cassis,.strawberry,.en{
  z-index:1;
  position: relative;
}
.tekikaka::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/tekikaka.png');
  background-size: contain; 
  width: 100px;
  height: 100px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:20px;
}
.koutok::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/koutok.png');
  background-size: contain; 
  width: 100px;
  height: 100px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:20px;
}
.lager::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/lager.png');
  background-size: contain; 
  width: 100px;
  height: 100px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:20px;
}
.dolgo::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/dolgo.png');
  background-size: contain; 
  width: 100px;
  height: 100px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:20px;
}
.soda::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/soda.png');
  background-size: contain; 
  width: 100px;
  height: 100px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:20px;
}
.hopped::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/hopped.png');
  background-size: contain; 
  width: 100px;
  height: 100px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:20px;
}
.litchi::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/litchi.png');
  background-size: contain; 
  width: 100px;
  height: 100px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:20px;
}
.cassis::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/cassis.png');
  background-size: contain; 
  width: 100px;
  height: 100px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:20px;
}
.strawberry::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/strawberry.png');
  background-size: contain; 
  width: 100px;
  height: 100px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:20px;
}
.en::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/en.png');
  background-size: contain; 
  width: 100px;
  height: 100px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:20px;
}
/* 瓶アイコンここまで */
.pairing-text h3{
  font-size: 2rem;
  padding-bottom:20px ;
  letter-spacing: 0.2rem;
}
.pairing-text p{
  font-size: 1.5rem;
  color: #333333;
  letter-spacing: 0.2rem;
  line-height: 2.5;
}
.pairing-link{
  position: relative;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333333;
  letter-spacing: 0.2rem;
  padding-left: 10px;
  margin-top: 30px;
  transition: 0.5s all;
}
.pairing-link:hover{
  font-size: 1.8rem;
}
.pairing-link:hover::before{
    width: 350px;  
}
.pairing-link:hover::after{
    left: 330px;
}
.pairing-link::before {
  content: '';
  padding-bottom: 10px;
  position: absolute;
  top: 15px; 
  left: 0; 
  width: 300px;  
  border-bottom: 1px solid #555;
  transition: 0.5s all; 
}

.pairing-link::after {
  content: '';
  position: absolute;
  top: 25px; 
  left: 280px;
  width: 20px;
  border-bottom: 1px solid #555;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
  transition: 0.5s all; 
}
.pairing-left,.pairing-right{
  position: relative;
}
.pairing-link{
  position: absolute;
  bottom: 50px;
}

@media screen and (max-width:768px) {
 .pairing-left,
 .pairing-right{
   display: block;
 }
 .pairing-description,
 .pairing-img{
  width: 100%;
 }
 .pairing-text p{
  font-size: 1.5rem;
  color: #333333;
  letter-spacing: 0.1rem;
  line-height: 1.5;
}
.pairing-img img{
    max-width: 100%;
    height: auto;
}
.pairing-link{
  font-size: 1rem;
}
.tekikaka::after,.koutok::after,.lager::after,.dolgo::after,
.soda::after,.hopped::after,.litchi::after,.cassis::after,.en::after{
  bottom:0px;
  right:5px;
}
.pairing-link::before {
    width: 200px;  
}
.pairing-link::after {
    left: 180px;
}
.pairing-link{
  padding-left: 0px;
}
}
@media screen and (min-width:768px) {
 .pairing{
  margin: 0 100px;
}
}

@media screen and (max-width:1428px) {
.pairing-text{
  padding-bottom: 60px;
}

}
@media screen and (min-width:1500px) {
  .pairing-description{
  padding: 50px;
}
/* 瓶アイコンここから */
.tekikaka::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/tekikaka.png');
  background-size: contain; 
  width: 150px;
  height: 150px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:0;
}
.koutok::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/koutok.png');
  background-size: contain; 
  width: 150px;
  height: 150px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:0;
}
.lager::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/lager.png');
  background-size: contain; 
  width: 150px;
  height: 150px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:0;
}
.dolgo::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/dolgo.png');
  background-size: contain; 
  width: 150px;
  height: 150px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:0;
}
.soda::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/soda.png');
  background-size: contain; 
  width: 150px;
  height: 150px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:0;
}
.hopped::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/hopped.png');
  background-size: contain; 
  width: 150px;
  height: 150px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:0;
}
.litchi::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/litchi.png');
  background-size: contain; 
  width: 150px;
  height: 150px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:20px;
}
.cassis::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/cassis.png');
  background-size: contain; 
  width: 150px;
  height: 150px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:20px;
}
.strawberry::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/strawberry.png');
  background-size: contain; 
  width: 150px;
  height: 150px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:20px;
}
.en::after{
  content: ''; 
  background-image: url('../images/whats/howtopairing/en.png');
  background-size: contain; 
  width: 150px;
  height: 150px;
  z-index:2;
  display: inline-block;
  position: absolute;
  bottom:10px;
  right:20px;
}
/* 瓶アイコンここまで */
}