@charset "UTF-8";

/*==============================================================================
  解体費用シミュレーション
  ----------------------------------------------------------------------------
  対象ブロック :
    カスタムブロック＞お見積り (※simulation)      #e0gp1t3nwi1erqzpg2q7 … 表示用
    カスタムブロック＞価格表(非公開) (※simulation) #eckfm6clh1zbfrx617ig … 設定データ
==============================================================================*/

/*------------------------------------------------------------------------------
  配色設定
------------------------------------------------------------------------------*/
#e0gp1t3nwi1erqzpg2q7 {
    --sim_point_color          : #e88200; /* アクセント色（選択中の枠線・文字、見積り金額、ボタン） */
    --sim_point_color_hover    : #c46e00; /* ホバー時 →「内容を変更する」ボタン */
    --sim_accent_color         : #333333; /* 見出しの色 */
    --sim_text_color           : #666666; /* 本文の色 */
    --sim_heading_color        : #333333; /* 設問見出しの色 */
    --sim_border_color         : #d8d8d8; /* 選択肢の枠線（未選択） */
    --sim_choice_bg            : #ffffff; /* 選択肢の背景 */
    --sim_choice_bg_hover      : #f7f7f7; /* 選択肢ホバー時の背景 */
    --sim_button_text_color    : #ffffff; /* ボタン文字の色 */
}

/*------------------------------------------------------------------------------
  価格表ブロックは画面に表示しない（JSの読み取り元としてのみ使用）
------------------------------------------------------------------------------*/
#eckfm6clh1zbfrx617ig {
    display: none;
}

/*------------------------------------------------------------------------------
  シミュレーション全体
------------------------------------------------------------------------------*/
#e0gp1t3nwi1erqzpg2q7 .simulation_input_head,
#e0gp1t3nwi1erqzpg2q7 .simulation_input_scroll,
#e0gp1t3nwi1erqzpg2q7 .simulation_input_foot {
    width: 100%;
    box-sizing: border-box;
}

#e0gp1t3nwi1erqzpg2q7 .simulation_input_head {
    margin: 0 0 30px;
}

#e0gp1t3nwi1erqzpg2q7 .sim-block {
    padding: 30px 0;
    margin-bottom: 25px;
}

#e0gp1t3nwi1erqzpg2q7 .sim-block:last-child {
    margin-bottom: 0;
}

/*------------------------------------------------------------------------------
  設問
------------------------------------------------------------------------------*/
#e0gp1t3nwi1erqzpg2q7 .sim-question {
    display: flex;
    align-items: baseline; 
    justify-content: center; 
    gap: 12px;
    margin: 0 0 25px;
    padding: 0 0 15px;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--required_color);
}

#e0gp1t3nwi1erqzpg2q7 .sim-question__no {
    flex: 0 0 auto;
    font-family: "Oswald", sans-serif;
    line-height: 1.3;
    letter-spacing: 0.5px;
    color: var(--i_main_color);
}

#e0gp1t3nwi1erqzpg2q7 .sim-question__text {
    flex: 0 1 auto; 
    text-align: center;
}

/*------------------------------------------------------------------------------
  選択肢（テキストのみ）
------------------------------------------------------------------------------*/
#e0gp1t3nwi1erqzpg2q7 .sim-choices {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

#e0gp1t3nwi1erqzpg2q7 .sim-choices.is-text {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

#e0gp1t3nwi1erqzpg2q7 .sim-choice {
    cursor: pointer;
    background: var(--sim_choice_bg);
    border: 2px solid var(--sim_border_color);
    border-radius: 6px;
    text-align: center;
    user-select: none;
    transition: border-color .2s ease, background-color .2s ease;
}

#e0gp1t3nwi1erqzpg2q7 .sim-choice:hover {
    background: var(--sim_choice_bg_hover);
}

#e0gp1t3nwi1erqzpg2q7 .sim-choice:focus-visible {
    outline: 2px solid var(--sim_point_color);
    outline-offset: 2px;
}

/* 選択中：塗りつぶさず、枠線と文字に色を付けて強調する */
#e0gp1t3nwi1erqzpg2q7 .sim-choice.is-selected {
    border-color: var(--sim_point_color);
    box-shadow: 0 0 0 1px var(--sim_point_color);
}

#e0gp1t3nwi1erqzpg2q7 .sim-choice__label {
    margin: 0;
    padding: 22px 12px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--sim_heading_color);
}

/*------------------------------------------------------------------------------
  進捗
------------------------------------------------------------------------------*/
#e0gp1t3nwi1erqzpg2q7 .sim-progress {
    margin: 30px 0 0;
}

#e0gp1t3nwi1erqzpg2q7 .sim-progress__text {
    margin: 0;
    font-size: 13px;
    color: var(--sim_text_color);
    text-align: center;
}

#e0gp1t3nwi1erqzpg2q7 .sim-progress__text strong {
    margin: 0 2px;
    font-size: 16px;
    color: var(--sim_accent_color);
}

/*------------------------------------------------------------------------------
  結果表示
------------------------------------------------------------------------------*/
#e0gp1t3nwi1erqzpg2q7 .sim-result {
    padding: 35px 0;
}

#e0gp1t3nwi1erqzpg2q7 .sim-result__title {
    margin: 0 0 20px;
    padding: 5px;
    border: none;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: var(--sim_point_color);
}

#e0gp1t3nwi1erqzpg2q7 .sim-result__amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    margin: 0 0 30px;
    font-weight: 700;
    line-height: 1.3;
    font-size: 32px;
    color: var(--sim_point_color);
}

