@charset "utf-8";
body {
  background-color: #e1e1e2;
  color: #2d3777;
  padding: 1rem;
}
.bold-text {
  font-weight: bold;
}
.mt_1 {
  margin-top: 1rem !important;
}
.required {
  background-color: #23224e;
  color: rgb(223, 223, 225);
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}
h1 {
  text-align: center;
  margin: 1rem auto;
}
h2 {
  font-size: 1.5rem;
  margin: 0;
  color: #6867a8;
  border-left: 4px solid #6867a8;
  padding: 0 1rem;
}
h3 {
  border-bottom: #45448d 1px solid;
  font-size: 1.2rem;
}
h3:before {
  content: "●";
  font-size: 0.8rem;
  margin-right: 0.5rem;
}
input {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.flex_box {
  display: flex;
  width: 100%;
  gap: 1rem;
}
.left_area {
  width: 50%;
}
.right_area {
  width: 50% !important;
  background-color: #ffffff4b;
  border-radius: 0.8rem;
  padding: 1rem;
  box-sizing: border-box;
}
.result_num {
  font-size: 1.2rem;
  font-weight: bold;
}
@media screen and (max-width: 600px) {
  .left_area {
    width: 100%;
  }
  .right_area {
    width: 100% !important;
  }
  .flex_box {
    flex-direction: column;
  }
}
.aspect_area {
  border: #23224e dotted 1px;
  padding: 1rem;
}
.aspect_area p {
  margin: 0rem 0 1rem;
  font-weight: bold;
}
#aspect_shape {
  background-color: #23224e;
  margin: auto;
  width: 50px;
  height: 50px;
}
/* input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
} */
input[type="number"] {
  background-color: rgba(255, 255, 255, 0.392);
  width: 6rem;
  height: 3rem;
  font-size: 1.2rem;
  border-bottom: solid 1px rgb(32, 32, 56);
  border-radius: 8px 8px 0 0;
  margin: 0.5rem 1rem 1rem;
  padding: 1rem;
  box-sizing: border-box;
}
#ccforia_min_size,
#image_min_size,
#image_size_vertical,
#image_size_horizontal {
  width: 10rem;
}
.radioItem {
  display: inline-flex;
  align-items: center;
  column-gap: 4px;
  line-height: 1;
  cursor: pointer;
}

.radioItem:not(:last-of-type) {
  margin-right: 40px;
}

.radioButton {
  appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background-color: #ffffff;
  cursor: pointer;
}

.radioButton:checked {
  border: 1px solid #5e73c0;
}

