html {
  /* Adjust font size */
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  /* Font varient */
  font-variant-ligatures: none;
  -webkit-font-variant-ligatures: none;
  /* Smoothing */
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
}

body {
  font-size: 1.4em;
  line-height: 1.714285714285714em;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
  padding: 0;
  background-color: #e4e0d8;
}

header {
  border-top: 5px solid #e60012;
  background: #fff;
}

header h1 {
  width: 1000px;
  margin: 0 auto;
  padding: 15px 0;
}

header h1 img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 750px) {
  header h1 {
    width: auto;
    display: flex;
    align-items: center;
    padding-right: 60px;
    margin-left: 15px;
  }
  header h1 img {
    margin: 0 auto;
    max-width: 218px;
    vertical-align: top;
    width: 100%;
  }
}

.content {
  position: relative;
  background-color: white;
}

@media screen and (min-width: 751px) {
  .content {
    width: 1000px;
    margin: 0 auto 0 auto;
    padding: 1px 0 0 0;
  }
  .content .content-body {
    margin-left: 70px;
    margin-right: 70px;
    font-size: 0.8rem;
    line-height: 1.4rem;
  }
}

@media screen and (max-width: 750px) {
  .content {
    width: 100%;
    margin: 0;
    padding: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .content .content-body {
    margin-left: 3%;
    margin-right: 3%;
    font-size: 0.9rem;
    line-height: 1.6rem;
  }
}

img, picture {
  max-width: 100%;
  display: block;
}

.section {
  margin-bottom: 5%;
}

.red {
  color: #E60012;
}

.yellow {
  color: #FFE100;
}

.container {
  padding: 10px 70px;
  background-color: #E60012;
  color: white;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}

@media screen and (max-width: 750px) {
  .container {
    padding: 10px 8%;
  }
}

@media screen and (max-width: 750px) {
  .pc {
    display: none;
  }
}

@media screen and (min-width: 751px) {
  .sp {
    display: none;
  }
}

.text-center {
  text-align: center;
}

.anchor {
  position: relative;
  top: -80px;
  display: block;
  width: 1px;
  height: 0;
}

@media screen and (max-width: 750px) {
  .anchor {
    top: calc(100vw * -0.08);
  }
}

.clear {
  clear: both;
}

#gallery {
  margin: 50px;
}

@media screen and (max-width: 750px) {
  #gallery {
    margin: 50px 0px;
  }
}

#gallery > ul.tab {
  width: 900px;
  white-space: nowrap;
  overflow: visible;
  background-color: white;
  height: 70px;
  z-index: 1000;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 750px) {
  #gallery > ul.tab {
    height: calc(100vw / 5 * 0.38);
    width: 100%;
  }
}

#gallery > ul.tab li {
  background-image: url(../img20191028/tab.png);
  background-repeat: no-repeat;
  text-indent: -1000em;
  float: left;
  display: block;
  height: 70px;
  cursor: pointer;
}

@media screen and (max-width: 750px) {
  #gallery > ul.tab li {
    height: auto;
    background-size: 500%;
    background-position-y: 0;
  }
}

#gallery > ul.tab li:hover, #gallery > ul.tab li.active {
  background-position-y: 100%;
}

#gallery > ul.tab li:nth-child(1) {
  width: calc(100% / 5);
  background-position-x: calc((100% / 4) * (1 - 1));
}

@media screen and (max-width: 750px) {
  #gallery > ul.tab li:nth-child(1) {
    width: calc(100vw / 5);
    height: calc(100vw / 5 * 0.38);
    background-position-x: calc((100vw / 5) * (1 - 1));
  }
}

#gallery > ul.tab li:nth-child(2) {
  width: calc(100% / 5);
  background-position-x: calc((100% / 4) * (2 - 1));
}

@media screen and (max-width: 750px) {
  #gallery > ul.tab li:nth-child(2) {
    width: calc(100vw / 5);
    height: calc(100vw / 5 * 0.38);
    background-position-x: calc((100vw / 5) * (1 - 2));
  }
}

#gallery > ul.tab li:nth-child(3) {
  width: calc(100% / 5);
  background-position-x: calc((100% / 4) * (3 - 1));
}

@media screen and (max-width: 750px) {
  #gallery > ul.tab li:nth-child(3) {
    width: calc(100vw / 5);
    height: calc(100vw / 5 * 0.38);
    background-position-x: calc((100vw / 5) * (1 - 3));
  }
}

#gallery > ul.tab li:nth-child(4) {
  width: calc(100% / 5);
  background-position-x: calc((100% / 4) * (4 - 1));
}

@media screen and (max-width: 750px) {
  #gallery > ul.tab li:nth-child(4) {
    width: calc(100vw / 5);
    height: calc(100vw / 5 * 0.38);
    background-position-x: calc((100vw / 5) * (1 - 4));
  }
}

#gallery > ul.tab li:nth-child(5) {
  width: calc(100% / 5);
  background-position-x: calc((100% / 4) * (5 - 1));
}

@media screen and (max-width: 750px) {
  #gallery > ul.tab li:nth-child(5) {
    width: calc(100vw / 5);
    height: calc(100vw / 5 * 0.38);
    background-position-x: calc((100vw / 5) * (1 - 5));
  }
}

#gallery > .panel {
  clear: both;
  display: none;
}

#gallery > .panel.active {
  display: block;
}

#gallery > .panel > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#gallery > .panel > ul > li {
  list-style: none;
  width: 20%;
  display: block;
  float: left;
}

@media screen and (max-width: 750px) {
  #gallery > .panel > ul > li {
    width: 25%;
  }
}

#gallery > .panel > ul > li > a {
  border: 2px solid #fff;
  display: block;
}

#gallery #photos {
  display: none;
}

#lightcase-content > div > div.lightcase-inlineWrap > div {
  text-align: center;
}

#lightcase-content > div > div.lightcase-inlineWrap > div > a {
  background-color: #000;
  color: #fff;
  text-decoration: none;
  padding: 5px 10px;
  margin-top: 10px;
  display: inline-block;
  margin-bottom: 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.ml50 {
  margin-left: 50px;
}

@media screen and (max-width: 750px) {
  .ml50 {
    margin-left: 10px;
  }
}

.mr50 {
  margin-right: 50px;
}

@media screen and (max-width: 750px) {
  .mr50 {
    margin-right: 10px;
  }
}

a.btn {
  background-color: #e60012;
  color: #fff;
  line-height: 1em;
  font-weight: bold;
  padding: 20px 50px;
  text-decoration: none;
  margin-top: 5px;
  display: inline-block;
}
