header { width: 100%; }
header .relv { height: 130px; }
header a { text-decoration: none; }
header ul { list-style-type: none; }
header .h1z { position: absolute; top: 30px; left: 0px; z-index: 10; }
header .uelnk01 { position: absolute; top: 10px; right: 200px; margin: 0px; padding: 0px; width: calc(100% - 300px); font-size: 0.72rem; line-height: 100%; display: none; flex-flow: wrap; justify-content: flex-end; align-items: flex-start; }
header .uelnk01 li { position: relative; margin: 0px; padding: 0px; }
header .uelnk01 li:first-of-type { display: none; }
header .uelnk01 li > a, header .uelnk01 li .mj { display: inline-block; padding: 9px 7px; }
header .searchebox { position: absolute; top: 10px; right: 0px; width: 190px; border: 1px solid #999999; display: none; }
header .searchebox form { display: flex; flex-flow: row; align-items: flex-start; padding: 3px 0px 2px; }
header .searchebox input[type="text"] { display: block; margin: 0px 4px 0px 3px; padding: 0px; width: calc(100% - 31px); border: 0px; outline: 0px; }
header .searchebox input::placeholder { color: #cccccc; }
header .searchebox input[type="image"] { display: block; width: 20px; }
header .kinou { position: absolute; top: 100%; right: 0px; padding: 10px; width: 350px; font-size: 13px; line-height: 26px; display: none; flex-flow: wrap; justify-content: center; align-items: flex-start; background-color: #ffffff; color: #000000; border: 1px solid #cccccc; z-index: 20; box-shadow: #cccccc 0px 0px 5px; transform: translateX(50%); }
header .kinou #kinou01 { display: flex; flex-flow: row; justify-content: flex-end; }
header .kinou #kinou02 { padding: 0px 0px 0px 15px; display: flex; flex-flow: row; justify-content: flex-end; }
header .kinou ul { margin: 0px 0px 0px 3px; padding: 0px; display: flex; flex-flow: row; justify-content: flex-end; text-align: center; }
header .kinou li { margin: 0px 0px 0px 3px; padding: 0px; border: 1px solid #999999; cursor: pointer; }
header .kinou #kinou02 li { width: 30px; }
header .kinou #kinou01 li { width: 38px; }
header .kinou #kinou02 li:nth-of-type(2) { background-color: #000000; color: #ffffff; border-color: #000000; }
header .kinou #kinou02 li:nth-of-type(3) { background-color: #0000ff; color: #ffff00; border-color: #0000ff; }
header .kinou .mo { flex: 1 1 0%; text-align: right; line-height: 26px; }
header .uelnk02 { position: absolute; top: 60px; right: 0px; margin: 0px; padding: 0px; font-size: 0.83rem; line-height: 100%; display: none; flex-flow: row; justify-content: flex-end; }
header .uelnk02 li { position: relative; margin: 0px 0px 0px 10px; padding: 1px 0px 0px 19px; }
header .uelnk02 li:first-of-type { display: none; }
header .uelnk02 li::before { content: ""; position: absolute; top: 0px; left: 0px; width: 16px; height: 16px; border-radius: 50%; }
header .uelnk02 li::after { content: ""; position: absolute; top: 5px; left: 4px; width: 5px; height: 5px; border-top: 1px solid #ffffff; border-right: 1px solid #ffffff; transform: rotate(45deg); }
header .uelnk02 a { display: inline-block; }
header .uelnk02 a:hover { border-color: #666666; }
header .addr { position: absolute; bottom: 10px; right: 0px; margin: 0px; padding: 1px 0px 0px; width: 500px; display: none; flex-flow: row; justify-content: flex-end; align-items: center; }
header .addr li { margin: 0px; padding: 0px; }
header .addr .toi { display: inline-block; padding: 1px 10px; border: 1px solid #777777; text-decoration: none; font-size: 0.66rem; line-height: 125%; }
header .addr .tel { position: relative; display: inline-block; margin-left: 10px; padding-left: 25px; font-size: 1.2rem; line-height: 100%; font-weight: bold; letter-spacing: -0.01em; }
header .addr .tel div { position: absolute; top: 50%; left: 0px; width: 22px; height: 22px; border-radius: 50%; transform: translateY(-50%); background-color: #333333; }
header .addr .tel img { width: 100%; }
header .addr .ml { display: block; margin: 0px 0px 0px 5px; width: 22px; }
header .bgrmn { position: absolute; top: 0px; right: 0px; width: 60px; height: 60px; cursor: pointer; }
header nav { margin: 0px; padding: 0px; width: 100%; font-size: 0.8rem; line-height: 125%; text-align: center; border-top: 1px solid #777777; font-weight: bold; }
header nav ul { margin: 0px auto; padding: 0px; list-style-type: none; width: 100%; max-width: 1180px; display: flex; flex-flow: row; }
header nav li { flex-basis: 30%; margin: 0px; padding: 0px; border-left: 1px solid #777777; box-sizing: border-box; }
header nav a { position: relative; display: block; width: 100%; height: 60px; }
header nav a > div { position: absolute; top: 50%; left: 0px; padding: 0px; width: 100%; transform: translateY(-50%); }
header nav li:nth-of-type(1) { flex-basis: 28%; border-left: 0px; }
header nav li:nth-of-type(2) { flex-basis: 24%; }
header nav li:nth-of-type(3) { flex-basis: 24%; }
header nav li:nth-of-type(5) { display: none; }
header nav li:nth-of-type(4) { display: none; }
header nav li:nth-of-type(6) { flex-basis: 24%; border-right: 1px solid #777777; }
@media print, screen and (min-width: 360px) {
  header nav li:nth-of-type(1) { flex-basis: 25%; }
  header nav li:nth-of-type(2) { flex-basis: 25%; }
  header nav li:nth-of-type(3) { flex-basis: 25%; }
  header nav li:nth-of-type(6) { flex-basis: 25%; }
}
@media print, screen and (min-width: 400px) {
  header nav li:nth-of-type(1) { flex-basis: 26%; }
  header nav li:nth-of-type(2) { flex-basis: 20%; }
  header nav li:nth-of-type(3) { flex-basis: 18%; }
  header nav li:nth-of-type(4) { flex-basis: 18%; display: block; }
  header nav li:nth-of-type(6) { flex-basis: 18%; }
}
@media print, screen and (min-width: 500px) {
  header nav li:nth-of-type(1) { flex-basis: 22%; }
  header nav li:nth-of-type(2) { flex-basis: 16%; }
  header nav li:nth-of-type(3) { flex-basis: 14%; }
  header nav li:nth-of-type(5) { flex-basis: 18%; display: block; }
  header nav li:nth-of-type(4) { flex-basis: 14%; }
  header nav li:nth-of-type(6) { flex-basis: 16%; }
}
@media print, screen and (min-width: 580px) {
  header .relv { height: 130px; }
  header .h1z { top: 32px; }
  header .bgrmn { display: none; }
  header nav { font-size: 0.96rem; line-height: 125%; }
  header nav a { height: 68px; }
  header .uelnk02, header .addr { display: flex; }
  header .searchebox { display: block; }
}
@media print, screen and (min-width: 730px) {
  header .uelnk01 { display: flex; }
}
@media print, screen and (min-width: 768px) {
  header nav ul { width: 96%; max-width: 1180px; }
  header nav li:nth-of-type(1) { border-left: 1px solid #777777; }
  header .uelnk02 li:first-of-type { display: block; }
  header .uelnk01 li:first-of-type { display: block; }
}
@media screen and (min-width: 900px) {
  header nav li br { display: none; }
  header nav li:nth-of-type(5) { letter-spacing: -0.1em; }
}
