@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/* ========================================
   1. 診断カード全体
======================================== */
#yesno_wrap {
    max-width: 700px;
    margin: 30px auto;
    padding: 28px 24px;
    background: #ffffff;
    border: 2px solid #dbcdb2;
    border-radius: 12px;
    box-shadow: none;
    box-sizing: border-box;
}

/* ========================================
   2. 明朝体に統一
======================================== */
#yesno_wrap,
#yesno_wrap button,
#yesno_wrap .yesno_q {
    font-family: "Noto Serif JP", "Yu Mincho",
                 "Hiragino Mincho ProN", "MS PMincho", serif !important;
}

/* ========================================
   3. 質問エリア
======================================== */
#yesno_wrap .yesno_q {
    margin: 0 0 24px;
    padding: 0;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-align: center;
    font-size: 21px;
    font-weight: normal;
    line-height: 1.7;
    color: #333333;
}

/* 質問番号 Q1 */
#yesno_wrap .yesno_q dt {
    margin: 0 0 8px;
    padding: 0;
    border: none !important;
    text-align: left;
}

/* Q1の文字 */
#yesno_wrap .yesno_q dt span {
    display: inline-block;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    color: #C6AD7C;
    font-size: 28px;
    font-weight: normal;
    line-height: 1.3;
    letter-spacing: 1px;
}

/* 質問文 */
#yesno_wrap .yesno_q dd {
    margin: 0;
    padding: 0 5px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-align: center;
    font-size: 21px;
    font-weight: normal;
    line-height: 1.7;
    color: #40353D;
}

/* ========================================
   4. 回答ボタンの配置
======================================== */
#yesno_wrap ul#choices {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    list-style: none;
    margin: 28px 0 5px;
    padding: 0;
}

/* 各ボタンの幅 */
#yesno_wrap ul#choices li {
    flex: 1;
    max-width: 220px;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* ========================================
   5. ボタン共通設定
======================================== */
#yesno_wrap ul#choices li button {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 14px 12px;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: inherit;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

/* ========================================
   6. はいボタン：赤紫
======================================== */
#yesno_wrap ul#choices li:nth-child(1) button {
    background-color: #712755;
    border-color: #712755;
    color: #ffffff;
}

/* はい：ホバー */
#yesno_wrap ul#choices li:nth-child(1) button:hover {
    background-color: #C99BAF;
    border-color: #C99BAF;
    color: #ffffff;
}

/* ========================================
   7. いいえボタン：ゴールド
======================================== */
#yesno_wrap ul#choices li:nth-child(2) button {
    background-color: #C6AD7C;
    border-color: #C6AD7C;
    color: #ffffff;
}

/* いいえ：ホバー */
#yesno_wrap ul#choices li:nth-child(2) button:hover {
    background-color: #dbcdb2;
    border-color: #dbcdb2;
    color: #ffffff;
}

/* 3番目以降のボタン */
#yesno_wrap ul#choices li:nth-child(n+3) button {
    background-color: #40353D;
    color: #ffffff;
    border-color: #40353D;
}

/* 3番目以降のボタン：ホバー */
#yesno_wrap ul#choices li:nth-child(n+3) button:hover {
    background-color: #857C83;
    color: #ffffff;
    border-color: #857C83;
}

/* ========================================
   8. スマートフォン対応
======================================== */
@media screen and (max-width: 600px) {

    #yesno_wrap {
        margin: 20px auto;
        padding: 22px 15px;
        border-radius: 10px;
    }

    #yesno_wrap .yesno_q {
        margin-bottom: 22px;
        font-size: 18px;
    }

    #yesno_wrap .yesno_q dt {
        margin-bottom: 8px;
    }

    #yesno_wrap .yesno_q dt span {
        font-size: 25px;
    }

    #yesno_wrap .yesno_q dd {
        padding: 0;
        font-size: 18px;
        line-height: 1.8;
    }

    #yesno_wrap ul#choices {
        gap: 12px;
        margin-top: 24px;
    }

    /* 回答ボタンの配置：2択・3択に対応 */
#yesno_wrap ul#choices {
display: flex;
justify-content: center;
align-items: stretch;
gap: 12px;
list-style: none;
margin: 28px 0 5px;
padding: 0;
}

/* 各ボタンの幅 */
#yesno_wrap ul#choices li {
flex: 1 1 0;
min-width: 0;
max-width: 220px;
margin: 0;
padding: 0;
}

/* ボタンの文字が長い場合にも対応 */
#yesno_wrap ul#choices li button {
width: 100%;
min-height: 52px;
padding: 12px 8px;
box-sizing: border-box;
overflow-wrap: anywhere;
line-height: 1.5;
}
}

/*LINEフローティング*/
.follow-banner {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 20;
}

.follow-banner a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  writing-mode: vertical-rl;
  color: #fff;
  background-color: #712755;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1.5em 1em;
  border-radius: 10px 0 0 10px;
  transition: opacity 0.25s;
}

.follow-banner a:hover {
  opacity: 0.7;
}

.follow-banner .swl-inline-icon::after {
  left: 50%;
  transform: translateX(-50%);
}

.c-pageTitle{
	color:#534747;
}

/* スマホでは非表示に */
@media screen and (max-width: 599px) {
  .follow-banner {
    display: none;
  }
}

/*LINEフローティング*/
.follow-banner2 {
	position: fixed;
	top: 50%!important;
  right: 0;
  transform: translateY(50%);
  z-index: 20;
}

.follow-banner2 a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  writing-mode: vertical-rl;
  color: #fff;
  background-color: #C6AD7C;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1.5em 1em;
  border-radius: 10px 0 0 10px;
  transition: opacity 0.25s;
}

.follow-banner2 a:hover {
  opacity: 0.7;
}

.follow-banner2 .swl-inline-icon::after {
  left: 50%;
  transform: translateX(-50%);
}

.c-pageTitle{
	color:#534747;
}

/* スマホでは非表示に */
@media screen and (max-width: 599px) {
  .follow-banner2 {
    display: none;
  }
}

/* PC表示：メインビジュアルの文字位置を調整 */
@media screen and (min-width: 960px) {
  .p-mainVisual__textLayer {
    left: auto !important;
    right: -20% !important;
    width: 45% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }
}