@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@700&family=Noto+Sans+JP:wght@300;500&family=DM+Serif+Text&display=swap');
html {
  position: relative;
  height: 100%;
  padding-bottom: 70px;
  box-sizing: border-box;
  min-width: 700px;
  min-height: 590px;
}
body{
  background: #d7e2d7;
  margin: 0;
}
h1 {
  font-family: 'Noto Serif JP', serif;
  position: relative;
  width: 85%;
  text-align: center;
  color: #444;
  font-size: 1000%;
  font-weight: normal;
  line-height: 1;
  margin: 0 auto 0 auto;
}
.rect {
  position: absolute;
  bottom: 100px;
  left: 8%;
  right: 8%;
  top: 100px;
  z-index: 0;
  box-shadow: 0 0px 30px 0  #666;
  width: 85%;
  min-width: 400px;
  min-height: 420px;
  background: #ffffffcc;
}
.logo_and_text{
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -webkit-appearance: none;

}
.searchbox {
  margin: 0 auto;
  position: relative;
  width: 85%;
  min-width: 400px;
  max-width: 970px;
  height: 40px;
  -webkit-appearance: none;
}
input.box {
  position: absolute;
  left: 0px;
  right: 43px;
  height: 40px;
  border-radius: 5px 5px 5px 5px;
  padding: 0 5px 0 5px;
  font-size: 160%;
  background: #e0e0e0;
  border: none;
  outline: none;
  box-shadow: none;
  margin: 0 auto;
}
.rectbutton{
  position: absolute;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: 0;

  background: #444;

  font-family: 'M PLUS Rounded 1c', monospace;
  color: #e0e0e0;
  font-size: 150%;
  line-height: 35px;
  text-align: center;
  -webkit-appearance: none;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
}
.roundbutton{
  position: absolute;
  left: 10px;
  top: 10px;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: 0;

  background: #444;

  font-family: 'M PLUS Rounded 1c', monospace;
  color: #e0e0e0;
  font-size: 150%;
  padding-top: 0px;
  text-align: center;
  -webkit-appearance: none;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
}
.graphbutton{
  position: absolute;
  width: 120px;
  height: 40px;
  bottom: 10px;
  border-radius: 5px;
  border: solid 2px #444;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);

  background: #4440;

  font-family: 'DM Serif Text', serif;
  color: #444;
  padding-top: 3px;
  font-size: 150%;
  text-align: center;
  text-decoration: none;
  -webkit-appearance: none;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
}
.rectbutton:hover{
  color: #fff;
  text-shadow: 0 0 4px #fff;
}
.rectbutton:active{
  background: gray;
}
.radiobox{
  display: block;
  width: 600px;
  height: 27px;
  position: relative;
  z-index: 1;
  margin: 10px auto;
  padding: 3px 3px 3px 3px;
  border-radius: 5px;
  background: #e0e0e0;
}
.radiobox input {
  display: none;
}
.radiobox label {
  float: left;
  display: block;
  width: 33.3%;
  text-align: center;
  color: #444;
  font-family: 'DM Serif Text', serif;
  font-size: 105%;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.checkedrect{
  width: 200px;
  height: 27px;
  position: relative;
  background: #444;
  border-radius: 3px;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  z-index: -1;
}
.radiobox input:checked + label {
  color: #fff;
}
.radiobox label:hover {
  text-shadow: 0 0 4px #444;
  color: #555;
}
.radiobox input:checked + label:hover {
  background: transparent;
  text-shadow: 0 0 4px #fff;
  cursor: default;
}
.radiobox input:checked + label:before {
  opacity: 1;
}
.radiobox input:checked[value="pattern"] ~ .checkedrect {
  left: 0%;
}
.radiobox input:checked[value="vector"] ~ .checkedrect {
  left: 33.3%;
}
.radiobox input:checked[value="scibert"] ~ .checkedrect {
  left: 66.6%;
}
.bordertop{
  width: 85%;
  margin: 0 auto 0 auto;
}
.borderbottom{
  width: 85%;
  margin: 20px auto 0 auto;
}
footer {
  position: absolute;
  bottom: 0;
  left: 0;
  margin-bottom: 0;
  width: 100%;
  min-width: 700px;
  height: 70px;
  background: #ffffff00;
}
.footertxt{
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  text-align: center;
  color: #888;
}
