* {
  box-sizing: border-box;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  
}
body {
  /* padding: 16px; */
}
header img {
  height: 40px;
}
.container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 25px 25px;
  box-sizing: border-box;
  color: #333;
  animation-name: fadeIn;
  animation-fill-mode:forwards;
  animation-duration:1s;
}
/*フェードインアニメ*/
@keyframes fadeIn{
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


@media(min-width:751px){
  .sp{
      display: none !important;
  }
}
@media(max-width:750px){
  .pc{
      display: none !important;
  }
}


h1 {
  margin-bottom:10px;
}
h2 {
  margin-bottom:10px;
}
p {
  line-height: 1.8;
  margin-bottom: 15px;
  letter-spacing: 0.05rem;
  text-align: left;
}



.start,
.quiz,
.result {
  align-items: center;
  /* display: flex; */
  flex-direction: column;
  justify-content: center;
  animation-name: fadeIn;
  animation-fill-mode:forwards;
  animation-duration:1s;
  max-width: 800px;
  margin: 0 auto;
  /* padding: 15px; */
  box-sizing: border-box;
}
@media screen and (max-width:480px) {
  .start {
    /* padding: 25px; */
  }
}

.btn {
  margin: 0 auto;
  background-color: #333;
  border: none;
  border-radius: 100px;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 2rem;
padding: 1.2rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: 0.5s ease;
}

button {
  border: none;
  border-radius: 10px;
  color: #333;
  border: solid 2px #333;
  cursor: pointer;
  background: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.1rem;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  text-align: center;
  text-decoration: none;
  display: block;
  max-width: 280px;
  padding: 15px;
  font-weight: bold;
  width: 100%;
}

.btn:hover {
  /* background-color: #3e8e41; */
  /* opacity: 0.7; */
}

.nameText {
  width: 300px;
  height: 45px;
  font-size: 1rem;
  padding: 0px 15px;
  border: solid #000 2px;
  border-radius: 5px;
  margin: 0 auto;
  display: block;
}
.hide {
  transition: 0.5s ease;
  display: none;
}

.question {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 3rem;
  text-align: center;
  letter-spacing: 0.1rem;
}
@media screen and (max-width:480px) {
  .question {
    font-size: 1.1rem;
    padding: 0px 30px;
    text-align: left;
  }
}
.hosoku {
  text-align: center;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
@media screen and (max-width:480px) {
  .hosoku {
    font-size: 0.85rem;
  }
}
.answer-btn {
  background-color: #fff;
  border: none;
  border-radius: 4px;
  color: black;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.select{
  background-color: #333;
  color: #fff;
}

.answer-buttons {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 600px;
  font-weight: bold;
  margin: 0 auto;
}
.answer-buttons button {
  margin: 5px 10px;
  transition: 0.5s ease;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;

}
/* .answer-buttons button:hover {
  opacity: 0.7;
} */


/* 最後のコンテンツを左寄せにする指定 */
/* .answer-buttons button:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box
} */

.answer-buttons:after {
  content: "";
  display: block;
  max-width: 280px;
  height: 0;
  margin: 5px 10px;
  width: 100%;
}

#next-btn.unset {
  opacity: 0.3;
  pointer-events: none;
}

#start-btn, #start-btn2 {
  margin-bottom: 10px;
  background: #55b4a1;
}
#next-btn {
  background: #55b4a1;
}
#return-btn {
  background-color: transparent;
  color: #333;
  position: relative;
  display: block;
  width: fit-content;
}

#return-btn::after{
  content: '';
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-top: solid 2px #333;
  border-right: solid 2px #333;
  transform: rotate(225deg);
  position: absolute;
  top: 50%;
  left: 0px;
}





