@charset "utf-8";

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

html {
  font-size: 14px;
  line-height: 1.4;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 1000px) {
  html {
    font-size: 20px;
  }
}

img {
  max-width: 100%;
  height: auto;
  border: none;
}

p {
  line-height: 1.6;
}

a {
  text-decoration: none;
  font-weight: bold;
  color: #4d4d4d;
}

@media (hover: hover) {
  a:hover {
    color: #FB5483;
  }
}

body {
  background-color: #ffffff;
  color: #4d4d4d;
  padding: 10px;
}

@media (min-width: 768px) {
  body {
    background: #f5f5f5 url("/img/bg-page.png") fixed;
  }
}

.wrap {
  max-width: 1115px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1000px) {
  .wrap {
    padding: 30px 50px;
    margin: 50px auto;
  }
}

header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 20px;
}

@media (min-width: 1000px) {
  header {
    padding: 0;
  }
}

h1 {
  font-size: 2.5em;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
  position: relative;
  padding: 0.5rem 1rem;
  word-break: keep-all;
}

h1 span {
  background-color: #11bdbd;
  font-size: 0.6em;
  line-height: 1;
  display: inline-block;
  padding: 0em 0.1em 0.1em 0.2em;
  color: #fff;
  font-weight: normal;
}

h1 span span {
  font-size: 0.6em;
}

h1::before,
h1::after {
  position: absolute;
  top: -3px;
  width: 10px;
  height: 100%;
  content: '';
  border-top: solid 3px;
  border-bottom: solid 3px;
}

h1::before {
  border-left: solid 3px;
  left: 0;
}

h1::after {
  border-right: solid 3px;
  right: 0;
}

header p {
  text-align: left;
}

header p:not(:last-child) {
  margin-bottom: 0.5em;
}

@media (min-width: 1000px) {
  header p {
    text-align: center;
  }
}

.area-input,
.area-result {
  background-image: url("/img/bg-box.png");
  background-color: #eee;
  padding: 20px 10px;
  margin: 1em 0;
}

@media (min-width: 1000px) {

  .area-input,
  .area-result {
    padding: 20px;
  }
}

.container-input {
  background-color: #fff;
  padding: 1em;
  text-align: center;
  font-weight: bold;
  position: relative;
}

.container-input::before {
  font-weight: normal;
  font-size: 0.7em;
  padding: 0.5em;
  height: 1.5em;
  position: absolute;
  left: 0;
  top: 0;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
}

.area-input-bill_number .container-input::before {
  content: "1/5";
}

.area-input-ratio_paper .container-input::before {
  content: "2/5";
}

.area-input-process_time_paper .container-input::before {
  content: "3/5";
}

.area-input-process_time_electronic_format .container-input::before {
  content: "4/5";
}

.area-input-annual_income .container-input::before {
  content: "5/5";
}

.area-input>div::after {
  display: block;
  content: "";
  width: 2em;
  height: 1.3em;
  margin: 1em auto;
}

.area-input>div:not(:last-of-type)::after {
  background-color: #11BDBD;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

input,
button {
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.area-input input[type="number"] {
  background-color: #fff;
  border-top: 2px solid #6da1a2;
  border-right: 0px solid #a8dede;
  border-left: 2px solid #6da1a2;
  border-bottom: 0px solid #a8dede;
  border-radius: 8px;
  box-shadow: inset 3px 3px 3px rgba(124, 178, 178, 0.3), inset -3px -3px 3px rgba(124, 178, 178, 0.3);
  padding: 0.2em 0.5em 0.3em 0.2em;
  text-align: right;
  font-size: 1.4rem;
  margin: 0 0.5em;
  font-weight: bold;
  color: #0c8484;
  width: 5em;
}

/*
.area-input input[type="text"] {
  background-color: #fff;
  border-top:2px solid #888;
  border-right:3px solid #ccc;
  border-left:2px solid #888;
  border-bottom:3px solid #ccc;
  border-radius: 10px;
  box-shadow: inset 3px 3px 3px rgba(0,0,0,0.3), inset -3px -3px 3px rgba(0,0,0,0.1);
  padding: 0.2em 0.5em;
  text-align: right;
  font-size: 1.4rem;
}*/
.area-input input[type="number"]:focus {
  background-color: #ffffce;
}

::placeholder {
  color: #bfd9d9;
  font-size: 1rem;
  text-align: center;
}

.wrap-value_change_allowed {
  position: relative;
  display: inline-block;
}

.wrap-value_change_allowed input[type="number"] {
  width: 6em;
}

.wrap-value_change_allowed::before {
  content: '値変更可';
  background-color: #ffffa8;
  padding: 0.3em;
  position: absolute;
  left: 1.8em;
  top: 0.8em;
  font-size: 0.6em;
  line-height: 1;
}

.area-input label {}

.txt-focus {
  font-size: 1.2em;
  color: #0C8484;
  border: 1px dotted #0C8484;
  padding: 0 0.2em;
  margin: 0 0.1em;
}

#bill_number-label,
#ratio_paper-label,
#annual_income-label {
  display: block;
  margin-bottom: 0.5em;
}

#process_time_paper-label,
#process_time_electronic_format-label {
  word-break: keep-all;
}

