@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.grecaptcha-badge {
  visibility: hidden;
}

.content {
  overflow: hidden;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.item-box {
  opacity: 0;
  margin-bottom: 2.5rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  padding: .8rem;
  border-radius: .8rem;
}

.item-box.act {
  opacity: 1;
  -webkit-animation: SlideUp .8s;
  animation: SlideUp .8s;
}

.name-box {
  display: flex;
  align-items: center;
  position: relative;
  padding: 5px 0;
  border-bottom: 1px solid #635a5a;
  margin-bottom: 1rem;
}

.nb1 {
  border-bottom: 2px solid #DAAF08;
}

.nb2 {
  border-bottom: 2px solid #9E9E9E;
}

.nb3 {
  border-bottom: 2px solid #945809;
}

.rank-num {
  font-size: 3rem;
  margin-right: 10px;
  font-style: italic;
  position: absolute;
  bottom: -15px;
  color: #635a5a;
  padding-right: 40px;
}

.rn1 {
  background: linear-gradient(0deg, #B67B03 0%, #DAAF08 45%, #FEE9A0 70%, #DAAF08 85%, #B67B03 90% 100%);
  color: transparent;
  -webkit-background-clip: text;
}

.rn2 {
  background: linear-gradient(0deg, #757575 0%, #9E9E9E 45%, #E8E8E8 70%, #9E9E9E 85%, #757575 90% 100%);
  color: transparent;
  -webkit-background-clip: text;
}

.rn3 {
  background: linear-gradient(0deg, #B67B03 0%, #945809 45%, #ceaa67 70%, #945809 85%, #B67B03 90% 100%);
  color: transparent;
  -webkit-background-clip: text;
}

.item-name {
  font-size: 1.4rem;
  padding-left: 40px;
  color: #6595ef;
  font-weight: bold;
}

ul[id^="list"] {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul[id^="list"] li {
  display: none;
  list-style: none;
  margin-bottom: 1.2em;
}

ul[id^="list"] li.review-img {
  display: flex;
  align-items: flex-start;
  gap: 1em;
}

.more-btn {
  background-color: #f3f3f3;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  display: inline-block;
  transition: background-color 0.3s, color 0.3s;
}

.more-btn:hover {
  background-color: #e4e4e4;
  color: #111;
}

.btn-more {
  margin-top: 10px;
  text-align: center;
}

.img-area {
  margin-top: 2rem;
}

.r {
  position: absolute;
  bottom: 10px;
  font-size: 1rem;
  right: 0;
}

.top-img {
  margin: 0;
}

.site-intro-box {
  margin: 0;
  display: flex;
  justify-content: center;
}

.site-intro {
  line-height: 2.5;
  margin: 10px 0;
}

span.st {
  color: #ea896c;
  font-weight: bold;
}

.illust {
  margin: 1rem auto 0;
  width: 30%;
}

.illust-balloon {
  position: relative;
  display: flex;
  justify-content: space-around;
}

.illust-balloon p {
  width: 240px;
  height: 240px;
  background: url(https://koinoa.jp/wp-content/uploads/2025/07/bubble01.png) no-repeat;
  background-size: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px 0;
}

.intro-box {
  text-align: left;
}

.intro {
  font-size: 1.4rem;
  line-height: 3;
  padding: 15px;
}

.what {
  font-size: 1.6rem;
  font-weight: bold;
  color: #cc3366;
  border-bottom: 3px solid #fbb1c8;
  padding-bottom: 0.3em;
  margin-top: 2rem;
}

.exp {
  padding: 20px;
  font-size: 1.4rem;
  margin: 0;
}

a.rec-a {
  text-align: center;
  text-decoration: none;
  position: relative;
  background-color: #f8b2c0;
  padding: 14px 20px;
  margin: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  font-size: 14px;
  border: 2px solid transparent;
}

a.rec-a::after {
  content: "\f105";
  position: absolute;
  right: 0;
  font-size: 20px;
  font-family: 'font awesome 5 free';
  margin-right: 12px;
}

p.sol {
  font-size: 1.4rem;
}

#love-diagnosis {
  padding: 1em;
  background: #fffafc;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.question-box {
  margin-bottom: 1em;
}

.pickup-item {
  display: flex;
  flex-wrap: wrap;
  padding: 1em;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.pickup-item.act {
  opacity: 1;
  -webkit-animation: SlideUp .8s;
  animation: SlideUp .8s;
}

.top-pick-section {
  opacity: 0;
}

.top-pick-section.act {
  opacity: 1;
  -webkit-animation: SlideUp .8s;
  animation: SlideUp .8s;
}

.diagnosis-section {
  opacity: 0;
}

.diagnosis-section.act {
  opacity: 1;
  -webkit-animation: SlideUp .8s;
  animation: SlideUp .8s;
}

.pickup-thumb {
  flex: 1 1 120px;
  text-align: center;
  margin-right: 1em;
}

.pickup-thumb img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.pickup-content {
  flex: 2 1 300px;
}

.pickup-icon-box {
  display: flex;
  align-items: center;
}

.pickup-icon {
  width: 18%;
  margin: 10px;
}

.pickup-icon img {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.pickup-title {
  color: #6595ef;
}

.pickup-catch {
  color: #e85a71;
  text-align: center;
  font-weight: bold;
  font-size: 0.9em;
  margin-bottom: 0.5em;
}

.pickup-btn {
  background: #16d9a8;
  color: #fff;
  padding: 0.8em 1.5em;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  display: block;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pickup-btn:hover {
  color: #fff;
  opacity: 0.9;
}

.pickup-btn::before {
  animation: shine 3s ease-in-out infinite;
  background-color: #fff;
  content: " ";
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: -180px;
  transform: rotate(45deg);
  width: 30px;
}

/* === 恋愛タイプ診断（diagnosis）用スタイル === */
.diagnosis-box {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.question {
  margin-bottom: 20px;
}

.question p {
  font-weight: bold;
  margin-bottom: 10px;
}

.question label {
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
}

.result-box {
  border: 2px solid #f08080;
  padding: 20px;
  background-color: #fff0f0;
  text-align: center;
  font-size: 1.1em;
  border-radius: 8px;
  margin-top: 20px;
}

.result-box p:first-child {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
}

.retry-button,
.diagnosis-button {
  margin-top: 20px;
  background-color: #fa7070;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.retry-button:hover,
.diagnosis-button:hover {
  background-color: #e85b5b;
}

/* 恋愛タイプ診断 全体 */
.diagnosis-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2em 1em;
  background: #fff8f8;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* 設問ブロック */
#quiz-form .question {
  margin-bottom: 2em;
}

#quiz-form p {
  font-weight: bold;
  margin-bottom: 0.5em;
}

#quiz-form label {
  display: block;
  margin: 0.3em 0;
  cursor: pointer;
}

/* ボタン */
#quiz-form button,
#retry-button {
  display: inline-block;
  padding: 0.7em 1.5em;
  background-color: #ff5f5f;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

#quiz-form button:hover,
#retry-button:hover {
  background-color: #e14646;
}

/* 結果表示エリア */

#diagnosis-result h3 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

#diagnosis-result #type-text {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 0.5em;
  color: #ff5f5f;
  text-align: center;
}

#diagnosis-result #type-description {
  margin-bottom: 1em;
  font-size: 1em;
}

.result-preview {
  margin: 2em auto 1em;
  max-width: 600px;
  padding: 1.5em;
  background-color: #fff8f2;
  border: 2px dashed #f7b8a2;
  border-radius: 16px;
  text-align: center;
}

.result-preview .section-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #e4716e;
  margin-bottom: 1em;
}

.result-card {
  background-color: #ffffff;
  padding: 1em 1.2em;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.result-label {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5em;
  color: #e4716e;
}

.result-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  text-align: left;
}

.result-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  justify-content: center;
}

.diagnosis-flow {
  margin: 0 auto;
  max-width: 640px;
  padding: 1.5em;
  background-color: #f9f5f3;
  border-left: 6px solid #f7b8a2;
  border-radius: 12px;
}

.flow-list {
  list-style: none;
  padding: 0;
  margin: 1em 0 0;
}

.flow-list li {
  margin-bottom: 1em;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  padding-left: 5rem;
}

.flow-list .step {
  position: absolute;
  left: 0;
  background: #f7b8a2;
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.3em 0.7em;
  border-radius: 8px;
  white-space: nowrap;
}

.recommended-app {
  border: 2px solid #ffe766;
  border-radius: 8px;
  padding: 1em;
  background: #fff7cc;
  margin-bottom: 2em;
}

.recommended-app h4 {
  margin-bottom: 0.8em;
  font-size: 1.2em;
  text-align: center;
}

.app-item {
  text-align: left;
}

.app-item h5 {
  margin-bottom: 0.5em;
  font-size: 1.1em;
  color: #6595ef;
}

.app-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 0.8em;
}

.app-item .excerpt {
  margin-bottom: 1em;
  color: #555;
}

/* 再診断ボタン */
.retry {
  text-align: center;
}

.hl {
  background-image: linear-gradient(120deg, #ffef92 0%, #ffef92 100%);
  background-repeat: no-repeat;
  background-size: 100% 40%;
  background-position: 0 90%;
}

.faq-wrap {
  padding: 1rem;
}

.faq-heading {
  font-size: 1.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5em;
  color: #222;
}

.faq-item {
  display: block;
  border-bottom: 1px solid #eee;
  padding: 1em 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1em;
  color: #333;
  text-align: left;
  padding: 0.5em 0;
}

.faq-question.active {
  color: #e05260;
}

.toggle-icon {
  font-size: 1.5em;
  margin-left: 0.5em;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  color: #444;
  line-height: 1.6;
  padding: 0 0;
}

.faq-answer.open {
  max-height: 1000px;
  padding-top: 0.7em;
}

.download {
  text-align: center;
  margin-top: 10px;
  color: #ff5f5f;
  font-size: .9rem;
  font-weight: bold;
}

.store-links {
  display: flex;
  gap: 1em;
  justify-content: center;
  align-items: center;
}

.store-links img {
  height: 50px;
}

.icon-img {
  text-align: center;
}

.icon-img img {
  width: 30%;
  border-radius: 20%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.app-name {
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  color: #6595ef;
}

.btn-primary {
  display: block;
  margin: 0 auto;
  max-width: 95%;
  background-color: #ffd54f;
  color: #333;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 1em 0;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
  width: 100%;
  margin: 0.5rem;
}

.btn-primary:hover {
  background-color: #ff4f9b;
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: scale(0.98);
}

.pu-link {
  -webkit-animation: SlideInL .8s;
  animation: SlideInL .8s;
}

.pu {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ff7143;
  margin: 1.2rem 0 0;
}

#start-diagnosis-btn {
  opacity: 0;
  background: linear-gradient(90deg, #f06292, #ff7043);
  color: #fff;
  font-weight: bold;
  padding: 1em 2em;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

#start-diagnosis-btn:hover {
  transform: scale(1.05);
}

#start-diagnosis-btn.act {
  opacity: 1;
  -webkit-animation: SlideInL .8s;
  animation: SlideInL .8s;
}

.diagnosis-container {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  margin-top: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.diagnosis-container h3 {
  font-size: 1.6rem;
  color: #e64a6c;
  margin-bottom: 1.5rem;
  text-align: center;
}

.step-question {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.step-question.active {
  display: block;
}

.step-question p {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.step-question label {
  display: block;
  background: #f9f9f9;
  border: 2px solid #ddd;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.step-question label {
  display: block;
  background: #f9f9f9;
  border: 2px solid #ddd;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.step-question input[type="radio"] {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .step-question label:hover {
    border-color: #e64a6c;
    background: #fff0f4;
  }
}

.step-question label:has(input[type="radio"]:checked) {
  border-color: #e64a6c;
  background: #fff0f4;
}

.step-question input[type="radio"] {
  display: none;
}

.next-btn,
.submit-btn {
  background: #e64a6c;
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: block;
  margin: 2rem auto 0;
}

.next-btn:hover,
.submit-btn:hover {
  background: #cc2e50;
}

.retry {
  margin-top: 2rem;
  text-align: center;
}

.retry button {
  background: #999;
  color: #fff;
  padding: 0.6rem 1.8rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.retry button:hover {
  background: #666;
}

.type-caution,
.type-recommendation,
.type-leadtext {
  margin: 1em 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.type-caution {
  border-left: 4px solid #f4a261;
  padding-left: 0.8em;
  background: #fff8f0;
}

.type-recommendation {
  border-left: 4px solid #2a9d8f;
  padding-left: 0.8em;
  background: #f0fdf9;
}

.type-leadtext {
  font-weight: bold;
  margin-bottom: 0.5em;
}

.fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  background: #fff;
  border-top: 1px solid #ddd;
  padding: 0.5em;
  z-index: 1000;
}

.fixed-cta a {
  display: block;
  width: 48%;
  text-align: center;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 0.7em 0.5em;
  color: #fff;
  border-radius: 8px;
  background-color: #6595ef;
  text-decoration: none;
}

a.btn-diagnosis {
  background: #f06292;
}

.type-matchways {
  margin: 1.2em 0 1.6em;
  padding: 1em;
  background: #fffaf5;
  border: 1px solid #f3d9c9;
  border-radius: 10px;
}

.type-matchways h4 {
  margin-bottom: 0.8em;
  color: #cc3366;
  font-size: 1.05rem;
}

.matchway-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.matchway-list li {
  margin-bottom: 1em;
}

.matchway-list li:last-child {
  margin-bottom: 0;
}

.matchway-list strong {
  display: block;
  margin-bottom: 0.3em;
  font-size: 0.98rem;
  color: #333;
}

.matchway-list p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #555;
}

/* Version: diagnosis-result-tune-1.0 */

.diagnosis-result-grid {
  display: grid;
  gap: 14px;
  margin: 1.2rem 0 1.6rem;
}

.type-tendency,
.type-strength,
.type-weakness,
.type-advice {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eee;
  line-height: 1.8;
}

.type-tendency h4,
.type-strength h4,
.type-weakness h4,
.type-advice h4,
.type-matchways h4 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  font-weight: bold;
}

.type-tendency {
  background: #fffaf5;
  border-color: #f3d9c9;
}

.type-strength {
  background: #f7fff8;
  border-color: #cfe9d5;
}

.type-weakness {
  background: #fff8f8;
  border-color: #f1d3d3;
}

.type-advice {
  background: #f8fbff;
  border-color: #d7e6f7;
}

.type-tendency ul {
  margin: 0;
  padding-left: 1.2rem;
}

.type-tendency li {
  margin-bottom: 0.35rem;
}

.type-matchways {
  margin: 1.2rem 0 1.6rem;
  padding: 1rem 1.1rem;
  background: #fffaf5;
  border: 1px solid #f3d9c9;
  border-radius: 12px;
}

.matchway-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.matchway-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid #f1e3d8;
}

.matchway-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.matchway-list strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
  color: #333;
}

.matchway-list p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.75;
  color: #555;
}