.container .inner {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 80px 30px;
  margin-bottom: 60px;
}
@media screen and (max-width:480px) {
  .container .inner {
    padding: 40px 20px;
  }
}
.container .score {
  padding-bottom: 20px;
}
.container .inner .type p {
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.1rem;
  text-align: center;
  line-height: 2.4rem;
  margin-bottom: 20px;
}
@media screen and (max-width:480px) {
  .container .inner .type p {
    font-size: 0.95rem;
    line-height: 1.7rem;
  }
}
.container .inner .type p.explain {
  text-align: left;
}
.container .inner .type p span#blend_name {
  font-size: 1.8rem;
  color: #F16682;
}
@media screen and (max-width:480px) {
  .container .inner .type p span#blend_name {
    font-size: 1.2rem;
  }
}
.container .inner .explain p {
  text-align: left;
  margin-bottom: 60px;
}
.container #myChart {
  width: 100%;
  height: auto;
  padding: 20px;
}

.number {
  position: relative;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.2rem;
  margin-bottom: 1em;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 1em;
  padding: 15px;
}
.number::before{
  content: "";
  display: inline-block;
  width: 2em;
  border-top: 2px solid;
  vertical-align: middle;
  margin-right: 0.5em;
  padding-bottom: 4px;
}
.result-title {
  position: relative;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.2rem;
  margin-bottom: 1em;
}
.result-title::before{
  content: "";
  display: inline-block;
  width: 2em;
  border-top: 2px solid;
  vertical-align: middle;
  margin-right: 0.5em;
  padding-bottom: 4px;
}
/* .wrap{
  position:relative;
}
.wrap span{
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  color: #000;
  white-space: nowrap;
} */

#start img {
  display: block;
  margin: 0 auto;
  margin-bottom: 15px;
}
#start h1 {
  width: fit-content;
  margin-bottom: 20px;
}
#start h1 span {
  color: #3a7b65;
  font-weight: 700;
}

@media screen and (max-width:480px) {
  #start h1 {
    font-size: 1.5rem;
    text-align: left;
    width: 100%;

  }
}
#start p {
  margin-bottom: 15px;
}
#start .ansewr-time {
  font-size: 0.75rem;
  margin: 0 auto;
  text-align: center;
}

#start .merit {
  padding: 40px 60px;
  border-radius :8px;/*角の丸み*/
  background: #f7f3eb;
  width: fit-content;
  margin: 0 auto;
  margin-top: 60px;
  width: 100%;
  margin-bottom: 60px;
}
#start .merit ul {
  width: fit-content;
  display: inline-block;
  text-align: left;
}
#start .merit ul li {
  margin-bottom: 10px;
}
#start .step {
  background: #f7f3eb;
  padding: 60px 40px;
  text-align: center;
  width: 100%;
  margin-bottom: 80px;
  border-radius :8px;/*角の丸み*/
}
#start .step h2 { 
line-height: 1.8rem;
}
    
#start .step h2 span{
  font-size: 0.95rem;
}
#start .step ul {
  width: fit-content;
  display: inline-block;
  text-align: left;
  margin-top: 25px;
}
#start .step ul li {
  list-style: none;
  margin-bottom: 15px;
}
#start .step ul li span {
  margin-right: 12px;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 5px;
}






#result .explain p{
  text-align: left;
}
#result .evaluatio {
  text-align: center;
  /* margin-bottom: 60px; */
  display: flex;
  margin-top: 30px;
}
#result .evaluatio .box{
  width: 50%;
  text-align: center;
}

#result .evaluatio h3.good {
  color: #F16682;
  margin-bottom: 15px;
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
}
@media screen and (max-width:480px) {
  #result .evaluatio h3.good {
    font-size: 1.2rem;
  }
}
#result .evaluatio span.good {
  background-color: #F16682;
  color: #fff;
  border-radius: 100px;
  padding: 8px 20px;
  letter-spacing: 0.3rem;
  font-weight: bold;
  font-size: 0.95rem;
}
#result .evaluatio h3.bad {
  color: #935FD9;
  margin-bottom: 15px;
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
}
@media screen and (max-width:480px) {
  #result .evaluatio h3.bad {
    font-size: 1.2rem;
  }
}
#result .evaluatio span.bad {
  background-color: #935FD9;
  color: #fff;
  border-radius: 100px;
  padding: 8px 20px;
  letter-spacing: 0.3rem;
  font-weight: bold;
  font-size: 0.95rem;

}
#result .maiko .flex {
  margin-top: 30px;
  margin-bottom: 40px;
}
#result .maiko .flex .flex_box{
  display: flex;
}

  #result .maiko .flex .flex_box{
    padding-bottom: 0px;
    /* flex-direction: column-reverse; */
  }