@media (min-width: 768px),
print {

  #bill_number-label,
  #ratio_paper-label,
  #annual_income-label {
    display: inline-block;
    margin-bottom: 0;
  }
}

.area-input ol {
  margin: 0.5em 0;
  font-weight: bold;
  font-size: 0.8em;
}

ol.process_time_after_efficiency {
  margin: 0.5em 0 0 0;
  font-weight: bold;
  line-height: 1.4;
}

.area-input ol li,
ol.process_time_after_efficiency li {
  word-break: keep-all;
  width: 100%;
  text-align: left;
  border: 1px solid #11BDBD;
  position: relative;
}

.area-input ol li:not(:last-child),
ol.process_time_after_efficiency li:not(:last-child) {
  margin-bottom: 8px;
}

.area-input ol li:not(:last-child)::after,
ol.process_time_after_efficiency li:not(:last-child)::after {
  content: '';
  width: 18px;
  height: 18px;
  background: #11BDBD url("/img/ico-arrow_flow_bottom.svg") no-repeat left top / contain;
  position: absolute;
  right: 10px;
  bottom: -14px;
  z-index: 1;
}

.container-time {
  background-color: #D4F4F2;
  display: inline-block;
  padding: 0.3em;
  margin-right: 0.5em;
  border-right: 1px solid #11BDBD;
  width: 5em;
  text-align: center;
}

ol.process_time_after_efficiency .container-time {
  background-color: #ffffa8;
}

ol.process_time_after_efficiency .container-time.no_change {
  background-color: #D4F4F2;
}

@media (min-width: 768px),
print {

  .area-input ol,
  ol.process_time_after_efficiency {
    display: flex;
    justify-content: space-between;
    margin: 2em 0 0 0;
    border-left: 1px solid #11bdbd;
    border-bottom: 1px solid #11bdbd;
    border-right: 1px solid #11bdbd;
  }

  .area-input ol {
    font-size: 0.6em;
    padding-bottom: 4em;
  }

  ol.process_time_after_efficiency {
    font-size: 0.8em;
    padding-bottom: 2em;
  }

  .area-input ol li,
  ol.process_time_after_efficiency li {
    width: 10%;
    text-align: center;
    border: none;
    display: block;
    padding-bottom: 0.5em;
    border-top: 1px solid #11bdbd;
    border-bottom: 1px solid #11bdbd;
  }

  .area-input ol li:not(:last-child),
  ol.process_time_after_efficiency li:not(:last-child) {
    border-right: 1px solid #11bdbd;
  }

  .container-input-process_time,
  .total-process_time_after_efficiency {
    background-color: #fff;
    width: fit-content;
    margin: -1.7em auto 0 auto;
    padding: 0 1em;
  }

  .area-input ol li:not(:last-child)::after,
  ol.process_time_after_efficiency li:not(:last-child)::after {
    background: #11BDBD url("/img/ico-arrow_flow_right.svg") no-repeat left top / contain;
    right: -9px;
    bottom: 0;
  }

  .container-time {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5em;
    border-right: none;
    border-bottom: 1px solid #11bdbd;
  }

  .area-input ol li:not(:last-child),
  ol.process_time_after_efficiency li:not(:last-child) {
    margin-bottom: 0;
  }
}

.txt-time {
  color: #0C8484;
  margin-right: 0.1em;
  font-weight: bold;
}

@media (min-width: 768px) {
  .txt-time {
    font-size: 1.4rem;
  }
}

.total-process_time_after_efficiency {
  text-align: center;
  font-weight: bold;
}

.total-process_time_after_efficiency .txt-time {
  color: #FB728C;
  margin: 0 0.3em;
  font-size: 1.4rem;
}

.txt-notes {
  font-size: 0.7rem;
  font-weight: normal;
  margin-top: 1em;
}

.area-input-annual_income .txt-notes {
  text-align: left;
}

@media (min-width: 768px),
print {
  .area-input-annual_income .txt-notes {
    text-align: center;
  }
}

.area-input-annual_income dl {
  font-size: 0.7rem;
  font-weight: normal;
  margin: 1em auto 0 auto;
}

.area-input-annual_income dt {
  font-weight: bold;
  text-align: left;
}

.area-input-annual_income dd {
  text-align: left;
}

@media (min-width: 768px),
print {
  .area-input-annual_income dl {
    display: flex;
    width: fit-content;
  }
}

.area-input button {
  position: relative;
  display: block;
  background: #11bdbd;
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  border-bottom: 5px solid #0c8484;
  font-weight: bold;
  margin: 0em auto;
  width: 10em;
  max-width: 100%;
  padding: 0.3em 1em;
}

@media (hover: hover) {
  .area-input button:hover {
    top: 3px;
    margin-bottom: 3px;
    border-bottom: 2px solid #0c8484;
  }
}

