@charset "UTF-8";

body, h1, h2, h3, h4, h5, h6, textarea, th, ul, p, select, table, td, li, ol, input {
  text-align: center;
  margin: 0 auto;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}

.header {
  position: fixed;
  top: 5%;
  z-index: 100;
  width: 90%;
  height: 10%;
}

.area_logo {
  width: 90%;
  margin: 0 auto;
  padding: 20px;
}

.area_logo h1 {
  position: absolute;
}

.area_logo .sphokidz_logo {
  display: block;
  overflow: hidden;
  width: 128px;
  height: 95px;
  text-indent: 101%;
  white-space: nowrap;
  background: url('/images/sphokidz_logo.png') no-repeat;
}

h1 {
  font-size: 30px;
  font-weight: bold;
  margin: 30px 0;
  text-shadow: 0 1px #ffffff, 4px 4px 0 #dad7d7;
}

h2 {
  font-size: 25px;
  font-weight: bold;
  margin: 20px 0;
}

span.product {
  color: #ff3d00;
  font-size: 30px;
}

h3 {
  font-size: 20px;
  text-align: left;
  margin-top: 30px;
}

section {
  margin: 0 auto;
  width: 70%;
}

table {
  width: 100%;
  border: 1px solid #a4a4a4;
  border-collapse: collapse;
}

th, td {
  border: 1px solid #a4a4a4;
  padding: 5px 10px;
}

th {
  background-color: #ffc100;
  color: #ffffff;
}

td {
  text-align: left;
  font-size: 0.9em;
}

.danger {
  color: #ff3d00;
}

section img {
  margin: 30px auto 60px;
}

@media (max-width: 768px) {
  .header {
    position: fixed;
    top: -2%;
    z-index: 100;
    width: 90%;
    height: 15%;
  }

  .area_logo {
    width: 90%;
    margin: 0 auto;
    padding: 10px;
  }

  .area_logo .sphokidz_logo {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    background: url('/images/sphokidz_logo.png') no-repeat;
    background-size: 90px auto;
  }

  h2 {
    font-size: 0.9em;
  }

  span.product {
    font-size: 1.1em;
  }

  h3 {
    font-size: 0.8em;
    margin-top: 20px;
  }

  section {
    width: 90%;
  }

  table {
    border: none;
  }

  th {
    font-size: 0.6em;
  }

  td {
    font-size: 0.6em;
  }

  table, tr, th, td {
    display: block;
  }

  th, td {
    border: none;
    padding: 5px 10px;
  }

  tr {
    border-left: 1px solid #a4a4a4;
    border-right: 1px solid #a4a4a4;
    border-bottom: 1px solid #a4a4a4;
  }

  tr:first-child {
    border-top: 1px solid #a4a4a4;
  }

  table thead tr:first-child {
    display: none;
  }

  table td:first-child {
    font-weight: bold;
  }

  table td:not(:first-child) {
    position: relative;
    text-align: left;
  }

  table td:not(:first-child):before {
    font-weight: bold;
    left: 0;
  }

  table tbody td:nth-child(2):before {
    content: '주소 : ';
  }

  table tbody td:nth-child(3):before {
    content: '위치 : ';
  }

  section img {
    margin: 15px auto 30px;
    width: 50%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .header {
    position: fixed;
    top: 6%;
    z-index: 100;
    width: 90%;
    height: 15%;
  }

  .area_logo {
    width: 90%;
    margin: 0 auto;
    padding: 10px;
  }

  .area_logo .sphokidz_logo {
    display: block;
    overflow: hidden;
    text-indent: 101%;
    white-space: nowrap;
    background: url('/images/sphokidz_logo.png') no-repeat;
    background-size: 134px auto;
  }
}
