body {
	background:#EFEAD5;
	position: relative;
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: <weight>;
	font-style: normal;
}
.styled-radio,.styled-checkbox {
	display: flex;
	flex-flow: column;
}
.styled-radio label,
.styled-checkbox label {
	font-size: 18px;
  display: inline-block;
  padding: 6px 10px 6px 20px;
  border-radius: 8px;
  margin: 10px 10px 0 0;
  cursor: pointer;
  transition: 0.3s ease;
}
. wpcf7-list-item {
	display: block;
}
/*.styled-radio label > input,
.styled-checkbox label > input {
  display: none;
}

.styled-radio input:checked + span,
.styled-checkbox input:checked + span {
  background-color: #0073e6;
  color: #fff;
  border-color: #0073e6;
}*/

.step-controls {
  margin-top: 30px;
}
.next-button {
	display:block;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	background: #BD3D3D;
	border-radius: 20px;
	padding: 8px 40px;
}
.next-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
/* アニメーション定義 */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateY(0); }
}
img {
	width: 100%;
}
.wrap {
	max-width: 860px;
	width: 100%;
	margin: 0 auto;
	min-height: calc(100vh - 3.5rem - 87px);
}
.container {
	padding: 0 2%;
	
}
h1,h2 {
	text-align: center;
}
/*header*/
header {
	background-color:#EFEAD5;
	background:url(../images/bg_header.png)repeat-x;
	height: 87px;
	
}

/*ページ送り*/
.step-controls {
	display: flex;
	justify-content: space-between;
}
#home .step-controls,#introduction .step-controls {
	justify-content: center;
}
.step-controls a {
	display: block;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	background: #BD3D3D;
	border-radius: 20px;
	padding: 8px 40px;
}
.page .step-controls {
	margin: 50px 0 30px;
	padding: 0 2rem;
}
.page .step-controls p {
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.text {
	text-align: justify;
	font-size: 16px;
	line-height: 1.5;
	background: #fff;
	margin: 20px auto;
	padding: 2rem 1rem;
	border-radius: 20px;
}
.notes {
	display: block;
	line-height: 1.5;
	letter-spacing: 0.1em;
	padding-top: 10px;
	font-weight: 600;
	margin: 0 auto;
}

span.wpcf7-spinner {
	display:none;
}

 .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s ease-out forwards;
  }

  .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
  }

  .modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 32px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 1001;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
footer {
	position:absolute;
	border-bottom: 0;
	left: 0;
	width: 100vw;
}
.ft_wrap {
	background: #fff;
	border-top: solid 6px #685D37;
	border-bottom: solid 6px #685D37;
	padding: 1rem 0;
}
.ft_wrap img {
	width: 70%;
	max-width: 400px;
	margin: 0 auto;
}

  @media screen and (max-width: 600px) {
    .modal-content {
      max-width: 95%;
      max-height: 80%;
    }

    .modal-close {
      top: 10px;
      right: 10px;
      font-size: 28px;
      width: 36px;
      height: 36px;
      line-height: 36px;
    }
  }