@charset "utf-8";

/* flow_category.css */

/* content ---------------------------------------- */
.container {
	background-color: #ffffff;
}

main {
	width: 100%;
}

section {
	padding: 0 20px;
	line-height: 1.5;
	font-size: 1.8rem;
}

section div.inr {
	width: 100%;
	max-width: 940px;
	margin: 0 auto;
}

/* ------------------------------------------------ */
section#page-header {
	width: 100%;
	background-color: #8EB54A;
}

#page-header h1 {
	text-align: center;
}

/* ------------------------------------------------ */
section#check-area {
	padding-top: 5.204%;
	padding-bottom: 5.204%;
}

section#check-area .inr figure {
  padding: 20px;
	border-radius: 10px;
  border: 1px solid #CCCCCC;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  text-align: center;
}

section h2 {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  margin-bottom: 2.0rem;
  color: #617F62;
  gap: 0.25em;
}

section h2::before {
  content: "";
  width: 24px;
  height: 24px;
  margin-top: 3px;
  background-color: #617F62;
  border-radius: 3px;
  flex-shrink: 0;
}

section h2::after {
  content: "";
  height: 2px;
  background-image: linear-gradient(90deg, transparent, #617f62 15% 100%);
  flex-grow: 1;
}

/* ------------------------------------------------ */
section#simulation-area {
	padding-top: 5.204%;
	padding-bottom: 5.204%;
  background-color: #DCEAC6;
}

section#simulation-area .inr > div + div {
  margin-top: 30px;
}

.sim-item {
  display: flex;
  align-items: center;
  width: 100%;
  border: 2px solid #8EB54A;
  background-color: #FFFFFF;
  border-radius: 10px;
}

.sim-item h3 {
  width: 7em;
  padding: 1em;
  font-size: 2.0rem;
  text-align: center;
  flex-shrink: 0;
}

.sim-item table {
  width: 100%;
  border-left: 2px solid #8EB54A;
}

.sim-item table tr:not(:last-of-type) {
  border-bottom: 1px solid #8EB54A;
}

.sim-item table tr:last-of-type {
  border-top: 3px double #8EB54A;
}

.sim-item table tr th,
.sim-item table tr td {
  padding: 0.5em 0.75em;
  text-align: right;
}

.sim-item table tr th {
  width: calc(12em + 1.5em);
  font-weight: 400;
  text-align: left;
  border-right: 1px solid #8EB54A;
}

.sim-item table tr:last-of-type th,
.sim-item table tr:last-of-type td {
  font-weight: 700;
}

.sim-item input[type="text"] {
  width: min(calc(100% - 2.5em), 180px);
  margin: 0 0.5em 0 0;
  padding: 0.25em 0.5em;
  border: 1px solid #DDDDDD;
  border-radius: 4px;
  text-align: right;
}

.sim-item table tr:last-of-type td span {
  margin: 0 0.5em 0 0;
}

.radio-box {
	font-size: 0;
}

.radio-box label {
	position: relative;
	display: inline-block;
	font-size: 1.8rem;
	cursor: pointer;
}

.radio-box label + label {
	margin-left: 10px;
}

.radio-box label input {
	display: none;
}

.radio-box input + span {
	display: inline-block;
	padding: 6px 10px 6px 36px;
}

.radio-box input + span::before{
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 8px;
  width: 18px;
  height: 18px;
	background-color: #fff;
  border: 1px solid #DDDDDD;
  border-radius: 50%;
	transform: translateY(-50%);
}

.radio-box input:checked + span::after{
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 12px;
  width: 10px;
  height: 10px;
	background-color: #8eb549;
  border-radius: 50%;
	transform: translateY(-50%);
}

.reset-box {
	display: flex;
	justify-content: end;
}

.reset-btn {
  display: inline-block;
  padding: 0.3rem 2.0rem 0.5rem 2.0rem;
  background-color: #8EB54A;
  border: 2px solid #8EB54A;
  border-radius: 99em;
  color: #ffffff;
  transition: 0.2s;
  cursor: pointer;
}