#result .maiko .box {
  padding-bottom: 40px;
  text-align: left;
}

#result .maiko .flex .flex_box .left{
  width: 70%;
  padding-right: 5px;
}

#result .maiko .flex .flex_box .left h3{
  margin-bottom: 5px;
  letter-spacing: 0.1rem;
  font-size: 1.1rem;
  text-align: left;
}
#result .maiko .flex .flex_box .left span#item1_feature,
#result .maiko .flex .flex_box .left span#item2_feature,
#result .maiko .flex .flex_box .left span#item3_feature,
#result .maiko .flex .flex_box .left span#item4_feature,
#result .maiko .flex .flex_box .left span#item5_feature,
#result .maiko .flex .box  span#sp_item1_feature,
#result .maiko .flex .box  span#sp_item2_feature,
#result .maiko .flex .box  span#sp_item3_feature,
#result .maiko .flex .box  span#sp_item4_feature,
#result .maiko .flex .box  span#sp_item5_feature
{
  display: block;
  margin-bottom: 5px;
      display: block;
    margin-bottom: 5px;
    text-align: left;
    font-size: 14px;
}
#result .maiko .flex .flex_box .left span#item1_feature span.cate,
#result .maiko .flex .flex_box .left span#item2_feature span.cate,
#result .maiko .flex .flex_box .left span#item3_feature span.cate,
#result .maiko .flex .flex_box .left span#item4_feature span.cate,
#result .maiko .flex .flex_box .left span#item5_feature span.cate,
#result .maiko .flex .box span#sp_item1_feature span.cate,
#result .maiko .flex .box span#sp_item2_feature span.cate,
#result .maiko .flex .box span#sp_item3_feature span.cate,
#result .maiko .flex .box span#sp_item4_feature span.cate,
#result .maiko .flex .box span#sp_item5_feature span.cate
 {
  padding: 3px 9px;
  background-color: #55b4a1;
  color: #fff;
  letter-spacing: 0.1rem;
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
  margin-right: 6px;
  margin-bottom: 6px;
}
#result .maiko .flex .flex_box .left span#item1_nutrition span.cate,
#result .maiko .flex .flex_box .left span#item2_nutrition span.cate,
#result .maiko .flex .flex_box .left span#item3_nutrition span.cate,
#result .maiko .flex .flex_box .left span#item4_nutrition span.cate,
#result .maiko .flex .flex_box .left span#item5_nutrition span.cate,
#result .maiko .flex .box span#sp_item1_nutrition span.cate,
#result .maiko .flex .box span#sp_item2_nutrition span.cate,
#result .maiko .flex .box span#sp_item3_nutrition span.cate,
#result .maiko .flex .box span#sp_item4_nutrition span.cate,
#result .maiko .flex .box span#sp_item5_nutrition span.cate
 {
  font-weight: bold;
    font-size: 14px;
  margin-right: 10px;
}
#result .maiko .flex .flex_box .left p {
  line-height: 1.2rem;
}
@media(max-width:750px){
  #result .maiko .flex .flex_box .left p {
    margin-bottom: 10px;
  } 
}

