@import './product_var.css';

/*
  common
*/

* {
  word-break: break-all;
}

img {
  vertical-align: middle;
}

sup {
  font-size: 0.85em;
}

.f {
  border: 1px solid #ccc;
}

/*
  header
*/

h1.t1 {
  margin: 50px 0 0 0;
  font-size: 24px;
}

.headerChapter {
  margin: 50px 0 75px 0;
}

.headerChapter h1 {
  margin: 0 0 10px 0;
  font-size: 20px;
  line-height: 125%;
  color: var(--color-main);
}

@media (width <= 768px) {
  .headerChapter h1 {
    font-size: 16px;
  }
}

.headerChapter h2 {
  margin: 0 0 25px 0;
  font-size: 30px;
  line-height: 125%;
}

@media (width <= 768px) {
  .headerChapter h2 {
    font-size: 18px;
  }
}

h2.t1 {
  padding: 10px;
  margin: 50px 0 25px 0;
  font-size: 20px;
  line-height: 125%;
  background-repeat: no-repeat;
  background-position: top 50% right 10px;
  background-size: 62px 22px;
  border-top: 8px solid var(--color-main);
  border-bottom: 2px solid var(--color-main);
}

@media (width <= 768px) {
  h2.t1 {
    font-size: 16px;
  }
}

h2.t2 {
  padding: 10px 10px 10px 10px;
  margin: 50px 0 25px 0;
  font-size: 20px;
  line-height: 125%;
  color: #fff;
  background-color: var(--color-main);
  background-repeat: no-repeat;
  background-position: top 50% right 10px;
  background-size: 62px 22px;
}

@media (width <= 768px) {
  h2.t2 {
    font-size: 16px;
  }
}

h3.t1 {
  padding: 0 0 5px 0;
  margin: 100px 0 25px 0;
  font-size: 20px;
  line-height: 125%;
  background-repeat: no-repeat;
  background-position: top 50% right 10px;
  background-size: 62px 22px;
  border-bottom: 2px solid #404040;
}

@media (width <= 768px) {
  h3.t1 {
    font-size: 16px;
  }
}

h3.t2,
h3.t3,
h3.t4 {
  padding-left: 18px;
  margin: 50px 0 15px 0;
  font-size: 16px;
  line-height: 125%;
  text-indent: -18px;
  background-repeat: no-repeat;
  background-position: top 50% right 10px;
  background-size: 62px 22px;
}

@media (width <= 768px) {
  h3.t2,
  h3.t3,
  h3.t4 {
    font-size: 16px;
  }
}

h3.t2:before,
h3.t3:before,
h3.t4:before {
  display: inline-block;
  width: 18px;
  height: 16px;
  vertical-align: -3px;
  content: '';
  background-repeat: no-repeat;
  background-size: 14px 14px;
}

h3.t2:before {
  background-image: url(../images/iconHeader1.png);
}

h3.t3:before {
  background-image: url(../images/iconHeader2.png);
}

h3.t4:before {
  background-image: url(../images/iconHeader3.png);
}

h4.t1,
h5.t1,
h6.t1 {
  padding-bottom: 5px;
  margin: 100px 0 25px 0;
  font-size: 18px;
  line-height: 125%;
  background-repeat: no-repeat;
  background-position: top right 10px;
  background-size: 62px 22px;
  border-bottom: 1px solid #404040;
}

@media (width <= 768px) {
  h4.t1,
  h5.t1,
  h6.t1 {
    font-size: 16px;
  }
}

.innerHeader {
  display: flex;
  align-items: baseline;
}

.innerHeader__number {
  margin: 0 10px 0 0;
  word-break: keep-all;
}

/*
list
*/

.content ul {
  padding: 0;
  margin: 10px 0 0 1.5em;
  list-style-type: disc;
}

.content li > ul {
  margin: 0 0 0 25px;
}

.content li {
  margin: 5px 0 0 0;
}

.content li > p {
  margin: 10px 0 0 0;
}

.content ul.note,
.content ul.noteNN {
  margin: 10px 0 0 0;
  font-size: 0.85em;
  list-style-type: none;
}

.content ul.note {
  padding-left: 3em;
}

