@charset "utf-8";

button, input[type="submit"], input[type="button"], input[type="reset"]	{
	color: #FFF;
	background-color: #d93600;
}
input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover	{
	opacity: 0.9;
}
button, input, textarea	{
	background-color: rgba(255,255,255,0.5);
	background-position: center top;
	background-repeat: repeat;
	border: dotted 1px #ccc;
}
button, input, select, textarea	{
	max-width: 100%;
	padding: 0.5em;
	border: solid 1px #ddd;
	vertical-align: middle;
}

input[type="submit"] {
	border: none;
}
form p input + input, .have-multiple-input input + input	{
	margin-left: 1em;
}
textarea, .widget-area input[type="search"]	{
	width: 100%;
	max-width: 100%;
}
/* ========================================
Snow Monkey Forms
======================================== */
/* フォーム全体の余白 */
.snow-monkey-form {
    padding: 0em 0;
}
/* STEP1〜3 */
.smf-progress-tracker {
    margin: 1em 0;
    padding-bottom: 2em;
}
.smf-progress-tracker__item {
	margin-left: 0em !important;
}
/*
.content-area li {
	margin-left: 1.2em;
}
*/
/* 赤字 */
.notes_smf	{
	color: #d93600;
    line-height: 1.6 !important;
    display: block;
}
/* テキスト入力欄：PC幅を制限 */
@media (min-width: 900px) {
    .smf-text-control__control {
        width: 60% !important;
        max-width: 500px !important;
    }
}
/* テキスト入力欄：SP幅は100% */
@media (max-width: 899px) {
    .smf-text-control__control {
        width: 100% !important;
    }
}
.smf-form--business .smf-item {
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    border-bottom: none !important;
    margin-bottom: 0.8em;
}
/* 項目欄 */
.smf-form--business .smf-item__col--label {
        padding: 1em;
        background-color: #eee;
        border-right: none !important;
}
.smf-item__label__text {
    font-weight: bold;
}
@media (max-width: 768px) {
.smf-item__label__text {
    font-size: 17.5px;
}
}
/* 入力欄 */
.smf-form--business .smf-item__col--controls {
        padding: 1em;
        background-color: #f7f7f7;
        font-size: 16px;
}
@media (max-width: 768px) {
.smf-form--business .smf-item__col--controls {
        font-size: 17px;
}
}
.smf-form--business .smf-item__controls p small {
    font-size: 14px;
    line-height: 1.6 !important;
    display: block;
    margin: 1em 0;
}

/* 入力欄の縦幅を大きく */
input.smf-text-control__control,
input[type="text"].smf-text-control__control,
input[type="email"].smf-text-control__control,
input[type="tel"].smf-text-control__control {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    height: auto !important;
    font-size: 16px;
}
@media (max-width: 768px) {
input.smf-text-control__control,
input[type="text"].smf-text-control__control,
input[type="email"].smf-text-control__control,
input[type="tel"].smf-text-control__control {
    font-size: 17.5px;
}
}

/* セレクトボックス */
.smf-select-control {
    display: inline-block;
    position: relative;
    width: auto;
    min-width: 200px;
}
@media (max-width: 768px) {
.smf-select-control {
	width: 80%;
    min-width: 80%;
}
}
.smf-select-control__control {
    border: 1px solid #999 !important;
    appearance: none !important;
    height: auto !important;
    padding: 0.6em 2.5em 0.6em 1em !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    outline: none !important;
    background: #fff !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.smf-form .smf-select-control__toggle:before {
	right: 20px !important;
}
.smf-form .smf-radio-button-control__control,
.smf-form .smf-checkbox-control__control {
    margin: 6px 7px 0 0 !important;
    transform: scale(1.3);
}
@media (max-width: 768px) {
.smf-select-control__control {
    font-size: 16px !important;
}
}

/* 郵便番号のみ幅を小さく（※福知山様フォームのname。福祉建設様フォームに郵便番号欄はないため現状は効かない） */
input[name="text-1jn6o1fvr"].smf-text-control__control {
    width: 120px !important;
    max-width: 120px !important;
}

/* 必須マーク */
/* 必須項目のラベルに「必須」を疑似要素で追加 */
.smf-form--business .smf-item__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5em;
}
.smf-form--business .smf-item:has([data-validations*="required"]) .smf-item__label__text {
    flex: 1;
}
.smf-form--business .smf-item:has([data-validations*="required"]) .smf-item__label__text::after {
    content: "必須";
    display: inline-block;
    background-color: #d93600;
    color: #fff;
    font-size: 11px;
	line-height: 100%;
    padding: 4px 6px;
    border-radius: 3px;
    margin: 0.5em 0 0 0;
    vertical-align: middle;
    white-space: nowrap;
    float: right;
}

/* smfボタン */
.smf-action {
    text-align: center;
    margin: 5em auto !important;
}
.smf-action .smf-button-control__control {
    background-color: #d93600 !important;
    background-image: none !important;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    padding: 1em 3em !important;
    margin: 1em 2%;
    text-decoration: none;
    border: none !important;
    border-radius: 10px;
    outline: 0;
    width: 40% !important;
    max-width: 300px !important;
	font-weight: bold;
    font-size: 20px;
}
@media (max-width: 768px) {
.smf-action {
    text-align: center;
    margin: 3em auto !important;
}
.smf-action .smf-button-control__control {
    width: 80% !important;
    max-width: 80% !important;
	font-size: 20px;
}
}
/* 戻るボタン：グレー */
.smf-action .smf-button-control__control[data-action="back"] {
    background-color: #888 !important;
}
/* 確認画面へ・送信するボタン：赤 */
.smf-action .smf-button-control__control[data-action="confirm"],
.smf-action .smf-button-control__control[data-action="submit"] {
    background-color: #d93600 !important;
}
.smf-action .smf-button-control__control:hover {
    opacity: 0.85;
}
/* サンクスページ */
.smf-complete-content {
    text-align: center !important;
    padding: 3em 0;
}
.smf-complete-content strong {
	font-size: 30px;
}
/* 金額フィールド：「円」を横並び表示 */
.smf-form .smf-text-control:has(.after-text__donation-amount) {
  display: flex;
  align-items: center;
}
.smf-form .smf-text-control:has(.after-text__donation-amount)::after {
  content: '円';
  margin-left: 6px;
  white-space: nowrap;
  font-size: 14px;
  color: #333;
}