.area-result {
  margin-top: 3em;
}

.area-result h2 {
  text-align: center;
  color: #0c8484;
  font-size: 2em;
}

table {
  border-collapse: collapse;
  padding: 0.5em;
  margin: 30px 0;
  width: 100%;
  background-color: #fff;
  font-weight: bold;
}

th,
td {
  padding: 0.5em;
  border: 1px solid #bfd9d9;
}

th {
  font-size: 0.8em;
  text-align: right;
}

td {
  text-align: right;
}

.deduction th,
.deduction td {
  border-top: 5px solid #bfd9d9;
  background-color: #eafcfb;
}

table b {
  font-size: 2em;
  color: #FB728C;
  padding: 0 0.1em;
}

[class^="label-"] {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  text-align: center;
  line-height: 1;
  padding: 0.1em;
  margin-right: 0.4em;
  margin-left: 0.4em;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

[class^="label-"] [class^="label-"] {
  font-size: 0.8em;
}

.label-A {
  background-color: #cce5ff;
}

.label-B {
  background-color: #ffcce5;
}

.label-C {
  background-color: #ffffa8;
}

.list-basis {
  font-size: 0.8em;
  background-color: #fff;
  padding: 1em;
  line-height: 1.8;
}

.list-basis h3 {
  color: #0c8484;
  font-size: 1.5em;
  margin-bottom: 1em;
}

.list-basis dl {
  display: grid;
  grid-template-columns: 2.5em auto;
  grid-row-gap: 2em;
}

.list-basis img {
  margin-top: 1em;
}

.list-basis .underline {
  border-bottom: 1px solid #4d4d4d;
  padding-bottom: 0.1em;
}

.list-basis .process_time-before {
  background-color: #d4f4f2;
  padding: 0 0.3em;
  font-size: 1.2em;
}

.list-basis .process_time-after {
  background-color: #FFFB8E;
  padding: 0 0.3em;
  font-size: 1.2em;
}

ul,
ol,
summary {
  list-style: none;
  display: block;
}

.area-attention {
  margin: 0 20px;
}

@media (min-width: 768px),
print {
  .area-attention {
    margin: 0;
  }
}

.link-DXform {
  background: #d4f4f2 url("/img/bg-link_DXform.svg") no-repeat right bottom;
  padding: 1em 2em;
  border-radius: 0 0 20px 20px;
  margin-top: 10px;
  position: relative;
  font-size: 0.8em;
}

.btn-arrow_right {
  white-space: nowrap;
  background: #faf45d url("/img/ico-arrow_right.svg") no-repeat left 30% center/1em auto;
  padding: 0.5em 2.5em;
  display: block;
  color: #11bdbd;
  border-radius: 5px;
  border: 2px solid #11bdbd;
  margin: 1em auto;
  text-align: center;
}

.ill-bird {
  width: 80px;
  position: absolute;
  left: -20px;
  top: -10px;
}

.link-DXform p {
  margin-bottom: 0;
  padding-left: 50px;
}

@media (min-width: 768px) {
  .link-DXform {
    display: flex;
    border-radius: 8px;
    margin-top: 30px;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
  }

  .btn-arrow_right {
    background: #faf45d url("/img/ico-arrow_right.svg") no-repeat left 0.8em center/1em;
    padding: 0.5em 2.5em 0.7em 3.5em;
    border-radius: 5px;
    border: 2px solid #11bdbd;
  }

  .ill-bird {
    width: 100px;
  }

  .link-DXform p {
    padding-left: 60px;
  }
}

@media (hover: hover) {
  .btn-arrow_right:hover {
    background-color: #11bdbd;
    background-image: url("/img/ico-arrow_right.svg#white");
    color: #fff;
  }
}

@media print {
  .link-DXform {
    display: none;
  }

  .area-attention {
    padding-bottom: 0.5em;
  }
}

footer {
  margin-top: 1em;
  text-align: center;
}

.link-pageTop a {
  background: #11bdbd url("/img/ico-arrow_pagetop.svg") no-repeat top 3px center / 16px auto;
  font-size: 0.6em;
  text-align: center;
  font-weight: normal;
  border-radius: 100%;
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 60px;
  height: 60px;
  color: #fff;
  border: 3px solid #fff;
  padding: 1em;
  letter-spacing: 0.1em;
  z-index: 2;
  display: grid;
  place-items: center;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .link-pageTop a {
    background-size: 20px auto;
    width: 80px;
    height: 80px;
  }
}

@media (hover: hover) {
  .link-pageTop a:hover {
    background-color: #0C8484;
  }
}

@media print {
  .link-pageTop {
    display: none;
  }
}

footer small {
  font-size: 0.6em;
}

/* form */
.error-message {
  font-size: 18px;
  color: #ff7676;
}

.invalid {
  display: block;
}

/* inputがnumberの時に矢印を非表示 */
/* Chrome, Safari, Edge, Opera */
.hide-spin::-webkit-outer-spin-button,
.hide-spin::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number].hide-spin {
  -moz-appearance: textfield;
}