/*-----------------------------------------------------
Reset
----------------------------------------------------- */
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, 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;
}

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;
}

* {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  width: 100%;
  height: auto;
  vertical-align: bottom;
  image-rendering: -webkit-optimize-contrast;
}

body {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-align: justify;
  text-justify: inter-ideograph;
}

b, strong, .bold {
  font-weight: 700;
}

a {
  text-decoration: none;
  color: #333;
  transition: 300ms;
}

#container {
  position: relative;
  overflow: hidden;
}

#contents {
  padding-bottom: 200px;
  margin-top: 80px;
}

.inner {
  max-width: 1000px;
  width: 95%;
  margin: 0 auto;
}

.animation {
  opacity: 0;
  transform: translate(0, 45px);
  transition: 1s;
}
.animation.move {
  opacity: 1;
  transform: translate(0, 0);
}

.sp, .tab {
  display: none;
}

/*-----------------------------------------------------
Header
-----------------------------------------------------*/
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  background: #fff;
  z-index: 10;
}
header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  width: 230px;
}
header .menu {
  display: none;
}
header nav {
  max-width: 630px;
  width: 63%;
}
header nav > ul {
  font-size: 0.875em;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header nav > ul > li {
  position: relative;
}
header nav > ul > li:last-child a {
  font-size: 0.75em;
  color: #fff;
  width: 120px;
  height: 26px;
  background: #1c1c62;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}
header nav > ul > li:last-child a::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url(../images/common/ic_contact.svg) no-repeat center center;
  background-size: 100% auto;
  margin-left: 5px;
}
header nav > ul > li img {
  max-width: 8px;
  width: 8px;
  vertical-align: -0.2em;
  margin-left: 5px;
}
header nav > ul > li:not(:last-child) > a {
  display: flex;
  align-items: center;
  position: relative;
  height: 26px;
}
header nav > ul > li:not(:last-child) > a::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  margin: auto;
  width: 0;
  height: 2px;
  background: #333;
  transition: 0.3s;
}
header nav > ul > li.dropdown ul {
  background: #fff;
  position: absolute;
  left: -15px;
  white-space: nowrap;
  margin: 0 auto;
  width: 110px;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: 0.3s;
  z-index: 1;
  padding: 5px 0;
}
header nav > ul > li.dropdown ul li {
  padding: 10px 15px;
}
header nav > ul > li.dropdown a::before {
  display: none;
}

/*-----------------------------------------------------
Footer
-----------------------------------------------------*/
footer {
  background: #1c1c62;
  position: relative;
}
footer::after {
  content: "";
  width: 100%;
  height: 90px;
  background: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
}
footer .inner {
  position: relative;
  z-index: 2;
}
footer .page-top {
  position: absolute;
  max-width: 1000px;
  width: 95%;
  top: -40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 4;
}
footer .page-top a {
  display: block;
  width: 70px;
  height: 70px;
  margin-left: auto;
}
footer .page-top a img {
  width: 70px;
  filter: drop-shadow(4px 4px 4px rgba(51, 51, 51, 0.3));
}
footer #foot-top {
  color: #fff;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 55px 0;
}
footer #foot-top .info {
  max-width: 500px;
  width: 49%;
}
footer #foot-top .logo {
  width: 228px;
}
footer #foot-top dl {
  font-size: 0.75em;
  line-height: 1.5em;
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}
footer #foot-top dt {
  width: 6em;
}
footer #foot-top dd {
  width: calc(100% - 6em);
}
footer #foot-top > ul {
  font-size: 0.875em;
  font-weight: 700;
  display: flex;
  justify-content: space-around;
  max-width: 500px;
  width: 49%;
  border-left: 1px solid #4a4da0;
}
footer #foot-top > ul > li a {
  color: #fff;
  position: relative;
}
footer #foot-top > ul > li a::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  margin: auto;
  width: 0;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}
footer #foot-top > ul > li ul li {
  margin-top: 20px;
}
footer #foot-btm {
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
footer #foot-btm .bnr {
  order: 1;
  width: 200px;
}
footer #foot-btm .bnr a {
  display: block;
  width: 200px;
}
footer #foot-btm small {
  order: 2;
  font-size: 0.625em;
  width: 310px;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}
