/*form*/
.type_btn {
  margin-top: 2em;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  column-gap: 10px;
  row-gap: 10px;
}
@media only screen and (max-width: 767px) {
.type_btn {  
  grid-template-columns: repeat(2, 1fr);
}
}
.type_btn li {
	text-align: center;
	background-color: #b3b3b3;
	border-radius: 10px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
}
.type_btn .type01:hover {
  background-color: #8cc63f;
  text-align: center;
  /*opacity: 1;*/
}
.type_btn .type02:hover {
  background-color: #fbb03b;
  text-align: center;
}
.type_btn .type03:hover {
  background-color: #29abe2;
  text-align: center;
}
.type_btn .type04:hover {
  background-color: #f15a24;
  text-align: center;
}
body.page-id-14672 .type_btn li.type01 {
  background-color: #8cc63f;
}
body.page-id-14674 .type_btn li.type02 {
  background-color: #fbb03b;
}
body.page-id-14676 .type_btn li.type03 {
  background-color: #29abe2;
}
body.page-id-14678 .type_btn li.type04 {
  background-color: #f15a24;
}

.progress_box {
  margin-top: 2em;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  column-gap: 20px;
}
.dot-fill {
	display: flex;
	align-items: center;
	width: 100%;
	font-family: monospace; /* ドットが均等に並ぶフォントが最適 */
	color: #B3B3B3;
	font-size: 20px;
}

.dot-fill::after {
  content: "";
  flex-grow: 1;              /* 残りの幅を全部埋める */
  border-bottom: 10px dotted #b3b3b3; /* ドット線 */
  margin-left: 0.5em;        /* テキストとの間隔 */
}
.dot-fill_active {
  display: flex;
  align-items: center;
  width: 100%;
  font-family: monospace; /* ドットが均等に並ぶフォントが最適 */
	color: #4d4d4d;
	font-size: 20px;
}

.dot-fill_active::after {
  content: "";
  flex-grow: 1;              /* 残りの幅を全部埋める */
  border-bottom: 10px dotted #4d4d4d; /* ドット線 */
  margin-left: 0.5em;        /* テキストとの間隔 */
}


.form_ttl {
	position: relative;
	margin-top: 5%;
	font-size: 36px;
	color: #4d4d4d;
	padding-left: 20px;
	font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

.form_ttl:before {
  position: absolute;
  background-color: #4d4d4d;
  content: "";
  left: 0%;
  top: 5%;
  bottom: 10%;
  width: .2em;
  height: 90%;
}
.form_ttl2 {
	position: relative;
	margin-top: 5%;
	font-weight: bold;
	font-size: 110%;
	color: #4d4d4d;
	padding-left: 20px;
	font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

.form_ttl2:before {
  position: absolute;
  background-color: #4d4d4d;
  content: "";
  left: 0%;
  top: 5%;
  bottom: 10%;
  width: .2em;
  height: 90%;
}
.form_caution {
	font-size: 14px;
	color: #4d4d4d;
	font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	line-height: 1.2;
}
.n_table {
	clear: both;
	width: 100%;
	font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	margin-bottom: 0px;
	text-align: left;
	margin-right: auto;
	margin-left: auto;
	padding: 20px;
	 border-top: 1px solid #ccc;
	 border-right: 2px solid #ccc;
	color: #333333;
}
@media only screen and (max-width: 575px) {
.n_table {    
    border-right: 0px solid #ccc;
}	
}
.n_table th {
	width: 30%;
	background-color: #F2F2F2;
	border-left: 2px solid #ccc;
	border-right: 2px solid #ccc;
	vertical-align: middle;
	font-weight: bold;
	font-size: 110%;
}

.n_table th span {
	color: #ff0000;
}
.n_table td {
	width: 70%;
	background-color: #fff;
	font-size: 100%;
}
.n_table th,.n_table td {    
    line-height: 160%;
    text-align: left;    
    padding: 20px;
    border-bottom: 1px solid #ccc;
}	
@media only screen and (max-width: 575px) {
.n_table th,.n_table td {    
    display: block;
	width: 100%;
}	
}
.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.confirm-table th,
.confirm-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

.confirm-table th {
  background-color: #f9f9f9;
  width: 30%;
}

.confirm-table td {
  background-color: #fff;
}

textarea {
  width: 100%;
}
.button_box {
  margin-top: 2em;
  display: flex; 
	justify-content: center;
}
.button_box p {
  margin-bottom: 0em;  
}
.button {
    background: #008b96;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    width: 200px;
	/*max-width: 250px;*/
    padding: 10px 25px;
    font-family: "Noto Sans Japanese";
    text-decoration: none;
    color: #fff;
    line-height: 1.8;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.button:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.button:hover {
  background: #333;
  color: #FFF;
}
.button:hover:after {
  right: 1.4rem;
}
/* labelをブロック要素にして縦に並べる */
.radio-vertical label {
    display: block;
    margin-bottom: 8px; /* 項目間の余韻（お好みで調整） */
    cursor: pointer;    /* カーソルを指の形にする */
}

/* ラジオボタンとテキストの間に少し隙間を作る */
.radio-vertical input[type="radio"] {
    margin-right: 5px;
}
/* チェックボックスだけ上下に余白を足す（安全） */
input[type="checkbox"] {
  margin-bottom: 14px;
}
.sending {
  pointer-events: none;
}
.reason-other {
  width: 70%;
  max-width: 340px;
  box-sizing: border-box;
}