@charset "UTF-8";
html {
  word-wrap: break-word;
  overflow-x: hidden;
  font-size: 62.5%;
  width: 100vw;
  min-height: 100vh;
}
@media screen and (max-width: 1300px) {
  html {
    font-size: 50%;
  }
}

body {
  background-color: #FFF000;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
  display: grid;
  font-size: 1.6rem;
  margin-top: 3rem;
  min-height: 100vh;
  justify-content: center;
}
@media screen and (max-width: 999px) {
  body {
    width: 100vw;
    margin: 0;
    padding: 0;
  }
}

a {
  display: block;
  color: #fff;
}
a:hover {
  text-decoration: underline;
}
a[target=_blank]::after {
  background: url(./img/newopen.svg) left top no-repeat;
  background-size: cover;
  display: inline-block;
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  position: relative;
  top: 0.2rem;
  left: 0.5rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: #000 1px solid;
}

#container {
  display: grid;
  grid-template: "left main right" max-content "left footer right" 4rem/20rem 82rem 20rem;
  column-gap: 2rem;
}
@media screen and (max-width: 999px) {
  #container {
    grid-template: "left" 7rem "main" auto "right" auto "footer" 4rem/100vw;
    column-gap: 0;
  }
}

#leftbar {
  background-color: #000;
  grid-area: left;
  height: 93rem;
}
@media screen and (max-width: 999px) {
  #leftbar {
    height: auto;
  }
}
#leftbar h1 {
  text-align: center;
  font-size: 2.21rem;
  width: 16rem;
  margin: 0 auto;
  padding-top: 4rem;
  letter-spacing: 0.1rem;
}
@media screen and (max-width: 999px) {
  #leftbar h1 {
    width: 100vw;
    padding-top: 1rem;
    padding-left: 1rem;
  }
}
#leftbar h1 a {
  font-weight: bold;
  text-decoration: wavy;
}
@media screen and (max-width: 999px) {
  #leftbar h1 a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 7rem;
    background: url(./img/logo.svg) no-repeat 0.8rem top;
    background-size: 5rem 5rem;
    width: auto;
  }
}
@media screen and (max-width: 999px) {
  #leftbar h1 img {
    display: none;
  }
}
@media screen and (max-width: 999px) {
  #leftbar h1 span {
    margin-top: -1.5rem;
  }
}
@media screen and (max-width: 999px) {
  #leftbar h1 br {
    display: none;
  }
}
#leftbar aside {
  margin-top: 3rem;
}
@media screen and (max-width: 999px) {
  #leftbar aside {
    position: fixed;
    right: 0;
    top: 5.5rem;
    margin: 0;
    background: #000;
    width: 50vw;
  }
}
#leftbar li {
  line-height: 3.23;
}
@media screen and (max-width: 999px) {
  #leftbar li {
    border-bottom: #FFF000 1px solid;
  }
}
@media screen and (max-width: 999px) {
  #leftbar li:last-child {
    border: 0;
  }
}
#leftbar li a {
  font-weight: bold;
  padding-left: 4.5rem;
}
#leftbar li a::before {
  background-image: url(./img/navi_icon.svg);
  content: "";
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  margin-right: 1rem;
}
#leftbar li a:hover {
  text-decoration: none;
  border-bottom: 3px solid #FFF000;
  transition: all 0.1s;
}
@media screen and (max-width: 999px) {
  #leftbar li a:hover {
    bottom: 0;
  }
}
#leftbar li a:hover::before {
  background-image: url(./img/navi_icon_over.svg);
  content: "";
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  margin-right: 1rem;
}
#leftbar button {
  display: none;
}
@media screen and (max-width: 999px) {
  #leftbar button {
    display: block;
    position: fixed;
    top: 1.5rem;
    right: 1.7rem;
    cursor: pointer;
  }
}
#leftbar button.active {
  background: url(./img/menubtn_close.svg) no-repeat;
  background-size: cover;
  width: 4rem;
  height: 4rem;
}
#leftbar button.active img {
  visibility: hidden;
}
@media screen and (max-width: 999px) {
  #leftbar button + ul {
    display: none;
    position: fixed;
    top: 5.5rem;
    right: 2rem;
    width: 50vw;
    height: auto;
    background-color: #000;
    animation-name: fadeIn;
    transition: all 0.2s;
  }
  #leftbar button + ul[aria-hidden=true] {
    display: none;
  }
  #leftbar button + ul[aria-hidden=false] {
    display: block;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-5rem);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

