html {
  font-family: "Noto Sans JP", sans-serif;
}

.sans {
  font-family: "Noto Sans JP", sans-serif;
}

.container {
  width: 90%;
  max-width: 1120px;
  min-width: 760px;
  /* background-color: green; */
  margin: 0 auto;
}

.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

/* ヘッダー */
header {
   padding: 27px 0;
}
.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.logo span {
  color: #00967d
}
.header_menu li {
  margin-left: 40px;
}
.header_menu li a {
  transition: .3s;
}
.header_menu li a:hover {
  color: #ff0000;
  transition: .3s;
}
.language {
  font-weight: bold;
  color: #4d4d4d;
  transition: .3s;
}
.language:hover {
  color: #00967d;
  transition: .3s;
}

/* メイン */
/* 表 */
.table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border-radius: 5px;
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  font-size: 13px;
}
.table th, .table td {
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  cursor: pointer;
}
 /* 左上 */
 .table tr:first-child td:first-child {
  border-radius: 5px 0 0 0;
}
/* 右上 */
.table tr:first-child td:last-child {
  border-radius: 0 5px 0 0;
}
/* 左下 */
.table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}
/* 右下 */
.table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}

td:hover {
  background-color: #f5f5f5;
}

/*計算フィールド  */
.block {
   height: 80px;
   width: 40%;
   display: flex;
   align-items: center;
   /* background-color: #ff0000; */
}
.title {
  height: 30px;
  margin: 10px 0 0 0;
  font-weight: bold;
}
.greenletter {
  color: rgb(0, 172, 143);
}
.orangeletter {
  color: rgb(255, 155, 61);
}
.pre_sens {
  height: 150px;
  border-radius: 10px;
  background-color: rgba(0, 170, 147, 0.529);
}
.post_sens {
  height: 150px;
  border-radius: 10px;
  background-color: rgba(255, 155, 61, 0.525);
}
label {
  display: block;
}
form {
  height: 90%;
  width: 50%;
  /* background-color: #ff0000; */
  margin: 0 auto;
}
.input_form{
	width:100%;
  height:40px;
  display: block;
  /* background-color: #4400ff; */
}
input[type="number"] {
	border: solid 1px #e0e0e0;
	border-radius:5px;
	padding:8px;
	font-size: 15px;
  background-color: #ffffff;
}
.output[type="number"] {
	border: solid 1px #e0e0e0;
	border-radius:5px;
	padding:8px;
	font-size: 15px;
  background-color: #ffffff;
}
.image-button {
  width: 15%;
  display: flex;
  overflow: hidden;
  position: relative;
  /* cursor: pointer; */
  transition: transform 0.3s, box-shadow 0.3s;
}
.green {
  background-color: rgba(0, 167, 139, 0.529) !important;
  color: rgb(0, 0, 0);
}
.orange {
  background-color: rgba(255, 155, 61, 0.525) !important;
  color: rgb(0, 0, 0);
}
.image-button img {
  max-width: 100%;
  height: 100%;
  display: block;
}
.explanation {
  margin: 20px 0;
  padding: 20px;
  background-color: #b3b3b3;
}
h2 {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #333333;
}
.footer {
  height: 80px;
  background-color: #137c7380;
}
.footercontent {
  width: 270px;
  height: 50%;
  margin: 0 auto;
  cursor: pointer;
  color: #2b2b2b;
  /* background-color: #00967d; */
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒背景 */
  z-index: 9999; /* オーバーレイを最前面に表示 */
  justify-content: center;
  align-items: center;
}

.overlay-content {
  width: 760px;
  min-width: 760px;;
  background-color: #b9b9b9; /* オーバーレイ内のコンテンツの背景色 */
  padding: 20px;
  border-radius: 10px;
}

.close-btn {
  position: relative;
  bottom: 55px;
  left: 710px;
  cursor: pointer;
  font-weight: bold;
  color: #4d4d4d;
}

h3 {
  font-size: 24px;
  font-weight: bold;
  padding: 0 0 20px 0;
  color: #2e2e2e;
}
h4 {
  font-weight: bold;
  color: #2e2e2e;
}
/* 入力フィールドのスタイル */
input[type="text"],
input[type="email"],
textarea {
  resize: none;
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  background-color: #ffffff;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  box-sizing: border-box; /*ボックスモデルの計算方法を変更 */
}

/* 送信ボタンのスタイル */
button[type="submit"] {
  background-color: #4c63af;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* 送信ボタンのマウスオーバー時のスタイル */
button[type="submit"]:hover {
  background-color: #454ea0;
}

/* エラーメッセージのスタイル */
.error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}