footer #foot-btm ul {
  order: 3;
  font-size: 0.875em;
  display: flex;
  width: 310px;
  justify-content: flex-end;
  border-right: 1px solid #333;
}
footer #foot-btm ul li {
  border-left: 1px solid #333;
}
footer #foot-btm ul li a {
  text-align: center;
  padding: 0 1.5em;
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  li:hover.dropdown ul {
    height: auto;
    opacity: 1;
  }
  li:hover.dropdown img {
    transform: rotate(90deg);
  }
  li:hover a:hover::before {
    width: 100%;
  }
  footer #foot-top > ul > li a:hover::before {
    width: 100%;
  }
}
@media screen and (max-width: 960px) {
  .tab {
    display: block;
  }
  /*-----------------------------------------------------
  Header
  -----------------------------------------------------*/
  header .menu {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 35px;
    height: 35px;
  }
  header .menu::before, header .menu::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #333;
    transition: 0.3s;
  }
  header .menu::before {
    transform: translateY(-7px);
  }
  header .menu::after {
    transform: translateY(7px);
  }
  header nav {
    max-width: initial;
    width: 106%;
    height: calc(100vh - 80px);
    position: fixed;
    top: 80px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    right: -106%;
  }
  header nav > ul {
    flex-direction: column;
    align-items: flex-start;
    max-width: 500px;
    width: 70%;
    height: 80%;
    margin: auto;
    position: relative;
  }
  header nav > ul::after {
    content: "Copyright(C) 2022 UMEMURAHONTEN Co.Ltd.All Rights Reserved";
    font-size: 0.625rem;
    font-weight: 400;
    position: absolute;
    right: 0;
    bottom: 0;
    -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
  }
  header nav > ul > li:last-child a {
    font-size: 1.128rem;
    width: 180px;
    height: 40px;
  }
  header nav > ul > li:last-child a::after {
    width: 17px;
    height: 17px;
  }
  header nav > ul > li img {
    margin-left: 10px;
    transform: rotate(90deg);
  }
  header nav > ul > li:not(:last-child) > a {
    height: 30px;
    margin-left: 10px;
  }
  header nav > ul > li.dropdown ul {
    position: static;
    width: auto;
    height: auto;
    opacity: 1;
    padding: 0;
  }
  header nav > ul > li.dropdown ul li {
    padding: 10px;
  }
  header nav > ul > li.dropdown a::before {
    display: none;
  }
  .open header .menu::before {
    transform: translateY(0) rotate(45deg);
  }
  .open header .menu::after {
    transform: translateY(0) rotate(-45deg);
  }
  /*-----------------------------------------------------
  Footer
  -----------------------------------------------------*/
  footer .page-top {
    position: absolute;
    max-width: 1000px;
    width: 95%;
    top: -40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 4;
  }
  footer .page-top a {
    display: block;
    width: 70px;
    height: 70px;
    margin-left: auto;
  }
  footer .page-top a img {
    filter: drop-shadow(4px 4px 4px rgba(51, 51, 51, 0.3));
  }
  footer #foot-top {
    flex-direction: column;
    align-items: center;
  }
  footer #foot-top .info {
    width: 100%;
    margin-top: 70px;
  }
  footer #foot-top > ul {
    justify-content: space-between;
    width: 100%;
    border-left: none;
    order: -1;
  }
  footer #foot-btm small {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .sp {
    display: block;
  }
  #contents {
    margin-top: 60px;
    padding-bottom: 100px;
  }
  /*-----------------------------------------------------
  Header
  -----------------------------------------------------*/
  header {
    height: 60px;
  }
  header .logo {
    width: 215px;
  }
  header nav {
    height: calc(100vh - 60px);
    top: 60px;
  }
  /*-----------------------------------------------------
  Footer
  -----------------------------------------------------*/
  footer::after {
    height: 190px;
  }
  footer #foot-top {
    padding: 1px 0 35px;
  }
  footer #foot-top .info {
    max-width: 285px;
    width: 100%;
  }
  footer #foot-top .logo {
    width: 255px;
  }
  footer #foot-top > ul {
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 285px;
  }
  footer #foot-top > ul > li {
    width: 34%;
    margin-top: 55px;
  }
  footer #foot-top > ul > li:nth-child(3) {
    order: 5;
  }
  footer #foot-top > ul > li a {
    color: #fff;
    position: relative;
  }
  footer #foot-top > ul > li a::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    margin: auto;
    width: 0;
    height: 2px;
    background: #fff;
    transition: 0.3s;
  }
  footer #foot-top > ul > li ul li {
    margin-top: 20px;
  }
  footer #foot-btm {
    height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  footer #foot-btm .bnr {
    width: 300px;
  }
  footer #foot-btm .bnr a {
    width: 100%;
  }
  footer #foot-btm ul {
    width: 300px;
    justify-content: space-between;
    margin-top: 25px;
  }
  footer #foot-btm ul li:nth-child(1) {
    width: 113px;
  }
}