.recommended-app {
  border: 2px solid #ffe766;
  border-radius: 12px;
  padding: 1.2em;
  background: #fffdf0;
  margin-top: 1.4rem;
  margin-bottom: 2em;
}

.type-leadtext {
  font-weight: bold;
  margin-bottom: 0.8em;
  line-height: 1.8;
  color: #e64a6c;
}

.app-item {
  text-align: left;
}

.app-item h5 {
  margin-bottom: 0.6em;
  font-size: 1.1em;
  color: #6595ef;
  text-align: center;
}

.app-item img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 0.8em;
  display: block;
  border-radius: 10px;
}

.app-item .excerpt {
  margin-bottom: 1em;
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
}

.dl-button-wrapper {
  margin-top: 1rem;
}

.dl-single-btn {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

#type-text {
  line-height: 1.5;
}

#type-description {
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

@media screen and (min-width: 768px) {
  .diagnosis-result-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 480px) {

  .type-tendency,
  .type-strength,
  .type-weakness,
  .type-advice,
  .type-matchways {
    padding: 0.9rem;
  }

  .matchway-list strong {
    font-size: 0.95rem;
  }

  .matchway-list p {
    font-size: 0.9rem;
  }

  .type-leadtext {
    font-size: 0.95rem;
  }
}

/* Version: diagnosis-result-final-1.0 */

