@charset "UTF-8";
header {
  background: #FF8E1D; /* Old browsers */
  background: -moz-linear-gradient(left, #FF8E1D 0%, #FF8E1D 50%, #c96e1b 50%, #c96e1b 50%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #FF8E1D 0%, #FF8E1D 50%, #c96e1b 50%, #c96e1b 50%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #FF8E1D 0%, #FF8E1D 50%, #c96e1b 50%, #c96e1b 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="$mainColor", endColorstr="#c96e1b",GradientType=1 ); /* IE6-9 */
}
header > div {
  position: relative;
}
header > div.header_contents {
  background-color: #fff;
  height: 90px;
  width: 100%;
  padding: 0 30px;
  position: fixed;
  top: 0;
  align-items: center;
  z-index: 11;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
header > div.header_contents figure {
  width: 138px;
  position: absolute;
  left: 30px;
  z-index: 11;
}
header > div.header_contents figure a img {
  width: 100%;
}
header > div.header_contents > .flex {
  position: absolute;
  right: 30px;
  z-index: 11;
}
header > div.header_contents > .flex nav {
  display: flex;
  align-items: center;
  margin-right: 30px;
}
header > div.header_contents > .flex nav a {
  text-decoration: none;
  white-space-collapse: break-spaces;
  color: #FF8E1D;
  font-size: 20px;
  font-weight: bold;
  border: 2px solid #FF8E1D;
  padding: 10px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  margin-right: 17px;
  background-color: #fff;
  height: 54px;
}
header > div.header_contents > .flex nav a:last-child {
  margin-right: 0;
}
header > div.header_contents > .flex nav a span.menu-icn {
  display: flex;
}
header > div.header_contents > .flex nav a span.menu-text {
  margin: 0 16px;
  display: none;
}
header > div.header_contents > .flex nav a > svg {
  display: none;
}
@media only screen and (max-width: 768px) {
  header > div.header_contents > .flex nav {
    flex-wrap: wrap;
    margin: 20px 0 0;
  }
}
@media only screen and (max-width: 768px) and (max-width: 768px) {
  header > div.header_contents > .flex nav a {
    margin: 0 0 20px;
    width: 100%;
    justify-content: space-around;
  }
}
@media only screen and (max-width: 768px) {
  header > div.header_contents > .flex nav a span.menu-text {
    display: inline-block !important;
    height: 40px;
    padding: 0px;
    width: auto;
    opacity: 1;
  }
  header > div.header_contents > .flex nav a svg {
    display: inline-block !important;
    height: 29px;
    padding: 0px;
    margin: 0px;
    width: 29px;
    opacity: 1;
  }
}
header > div.header_contents > .flex #header_contact {
  height: 50px;
  width: 216px;
  border: 2px solid #FF8E1D;
  background: #FF8E1D;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
header > div.header_contents > .flex #header_contact span {
  margin-left: 10px;
}
header > div.header_contents > .flex #header_contact:hover {
  background: #fff;
  color: #FF8E1D;
}
header > div.header_contents > .flex #header_contact:hover svg path {
  fill: #FF8E1D;
}
@media only screen and (max-width: 768px) {
  header > div.header_contents > .flex #header_contact {
    width: 100%;
  }
}
@media only screen and (max-width: 768px) {
  header > div.header_contents > .flex {
    flex-direction: column-reverse;
    justify-content: flex-end;
    position: fixed;
    top: 89px;
    right: -80vw;
    transition: right 0.5s ease;
    bottom: 0;
    width: 80%;
    padding: 20px 10px 20px 10px;
    background: #fff;
  }
}
@media only screen and (max-width: 768px) {
  header > div.header_contents {
    justify-content: flex-end;
  }
}
header > div#top-image {
  height: 100vh;
}
header > div#top-image > div {
  background: url("/img/common/bg_main01.webp");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100%;
  position: absolute;
  bottom: 0;
  z-index: 10;
  align-items: center;
  justify-content: center;
}
header > div#top-image > div figure {
  padding: 16vh 3.5vw;
  background-color: rgba(255, 255, 255, 0.8);
}
header > div#top-image > div figure img {
  max-width: 460px;
  width: 100%;
}
header > div#pages-header {
  height: 410px;
  background: url(/img/common/bg_logo.webp) #FFF3E9 no-repeat;
  background-position: top 95px right 9%;
}
header > div#pages-header .flex {
  align-items: center;
  justify-content: center;
  padding-top: 90px;
  height: 100%;
}
header > div#pages-header .flex h1 {
  color: #FF8E1D;
  font-size: 40px;
  text-align: center;
  line-height: 40px;
}
header > div#pages-header .flex h1 span {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}
header #hamb {
  display: none;
}
@media only screen and (max-width: 768px) {
  header #hamb {
    display: block;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
  }
  header #hamb span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #333;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  header #hamb span::before, header #hamb span::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background-color: #333; /* 3本線の色を指定 */
    position: absolute;
    transition: transform 0.3s ease;
  }
  header #hamb span::before {
    top: -10px;
  }
  header #hamb span::after {
    bottom: -10px;
  }
  header #hamb.active span {
    background-color: transparent;
  }
  header #hamb.active span::before {
    transform: translateY(10px) rotate(45deg);
  }
  header #hamb.active span::after {
    transform: translateY(-10px) rotate(-45deg);
  }
}