.content ul.note > li {
  text-indent: 1em;
}

.content ul.noteNN {
  padding-left: 1.5em;
}

.content ul.noteNN > li {
  text-indent: 2.5em;
}

.content ul.note li,
.content ul.noteNN li {
  margin: 0 0 0 0;
}

.content ul.note > li,
.content ul.noteNN > li {
  counter-increment: annotation;
}

.content ul.note > li:before,
.content ul.noteNN > li:before {
  display: inline-block;
  margin-left: -4em;
  text-indent: 0;
}

.content ul.note > li:before {
  width: 3em;
  content: '\203B'counter(annotation);
}

.content ul.noteNN > li:before {
  width: 1.5em;
  content: '\203B';
}

.content ul.note li > ul > li,
.content ul.noteNN li > ul > li {
  text-indent: 0;
}

.content ul div.f {
  padding: 15px;
  margin: 10px 0;
}

/*
p
*/

.content p {
  margin: 15px 0 0 0;
}

.content p.combining {
  margin: 0 0 0 0;
}

.content p.f {
  padding: 15px;
}

/*
img
*/

.content p > img {
  margin: 0 0;
}

.content p > img.block {
  display: block;
  margin: 15px 0;
}

.content li > img.block {
  display: block;
  margin: 10px 0;
}

img.inner,
img.innerS {
  width: auto !important;
  height: 1.5em !important;
  margin: 0 5px !important;
  vertical-align: -5px;
}

img.innerS {
  height: auto;
  vertical-align: middle;
}

.content li > img {
  margin: 0 0;
}

.content img,
.content img.s9,
.content img.s8,
.content img.s7,
.content img.s6,
.content img.s5,
.content img.s4,
.content img.s3,
.content img.s2,
.content img.s1 {
  max-width: 750px;
  height: auto;
}

.content img.s9 {
  width: calc(750px * 0.9);
}

.content img.s8 {
  width: calc(750px * 0.8);
}

.content img.s7 {
  width: calc(750px * 0.7);
}

.content img.s6 {
  width: calc(750px * 0.6);
}

.content img.s5 {
  width: calc(750px * 0.5);
}

.content img.s4 {
  width: calc(750px * 0.4);
}

.content img.s3 {
  width: calc(750px * 0.3);
}

.content img.s2 {
  width: calc(750px * 0.2);
}

.content img.s1 {
  width: calc(750px * 0.1);
}

@media (width <= 768px) {
  .content img,
  .content img.s9,
  .content img.s8,
  .content img.s7,
  .content img.s6,
  .content img.s5,
  .content img.s4,
  .content img.s3,
  .content img.s2,
  .content img.s1 {
    max-width: 100%;
  }

  .content td img {
    max-width: none;
  }
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

/*
  warning
*/

.warning {
  min-height: 75px;
  padding: 0 15px 15px 95px;
  margin: 25px 0;
  background-color: #fff;
  background-image: url('../images/iconWarning.png');
  background-repeat: no-repeat;
  background-position: 15px 15px;
  background-size: 60px 60px;
  border: 1px solid #ccc;
}

/*
  attention
*/

.attention {
  min-height: 75px;
  padding: 0 15px 15px 95px;
  margin: 25px 0;
  background-color: #fff;
  background-image: url('../images/iconAttention.png');
  background-repeat: no-repeat;
  background-position: 15px 15px;
  background-size: 60px 60px;
  border: 1px solid #ccc;
}

/* memo */

.memo {
  min-height: 75px;
  padding: 0 15px 15px 95px;
  margin: 25px 0;
  background-color: #fff;
  background-image: url('../images/iconMemo.png');
  background-repeat: no-repeat;
  background-position: 15px 15px;
  background-size: 60px 60px;
  border: 1px solid #ccc;
}

@media (width <= 768px) {
  .warning,
  .attention,
  .memo {
    min-height: 38px;
    padding: 0 8px 8px 50px;
    background-position: 8px 8px;
    background-size: 30px 30px;
  }
}

/*
  table
*/

.content .tableContainer {
  margin: 25px auto;
}

@media (width <= 768px) {
  .content .tableContainer {
    width: 100%;
    overflow-x: auto;
  }
}

.content table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  background-color: #fff;
  border-bottom: 1px solid #666;
  border-left: 1px solid #666;
}

