@charset "UTF-8";

/* =========================================
   Base Settings
   ========================================= */
html {
  font-size: 10px;
}

body {
  font-size: 1.4rem;
  font-family: "Noto Sans JP", sans-serif;
  background-color: #fff;
  padding: 0;
  margin: 0;
  filter: drop-shadow(0px 50px 30px rgba(0, 0, 0, 0.2));
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  line-height: 1;
  padding: 0;
  margin: 0;
}

img {
  width: 100%;
  vertical-align: bottom;
}

/* =========================================
   Utilities
   ========================================= */
.pc {
  display: block;
}
.sp {
  display: none;
}

.img_margin {
  margin-bottom: 30px;
}
.small {
  font-size: 14px;
}

/* 注釈用テキスト */
.note-text {
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  max-width: 80%;
  margin: 5px auto 10px auto;
  display: block;
  text-align: left;
}

/* 注釈マーク（上付き） */
.sup-mark {
  font-size: 0.75em;
  vertical-align: super;
}

@media screen and (max-width: 765px) {
  body {
    font-size: 1.86vw;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }

  .note-text {
    font-size: 12px;
    line-height: 1.3;
    max-width: 84%;
  }
}

/* =========================================
   Layout & Wrappers
   ========================================= */
.ajinomoto_questionnaire__content--wrap {
  width: 750px;
  background-color: #ffffff;
  margin: 0 auto;
}

/* ページ表示制御 */
.ajinomoto_questionnaire__content--wrap#start {
  display: block;
}
.ajinomoto_questionnaire__content--wrap#page02,
.ajinomoto_questionnaire__content--wrap#page03,
.ajinomoto_questionnaire__content--wrap#page04,
.ajinomoto_questionnaire__content--wrap#end {
  display: none;
}

.ajinomoto_questionnaire__content_select {
  padding: 25px 0 30px 0;
}
.ajinomoto_questionnaire__content_select.end {
  padding: 0;
}

@media screen and (max-width: 765px) {
  .ajinomoto_questionnaire__content--wrap {
    max-width: 100%;
  }
  .ajinomoto_questionnaire__content_select {
    padding: 5.33vw 0 3.33vw 0;
  }
  .ajinomoto_questionnaire__content_select.end {
    padding: 0;
  }
}

/* =========================================
   Steps Indicator
   ========================================= */
.step-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 35px;
}

/* 非アクティブ（未回答） */
.step-circle {
  width: 60px;
  height: 60px;
  background-color: #dcdcdc;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  font-size: 28px;
  font-weight: bold;
  font-family: sans-serif;
  box-sizing: border-box;
}

/* アクティブ（現在の設問）：オレンジ背景・ホワイト文字 */
.step-circle.active {
  background-color: #ff6600;
  color: #ffffff;
}

@media screen and (max-width: 765px) {
  .step-container {
    margin-top: 3vw;
    margin-bottom: 5vw;
    gap: 4vw;
  }
  .step-circle {
    width: 13vw;
    height: 13vw;
    line-height: 13vw;
    font-size: 20px;
  }
}

/* =========================================
   Question Texts & Images
   ========================================= */
.ajinomoto_questionnaire__content_select-text {
  margin-bottom: 35px;
}

.question-text {
  text-align: left;
  font-weight: 500;
  color: #000000;
  font-size: 3.2rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 80%;
}

/* 太字設問：<p class="question-text bold"> または <span class="bold"> 両方に対応 */
.question-text.bold,
.question-text .bold {
  font-weight: 800;
}