.diagnosis-container {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  margin-top: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#diagnosis-quiz {
  padding: 1.5rem 1rem 0;
}

#diagnosis-result {
  padding: 1.5rem 1rem 2rem;
  animation: fadeIn 0.5s ease-in-out;
}

#diagnosis-result h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  text-align: center;
  color: #e64a6c;
}

#type-text {
  font-size: 1.35rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
  color: #ff5f5f;
  text-align: center;
  line-height: 1.5;
}

#type-description {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
  text-align: left;
}

.step-question {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.step-question.active {
  display: block;
}

.step-question p {
  font-weight: bold;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.step-question label {
  display: block;
  background: #f9f9f9;
  border: 2px solid #ddd;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.7;
}

.step-question input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .step-question label:hover {
    border-color: #e64a6c;
    background: #fff0f4;
  }
}

.step-question label:has(input[type="radio"]:checked) {
  border-color: #e64a6c;
  background: #fff0f4;
  box-shadow: 0 6px 14px rgba(230, 74, 108, 0.12);
}

.step-question label:has(input[type="radio"]:checked)::before {
  content: "✓ ";
  color: #e64a6c;
  font-weight: bold;
}

.diagnosis-result-grid {
  display: grid;
  gap: 14px;
  margin: 1.2rem 0 1.6rem;
}

.type-tendency,
.type-strength,
.type-weakness,
.type-advice {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eee;
  line-height: 1.8;
  text-align: left;
}

.type-tendency h4,
.type-strength h4,
.type-weakness h4,
.type-advice h4,
.type-matchways h4 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5;
}