.content th,
.content td {
  padding: 8px;
  border: none;
  border-top: 1px solid #666;
  border-right: 1px solid #666;
}

.content th {
  text-align: center !important;
  background-color: #a2d7dd;
}

.cw1 {
  width: 10%;
}

.cw2 {
  width: 20%;
}

.cw3 {
  width: 30%;
}

.cw4 {
  width: 40%;
}

.cw5 {
  width: 50%;
}

.cw6 {
  width: 60%;
}

.cw7 {
  width: 70%;
}

.cw8 {
  width: 80%;
}

.cw9 {
  width: 90%;
}

.cwE {
  width: 0.00001%;
  max-width: 1%;
  border-top: none !important;
}

.cwN {
  width: 40px;
}

@media (width <= 768px) {
  .cw1,
  .cw2,
  .cw3,
  .cw4,
  .cw5,
  .cw6,
  .cw7,
  .cw8,
  .cw9 {
    min-width: 50px;
  }

  .cwN {
    width: 30px;
    min-width: 30px;
  }
}

.content td ul {
  margin: 10px 0 0 1.5em !important;
}

.content th div.l,
.content td div.l {
  text-align: left;
}

.content th div.c,
.content td div.c {
  text-align: center;
}

.content th div.r,
.content td div.r {
  text-align: right;
}

.content th div.f,
.content td div.f {
  padding: 15px;
  margin: 10px 0;
}

/*
  step
*/

.step {
  padding: 0 15px;
  margin: calc(25px + (32px / 2 + 4px)) 0 25px 0;
  border-top: 8px solid var(--color-step-bar);
  border-bottom: 8px solid var(--color-step-bar);
}

@media (width <= 768px) {
  .step {
    padding: 0 0;
  }
}

.step::before {
  position: relative;
  top: calc(-32px / 2 - 4px);
  left: -15px;
  display: block;
  width: 80px;
  height: 37px;
  content: '';
  background-image: url('../images/iconStep.png');
  background-repeat: no-repeat;
  background-size: 80px 37px;
}

@media (width <= 768px) {
  .step::before {
    top: calc(-23px / 2 - 4px);
    left: 0;
    width: 60px;
    height: 28px;
    background-size: 60px 28px;
  }
}

.step::after {
  display: block;
  padding: 0 0 15px 0;
  text-align: right;
  content: '以上で操作は完了です。';
}

.step > h1 {
  padding-left: 20px;
  margin: 15px 0;
  font-size: 16px;
  font-weight: bold;
  line-height: 125%;
  text-indent: -20px;
}

@media (width <= 768px) {
  .step > h1 {
    font-size: 14px;
  }
}

.step > h1:first-child {
  margin: 0 0 15px 0;
}

.step > h2 {
  padding-left: 20px;
  margin: 25px 0;
  font-size: 16px;
  font-weight: bold;
  line-height: 120%;
  text-indent: -20px;
}

@media (width <= 768px) {
  .step > h2 {
    font-size: 14px;
  }
}

.step > h2::before {
  display: inline-block;
  width: 20px;
  height: 14px;
  vertical-align: -1px;
  content: '';
  background: url(../images/iconResultHeader.png);
  background-repeat: no-repeat;
  background-size: 14px 14px;
}

.step > p {
  margin: 15px 0 0 20px;
}

.step > ul {
  margin: 20px 0 0 45px;
}

.step > .attention,
.step > .memo,
.step > .warning {
  margin-left: 20px;
}

.step > .tableContainer {
  width: calc(100% - 20px);
  margin-left: 20px;
}

.step img.block,
.stepT img.block,
.stepM img.block,
.stepB img.block {
  margin: 15px 0;
}

/*
  dl
*/

dl {
  display: grid;
  grid-template-columns: auto 1fr;
}

dt {
  grid-column: 1;
  padding-right: 0.5em;
  white-space: nowrap;
}

dd {
  grid-column: 2;
  margin-left: 0;
}

/*
  hr
*/

hr.split {
  display: none;
}
