
.ernie-wrapper {
  font-size:16px;
  line-height:1.7;
}

.ernie-wrapper img {
  max-width:100%;
  height:auto;
  vertical-align: bottom;
  object-fit: contain;
}

.ernie-explorer {
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ddd;
  padding: 60px;
  background: #409283;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  place-items: center;
}

.ernie-image {
  margin-bottom: 20px;
  text-align: center;
}

.ernie-image img {
  width: 85%;
}

.ernie-sections {
  width:100%;
}

.description {
  color: white;
}

.description h2 {
  margin: 0 0 6px;
  font-size: 26px;
  text-align: center;
  font-weight: bold;
}

.description p {
  margin: 0 0 20px;
  line-height: 1.6;
  text-align: center;
  word-break: auto-phrase;
}

.yellow-btn {
  margin-bottom: 15px;
}

.yellow-btn > div:first-child {
  display: flex;
  background: red;
  border: 1px solid black;
  border-radius: 30px;
  overflow: hidden;
}

.btn-main {
  flex: 1;
  text-align: left;
  background: #fadc00;
  border-color: black;
  border-width: 0 1px 0 0;
  padding: 12px 16px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
}

.info {
  background: #fadc00;
  border: none;
  cursor: pointer;
  padding: 0 15px;
}

.info img {
  width: 22px;
}

.info-content {
  max-height: 0;
  overflow: hidden;
  transition: .2s;
}
.info-content.is-open {
  max-height: 200px;
}

.info-content-inner {
  background: #1b6a5b;
  color: white;
  padding: 19px;
  border-radius: 25px;
  border: 1px solid #fadc00;
  text-align: center;
  word-break: auto-phrase;
  margin: 15px 15px 5px;
}

.back-forth {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 7px;
}

.back-forth > div {
  width: 47.5%;
  display:block;
}

.back-forth button {
  color: white;
  cursor: pointer;
  border: 1px #000 solid;
  background:#f04c23;
  width:100%;
  padding:10px;
  border-radius:5px;
  overflow:hidden;
}

.back-forth button:disabled{
  opacity:0.7;
  cursor:not-allowed;
}

.back-forth button:not(:disabled):hover {
  color: black;
}

/* ------------------------------------------------ */

.result {
  color:white;
}

.result .recommend-txt {
  font-size: 23px;
  font-weight:bold;
  text-align:center;
  border-bottom:1px solid #000000;
  padding-bottom: 0.6em;
  margin-bottom:1.3em;
}
.result h2.result-title {
  font-weight: bold;
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: .5em;
}

.result p.result-text {
}

.result p.result-gauge {
  margin: 0.5em 0;
}

a.result-buy-btn {
  display: inline-block;
  margin-top: 16px;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px #000 solid;
  background: #f04c23;
  color: white;
  display: block;
  text-align: center;
  margin: 1.5em 0;
}

.result-buy-btn:hover {
  color:black;
}

.sns-share {
  display:flex;
  gap:20px;
  justify-content: center;
  margin-top: 2.5em;
}

.sns-share a img {
  width: 130px;
}

@media (max-width: 900px){
  .ernie-wrapper {
    font-size:14px;
  }
  .ernie-explorer {
  grid-template-columns: repeat(1, 1fr);
  padding: 20px;
  }
  .ernie-image a:not([href^="http"]) img {
    max-width: 450px;
    translate: 7%;
  }
  .ernie-image:has( a[href^="http"]) {
    margin-bottom:0;
  }
 
  .description h2 {
  font-size: 20px;
  word-break: auto-phrase;
  line-height:1.4;
  }

  .result .recommend-txt {
    font-size: 20px;
  }
  
  .result h2.result-title {
    font-size: 18px;
  }
  
  .sns-share a img {
    width: 100px;
  }
  
  .sns-share {
    margin: 2em 0;
  }
    
}