.type-tendency {
  background: #fffaf5;
  border-color: #f3d9c9;
}

.type-strength {
  background: #f7fff8;
  border-color: #cfe9d5;
}

.type-weakness {
  background: #fff8f8;
  border-color: #f1d3d3;
}

.type-advice {
  background: #f8fbff;
  border-color: #d7e6f7;
}

.type-tendency ul {
  margin: 0;
  padding-left: 1.2rem;
}

.type-tendency li {
  margin-bottom: 0.35rem;
}

.type-matchways {
  margin: 1.2rem 0 1.6rem;
  padding: 1rem 1.1rem;
  background: #fffaf5;
  border: 1px solid #f3d9c9;
  border-radius: 12px;
  text-align: left;
}

.matchway-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.matchway-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid #f1e3d8;
}

.matchway-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.matchway-list strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
  color: #333;
}

.matchway-list p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.75;
  color: #555;
}

.recommended-app {
  border: 2px solid #ffe766;
  border-radius: 12px;
  padding: 1.2em;
  background: #fffdf0;
  margin-top: 1.4rem;
  margin-bottom: 2em;
}

.type-leadtext {
  font-weight: bold;
  margin-bottom: 0.8em;
  line-height: 1.8;
  color: #e64a6c;
  text-align: left;
}