#result .maiko .flex .flex_box .right{
  width: 30%;
  display: flex;
  justify-content: end;
}
@media(max-width:750px){
  #result .maiko .flex .flex_box .right{
    margin-bottom: 10px;
    width: 100%;
    justify-content: center;
  } 
}
#result .maiko .flex .right img {
  width: 100%;
    /* max-width: 180px; */
    margin: 0px;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 10px;
        aspect-ratio: 1 / 1;
}
#result a.buy {
  display: block;
  width: 100%;
  max-width: 280px;
  background: #55b4a1;
  max-width: 100%;
  padding: 20px 10px;
  margin-top: 15px;
  font-weight: bold;
  letter-spacing: 0.1rem;
      max-width: 280px;
}
#result #monthly_buy_0{
  margin-top: 40px;
}
#result #restart-btn {
  margin-bottom: 60px;
  max-width: 100%;
  padding: 20px 10px;
  margin-top: 20px;
    background: unset;
    color: #333;
    margin-top: 0px;
    padding: 0px;
}

#result .item .inner, #result .flow .inner, #result .faq .inner {
  text-align: center;
  margin-bottom: 0px;
  background: transparent;
  padding: 0px;
  padding-bottom: 60px;
}
#result .item .inner img{
  border-radius: 10px;
  max-width: 100%;
}
#result .result-inner {
  background: transparent;
    padding: 0px;
    margin: 0px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
#result .point{
  /* padding: 60px; */
}
#result .feature{
  /* padding: 60px; */
}
.qa-6 {
  /* max-width: 500px; */
  margin-bottom: 5px;
  border-bottom: 1px solid #d6dde3;
}

.qa-6 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 10px 10px 10px 35px;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.qa-6 summary::before,
.qa-6 p::before {
  position: absolute;
  left: 10px;
  font-weight: 600;
  font-size: 1.3em;
}

.qa-6 summary::before {
  color: #333;
  content: "Q";
}

.qa-6 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 1px solid #333;
  border-right: 1px solid #333;
  content: '';
  transition: transform .5s;
}

.qa-6[open] summary::after {
  transform: rotate(225deg);
}

.qa-6 p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: .3em 3em 1.5em;
  color: #333;
  transition: transform .5s, opacity .5s;
}

.qa-6[open] p {
  transform: none;
  opacity: 1;
}

.qa-6 p::before {
  color: #333;
  line-height: 1.2;
  content: "A";
}
#result .inner h2 {
  text-align: left;
  letter-spacing: 0.1rem;
}
@media screen and (max-width:480px) {
  #result .inner h2 {
    /* font-size: 1rem; */
  }
}
#result .inner h3.message {

  letter-spacing: 0.1rem;

}
#result .maiko>img {
  max-width: 200px;
  margin-bottom: 20px;
}
#result h2.blend {
  margin-top: 60px;
  margin-bottom: 20px;
}
#result .item .inner h2 {
  margin-bottom: 30px;
}
#result .item .inner p {
  margin-bottom: 40px;
}

#result span.subtitle {
  display: block;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.1rem;
  margin-bottom: 10px;
  font-size: 0.85rem;
}
#result .feature .inner {
  padding-top: 40px;
}
#result .feature h2 {
  text-align: center;
  margin-bottom: 40px;
}
#result .feature .circle {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
@media screen and (max-width:480px) {
  #result .feature .circle {
    flex-wrap: wrap;
  }
}
#result .feature .circle span {
  margin: 10px;
  background: #333;
  color: #fff;
  width: 140px;
  display: block;
  height: 140px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 0.85rem;
}
#result span.section {
  display: block;
  font-weight: bold;
  letter-spacing: 0.1rem;
  margin-bottom: 10px;
  font-size: 0.85rem;
  margin-top: 60px;
  width: fit-content;
  border-bottom: solid 2px #000;
}
#result .point img, #result .feature img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}
#result .point h3, #result .feature h3 {
  letter-spacing: 0.1rem;
  margin-bottom: 20px;
}
@media(max-width:750px){
  #result .point h3, #result .feature h3 {
    text-align: left;
  }
}
#result .flow .box {
  max-width: 450px;
  width: 100%;
  margin-top: 40px;
  margin: 40px auto;
  margin-top: 40px;
  /* background: #fff; */
  /* border-radius: 10px; */
  padding: 30px 15px 0px;
  border-top: solid 1px;
}
#result .flow .box span {
  font-weight: bold;
  margin-bottom: 10px;
  background: #000;
  color: #fff;
  padding: 3px 15px;
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
  margin-bottom: 15px;
  display: inline-block;
}
#result .flow .box h3 {
  margin-bottom: 20px;
}
#result .faq  h2 {
  margin-bottom: 30px;
}