#blognav {
  grid-area: right;
  background: #000;
  font-size: 1.44rem;
  padding: 1rem 0;
  margin: 0;
  height: 93rem;
}
@media screen and (max-width: 999px) {
  #blognav {
    margin-top: 3rem;
    margin-left: 2rem;
    margin-right: 2rem;
    height: auto;
  }
}
#blognav ul {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
}
#blognav ul + dl {
  margin-top: 2rem;
  row-gap: 1rem;
}
@media screen and (max-width: 999px) {
  #blognav ul:nth-of-type(2) {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 999px) and (max-width: 999px) {
  #blognav ul:nth-of-type(2) li {
    width: 14rem;
  }
}
#blognav nav + a {
  padding-left: 2rem;
  margin-top: 4rem;
}
@media screen and (max-width: 999px) {
  #blognav nav + a {
    font-size: 1.8rem;
  }
}
#blognav nav + a span {
  padding-left: 1.5rem;
}
#blognav li {
  padding-left: 2rem;
}
@media screen and (max-width: 999px) {
  #blognav li {
    font-size: 1.8rem;
  }
}
#blognav h4 {
  color: #fff;
  font-weight: bold;
  padding-left: 1rem;
  margin: 1rem 0;
}
@media screen and (max-width: 999px) {
  #blognav h4 {
    font-size: 2rem;
  }
}
#blognav h4:nth-of-type(2) {
  margin-top: 2rem;
}
#blognav a::before {
  background-image: url(./img/navi_icon.svg);
  content: "";
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}
#blognav a:hover {
  text-decoration: none;
}
#blognav a:hover::before {
  background-image: url(./img/navi_icon_over.svg);
  content: "";
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}

main {
  grid-area: main;
  margin-bottom: 2rem;
}
@media screen and (max-width: 999px) {
  main {
    margin: 0 2rem;
  }
}
main#default .inner {
  padding-bottom: 1rem;
}
main.normal a {
  color: #00f;
}

section {
  background: #000;
}

footer {
  grid-area: footer;
  background: #000;
}
@media screen and (max-width: 999px) {
  footer {
    margin-top: 2rem;
  }
}
footer .inner {
  display: flex;
  background: #000;
  font-size: 1.44rem;
  padding-left: 25rem;
  padding-right: 1rem;
  height: 4rem;
  margin: 0 auto;
}
@media screen and (max-width: 999px) {
  footer .inner {
    margin: 0;
    padding-left: 4.1rem;
  }
}
footer .inner ul {
  display: flex;
  align-items: center;
  column-gap: 3rem;
  border-right: 1px solid #fff;
  padding-right: 3rem;
  height: 4rem;
}
footer .inner li {
  display: flex;
  align-items: center;
}
footer .inner li a {
  padding-top: 0.5rem;
}
footer .inner li a::before {
  background-image: url(./img/navi_icon.svg);
  content: "";
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}
footer .inner li a:hover::before {
  background-image: url(./img/navi_icon_over.svg);
  content: "";
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}
footer .inner p {
  display: flex;
  align-items: center;
  margin-left: auto;
}
@media screen and (max-width: 999px) {
  footer .inner p {
    padding-right: 2rem;
  }
}
footer .inner p a::before {
  background-image: url(./img/pagetop.svg);
  content: "";
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}
footer .inner p a:hover::before {
  background-image: url(./img/pagetop_over.svg);
  content: "";
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}
footer small {
  font-size: 1.12rem;
  display: block;
  width: 82rem;
  margin: 0 auto;
  text-align: right;
  padding-top: 0.5rem;
}
@media screen and (max-width: 999px) {
  footer small {
    width: 100%;
    padding-right: 2rem;
  }
}

