@charset "UTF-8";
* {
  text-decoration: none;
}

body {
  width: 100vw;
  height: auto;
}
/* 20211020 MS 
body header {
  color: #0099ff;
  width: 100vw;
  height: 102px;
  margin: auto;
  background-color: #f6f6f6;
}*/

body main section.fv {
  width: 100vw;
  height: 540px;
  background-image: url(./img_braintech/fv.png);
  padding: 0;
  margin: 0;
  background-size: cover;
  position: relative;
}

body main section.fv .fv-title {
  height: 162px;
  width: 454px;
  background-color: #1ba9ce;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 170px;
  left: 174px;
  opacity: 53%;
}

body main section.fv .fv-title p {
  color: white;
  font-size: 30px;
  font-weight: 600;
  line-height: 40px;
  text-align: left;
  font-family: "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  letter-spacing: 0;
}

body main section.fv .fv-title p span {
  letter-spacing: 0.12em;
}

body main section.business {
  padding: 20px 0 220px 0;
  position: relative;
}

body main section.business:after {
  content: "";
  width: 100vw;
  height: 853px;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(img_braintech/business-bg.png);
  position: absolute;
  bottom: -300px;
  left: 0;
  z-index: -10;
}

body main section.business article {
  width: 960px;
  margin: auto;
}

body main section.business article .business-title {
  position: relative;
  margin-top: 70px;
}

body main section.business article .business-title h2 {
  color: #1ba9ce;
  text-align: center;
  font-size: 20px;
  line-height: 48px;
  font-weight: bold;
  border-bottom: #1ba9ce 1px solid;
  font-family: sans-serif;
}

body main section.business article .business-title:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #1ba9ce transparent transparent transparent;
  border-width: 10px 5px 0 5px;
}

body main section.business article section.card {
  height: auto;
  width: auto;
  padding: 46px 80px;
  box-shadow: rgba(0, 0, 0, 0.3) 0 3px 6px;
  background-color: white;
}

body main section.business article section.card p {
  font-size: 18px;
  font-weight: normal;
  line-height: 35px;
  text-align: left;
  letter-spacing: 0.1em;
  font-family: sans-serif;
}

body main section.business article .table-wrapper {
  margin: 40px 0;
}

body main section.business article .table-wrapper img {
  height: 269px;
  width: 960px;
}

body main section.introduction {
  width: 100vw;
  height: auto;
  background-color: #1baace36;
}

body main section.introduction article {
  width: 960px;
  margin: auto;
  padding: 10px 0 60px 0;
}

body main section.introduction article .introduction-title {
  position: relative;
  margin: 38px 0 25px 0;
}

body main section.introduction article .introduction-title h2 {
  color: #1ba9ce;
  text-align: center;
  font-size: 20px;
  line-height: 48px;
  font-weight: bold;
  border-bottom: #1ba9ce 1px solid;
  font-family: sans-serif;
}

body main section.introduction article .introduction-title:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #1ba9ce transparent transparent transparent;
  border-width: 10px 5px 0 5px;
}

body main section.introduction article .chiba-univ {
  display: flex;
  flex-wrap: wrap;
}