.radioButton:checked::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 12px;
  height: 12px;
  margin: auto;
  border-radius: 9999px;
  background-color: #3e57a7;
}
.calc_btn {
  display: none;
}
.calc_btn {
  display: block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  margin: 1rem auto 2rem;
  padding: 1rem 4rem;
  border-radius: 100vw;
  color: #fff;
  background: rgb(39, 66, 134);
  border: none;
}
.calc_btn:hover {
  background-position: right center;
  background-size: 200% auto;
  -webkit-animation: pulse 2s infinite;
  animation: shad26 1.5s infinite;
  color: #fff;
}
@keyframes shad26 {
  0% {
    box-shadow: 0 0 0 0 rgb(39, 66, 134);
  }
  70% {
    box-shadow: 0 0 0 10px rgb(39 172 217 / 0%);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(39 172 217 / 0%);
  }
}
.info {
  margin: 2rem 0rem 1rem;
  padding: 1rem;
  border: #45448d 1px dotted;
  border-radius: 8px;
}
.info_table thead th:first-of-type {
  width: 15%;
}
.info_table thead th {
  font-size: 0.8rem;
  text-align: left;
}
.info_table tbody td {
  font-size: 0.8rem;
  text-align: left;
  vertical-align: top;
}
.info_table thead td:last-of-type {
  width: 90%;
}
* {
  box-sizing: border-box;
}
.small_text {
  font-size: 0.8rem;
  font-weight: normal;
  margin-left: 1rem;
  margin-top: 0rem;
}
@media screen and (max-width: 600px) {
  .small_text {
    display: block;
  }
}
.m_0 {
  margin: 0;
}
.mt_2 {
  margin-top: 2rem;
}
.mr_2 {
  margin-right: 2rem;
}
.image_size_input_box {
  display: inline-block;
}
.page_link_container {
  display: flex;
  gap: 1rem;
}
.page_link_container a {
  color: #2d3777;
  border-bottom: 1px solid #2d3777;
  display: block;
  width: 100%;
  margin: 1rem 0rem 2rem;
  padding: 0 0 6px 25px;
  position: relative;
  display: flex;
  align-items: center;
}
.page_link::before {
  content: "";
  width: 14px;
  height: 14px;
  border-top: solid 2px #2d3777;
  border-right: solid 2px #2d3777;
  transform: rotate(45deg);
  position: absolute;
  margin-top: -10px;
  top: 50%;
  left: -5px;
}
a {
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
}
@media screen and (max-width: 600px) {
  .page_link_container {
    flex-direction: column;
    margin-bottom: 2rem;
  }
  .page_link_container a {
    margin: 0;
  }
  .page_link {
    width: unset;
  }
}
.for_image_calc_item {
  margin: 0.5rem;
  border-bottom: 1px solid #000;
  padding: 1rem 0;
}
.aspect_yuusen_box {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.aspect_yuusen_btn {
  display: flex;
  align-items: center;
  position: relative;
  width: 3rem;
  height: 0.8rem;
  border-radius: 50px;
  box-sizing: content-box;
  background-color: #05036833;
  cursor: pointer;
  transition: ease 0.4s;
}

.aspect_yuusen_btn:has(:checked) {
  background-color: #75bbff33;
}
.aspect_yuusen_box p {
  margin: 0;
}
.aspect_yuusen_btn::before {
  position: absolute;
  left: -5px;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  content: "";
  transition: left 0.4s;
  border: #23224e 1px solid;
  background-color: #e1e1e2;
  transition: ease 0.4s;
}

.aspect_yuusen_btn:has(:checked)::before {
  left: 30px;
  background-color: #23224e;
  color: #e1e1e2;
}

.aspect_yuusen_btn::after {
  position: absolute;
  left: 10px;
  transform: translateX(-50%);
  color: #23224e;
  font-weight: 600;
  font-size: 0.9em;
  content: "値";
  transition: ease 0.4s;
}

.aspect_yuusen_btn:has(:checked)::after {
  left: 45px;
  content: "比";
  color: #e1e1e2;
}

.aspect_yuusen_btn input {
  display: none;
}
.mini_btn {
  background-color: #3e57a7;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: ease 0.4s;
  margin-top: 0.5rem;
  border-radius: 5px;
}
.mini_btn:hover {
  opacity: 0.7;
}
.modal_text {
  border: none;
  background-color: inherit;
  cursor: pointer;
  transition: ease 0.4s;
}
.modal_text:hover {
  opacity: 0.7;
}
.modal {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #00000035;
  top: 0;
  z-index: 88;
  left: 0;
}
.no_scroll {
  overflow: hidden;
}
#koushin_modal {
  position: fixed;
  width: 80%;
  height: 80%;
  background-color: #e1e1e2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 90;
  overflow-y: scroll;
  padding: 2rem;
}
.modal_close {
    display: block;
    position: sticky;
    top: 0;
    right: 1rem;
    background-color: #3e57a7;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: ease 0.4s;
    margin-top: 0.5rem;
    border-radius: 5px;
    text-align: right;
    margin: 0 0 0 auto;
    width: fit-content;
}
@media screen and (max-width: 600px) {
  #koushin_modal {
    position: fixed;
    width: 90%;
    height: 90%;
    background-color: #e1e1e2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 90;
    overflow-y: scroll;
    padding: 2rem;
  }
}