.app-item {
  text-align: left;
}

.app-item h5 {
  margin-bottom: 0.6em;
  font-size: 1.1em;
  color: #6595ef;
  text-align: center;
}

.app-item img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 0.8em;
  display: block;
  border-radius: 10px;
}

.app-item .excerpt {
  margin-bottom: 1em;
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
}

.dl-button-wrapper {
  margin-top: 1rem;
  text-align: center;
}

.dl-single-btn {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.retry {
  margin-top: 2rem;
  text-align: center;
}

.retry button {
  background: #999;
  color: #fff;
  padding: 0.7rem 1.8rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.retry button:hover {
  background: #666;
}

@media screen and (min-width: 768px) {
  .diagnosis-result-grid {
    grid-template-columns: 1fr 1fr;
  }

  #diagnosis-quiz,
  #diagnosis-result {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media screen and (max-width: 480px) {

  #diagnosis-quiz,
  #diagnosis-result {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .type-tendency,
  .type-strength,
  .type-weakness,
  .type-advice,
  .type-matchways {
    padding: 0.9rem;
  }

  .matchway-list strong {
    font-size: 0.95rem;
  }

  .matchway-list p {
    font-size: 0.9rem;
  }

  .type-leadtext {
    font-size: 0.95rem;
  }

  #type-description {
    font-size: 0.95rem;
  }
}

.type-appreason {
  margin: 1.2rem 0 1.4rem;
  padding: 1rem 1.1rem;
  background: #f8fbff;
  border: 1px solid #d7e6f7;
  border-radius: 12px;
  text-align: left;
}

.type-appreason h4 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  font-weight: bold;
  color: #336699;
}