.reset-btn:hover {
	background-color: #ffffff;
  color: #000000;
}

.limit-box {
  display: none;
  padding: 1.0rem 2.0rem;
  background-color: #FFFFFF;
  border: 2px solid #ED6C00;
  border-radius: 99em;
  text-align: center;
}

.limit-box.active {
  display: block;
}

.limit-box p {
  color: #666666;
}

.limit-box p span {
  margin: 0 0.25em;
  font-weight: 700;
  color: #000000;
}

.judge-box {
  position: relative;
  margin-top: 60px !important;
  padding: 2.0rem;
  border: 2px solid #617F62;
  background-color: #FFFFFF;
  border-radius: 10px;
}

.judge-box:not(:has(.active)) {
  display: none;
}

.judge-box h3 {
  position: absolute;
  top: -50%;
  width: fit-content;
  margin: 0;
  padding: 0.5rem 0 0.5rem 1em;
  background-color: #617F62;
  border-radius: 99em;
  letter-spacing: 1em;
  color: #FFFFFF;
  transform: translateY(50%);
}

.judge-box p {
  display: none;
}

.judge-box p.active {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ED6C00;
  gap: 1.0em;
}

.judge-box p strong {
  font-size: 3.2rem;
  line-height: 1.15;
  color: #ED6C00;
}

.pr-box {
  margin-top: 40px;
  padding: 2.0rem 0 0;
  border: 2px solid #6F87B8;
  background-color: #FFFFFF;
  border-radius: 10px;
  text-align: center;
}

.pr-box dt {
  width: fit-content;
  margin: 0 auto 1.0rem;
  background-color: #6F87B8;
  border-radius: 99em;
  padding: 0.5rem 2.0rem;
  font-size: 2.0rem;
  font-weight: 700;
  color: #FFFFFF;
}

.pr-box dd:nth-of-type(1) a {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-end;
  justify-content: center;
  font-weight: 700;
  font-size: 2.8rem;
  gap: 0.25em;
}

.pr-box dd:nth-of-type(1) a:hover {
  opacity: 0.6;
}

.pr-box dd:nth-of-type(1) small {
  margin-bottom: 2px;
  font-weight: 400;
  font-size: 2.4rem;
}

.pr-box dd:nth-of-type(2) {
  padding: 0.5rem 2.0rem 2.0rem;
}

.caution-box {
  margin-top: 6.0rem;
  padding: 2.0rem;
  border: 3px double #617F62;
  border-radius: 6px;
  background-color: #FFFFFF;
  font-size: 1.5rem;
  color: #666666;
}

/* ------------------------------------------------ */

/* ------------------------------------------------ */

/* ================================================ */

@media (min-width: 980px) {
	section#page-header {
	}

	section#check-area {
		padding-top: 50px;
		padding-bottom: 50px;
	}

  section#simulation-area {
		padding-top: 50px;
		padding-bottom: 50px;
  }
}

/* ================================================ */

@media (max-width: 768px) {

section div.inr {
	max-width: 600px;
}

/* ------------------------------------------------ */
#page-header h1 img,
#page-header p img {
	width: 100%;
	height: auto;
}

/* ------------------------------------------------ */
.sim-item {
  display: flex;
  flex-flow: column;
  align-items: center;
  width: 100%;
  border: 2px solid #8EB54A;
  background-color: #FFFFFF;
  border-radius: 10px;
}

.sim-item h3 {
  width: 100%;
  padding: 0.5em 0.75em;
  font-size: 2.0rem;
  text-align: left;
}

.sim-item table {
  width: 100%;
  border-top: 2px solid #8EB54A;
  border-left: 0;
}


/* ------------------------------------------------ */

/* ------------------------------------------------ */

}

/* ================================================ */

@media (max-width: 480px) {
}