#firstview {
  background: url(./img/firstview.webp), linear-gradient(180deg, rgb(50, 126, 201) 0%, rgb(250, 251, 252) 100%) no-repeat;
  background-size: cover;
  height: 28.9rem;
  margin-bottom: 2rem;
  width: 100%;
}
#firstview span {
  display: block;
  padding-top: 7rem;
  font-size: 3.2rem;
  color: #fff;
  font-weight: bold;
  text-align: center;
  text-shadow: 0px 0px 10px #000, 0px 0px 10px #000, 0px 0px 10px #000, 0px 0px 10px #000;
}
@media screen and (max-width: 999px) {
  #firstview span {
    margin-top: 0;
  }
}
@media screen and (max-width: 575px) {
  #firstview span {
    font-size: clamp(1.8rem, 0.545rem + 6.27vw, 2.8rem);
  }
}

#top {
  padding: 1rem;
  width: 100%;
}
#top h2 {
  color: #FFF000;
  font-weight: bold;
  font-size: 2.24rem;
  margin-bottom: 2rem;
}
#top a:hover {
  text-decoration: underline;
}
#top p {
  margin-top: 1rem;
  text-align: right;
  font-size: 1.5rem;
}
#top p a::before {
  background-image: url(./img/navi_icon.svg);
  content: "";
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}
#top p a:hover::before {
  background-image: url(./img/navi_icon_over.svg);
  content: "";
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}
#top #news a {
  padding: 1rem;
  color: #fff;
}
#top #news a:nth-child(odd) {
  background: #222;
}

.blog {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}
.blog dl {
  display: flex;
  flex-wrap: nowrap;
}
@media screen and (max-width: 999px) {
  .blog dl {
    flex-direction: column;
    row-gap: 1rem;
  }
}
@media screen and (max-width: 575px) {
  .blog dl {
    row-gap: 0.5rem;
  }
}
.blog dt {
  width: 18rem;
}
@media screen and (max-width: 575px) {
  .blog dt {
    font-weight: bold;
  }
}
.blog dd {
  width: 65.2rem;
}
.blog dt,
.blog dd {
  line-height: 1.2;
}
@media screen and (max-width: 999px) {
  .blog dt,
  .blog dd {
    width: auto;
  }
}
.blog a {
  color: #000;
}
.blog .ymlist li {
  list-style: none !important;
}
.blog .ymlist li:nth-of-type(-n+12) {
  display: none;
}
.blog .ymlist li a {
  display: block;
  line-height: 2;
}
.blog .ymlist li a::before {
  background-image: url(./img/navi_icon.svg);
  content: "";
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}
.blog .ymlist li a:hover::before {
  background-image: url(./img/navi_icon_over.svg);
  content: "";
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}

.inner {
  background: #000;
}
.inner .innerbox {
  background: linear-gradient(#fff7ed 0%, #fffff0 100%);
  border-radius: 0.8rem;
  margin: 0 1rem;
  margin-bottom: 1.5rem;
  padding: 2rem 0.8rem;
  width: 80rem;
}
@media screen and (max-width: 999px) {
  .inner .innerbox {
    width: 99%;
  }
}
.inner .innerbox .flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}
@media screen and (max-width: 999px) {
  .inner .innerbox .flex {
    flex-direction: column;
    align-items: center;
  }
}
.inner .innerbox a {
  display: inline;
}
.inner .innerbox ul {
  margin-bottom: 1rem;
}
.inner .innerbox li {
  list-style: decimal;
  list-style-position: inside;
  line-height: 1.5;
}
.inner .innerbox .inner {
  width: 66.8rem;
  margin: 0 auto;
  background: transparent;
}
.inner .innerbox .inner h3 {
  font-weight: bold;
  border-top: #000 1px solid;
  padding-top: 0.2rem;
}
.inner .innerbox .inner h3:first-child {
  border-top: 0;
}
.inner .innerbox .inner dl {
  display: flex;
  border-top: #000 1px solid;
  line-height: 2;
  margin: 0.1rem 0;
  padding: 0.2rem 0;
  line-height: 1.4;
}
.inner .innerbox .inner dt {
  font-weight: bold;
  margin-left: 1rem;
  width: 13.4rem;
}
.inner .innerbox img:hover {
  opacity: 0.7;
}
.inner h1,
.inner h2 {
  color: #fff;
  background: linear-gradient(to bottom, #000 0%, #0f060f 25%, #595959 70%, #222222 100%);
  font-weight: bold;
  padding-left: 2rem;
  padding-top: 1rem;
  line-height: 1.5;
}
.inner h1 {
  font-size: 2.4rem;
  padding-top: 1rem;
  width: auto;
  text-align: left;
  letter-spacing: normal;
}
.inner h2 {
  font-size: 1.7rem;
}
.inner h3 {
  font-weight: bold;
}
.inner h3:nth-of-type(2) {
  margin-top: 2rem;
}
.inner h4 {
  font-weight: bold;
}
.inner p {
  line-height: 1.5;
  padding: 0.8rem;
}
.inner p.mt2 {
  margin-top: 2rem;
}
.inner p.bold {
  font-weight: bold;
  font-size: 1.92rem;
}
.inner figure {
  margin-bottom: 2rem;
  margin-left: 1rem;
}
.inner figcaption {
  margin-top: 1rem;
}

#service h2 {
  font-size: 1.6rem;
  background: none;
  color: #000;
  padding: 0;
}
#service h2::before {
  content: "・";
}
#service dt {
  font-size: 1.6rem;
  font-weight: bold;
  padding-bottom: 1rem;
  padding-top: 1.5rem;
}
#service dt::before {
  content: "・";
}
#service dd {
  margin-left: 1.6rem;
}
#service p {
  margin-left: 3.3rem;
}
@media screen and (max-width: 575px) {
  #service p {
    margin-left: 1rem;
  }
}
#service h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
}
@media screen and (max-width: 575px) {
  #service h3 {
    margin: 2rem 0;
  }
}
#service img {
  border: #000 1px solid;
  margin-bottom: 1.5rem;
  margin-left: 3.5rem;
}
@media screen and (max-width: 575px) {
  #service img {
    margin: 0 auto;
  }
}