.type-appreason p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

@media screen and (min-width: 768px) {
  .fixed-cta {
    display: none;
  }
}

.etc {
  margin: 0;
  color: #e4716e;
  font-weight: bold;
}

.review-value {
  font-size: 1.2rem;
  font-weight: bold;
  border-left: 5px solid;
  padding-left: 10px;
  margin: 20px 0;
}

.reviewer-icon {
  text-align: center;
  width: 80px;
  flex-shrink: 0;
}

.reviewer-icon img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.reviewer-age {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.3em;
}

.reviewer-meta {
  margin-top: 0.3em;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

.review-stars {
  margin-bottom: 0.4em;
  font-size: 1.1rem;
  color: #ffc107;
  line-height: 1;
}

.review-stars .star {
  color: #ddd;
  margin-right: 2px;
}

.review-stars .star.filled {
  color: #ffc107;
}

.reviewer-info {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.3em;
}

.reviewer-job,
.reviewer-pref {
  display: inline-block;
  margin-right: 0.7em;
}

.reviewer-star {
  font-size: 0.85rem;
  color: #f39c12;
  display: flex;
  align-items: center;
  margin-top: 0.2em;
}

.reviewer-star .stars {
  letter-spacing: 0.1em;
  font-size: 1rem;
  margin-right: 0.4em;
}

.reviewer-star .star-num {
  font-size: 0.85rem;
  color: #444;
}

.review-img {
  display: flex;
  gap: 1.5em;
  align-items: flex-start;
  margin-bottom: 1.5em;
}

.review-left {
  width: 80px;
  flex-shrink: 0;
  text-align: center;
}

.review-left img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.4em;
}

.review-left .meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.3em;
}

.review-right {
  flex: 1;
}

.reviewer-star {
  font-size: 0.9rem;
  color: #f39c12;
  margin-bottom: 0.3em;
}

.reviewer-star .stars {
  letter-spacing: 0.05em;
  font-size: 1rem;
  margin-right: 0.4em;
}

.reviewer-star .star-num {
  font-size: 0.85rem;
  color: #444;
}

.reviewer-comment {
  position: relative;
  background: #fff8f8;
  border: 1px solid #ea896c;
  border-radius: 8px;
  padding: 1em;
  max-width: 100%;
}

.reviewer-comment::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 1.2em;
  border-width: 10px 10px 10px 0;
  border-style: solid;
  border-color: transparent #ea896c transparent transparent;
}