.question-text .highlight {
  background: linear-gradient(transparent 60%, #fff59b 60%);
  padding: 0 5px;
}

.question-text-end {
  text-align: center;
  font-weight: bold;
  color: #000000;
  font-size: 3.6rem;
  line-height: 1.5;
  margin: 0 auto;
  padding: 40px 0 10px 0;
  max-width: 80%;
}

/* 設問画像（汎用：幅80%・中央寄せ） */
.question-main-image {
  width: 80% !important;
  max-width: 80% !important;
  margin: 0 auto 30px auto;
  display: block;
}

.question-image-wrap {
  text-align: center;
  margin-bottom: 30px;
}
.question-image-wrap img {
  max-width: 500px;
  width: 100%;
}

/* その他の画像クラス */
.ajinomoto_questionnaire__content_select-img,
.ajinomoto_questionnaire__content_select-img02,
.ajinomoto_questionnaire__content_select-img03 {
  margin: 0 auto 30px auto;
}
.ajinomoto_questionnaire__content_select-img {
  width: 520px;
  margin-bottom: 40px;
}
.ajinomoto_questionnaire__content_select-img02 {
  width: 750px;
}
.ajinomoto_questionnaire__content_select-img03 {
  width: 565px;
}

@media screen and (max-width: 765px) {
  .ajinomoto_questionnaire__content_select-text {
    margin-bottom: 2.4vw;
  }

  .question-text {
    font-size: 22px;
    padding: 0 10px;
    margin-bottom: 5vw;
    max-width: 84%;
  }
  .question-text-end {
    font-size: 24px;
    padding: 20px 0 10px 0;
    max-width: 84%;
  }

  .question-main-image {
    margin-bottom: 5vw;
  }

  .ajinomoto_questionnaire__content_select-img {
    width: 87.73vw;
    margin-bottom: 5.33vw;
  }
  .ajinomoto_questionnaire__content_select-img02 {
    width: 100vw;
    margin-bottom: 2.5vw;
  }
  .ajinomoto_questionnaire__content_select-img03 {
    width: 88.66vw;
    margin-bottom: 2.5vw;
  }
}

/* =========================================
   Form Inputs & Buttons
   ========================================= */
/* ラジオボタン・チェックボックス本体は非表示 */
.ajinomoto_questionnaire__content_select-input > input[type="checkbox"],
.ajinomoto_questionnaire__content_select-input > input[type="radio"],
.ajinomoto_questionnaire__content_select-input02 > div > input[type="radio"],
.ajinomoto_questionnaire__content_select-input03 > div > input[type="radio"] {
  display: none;
}

/* コンテナ設定 */
.ajinomoto_questionnaire__content_select-input {
  margin: 0 auto 10px auto;
}
.ajinomoto_questionnaire__content_select-input.check01,
.ajinomoto_questionnaire__content_select-input.check02 {
  width: 560px;
}

/* ラベルのクリッカブル化 */
.ajinomoto_questionnaire__content_select-input.check01 > input + label,
.ajinomoto_questionnaire__content_select-input.check02 > input + label,
.ajinomoto_questionnaire__content_select-input02 > div > input + label,
.ajinomoto_questionnaire__content_select-input03 > div > input + label {
  display: block;
  cursor: pointer;
  width: 100%;
}

/* --- ボタンデザインA（縦並び・フラット太ボーダー） --- */
.select-button {
  user-select: none;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px 12px 16px;
  gap: 10px;
  width: 540px;
  background: #ffffff;
  border: 3px solid #039b98;
  border-radius: 8px;
  box-shadow: none;
  color: #000000;
  font-size: 2.6rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
}

/* 選択時の状態（A） */
input:checked + .select-button {
  background: #039b98;
  color: #ffffff;
  border-color: #039b98;
  box-shadow: none;
}

/* --- ボタンデザインB（横並び・フラット太ボーダー） --- */
.ajinomoto_questionnaire__content_select-input02,
.ajinomoto_questionnaire__content_select-input03 {
  width: 570px;
  margin: 0 auto;
  display: flex;
}
.ajinomoto_questionnaire__content_select-input02 > div,
.ajinomoto_questionnaire__content_select-input03 > div {
  width: 260px;
}

.select-button2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 0px 22px 0px;
  width: 144px;
  height: auto;
  background: #ffffff;
  border: 3px solid #039b98;
  border-radius: 8px;
  box-shadow: none;
  color: #000000;
  font-size: 2.8rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  gap: 10px;
}

/* 選択時の状態（B） */
input:checked + .select-button2 {
  background: #039b98;
  color: #ffffff;
  border-color: #039b98;
  box-shadow: none;
}

/* =========================================
   スマホ時のフォーム
   ========================================= */
