@charset "UTF-8";
/* CSS Document */

/* ==================================================
   全体構造
================================================== */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

img {
	width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.col-12 {
	padding: 0 !important;
}

/* ==================================================
   メインコンテンツ
================================================== */

.header_title {
    margin: 0;
    padding: 15px 0;
	text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fffdb6;
    background-color: #f15a24;
}

.container_block {
    max-width: 650px;
    margin: 0 auto;
	background-color: #f5efb8;
}


/* --- 設問選択エリア --- */
.qu {
    font-size: 24px;
    color: #000000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    max-width: 650px;
    margin: 0 auto;
}

/* --- テキストブロック --- */
.text_d {
    text-align: center;
    padding: 30px 20px;
    line-height: 1.8;
    color: #333;
	font-weight: bold;
}

/* ==================================================
   カプセル型ボタン
================================================== */
.hidden-input {
    display: none !important;
}

.capsule-button {
    display: block;
    padding: 15px 25px;
    border: 2px solid #D1AA64;
    border-radius: 50px;
    background-color: #fff;
    color: #333 !important;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
    font-size: 18px;
    white-space: normal;
    margin-bottom: 0;
}

.capsule-button b { 
    color: #333 !important; 
}

.hidden-input:checked + .capsule-button {
    background-color: #ffcc00;
    border-color: #ff6600;
    color: #000 !important;
    font-weight: bold;
}

.hidden-input:checked + .capsule-button b { 
    color: #000 !important; 
}

/* ==================================================
   CTA
================================================== */

.send-button {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}

.send-button img {
	-webkit-transition: all .3s;
  transition: all .3s;
}

.send-button a img:hover {
  opacity: 0.8;
  transform: scale(0.95,0.95);
}

/* ページ上部に戻る */
#back-to-top {
    display: none; 
    position: fixed; 
    bottom: 20px;
 
    right: calc(50% - 375px - 60px); 
    z-index: 999;
    border: none;
    outline: none;
    background-color: #333333b3;
    color: white;
    cursor: pointer;
	width: 80px;
	height: 80px;
    padding: 0;
	
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    transition: opacity 0.3s, background-color 0.3s;
    line-height: 1;
  }

  #back-to-top:hover {
    background-color: #555;
  }

/* ==================================================
   Bootstrapレイアウト補助
================================================== */

.row,
.no-gutters {
    margin: 0 auto !important;
	padding: 0 !important;
}

.col-md-12 {
    	padding: 0 !important;
}

blockquote {
	margin: 0;
    padding: 0;
}


/* ==================================================
   レスポンシブ
================================================== */

/* PC用 (992px以上) */
@media screen and (min-width: 992px) {
    .header_title {
        margin: 0 auto;
        font-size: 22.5px;
    }
}

/* スマホ用 (767px以下) */
@media screen and (max-width: 767px) {
    html, body {
        overflow-x: hidden;
    }

    /* 対象要素の幅・余白調整 */
    .container_block {
        width: 100% !important;
    }

    .text_d,
	.qu {
        width: 100% !important;
        box-sizing: border-box !important;
    }
	
	#back-to-top {
      right: 20px;
	  width: 66px;
	  height: 66px;
      padding: 0;
    }
}