body main section.introduction article .chiba-univ-logo {
  width: 460px;
  height: 340px;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

body main section.introduction article .chiba-univ-logo p {
  margin: 30px 0;
  font-size: 20px;
  font-weight: bold;
  line-height: 30px;
  color: #1ba9ce;
  font-family: sans-serif;
}

body main section.introduction article .chiba-univ-img {
  width: 500px;
  height: 340px;
  margin-top: 30px;
}

body main section.introduction article .chiba-univ-txt {
  font-size: 18px;
  line-height: 35px;
  margin: 28px 0;
  text-align: left;
  letter-spacing: 0.08em;
  font-family: sans-serif;
}

body main section.introduction article .scr-maker {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

body main section.introduction article .scr-maker-logo {
  width: 460px;
  height: 340px;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

body main section.introduction article .scr-maker-logo p {
  margin: 30px 0;
  font-size: 20px;
  font-weight: bold;
  line-height: 30px;
  color: #1ba9ce;
}

body main section.introduction article .scr-maker-img {
  width: 500px;
  height: 340px;
  display: inline-block;
  margin-top: 30px;
}

body main section.introduction article .scr-maker-txt {
  font-size: 18px;
  line-height: 35px;
  margin: 28px 0;
  text-align: left;
  letter-spacing: 0.08em;
  font-family: sans-serif;
}

body main section {
  margin: 40px auto 100px auto;
  text-align: center;
}

body main section button {
  background-color: #1ba9ce;
  border-radius: 5px;
}

body main section button:hover {
  box-shadow: rgba(0, 0, 0, 0.3) 0 3px 4px;
}

body main section button a {
  display: block;
  width: 360px;
  height: 60px;
  line-height: 60px;
  color: white;
  font-size: 20px;
  font-family: sans-serif;
}
/* 20211020 MS
body footer {
  background-color: #1ba9ce;
  width: 100vw;
  height: 1175px;
} */

@media screen and (max-width: 960px) {
  body main section.fv {
    height: calc(100vh - 182px);
    background-image: url(./img_braintech/sp-fv.png);
  }
  body main section.fv .fv-title {
    height: 132px;
    width: 320px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    opacity: 86%;
  }
  body main section.business {
    padding: 20px 16px 100px 16px;
    position: relative;
  }
  body main section.business article {
    width: 100%;
    margin: auto;
  }
  body main section.business article .business-title {
    position: relative;
    margin-top: 70px;
  }
  body main section.business article .business-title h2 {
    font-size: 18px;
    line-height: 32px;
  }
  body main section.business article section.card {
    padding: 26px 20px;
  }
  body main section.business article section.card p {
    font-size: 16px;
    line-height: 28px;
  }
  body main section.business article .table-wrapper {
    width: 100%;
    margin: 40px 0;
    background-size: contain;
    background-repeat: no-repeat;
    overflow: scroll;
  }
  body main section.business article .table-wrapper img {
    width: 600px;
    height: auto;
  }
  body main section.introduction article {
    width: 100%;
    margin: auto;
  }
  body main section.introduction article .introduction-title {
    position: relative;
    margin: 38px 0 25px 0;
  }
  body main section.introduction article .introduction-title h2 {
    font-size: 20px;
    line-height: 48px;
  }
  body main section.introduction article .chiba-univ {
    justify-content: center;
  }
  body main section.introduction article .chiba-univ-logo {
    width: 100vw;
    height: 300px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.8);
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(./img_braintech/chibauniv.png);
  }
  body main section.introduction article .chiba-univ-logo p {
    margin: 24px 0;
    font-size: 18px;
  }
  body main section.introduction article .chiba-univ-img {
    width: 96%;
    height: 340px;
    margin-top: 30px;
    display: none;
  }
  body main section.introduction article .chiba-univ-txt {
    font-size: 16px;
    line-height: 28px;
    margin: 28px 0;
    text-align: left;
    letter-spacing: 0.08em;
    padding: 0 30px;
  }
  body main section.introduction article .scr-maker {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: center;
  }
  body main section.introduction article .scr-maker-logo {
    width: 100vw;
    height: 300px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url(./img_braintech/maker.png);
    background-color: rgba(255, 255, 255, 0.8);
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    background-size: cover;
  }
  body main section.introduction article .scr-maker-logo p {
    margin: 24px 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    color: #1ba9ce;
  }
  body main section.introduction article .scr-maker-img {
    width: 96%;
    height: 340px;
    margin-top: 30px;
    display: none;
  }
  body main section.introduction article .scr-maker-txt {
    font-size: 16px;
    line-height: 28px;
    margin: 28px 0;
    text-align: left;
    letter-spacing: 0.08em;
    padding: 0 30px;
  }
  body main section {
    margin: 40px auto;
    text-align: center;
  }
  body main section button {
    background-color: #1ba9ce;
    border-radius: 5px;
  }
  body main section button a {
    width: 300px;
    height: 60px;
    color: white;
    font-size: 16px;
  }/* 20211020 MS
  body footer {
    background-color: #1ba9ce;
    width: 100vw;
    height: 300px;
  }*/
}
/* 20211020 MS */
.uk-link:hover, a:hover {
	color: #fff;
    text-decoration: none;
}
	/* style.css */
* {
  text-decoration: none;
}

body {
  width: 100vw;
  height: auto;
}
/* 20211020 MS 
body header {
  color: #0099ff;
  width: 100vw;
  height: 102px;
  margin: auto;
  background-color: #f6f6f6;
}*/

body main section.fv {
  width: 100vw;
  height: 540px;
  background-image: url(img_braintech/fv.png);
  padding: 0;
  margin: 0;
  background-size: cover;
  position: relative;
}

body main section.fv .fv-title {
  height: 162px;
  width: 454px;
  background-color: #1ba9ce;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 170px;
  left: 174px;
  opacity: 53%;
}

body main section.fv .fv-title p {
  color: white;
  font-size: 30px;
  font-weight: 600;
  line-height: 40px;
  text-align: left;
  font-family: "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  letter-spacing: 0;
}

body main section.fv .fv-title p span {
  letter-spacing: 0.12em;
}

body main section.business {
  padding: 20px 0 220px 0;
  position: relative;
}

body main section.business:after {
  content: "";
  width: 100vw;
  height: 853px;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(img_braintech/business-bg.png);
  position: absolute;
  bottom: -300px;
  left: 0;
  z-index: -10;
}

body main section.business article {
  width: 960px;
  margin: auto;
}

body main section.business article .business-title {
  position: relative;
  margin-top: 70px;
}

body main section.business article .business-title h2 {
  color: #1ba9ce;
  text-align: center;
  font-size: 20px;
  line-height: 48px;
  font-weight: bold;
  border-bottom: #1ba9ce 1px solid;
  font-family: sans-serif;
}

body main section.business article .business-title:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #1ba9ce transparent transparent transparent;
  border-width: 10px 5px 0 5px;
}

body main section.business article section.card {
  height: auto;
  width: auto;
  padding: 46px 80px;
  box-shadow: rgba(0, 0, 0, 0.3) 0 3px 6px;
  background-color: white;
}

body main section.business article section.card p {
  font-size: 18px;
  font-weight: normal;
  line-height: 35px;
  text-align: left;
  letter-spacing: 0.1em;
  font-family: sans-serif;
}

body main section.business article .table-wrapper {
  margin: 40px 0;
}

body main section.business article .table-wrapper img {
  height: 269px;
  width: 960px;
}

body main section.introduction {
  width: 100vw;
  height: auto;
  background-color: #1baace36;
}

body main section.introduction article {
  width: 960px;
  margin: auto;
  padding: 10px 0 60px 0;
}

body main section.introduction article .introduction-title {
  position: relative;
  margin: 38px 0 25px 0;
}

body main section.introduction article .introduction-title h2 {
  color: #1ba9ce;
  text-align: center;
  font-size: 20px;
  line-height: 48px;
  font-weight: bold;
  border-bottom: #1ba9ce 1px solid;
  font-family: sans-serif;
}

body main section.introduction article .introduction-title:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #1ba9ce transparent transparent transparent;
  border-width: 10px 5px 0 5px;
}