#result #monthly_buy_1 {
  margin-top: 40px;
}



/* ================================
   my.rice 診断LP専用スタイル（/diag/campagin/）
   既存CSSとはクラス名を分離（lp-系）しているので他ページへの影響なし
   ================================ */

/* 全体幅（診断LP部分だけ最大幅を制限） */
.lp-hero,
.lp-section {
  max-width: 800px;
  margin: 0 auto 40px;
}

/* ---------- ヒーロー ---------- */

.lp-hero {
  background: #f7f3eb;
  border-radius: 16px;
  padding: 24px 18px;
}

.lp-hero-inner {
  display: flex;
  flex-direction: column;   /* PCでもスマホと同じ縦並び */
  gap: 24px;
}

.lp-hero-text {
  flex: 1;
}

.lp-hero-image {
  flex: 1;
}

/* ラベル・見出し・リード */

.lp-label {
  display: inline-block;
  font-size: 0.75rem;
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid #e2d7c7;
  margin-bottom: 8px;
}

.lp-title {
  font-size: 1.5rem;
  margin: 0 0 12px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.lp-title span {
  color: #55b4a1;
}

.lp-lead {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* 診断特典枠 */

.lp-offer {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid #e2d7c7;
  margin-bottom: 16px;
}

.lp-offer-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #b26b3d;
  margin-bottom: 4px;
}

.lp-offer-main {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.lp-offer-note {
  font-size: 0.8rem;
  color: #777;
}

/* CTAボタン（既存 #start-btn,#start-btn2 を上書き） */



.answer-time {
  font-size: 0.8rem;
  color: #777;
  margin-top: 6px;
}

/* ヒーロー画像用（あとで <img> 差し替え） */

.lp-img-placeholder {
  border-radius: 12px;
  border: 1.5px dashed #d3c5b3;
  background: #fdfaf6;
  color: #8a7a64;
  font-size: 0.85rem;
  padding: 16px 12px;
  text-align: center;
  line-height: 1.6;
}

.lp-img-hero {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-img-placeholder--thin {
  max-width: 480px;
  margin: 12px auto 0;
}

.lp-img-placeholder--round {
  border-radius: 999px;
}

/* 後で本物の画像を入れる用 */
.lp-hero-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* ---------- セクション共通 ---------- */

.lp-section {
  padding: 0 4px;
  margin-bottom: 48px;
  margin-top: 60px;
}

.lp-heading {
  font-weight: 700;
  margin-bottom: 14px;
  text-align: center;
}

.lp-text {
  line-height: 1.7;
  margin-bottom: 12px;
}

.lp-list {
  font-size: 0.9rem;
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.lp-list li {
  margin-bottom: 8px;
  padding-left: 0.2em;
}

.lp-center {
  text-align: center;
  margin-top: 16px;
}

/* ---------- ブレンド例カード ---------- */

.lp-blend-grid {
  display: grid;
  grid-template-columns: 1fr;   /* PCも1カラム固定 */
  gap: 16px;
  margin-top: 12px;
}

.lp-blend-card {
  background: #faf7f3;
  border-radius: 12px;
  padding: 14px 12px 16px;
  text-align: center;
}

.lp-blend-card h3 {
  font-size: 1rem;
  margin: 8px 0 4px;
}

.lp-blend-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- 診断フロー（3ステップ） ---------- */
/* =======================================
   タイムライン式 3ステップ
   ======================================= */
.lp-timeline {
  border-left: 2px solid #3a7b65;
  padding-left: 20px;
  margin-top: 20px;
  position: relative;
}

.lp-timeline-step {
  position: relative;
  margin-bottom: 38px;
}

.lp-timeline-step.is-last {
  margin-bottom: 0;
}

.lp-timeline-dot {
  width: 14px;
  height: 14px;
  background: #3a7b65;
  border-radius: 50%;
  position: absolute;
  left: -28.5px;
  top: 6px;
}

.lp-timeline-content h3 {
  margin-bottom: 6px;
  color: #3a7b65;
  font-weight: 700;
}

.lp-timeline-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}
/* ---------- 小さいスマホ対策 ---------- */

@media (max-width: 360px) {
  .lp-title {
    font-size: 1.35rem;
  }
  .lp-heading {
    font-size: 1.15rem;
  }
  .lp-lead,
  .lp-text,
  .lp-list {
    font-size: 0.9rem;
  }
}

/* =======================================
   「この診断でわかること」用デザイン
   ======================================= */

.lp-what {
  margin-bottom: 40px;
}

.lp-what-lead {
  line-height: 1.8;
  margin-bottom: 16px;
}

.lp-what-list {
  background: #faf7f3;
  border-radius: 14px;
  padding: 14px 10px;
}

.lp-what-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 10px 18px;
  border-bottom: 1px solid #e2d7c7;
}

.lp-what-item:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.lp-what-icon {
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #3a7b65;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.lp-what-body h3 {
  margin-bottom: 4px;
  line-height: 1.4;
  font-size: 1rem;
}

.lp-what-body p {
  line-height: 1.7;
  color: #555;
}

/* 小さいスマホ向け微調整 */
@media (max-width: 360px) {
  .lp-what-lead {
    font-size: 0.9rem;
  }
  .lp-what-body h3 {
    font-size: 0.9rem;
  }
  .lp-what-body p {
    font-size: 0.8rem;
  }
}





/* =========================
   診断結果ページ（/diag/campagin/）
   ========================= */

/* ベースレイアウト */
#result {
  padding: 24px 0 40px;
}

#result .inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 5px;
  box-sizing: border-box;
}