.reviewer-comment::after {
  content: "";
  position: absolute;
  left: -8px;
  top: 1.2em;
  border-width: 9px 9px 9px 0;
  border-style: solid;
  border-color: transparent #fff8f8 transparent transparent;
}

.reviewer-comment p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.balloon-answer {
  background: #fff8f8;
  border-left: 4px solid #f7b8a2;
  padding: 1em;
  margin: .5em auto 1.5em;
  max-width: 640px;
  font-size: 0.95rem;
  line-height: 1.6;
  border-radius: 8px;
  color: #444;
}

.pickup-tags {
  margin: 0.5rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.pickup-tag {
  display: inline-block;
  background-color: #ffe9e0;
  color: #e4716e;
  font-size: 0.75rem;
  padding: 0.3em 0.7em;
  border-radius: 999px;
  font-weight: bold;
}

.pickup-review {
  font-size: 0.8rem;
  color: #666;
  background: #f8f8f8;
  border-left: 4px solid #ffe1d2;
  padding: 0.5em 0.8em;
  margin-top: 0.5em;
  border-radius: 6px;
}

.pickup-summary {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 1rem 0 0.5rem;
  color: #444;
}

.recommend-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 20px;
}

.recommend-tags .tag {
  background-color: #f8e0eb;
  color: #c62774;
  font-size: 0.85rem;
  padding: 5px 10px;
  border-radius: 9999px;
  line-height: 1.4;
  white-space: nowrap;
}

.dl-button-wrapper {
  text-align: center;
}

.dl-single-btn {
  display: block;
  width: 90%;
  margin: 0 auto;
  background: linear-gradient(90deg, #ffb347, #ff7043);
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  transform: translateY(0);
  padding: 1rem 0;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1em;
  text-decoration: none;
  transition: all 0.2s ease;
  animation: float 2s ease-in-out infinite, pulseGlow 2.4s ease-in-out infinite;
}

.dl-single-btn:hover {
  background: linear-gradient(90deg, #ff7043, #ffb347);
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.dl-caption {
  text-align: center;
  font-size: 0.9em;
  color: #e85a71;
  font-weight: bold;
  margin: .8rem 0;
}

#footer {
  margin-bottom: 60px;
}

#go-to-top {
  bottom: 70px;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {

  /*必要ならばここにコードを書く*/
  .intro {
    font-size: 1rem;
    line-height: 2;
  }

  .what {
    font-size: 1.2rem;
    padding-left: 10px;
  }

  p.exp {
    padding: 15px;
    font-size: 1rem;
    line-height: 2;
  }

  .illust-balloon p {
    width: 160px;
    height: 160px;
    font-size: 12px;
    text-shadow: 1px 1px 0 #fff;
  }

  p.sol {
    font-size: 1rem;
  }

  .r {
    font-size: 0.8rem;
  }

  .site-intro {
    line-height: 1.8;
  }

  .review-value {
    font-size: 1rem;
  }

  .review-zone p {
    font-size: 0.8rem;
  }

  .review-zone::before,
  .review-zone::after {
    left: 25px;
  }

  .pickup-thumb {
    margin-right: 0;
  }
}

/* Version: diagnosis-lp-final-1.0 */

.diagnosis-hero {
  margin-bottom: 1.2rem;
}

.diagnosis-hero-inner {
  background: linear-gradient(180deg, #fff7fb 0%, #fff 100%);
  border: 1px solid #f7d3df;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(204, 51, 102, 0.08);
}

.diagnosis-hero-copy {
  margin-bottom: 1rem;
}

.diagnosis-flow-top,
.diagnosis-trust,
.diagnosis-explain-section {
  margin-top: 1.6rem;
}

.diagnosis-trust {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #f3d9e2;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.trust-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  line-height: 1.9;
}

.diagnosis-cta-wrap {
  text-align: center;
  margin: 1.6rem auto 0;
}

.diagnosis-cta-note {
  margin: 0.5rem 0 0;
  color: #666;
  font-size: 0.95rem;
}

.diagnosis-container {
  border: 1px solid #f4d6df;
}

.diagnosis-header-block {
  margin-bottom: 0.8rem;
}

.diagnosis-mini-copy {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: bold;
  color: #cc3366;
  letter-spacing: 0.04em;
  text-align: center;
}

.diagnosis-main-title {
  margin: 0 0 0.5rem;
  text-align: center;
  color: #333;
}

.diagnosis-sub-copy {
  margin: 0;
  text-align: center;
  line-height: 1.8;
  color: #666;
  font-size: 0.95rem;
}

.diagnosis-progress-wrap {
  margin-top: 1.1rem;
}

.diagnosis-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.45rem;
  font-size: 0.84rem;
  color: #777;
}

.diagnosis-progress-track {
  width: 100%;
  height: 8px;
  background: #f5d8e2;
  border-radius: 999px;
  overflow: hidden;
}

.diagnosis-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f06292 0%, #ff8a65 100%);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.step-question p {
  color: #333;
}

.step-question label {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  background: #fff;
  border-color: #ecd8de;
}

.step-question label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 18px;
  height: 18px;
  border: 2px solid #d9aebc;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #fff;
  transition: all 0.2s ease;
}

