@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.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 見出しのデザインリセット */
/*H2 */
.entry-content h2{
border:none;
background:none;
padding: 0;
}

/* H3 */
.entry-content h3{
border:none;
background:none;
padding: 0;
}

/* H4 */
.entry-content h4{
border:none;
background:none;
padding: 0;
}

/* H5 */
.entry-content h5{
border:none;
background:none;
padding: 0;
}

/* H6 */
.entry-content h6{
border:none;
background:none;
padding: 0;
}

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

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

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

.mobile-footer-menu-buttons{
  display: none;
}

/* 診断スタイル */
.shindan-header {
    max-width: 780px;
    margin: 0 auto;
    padding: 20px 50px;
}

.shindan-subtitle {
    font-size: 1.5em;
    font-weight: 700;
    text-align: center;
    display: block;
    padding: 0;
    margin-bottom: 20px;
}

.shindan-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 20px 50px;
}

@media screen and (max-width: 767px) {
  .shindan-container,
  .shindan-header {
    padding: 0;
  }
   
  .shindan-subtitle {
    font-size: 16px;
  }
}

.shindan-container .question::before {
  content: none;
}

.shindan-container .question {
    border: none;
    background-color: #fff;
    padding: 0;
    border-radius: 0;
    margin-bottom: 20px;
}

.shindan-container .question h2 {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

@media screen and (max-width: 767px) {
  .shindan-container .question h2 {
    font-size: 16px;
  }
}

.shindan-container .answers {
    display: flex;
    flex-direction: column;
}

.shindan-container .answers label {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid #000;
}

@media screen and (max-width: 767px) {
    .shindan-container .answers label {
      font-size: 14px;
    }
}

.shindan-container .answers label:hover {
    background-color: #e0e0e0;
}

.shindan-container .answers input[type="radio"] {
    display: none;
}

.shindan-container .answers label.selected {
    background-color: #e6f7ff;
    color: #000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.shindan-container .navigation-buttons,
.shindan-container .start-button-wrap,
body.page-template-page-shindan_result .start-button-wrap {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 16px;
}

body.page-template-page-shindan_result .start-button-wrap {
  margin-top: 50px;
}

.shindan-container button,
body.page-template-page-shindan_result button {
    background-color: #fff;
    font-weight: 700;
    font-size: 16px;
    color: #000;
    border: solid 3px #000;
    padding: 16px 32px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
    flex: 1;
}

@media screen and (max-width: 767px) {
  .shindan-container button,
  body.page-template-page-shindan_result button {
    font-size: 14px;
    padding: 12px 32px;
  }
}

/*.shindan-container button:hover {
    background-color: #000;
    color: #fff;
}*/

.shindan-container .start-button:hover,
body.page-template-page-shindan_result .start-button:hover {
    background-color: #000;
    color: #fff;
}

.shindan-container button:hover:not(:disabled) { /* :not(:disabled)を追加 */
    background-color: #000;
    color: #fff;
}

.shindan-container button:disabled {
    opacity: 0.5; /* 半透明にする */
    cursor: not-allowed; /* カーソルを変更 */
}

/* 無効状態でのhoverスタイルを無効化 */
.shindan-container button:disabled:hover {
    background-color: #fff; /* 元の色を維持 */
}

.shindan-container .question[data-question="0"] {
    text-align: center;
}

.shindan-container .shindan-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/*.shindan-container .start-button {
    display: block;
    background-color: #fff;
    font-weight: 700;
    font-size: 16px;
    color: #000;
    border: solid 2px #000;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.shindan-container .start-button:hover {
    background-color: #000;
    color: #fff;
}*/

/* 診断結果 */
body.page-template-page-shindan_result .entry-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 50px;
}

@media screen and (max-width: 767px) {
  padding: 20px;
}

body.page-template-page-shindan_result .entry-content h2 {
    color: #fff;
    text-align: center;
    margin: 1em 0;
    padding: 1em 0 1em;
    background-color: #ff7998;
    border-radius: 2em;
}

body.page-template-page-shindan_result .entry-content h3 {
	text-align: center;
	padding: 1em 0 0;
	line-height: 1.6em;
}

body.page-template-page-shindan_result .entry-content .caption-box {
    border-color: #FF69B4 !important;
    font-size: 15px;
    padding: .5em;
    margin: 1em 0;
    text-align: center;
    border: 2px solid #ffc6d3;
    background: #fff5f5 !important;
    border-radius: 5px;
    font-weight: 700;
}

body.page-template-page-shindan_result .entry-content .caption-box .caption-box-label {
  background: #fff5f5 !important;
  display: block;
  font-size: 1em;
  padding: .2em 0 0;
  color: #ff7998;
}

body.page-template-page-shindan_result .share h3 {
  margin-bottom: 0;
}

body.page-template-page-shindan_result .share ul {
  padding: 0;
  margin: 0;
}

body.page-template-page-shindan_result .share ul li {
		text-align: center;
    padding: 0;
    background-color: #ddd;
    margin: 1em 0;
    list-style: none;
}

body.page-template-page-shindan_result .share ul li a {
  text-decoration: none;
  font-size: 15px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 1em;
}

body.page-template-page-shindan_result .share ul li:first-child {
	background-color: #000;
}

body.page-template-page-shindan_result .share ul li:first-child a::before {
		content: '𝕏';
    font-family: unset;
    font-weight: bold;
    line-height: 0;
    position: relative;
    top: 1px;
}

body.page-template-page-shindan_result .share ul li:nth-child(2) a::before {
		content: '\f39e';
    font-family: "Font Awesome 5 Brands";
    line-height: 0;
    position: relative;
    top: 1px;
}

body.page-template-page-shindan_result .share ul li:nth-child(3) a::before {
		content: '\f3c0';
    font-family: "Font Awesome 5 Brands";
    line-height: 0;
    position: relative;
    top: 1px;
}

body.page-template-page-shindan_result .share ul li i {
  color: #fff;
}

body.page-template-page-shindan_result .share ul li:nth-child(2) {
    background-color: #1877f2;
}

body.page-template-page-shindan_result .share ul li:nth-child(3) {
    background-color: #00b900;
}


body.page-template-page-shindan_result .share ul li a::before {
    margin-right: .5em;
    font-size: 1.5em;
}