body main section.introduction article .chiba-univ {
  display: flex;
  flex-wrap: wrap;
}

body main section.introduction article .chiba-univ-logo {
  width: 460px;
  height: 340px;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

body main section.introduction article .chiba-univ-logo p {
  margin: 30px 0;
  font-size: 20px;
  font-weight: bold;
  line-height: 30px;
  color: #1ba9ce;
  font-family: sans-serif;
}

body main section.introduction article .chiba-univ-img {
  width: 500px;
  height: 340px;
  margin-top: 30px;
}

body main section.introduction article .chiba-univ-txt {
  font-size: 18px;
  line-height: 35px;
  margin: 28px 0;
  text-align: left;
  letter-spacing: 0.08em;
  font-family: sans-serif;
}

body main section.introduction article .scr-maker {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

body main section.introduction article .scr-maker-logo {
  width: 460px;
  height: 340px;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

body main section.introduction article .scr-maker-logo p {
  margin: 30px 0;
  font-size: 20px;
  font-weight: bold;
  line-height: 30px;
  color: #1ba9ce;
}

body main section.introduction article .scr-maker-img {
  width: 500px;
  height: 340px;
  display: inline-block;
  margin-top: 30px;
}

body main section.introduction article .scr-maker-txt {
  font-size: 18px;
  line-height: 35px;
  margin: 28px 0;
  text-align: left;
  letter-spacing: 0.08em;
  font-family: sans-serif;
}

body main section {
  margin: 40px auto 100px auto;
  text-align: center;
}

body main section button {
  background-color: #1ba9ce;
  border-radius: 5px;
}

body main section button:hover {
  box-shadow: rgba(0, 0, 0, 0.3) 0 3px 4px;
}

body main section button a {
  display: block;
  width: 360px;
  height: 60px;
  line-height: 60px;
  color: white;
  font-size: 20px;
  font-family: sans-serif;
}
/* 20211020 MS
body footer {
  background-color: #1ba9ce;
  width: 100vw;
  height: 1175px;
}*/

@media screen and (max-width: 960px) {
  body main section.fv {
    width: 100vw;
    height: calc(100vh - 182px);
    background-image: url(img_braintech/sp-fv.png);
    padding: 0;
    margin: 0;
    background-size: cover;
    position: relative;
  }
  body main section.fv .fv-title {
    height: 132px;
    width: 320px;
    background-color: #1ba9ce;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    opacity: 86%;
  }
  body main section.fv .fv-title p {
    color: white;
    font-size: 20px;
    font-weight: 600;
    line-height: 40px;
    text-align: left;
  }
  body main section.business {
    padding: 20px 16px 100px 16px;
    position: relative;
  }
  body main section.business:after {
    content: "";
    width: 100vw;
    height: 853px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(img_braintech/sp-business-bg.png);
    position: absolute;
    bottom: -600px;
    left: 0;
    z-index: -10;
  }
  body main section.business article {
    width: 100%;
    margin: auto;
  }
  body main section.business article .business-title {
    position: relative;
    margin-top: 70px;
  }
  body main section.business article .business-title h2 {
    color: #1ba9ce;
    text-align: center;
    font-size: 18px;
    line-height: 32px;
    font-weight: bold;
    border-bottom: #1ba9ce 1px solid;
  }
  body main section.business article .business-title:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    width: 0px;
    height: 0px;
    margin: auto;
    border-style: solid;
    border-color: #1ba9ce transparent transparent transparent;
    border-width: 10px 5px 0 5px;
  }
  body main section.business article section.card {
    height: auto;
    width: auto;
    padding: 26px 20px;
    box-shadow: rgba(0, 0, 0, 0.3) 0 3px 6px;
    background-color: white;
  }
  body main section.business article section.card p {
    font-size: 16px;
    font-weight: normal;
    line-height: 28px;
    text-align: left;
    letter-spacing: 0.1em;
  }
  body main section.business article .table-wrapper {
    width: 100%;
    margin: 40px 0;
    background-size: contain;
    background-repeat: no-repeat;
    overflow: scroll;
  }
  body main section.business article .table-wrapper img {
    width: 600px;
    height: auto;
  }
  body main section.introduction {
    width: 100vw;
    height: auto;
    background-color: #1baace36;
  }
  body main section.introduction article {
    width: 100%;
    margin: auto;
    padding: 10px 0 60px 0;
  }
  body main section.introduction article .introduction-title {
    position: relative;
    margin: 38px 0 25px 0;
  }
  body main section.introduction article .introduction-title h2 {
    color: #1ba9ce;
    text-align: center;
    font-size: 20px;
    line-height: 48px;
    font-weight: bold;
    border-bottom: #1ba9ce 1px solid;
  }
  body main section.introduction article .introduction-title:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    width: 0px;
    height: 0px;
    margin: auto;
    border-style: solid;
    border-color: #1ba9ce transparent transparent transparent;
    border-width: 10px 5px 0 5px;
  }
  body main section.introduction article .chiba-univ {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  body main section.introduction article .chiba-univ-logo {
    width: 100vw;
    height: 300px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.8);
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(./img_braintech/chibauniv.png);
  }
  body main section.introduction article .chiba-univ-logo p {
    margin: 24px 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    color: #1ba9ce;
  }
  body main section.introduction article .chiba-univ-img {
    width: 96%;
    height: 340px;
    margin-top: 30px;
    display: none;
  }
  body main section.introduction article .chiba-univ-txt {
    font-size: 16px;
    line-height: 28px;
    margin: 28px 0;
    text-align: left;
    letter-spacing: 0.08em;
    padding: 0 30px;
  }
  body main section.introduction article .scr-maker {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: center;
  }
  body main section.introduction article .scr-maker-logo {
    width: 100vw;
    height: 300px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url(./img_braintech/maker.png);
    background-color: rgba(255, 255, 255, 0.8);
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    background-size: cover;
  }
  body main section.introduction article .scr-maker-logo p {
    margin: 24px 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    color: #1ba9ce;
  }
  body main section.introduction article .scr-maker-img {
    width: 96%;
    height: 340px;
    margin-top: 30px;
    display: none;
  }
  body main section.introduction article .scr-maker-txt {
    font-size: 16px;
    line-height: 28px;
    margin: 28px 0;
    text-align: left;
    letter-spacing: 0.08em;
    padding: 0 30px;
  }
  body main section {
    margin: 40px auto;
    text-align: center;
  }
  body main section button {
    background-color: #1ba9ce;
    border-radius: 5px;
  }
  body main section button a {
    width: 300px;
    height: 60px;
    color: white;
    font-size: 16px;
  }/* 20211020 MS
  body footer {
    background-color: #1ba9ce;
    width: 100vw;
    height: 300px;
  }*/
}
	/* destyle.css */
/*! de-style.css v1.0.5 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* Reset box-model
   ========================================================================== */

* {
  box-sizing: border-box;
}

::before,
::after {
  box-sizing: inherit;
}

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/* Vertical rhythm
   ========================================================================== */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration)
   ========================================================================== */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition)
   ========================================================================== */

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border: 0;
  border-top: 1px solid;
  margin: 0;
  clear: both;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
  vertical-align: bottom;
}

embed,
object,
iframe {
  border: 0;
  vertical-align: bottom;
}

/* Forms
   ========================================================================== */

button,
input,
optgroup,
select,
textarea {
  vertical-align: middle;
  color: inherit;
  font: inherit;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: 0;
}

/**
 * Remove all Style fro select elements. Does not quite work cross-browser
 */

select {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type='button'],
[type='reset'],
[type='submit'] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

button[disabled],
[type='button'][disabled],
[type='reset'][disabled],
[type='submit'][disabled] {
  cursor: default;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Reset to invisible
 */

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type='checkbox'],
[type='radio'] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix placeholder font properties inheritance.
 */

::-webkit-input-placeholder {
  font: inherit;
}

:-ms-input-placeholder {
  font: inherit;
}

::-ms-input-placeholder {
  font: inherit;
}

::placeholder {
  font: inherit;
}

/**
 * Clickable labels
 */

label[for] {
  cursor: pointer;
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Table
   ========================================================================== */

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

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
}

th {
  text-align: left;
  font-weight: bold;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}
