@charset "UTF-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  vertical-align: bottom;
}

*, *:before, *:after {
  /* width は border と padding　を加算して算出  */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'Meiryo',"ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック","Osaka", sans-serif;
}

/*

@mixin font-face-url($name, $path,$weight: null, $style: null, $exts: woff otf ttf) {
  $src: null;
  $formats: (
    woff: "woff",
    otf: "opentype",
    ttf: "truetype"
  );

  @each $ext in $exts {
    $format: map-get($formats, $ext);
    $src: append($src, url(quote($path)) format(quote($format)), comma);
  }

  @font-face {
    font-family: quote($name);
    font-style:  $style;
    font-weight: $weight;
    src: $src;
  }
}

@mixin font-face-local($name,  $path,$weight: null, $style: null, $exts: woff otf ttf) {
  $src: null;

  $formats: (
    woff: "woff",
    otf: "opentype",
    ttf: "truetype"
  );

  @each $ext in $exts {
    $format: map-get($formats, $ext);
    $src: append($src, local(quote($path)) format(quote($format)), comma);
  }

  @font-face {
    font-family: quote($name);
    font-style:  $style;
    font-weight: $weight;
    src: $src;
  }
}

*/
section {
  line-height: 1.5;
  background-color: #f0f1fb;
  border-radius: 10px;
  width: 940px;
  margin: 30px auto;
  padding: 0 40px 40px 40px;
  background-repeat: no-repeat;
  background-position: left top;
}
section > h2 {
  font-size: 150%;
  padding: 27px 10px 16px 40px;
  color: #2f2f2f;
}
section:nth-of-type(1) {
  background-image: url(../image/flow/1.png);
  padding-bottom: 0;
}
section:nth-of-type(2) {
  background-image: url(../image/flow/2.png);
}
section:nth-of-type(3) {
  background-image: url(../image/flow/3.png);
}
section:nth-of-type(4) {
  background-image: url(../image/flow/4.png);
}
section:nth-of-type(5) {
  background-image: url(../image/flow/5.png);
}
section > div {
  padding: 20px;
  background-color: #fff;
}
section > div a:link {
  color: #223d9d;
}
section > div a:visited {
  color: #223d9d;
}
section > div a:hover {
  color: #223d9d;
}
section > div a:active {
  color: #223d9d;
}
section > div > dl {
  display: flex;
  flex-wrap: wrap;
}
section > div > dl > dt {
  width: 30%;
  padding: 16px;
  border-bottom: dashed 1px #d5d5d7;
}
section > div > dl > dt:first-of-type {
  padding-top: 0;
}
section > div > dl > dt:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
section > div > dl > dd {
  width: 70%;
  padding: 16px;
  border-bottom: dashed 1px #d5d5d7;
}
section > div > dl > dd:first-of-type {
  padding-top: 0;
}
section > div > dl > dd:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
section > div > dl > dd > br {
  display: none;
}
@media screen and (max-width: 768px) {
  section {
    width: 92%;
    max-width: 500px;
    padding: 10px 20px 30px 20px;
    margin: 30px auto 0;
    background-size: 34px 38px;
    background-position: left 5px;
  }
  section > h2 {
    font-size: 138%;
    padding: 0 0 10px 20px;
    color: #2f2f2f;
  }
  section > div {
    padding: 20px;
  }
  section > div a:link {
    color: #223d9d;
  }
  section > div a:visited {
    color: #223d9d;
  }
  section > div a:hover {
    color: #223d9d;
  }
  section > div a:active {
    color: #223d9d;
  }
  section > div > dl {
    display: block;
    flex-wrap: nowrap;
  }
  section > div > dl > dt {
    width: 100%;
    padding: 2px 5px 1px;
    line-height: 1;
    border-left: solid 4px #d5daef;
    border-bottom: none;
  }
  section > div > dl > dt:first-of-type {
    padding-top: 5px;
  }
  section > div > dl > dt:last-of-type {
    border-bottom: none;
    padding-bottom: 5px;
  }
  section > div > dl > dd {
    width: 100%;
    padding: 5px 5px 10px 9px;
    margin-bottom: 15px;
    border-bottom: dotted 1px #d5d5d7;
  }
  section > div > dl > dd:first-of-type {
    padding-top: 5px;
  }
  section > div > dl > dd:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  section > div > dl > dd > br {
    display: block;
  }
}
section:last-of-type {
  line-height: 1.5;
  background-color: #ffd9d9;
  border-radius: 0;
  margin: 30px auto 50px;
  padding: 0;
  border: solid 2px #cc0000;
  background-repeat: no-repeat;
  background-position: left top;
}
section:last-of-type > h2 {
  background-color: #cc0000;
  color: #fff;
  padding: 10px;
  text-align: center;
}
section:last-of-type > div {
  padding: 20px;
  background-color: inherit;
}
section:last-of-type > div span {
  color: #cc0000;
}