#e0gp1t3nwi1erqzpg2q7 .sim-result__min,
#e0gp1t3nwi1erqzpg2q7 .sim-result__max {
    margin: 0 8px;
    font-size: 38px;
    font-family: "Oswald", sans-serif;
    letter-spacing: 1px;
    white-space: nowrap;
}

#e0gp1t3nwi1erqzpg2q7 .sim-result__suffix {
    margin-left: 4px;
    font-size: 20px;
    font-weight: 400;
    white-space: nowrap;
    color: var(--sim_text_color);
}

/*------------------------------------------------------------------------------
  登録した解体工事の内容
------------------------------------------------------------------------------*/
#e0gp1t3nwi1erqzpg2q7 .sim-answer {
    padding: 30px 20px;
    text-align: center;
}

#e0gp1t3nwi1erqzpg2q7 .sim-answer__title {
    margin: 0 0 30px;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    color: var(--sim_point_color);
}

#e0gp1t3nwi1erqzpg2q7 .sim-answer__list {
    margin: 0 auto 30px;
    padding: 0;
    max-width: 600px;
    text-align: left;
}

#e0gp1t3nwi1erqzpg2q7 .sim-answer__q {
    margin: 18px 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--sim_heading_color);
}

#e0gp1t3nwi1erqzpg2q7 .sim-answer__list .sim-answer__q:first-child {
    margin-top: 0;
}

#e0gp1t3nwi1erqzpg2q7 .sim-answer__a {
    margin: 0 0 0 12px;
    font-size: 14px;
    color: var(--sim_text_color);
}

#e0gp1t3nwi1erqzpg2q7 .sim-answer__edit {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    border-radius: 999px;
    padding: 18px 60px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    color: var(--sim_button_text_color);
    background: var(--sim_point_color);
    transition: background-color .2s ease;
}

#e0gp1t3nwi1erqzpg2q7 .sim-answer__edit:hover {
    background: var(--sim_point_color_hover);
}

/*------------------------------------------------------------------------------
  注意事項
  ----------------------------------------------------------------------------
  設問に回答中は非表示。見積り結果が出たときだけ表示する。
  （JS が結果表示時にブロックへ .is-result を付ける）
------------------------------------------------------------------------------*/
#e0gp1t3nwi1erqzpg2q7 .notes_message {
    display: none;
    margin-top: 30px;
}

#e0gp1t3nwi1erqzpg2q7.is-result .notes_message {
    display: block;
}

#e0gp1t3nwi1erqzpg2q7 .notes_message p {
    margin: 0;
    padding: 18px 22px;
    line-height: 1.8;
    font-size: 14px;
    color: var(--sim_text_color);
}

/*------------------------------------------------------------------------------
  エラー表示
------------------------------------------------------------------------------*/
#e0gp1t3nwi1erqzpg2q7 .sim-error {
    margin: 0;
    padding: 20px;
    background: #fff5f5;
    border: 1px solid #f5c2c2;
    border-radius: 4px;
    color: #c00;
    text-align: center;
    font-size: 14px;
}

/*------------------------------------------------------------------------------
  横スクロールメッセージ
------------------------------------------------------------------------------*/
#e0gp1t3nwi1erqzpg2q7 .sp_message {
    margin: 5px 0;
    color: #ff0000;
    font-weight: bold;
    font-size: 12px;
}

/*==============================================================================
  SP表示のスタイル調整
==============================================================================*/
html.sp #e0gp1t3nwi1erqzpg2q7 .sim-block {
    padding: 20px 15px;
}

html.sp #e0gp1t3nwi1erqzpg2q7 .sim-question {
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    font-size: 16px;
}

html.sp #e0gp1t3nwi1erqzpg2q7 .sim-choices {
    gap: 10px;
}

html.sp #e0gp1t3nwi1erqzpg2q7 .sim-choices.is-text {
    grid-template-columns: repeat(2, 1fr);
}

html.sp #e0gp1t3nwi1erqzpg2q7 .sim-choice__label {
    padding: 16px 8px;
    font-size: 14px;
}

html.sp #e0gp1t3nwi1erqzpg2q7 .sim-progress__text {
    font-size: 12px;
}

html.sp #e0gp1t3nwi1erqzpg2q7 .sim-result {
    padding: 25px 18px;
}

html.sp #e0gp1t3nwi1erqzpg2q7 .sim-result__title {
    font-size: 18px;
}

html.sp #e0gp1t3nwi1erqzpg2q7 .sim-result__amount {
    font-size: 18px;
}

html.sp #e0gp1t3nwi1erqzpg2q7 .sim-result__min,
html.sp #e0gp1t3nwi1erqzpg2q7 .sim-result__max {
    margin: 0 2px;
    font-size: 24px;
    letter-spacing: 0;
}

html.sp #e0gp1t3nwi1erqzpg2q7 .sim-result__suffix {
    font-size: 14px;
}

html.sp #e0gp1t3nwi1erqzpg2q7 .sim-answer {
    padding: 25px 0;
}

html.sp #e0gp1t3nwi1erqzpg2q7 .sim-answer__title {
    font-size: 18px;
    margin-bottom: 20px;
}

html.sp #e0gp1t3nwi1erqzpg2q7 .sim-answer__edit {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
}

html.sp #e0gp1t3nwi1erqzpg2q7 .notes_message p {
    padding: 14px 16px;
}