/* RESULT ロゴ */
#result .result-inner {
  padding-top: 8px;
  padding-bottom: 8px;
}

#result .result-title {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #999;
}
p.result-label {
  color: #3a7b65;
  font-weight: 700;
}

/* ───────── ポイント部分 ───────── */

#result .maiko {
  padding-top: 8px;
  padding-bottom: 32px;
}

#result .maiko .message {
  font-weight: 700;
  color: #3a7b65;
  margin-bottom: 6px;
  text-align: left;
}

/* text2, text3 の本文 */
#result .maiko > p {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  text-align: left;
  margin-bottom: 4px;
}

/* text2 を少しボックス風に強調 */
#result .maiko > p:first-of-type {
  background: #f5fbf9;
  border-radius: 8px;
  padding: 12px 20px;
}
/* ▼ ポイント枠の全体をくくる（見出し＋本文） */
#result .point-block {
  background: #f5fbf9;
  border-radius: 10px;
  padding: 14px 16px 16px;
  margin: 16px 0 24px;
  border: 1px solid #e2f0ec;
}

/* 見出し「ポイント」を枠の中に入れる */
#result .point-block .message {
  margin: 0 0 10px;
  font-weight: 700;
  color: #3a7b65;
}

/* 枠内の本文 */
#result .point-block p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 10px;
}

/* ───────── 見出し「雑穀の組み合わせ」 ───────── */

#result h2.blend {
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 6px;
  text-align: center;
}

#result h2.blend + p {
  line-height: 1.7;
  color: #555;
  text-align: left;
}

/* PC 用の .flex.pc は既存CSSに任せる */
#result .maiko .flex.pc {
  margin-top: 20px;
}

/* ───────── スマホ用リスト（.flex.sp） ───────── */

#result .maiko .flex {
  margin-top: 16px;
}

#result .maiko .flex .box {
  padding: 20px 0 38px;
  border-top: 1px solid #f2f2f2;
}

#result .maiko .flex_box .box:last-of-type {
  border-bottom: 1px solid #f2f2f2;
}

/* 画像＋テキスト横並び */
#result .maiko .flex .flex_box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 8px;
}