#video ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 2rem;
}
#video li {
  text-align: center;
  list-style: none;
  width: 36rem;
}
#video li > h2 {
  font-size: 1.44rem;
}
#video h2 {
  color: #000;
  background: none;
}
#video video {
  width: 36rem;
  border: #000 1px solid;
}
#video p {
  font-size: 1.4rem;
  line-height: 1.2;
}
#video a + h3 {
  margin-top: 1rem;
}

time {
  color: #fff;
  display: block;
  width: 81rem;
  text-align: right;
  padding-bottom: 1rem;
}
@media screen and (max-width: 999px) {
  time {
    width: auto;
    padding-right: 1rem;
  }
}

#pager {
  display: flex;
  justify-content: space-between;
  background: #FFF000;
  padding-top: 2rem;
}
#pager a {
  color: #000;
}

.mw_wp_form_input form {
  margin-top: 2rem;
}
.mw_wp_form_input dt {
  width: 27rem;
}
@media screen and (max-width: 575px) {
  .mw_wp_form_input dt {
    width: auto;
  }
}
.mw_wp_form_input br {
  display: none;
}
.mw_wp_form_input em {
  color: #f00 !important;
  margin-bottom: 1rem;
}

.mw_wp_form_confirm dl:nth-of-type(4) {
  display: none;
}
.mw_wp_form_confirm dt {
  width: 24rem;
}
.mw_wp_form_confirm dt span {
  display: none;
}
.mw_wp_form_confirm .button {
  margin-top: 3rem;
  column-gap: 6rem;
}

form {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}
form dl {
  display: flex;
}
@media screen and (max-width: 575px) {
  form dl {
    flex-direction: column;
  }
}
form dt {
  font-weight: bold;
}
form dt span {
  font-size: 1.3rem;
  color: #fff;
  background-color: #f00;
  padding: 0.2rem;
  border-radius: 5px;
}
form dd {
  width: 100%;
}
@media screen and (max-width: 575px) {
  form dd {
    margin-top: 1rem;
  }
}
form input,
form textarea {
  width: 100%;
  border: #000 1px solid;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background-color: #fff;
}
form input:focus,
form textarea:focus {
  background-color: #fffff0;
}
form input {
  height: 4rem;
}
form .button {
  display: flex;
  justify-content: center;
}
form button {
  color: #fff;
  width: 18rem;
  border: #000 1px solid;
  background-color: #000;
  text-align: center;
  font-size: 1.8rem;
  line-height: 4;
  border-radius: 5px;
}
form button:hover {
  cursor: pointer;
  background-color: #FFF000;
  color: #000;
  transition: all 0.1;
}