.step-question label.selected,
.step-question label:has(input[type="radio"]:checked) {
  border-color: #e64a6c;
  background: #fff4f7;
  box-shadow: 0 8px 20px rgba(230, 74, 108, 0.12);
}

.step-question label.selected::before,
.step-question label:has(input[type="radio"]:checked)::before {
  border-color: #e64a6c;
  background: radial-gradient(circle, #e64a6c 0 45%, #fff 46% 100%);
}

.step-question label:has(input[type="radio"]:checked)::before {
  content: "";
  font-weight: normal;
}

.type-summary {
  margin: 0 0 1.2rem;
  padding: 1rem 1.1rem;
  background: #fff6f8;
  border: 1px solid #f3d3dc;
  border-radius: 12px;
  line-height: 1.85;
  color: #444;
}

.type-summary p {
  margin: 0 0 0.8rem;
}

.type-summary p:last-child {
  margin-bottom: 0;
}

.recommended-app {
  border: 1px solid #f4d76b;
  box-shadow: 0 10px 24px rgba(255, 231, 102, 0.16);
}

.recommended-app-head {
  margin-bottom: 1rem;
}

.recommended-app-label {
  margin: 0 0 0.4rem;
  font-size: 0.86rem;
  font-weight: bold;
  color: #b98100;
  letter-spacing: 0.04em;
}

.app-match-comment {
  margin: 0 0 0.8rem;
  padding: 0.7rem 0.9rem;
  background: #fff8d9;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #6c5a00;
}

.store-link-grid {
  display: grid;
  gap: 10px;
  margin-top: 1rem;
}

.store-link-btn,
.dl-single-btn {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-link-btn.ios,
.dl-single-btn {
  background: linear-gradient(90deg, #f06292 0%, #ff8a65 100%);
  color: #fff;
}

.store-link-btn.android {
  background: #16d9a8;
  color: #fff;
}

.store-link-btn:hover,
.dl-single-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.app-fallback-note {
  margin: 0;
  padding: 0.9rem 1rem;
  background: #faf7ef;
  border-radius: 10px;
  line-height: 1.8;
  color: #666;
}

.retry button {
  background: #f3a7ba;
}

.retry button:hover {
  background: #eb7f9a;
}

@media screen and (max-width: 767px) {
  .intro {
    font-size: 1.08rem;
    line-height: 2.2;
  }

  .exp {
    font-size: 1.05rem;
    line-height: 2;
  }

  .what {
    font-size: 1.25rem;
  }

  .diagnosis-trust,
  .diagnosis-flow,
  .result-preview {
    padding: 1.2rem;
  }
}