/* テキスト側 */
#result .maiko .flex .left {
  flex: 1;
}

#result .maiko .flex .left h3 {
  font-weight: 700;
  margin-bottom: 4px;
}

#result .maiko .flex .left p {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 6px;
}

/* 画像側（正方形） */
#result .maiko .flex .right {
  flex: 0 0 32%;
  max-width: 140px;
}

#result .maiko .flex .right img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* 正方形 */
  object-fit: cover;     /* 中央トリミング */
  border-radius: 12px;
  display: block;
  background: #fff;
}

/* ───────── ラベル・栄養タグ ───────── */


p.mini-label {
  font-weight: 700;
  font-size: 14px;
    margin-bottom: 0px;
    margin-top: 10px;
}

/* 特徴ラベル（メリット） */
#result .maiko span#sp_item1_feature span.cate,
#result .maiko span#sp_item2_feature span.cate,
#result .maiko span#sp_item3_feature span.cate,
#result .maiko span#sp_item4_feature span.cate,
#result .maiko span#sp_item5_feature span.cate {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: #55b4a1;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin: 0 6px 6px 0;
}



/* 栄養素ラベル */
#result .maiko span#sp_item1_nutrition span.cate,
#result .maiko span#sp_item2_nutrition span.cate,
#result .maiko span#sp_item3_nutrition span.cate,
#result .maiko span#sp_item4_nutrition span.cate,
#result .maiko span#sp_item5_nutrition span.cate {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  color: #3a7b65;
  margin-right: 8px;
}

/* ───────── CTAボタン群 ───────── */

#result a.btn.buy {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 28px auto 4px;
  padding: 14px 10px;
  border-radius: 999px;
  background: #55b4a1;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ボタン下の注意書き（既存ならそのまま使えるように小さめ） */
#result .result-note,
#result .maiko .buy + p {
  color: #777;
  text-align: center;
  margin-top: 4px;
  font-size: 14px;
}

/* 「もう一度診断する」ボタン */
#result .btn.again,
#result #restart-btn {
  background: none;
  border: none;
  box-shadow: none;
  color: #3a7b65;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  margin: 20px auto 8px;
  display: block;
  width: fit-content;
  font-size: 14px;
}

/* ───────── レスポンシブ微調整 ───────── */

@media (max-width: 480px) {
  #result .result-title {
    font-size: 12px;
  }


  #result .maiko > p,
  #result h2.blend + p {
    font-size: 15px;
  }


  #result .maiko .flex .left p {
    font-size: 14px;
  }

  #result .maiko .flex .right {
    max-width: 130px;
  }
}

@media (min-width: 768px) {
  #result .inner {
    max-width: 560px;
  }
}

/* =========================
   広告限定クーポンブロック
   ========================= */

.coupon-block {
  background: #f5fbf9;              /* my.riceの淡いグリーン系 */
  border: 1px solid #c5e3dc;
  padding: 18px 16px;
  border-radius: 12px;
  margin: 28px 0 24px;
  text-align: center;
}

.coupon-label {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #3a7b65;
  margin-bottom: 6px;
  text-align: center;
}

.coupon-off span {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: #55b4a1;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
      text-align: center;
    display: block;
    width: fit-content;
    margin: 0 auto;
  margin-bottom: 8px;
}

.coupon-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
  
  margin-bottom: 12px;
}

.coupon-code-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.coupon-code {
  background: #ffffff;
  border-radius: 8px;
  border: 1.5px dashed #55b4a1;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #3a7b65;
}

.coupon-copy-btn {
  border: 1px solid #55b4a1;
  background: #55b4a1;
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}

.coupon-copy-btn.copied {
  background: #3a7b65;
  border-color: #3a7b65;
}

.coupon-note {
  font-size: 13px;
  color: #777;
  margin-top: 4px;
}

/* スマホ微調整 */

  .coupon-block {
    margin-left: 8px;
    margin-right: 8px;
  }
  .coupon-desc {
    font-size: 14px;
  }
  .coupon-code-wrap {
    flex-direction: column;
  }