@media screen and (max-width: 765px) {
  /* --- 縦並び（ラジオ・チェックボックス）のスタイル --- */
  .ajinomoto_questionnaire__content_select-input {
    width: 85.33vw;
    margin-bottom: 3.2vw;
  }
  .ajinomoto_questionnaire__content_select-input.check01,
  .ajinomoto_questionnaire__content_select-input.check02 {
    width: 85.33vw;
  }
  .select-button {
    width: 100%;
    height: auto;
    font-size: 20px;
    padding: 13px 10px 17px 10px;
    line-height: 1.4;
  }

  /* --- 横並び（はい／いいえ など）のスタイル --- */
  .ajinomoto_questionnaire__content_select-input02,
  .ajinomoto_questionnaire__content_select-input03 {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 26px;
  }

  .ajinomoto_questionnaire__content_select-input02 > div,
  .ajinomoto_questionnaire__content_select-input03 > div {
    width: 38vw !important;
    max-width: 170px;
    flex: 0 0 auto;
    margin: 0;
    margin-bottom: 2vw;
  }

  .select-button2 {
    width: 100% !important;
    height: auto;
    padding: 14px 0 16px 0;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* =========================================
   "Next" Button (CSS Arrow)
   ========================================= */
.ajinomoto_questionnaire__content_select-next {
  background-image: none !important;
  width: 160px;
  height: 80px;
  box-sizing: border-box;

  display: flex;
  justify-content: center;
  align-items: center;

  padding-left: 30px;
  padding-bottom: 6px;

  color: #fff;
  font-size: 38px;
  font-weight: bold;
  line-height: 1;

  margin: 45px 105px 25px auto;
  position: relative;
  background-color: #4a4a4a;

  cursor: default;
  pointer-events: none;
  transition: background-color 0.3s;
}

/* 矢印（三角形） */
.ajinomoto_questionnaire__content_select-next::after {
  content: "";
  position: absolute;
  top: 0;
  right: -40px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 40px 0 40px 40px;
  border-color: transparent transparent transparent #4a4a4a;
  transition: border-color 0.3s;
}

/* ON状態：オレンジ */
.ajinomoto_questionnaire__content_select-next.on {
  background-color: #ff6600;
  cursor: pointer;
  pointer-events: auto;
}
.ajinomoto_questionnaire__content_select-next.on::after {
  border-color: transparent transparent transparent #ff6600;
}

@media screen and (max-width: 765px) {
  .ajinomoto_questionnaire__content_select-next {
    width: 28vw;
    height: 13vw;
    font-size: 6vw;
    padding-left: 5vw;
    padding-bottom: 1vw;
    margin-top: 5vw;
    margin-bottom: 5vw;
    margin-right: calc(6vw + 6.5vw);
  }

  .ajinomoto_questionnaire__content_select-next::after {
    border-width: 6.5vw 0 6.5vw 6.5vw;
    right: calc(-6.5vw + 1px);
  }
}

/* =========================================
   Footer & CTA
   ========================================= */
.cta-container {
  position: relative;
  width: 100%;
}

.cta-box {
  position: absolute;
  width: 100%;
  bottom: 17.4%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-btn {
  width: 86%;
  text-align: center;
}
.cta-btn a {
  display: block;
  transition: transform 0.3s ease;
}
.cta-btn a:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* img_uv + btn_comp オーバーレイコンテナ */
.uv-container {
  position: relative;
}
.uv-container .ajinomoto_questionnaire__content_compbtn {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 86%;
  margin: 0;
  padding-bottom: 0;
}

.ajinomoto_questionnaire__content_compbtn {
  width: 650px;
  margin: 0 auto;
}
.ajinomoto_questionnaire__content_compbtn img {
  width: 100%;
}

.ajinomoto_questionnaire__content_compbtn a {
  display: block;
  transition: transform 0.3s ease;
}
.ajinomoto_questionnaire__content_compbtn a:hover {
  transform: scale(1.05);
}

.ajinomoto_questionnaire__footer {
  width: 750px;
  margin: 0 auto;
  background: #ffffff;
  border-top: 1px solid #707070;
}

.ajinomoto_questionnaire__footer-info01,
.ajinomoto_questionnaire__footer-info02,
.ajinomoto_questionnaire__footer-notification {
  width: 560px;
  color: #333;
  margin: 0 auto;
  word-wrap: break-word;
  word-break: break-all;
}

.ajinomoto_questionnaire__footer-notification {
  padding: 0.5em 1em;
  margin-top: 1em;
  font-weight: bold;
  background: #fff;
  border: solid 3px #333;
}
.ajinomoto_questionnaire__footer-notification p {
  margin: 0;
  padding: 0;
}

.ajinomoto_questionnaire__footer-info01 {
  line-height: 1.5;
  margin-bottom: 20px;
  margin-top: 10px;
}
.ajinomoto_questionnaire__footer-info02 {
  text-align: center;
  line-height: 1.2;
  margin: 10px 0;
  width: 100%;
}

.ajinomoto_questionnaire__footer-info01 > a,
.ajinomoto_questionnaire__footer-info02 > a {
  color: #333;
  transition: color 0.4s;
}
.ajinomoto_questionnaire__footer-info01 > a:hover,
.ajinomoto_questionnaire__footer-info02 > a:hover {
  color: #ff6600;
}

.ajinomoto_questionnaire__footer-copy {
  text-align: center;
  background-color: #333;
  margin-top: 20px;
}
.ajinomoto_questionnaire__footer-copy > img {
  width: 750px;
}

@media screen and (max-width: 765px) {
  .cta-box {
    bottom: 17.2%;
  }
  .cta-btn {
    width: 90%;
  }

  .ajinomoto_questionnaire__content_compbtn {
    width: 92.13vw;
    margin-bottom: 0;
    padding-bottom: 6%;
  }

  .ajinomoto_questionnaire__footer {
    width: 100%;
  }
  .ajinomoto_questionnaire__footer-info01,
  .ajinomoto_questionnaire__footer-info02,
  .ajinomoto_questionnaire__footer-notification {
    width: 90.26vw;
  }

  .ajinomoto_questionnaire__footer-notification {
    margin-top: 2em;
  }
  .ajinomoto_questionnaire__footer-notification p {
    font-size: 11px;
  }

  .ajinomoto_questionnaire__footer-info01 {
    font-size: 12px;
    margin-bottom: 5.33vw;
  }
  .ajinomoto_questionnaire__footer-info02 {
    font-size: 11px;
    margin: 0;
  }

  .ajinomoto_questionnaire__footer-copy {
    margin-top: 4vw;
  }
  .ajinomoto_questionnaire__footer-copy > img {
    width: 100%;
  }
}

/* =========================================
   ステップ：回答済みをオレンジ塗りつぶしにする
   ========================================= */

/* Q2ページ：1番目が回答済み */
#page02 .step-circle:nth-child(1) {
  background-color: #ff6600;
  color: #ffffff;
  border: none;
  line-height: 60px;
}

/* Q3ページ：1〜2番目が回答済み */
#page03 .step-circle:nth-child(1),
#page03 .step-circle:nth-child(2) {
  background-color: #ff6600;
  color: #ffffff;
  border: none;
  line-height: 60px;
}

/* Q4ページ：1〜3番目が回答済み */
#page04 .step-circle:nth-child(1),
#page04 .step-circle:nth-child(2),
#page04 .step-circle:nth-child(3) {
  background-color: #ff6600;
  color: #ffffff;
  border: none;
  line-height: 60px;
}

@media screen and (max-width: 765px) {
  #page02 .step-circle:nth-child(1),
  #page03 .step-circle:nth-child(1),
  #page03 .step-circle:nth-child(2),
  #page04 .step-circle:nth-child(1),
  #page04 .step-circle:nth-child(2),
  #page04 .step-circle:nth-child(3) {
    line-height: 13vw;
  }
}

/* =========================================
   CTAボタンアニメーション：常にドキドキ動かす
   ========================================= */
@keyframes pulseZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.ajinomoto_questionnaire__content_compbtn a,
.cta-btn a {
  animation: pulseZoom 1s infinite ease-in-out;
}
