@charset "utf-8";
/*
Theme Name: Assist WordPress
Author: Y.Araki
Description: Assist original theme
Version： 2.0.0
*/
/*コンテンツのサイズ指定*/
.container {
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
  padding: 1.5rem;
  padding-left: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background-color: #fff;
}
/*PCレイアウト*/
@media (min-width: 821px) {
  .two-columns {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
  }
  .two-columns .contents {
    flex: 1 1 auto;
  }
  .two-columns .sidebar {
    flex: 0 0 15.625rem;
  }
}
/*タブレットレイアウト*/
@media (max-width: 768px) {
  .two-columns .contents {
    margin-bottom: 4rem;
  }
}
/*スマホレイアウト*/
@media (max-width: 599px) {
  html {
    font-size: 15px;
  }
  .container {
    padding-top: 1.4rem;
  }
}
.site-title a img {
  height: 2.5rem;
}
/*ヘッダー*/
.header {
  border-bottom: 1px solid #ddd;
}
.site-title {
  line-height: 1;
  display: inline-block;
}
.site-title a {
  display: block;
  text-decoration: none;
}
/*タイトルを画像にする場合*/
.site-title a img {
  display: block;
  width: auto;
  height: 1.75rem;
}
/*タイトルを文字列にする場合*/
.site-title a {
  font-weight: bold;
  height: 1.75rem;
  color: #000;
}
.header-nav li a {
  display: block;
  text-decoration: none;
}
@media(min-width: 821px) {
  .navbutton {
    display: none;
  }
  .header-nav-wrap {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    margin-left: 15rem; /*タイトル分の余白をあけておく*/
    transform: translateY(-50%);
  }
  .header-nav {
    font-size: 0;
  }
  .header-nav li {
    font-size: 1rem;
    display: inline-block;
    margin-left: 1.5rem;
    padding: .25rem 0;
  }
  .header-nav li a {
    font-weight: 500;
    color: #000;
  }
  .header-nav li a:hover {
    opacity: .6;
  }
}
@media(max-width: 768px) {
  .navbutton {
    position: absolute;
    z-index: 10;
    top: 50%;
    right: 1.5rem;
    display: block;
    cursor: pointer;
    transform: translateY(-50%);
    border: 0;
    background-color: transparent;
  }
  .navbutton:focus {
    outline: 0;
  }
  .navbutton::after {
    font-family: "Material Symbols Outlined";
    font-size: 2.5rem;
    content: "\e5d2";
    color: #000;
  }
  .menu-active .navbutton::after {
    content: "\e5cd";
    color: #fff;
  }
  .header-nav-wrap {
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    display: none;
    overflow-y: auto;
    width: 100%;
    height: 100vh;
    background-color: rgb(50 50 50 / 80%);
  }
  .header-nav {
    padding: 6rem 0;
  }
  .header-nav li a {
    font-weight: 400;
    padding: 1.5rem;
    text-align: center;
    color: #fff;
  }
}
/*投稿*/
.article-head .article-info {
  margin-bottom: .5rem;
}
.article-head .article-info .article-cat {
  display: inline-block;
  vertical-align: middle;
}
.article-head .article-info .article-cat a {
  font-size: .875rem;
  line-height: 1;
  display: inline-block;
  margin-right: .5rem;
  padding: .375rem .5rem;
  text-decoration: none;
  color: #fff;
  background-color: #03162f;
}
.article-head .article-info .article-date {
  font-size: 1rem;
  display: inline-block;
  vertical-align: middle;
  color: #888;
}
.article-head .article-info .article-date i {
  font-size: 1.25rem;
  position: relative;
  top: .25rem;
}
.article-head h1 {
  font-size: 24px;
  margin: 0 0 20px;
  letter-spacing: 1px;
}
.article-head .article-img {
  margin-bottom: 20px;
}
.article-head .article-img img {
  display: block;
}
.article-foot .article-tag {
  margin-bottom: 1rem;
  text-align: right;
}
.article-foot .article-tag ul {
  list-style: none;
}
.article-foot .article-tag ul li {
  font-size: .9rem;
  display: inline-block;
  margin-right: .5rem;
  vertical-align: middle;
}
.article-foot .article-tag ul li:last-child {
  margin-right: 0;
}
.article-foot .article-tag ul li a {
  line-height: 1;
  display: block;
  padding: .25rem .5rem;
  text-decoration: none;
  color: #000;
  border: 1px solid #000;
}
.article-foot .article-tag ul li a:hover {
  opacity: .6;
}
.article-foot .article-author {
  font-weight: 500;
  line-height: 1;
  text-align: right;
  vertical-align: middle;
}
.article-foot .article-author i {
  font-size: 1.25rem;
  position: relative;
  top: .25rem;
}
.article-author {
  margin-top: 20px;
}
@media(max-width: 599px) {
  .article-head h1 {
    font-size: 1.75rem;
  }
}
/*サイドバーウィジェット*/
.sidebar-wrapper {
  margin-bottom: 2rem;
}
.sidebar .sidebar-title, .sidebar .wp-block-heading {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 1rem;
  padding: .375rem;
  letter-spacing: 1px;
  border: 0;
  border-bottom: 3px solid #223a70;
}
.sidebar a {
  text-decoration: none;
  color: #333;
}
.sidebar ul {
  list-style: none;
}
.sidebar li {
  border-bottom: 1px solid #ddd;
}
.sidebar li a {
  display: block;
  padding: .5rem;
}
.sidebar select {
  display: block;
  width: 100%;
  padding: .5rem;
  border: 1px solid #ddd;
}
/*記事アーカイブ*/
.article-list {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}
.article-list .article-item {
  position: relative;
  z-index: 1;
  border: 1px solid #ddd;
}
.article-list .article-item a {
  display: block;
  text-decoration: none;
  color: #333;
}
.article-list .article-item img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.article-list .article-item .text-wrap {
  padding: 1rem;
}
.article-list .article-item .article-cat {
  font-size: .875rem;
  line-height: 1;
  display: inline-block;
  margin-right: .5rem;
  padding: 5px 10px;
  vertical-align: middle;
  text-decoration: none;
  color: #fff;
  background-color: #223a70;
}
.article-list .article-item .article-date {
  font-size: .875rem;
  display: inline-block;
  vertical-align: middle;
  color: #888;
}
.article-list .article-item .article-date i {
  font-size: 1rem;
  position: relative;
  top: .1875rem;
  margin-right: .125rem;
}
.article-list .article-item .text-wrap h2 {
  font-size: 1rem;
  font-weight: 500;
  margin-top: .5rem;
}
@media(max-width: 599px) {
  .article-list {
    display: block;
    gap: none;
    grid-template-columns: none;
  }
  .article-list .article-item {
    margin-bottom: 2rem;
  }
  .article-item {
    width: 80%;
    margin: 0 auto 2rem;
  }
}
/*ページネーション*/
.pagination {
  margin: 4rem 0;
  text-align: center;
}
.pagination ul {
  font-size: 0;
}
.pagination ul li {
  font-size: 1rem;
  display: inline-block;
  margin-right: .75rem;
}
.pagination ul li:last-child {
  margin-right: 0;
  border: 0;
}
.pagination ul li a, .pagination ul li .current {
  font-weight: 600;
  line-height: 1;
  display: block;
  padding: .75rem .875rem;
  border: 1px solid #ddd;
}
.pagination ul li a {
  text-decoration: none;
  color: #555;
}
.pagination ul li .current {
  color: #fff;
  background-color: #1d2d43;
}
.pagination ul li .prev, .pagination ul li .next {
  padding: .75rem .5rem;
  border: 0;
}
.pagination ul li i {
  font-size: 1rem;
  color: #1d2d43;
}
@media(max-width: 599px) {
  .pagination {
    margin: 3rem 0;
  }
  .pagination ul li a {
    padding: .5rem;
  }
}
/*home*/
.home-fv-wrap {
  margin-bottom: 2rem;
}
.home-fv-wrap img {
  display: block;
  width: 100%;
  height: min(31.25rem, 46.5vw);
  object-fit: cover;
}
@media(min-width: 1921px) {
  .home-fv-wrap img {
    height: auto;
  }
}
@media(min-width: 769px) {
  .home-article-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*========== BURGER ==========*/
/*ハンバーガーボタン*/
.el_humburger {
  position: fixed;
  top: 45px;
  right: 20px;
  width: 46px;
  height: 25px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-top: 0px;
  z-index: 100;
  cursor: pointer;
  pointer-events: auto;
  color: #000;
  text-align: center;
}
.navi_item a {
  color: #333;
}
.navi_item a:hover {
  color: #ccc;
}
.sp-logo {
  width: 40%;
  margin: 10px auto;
}
.sp-logo img {
  width: 100%;
}
.sp-produced {
  color: #333;
  font-family: "Times New Roman", Times, "serif";
  margin-bottom: 20px;
  font-size: 12px;
}
.sp-produced span {
  color: #333;
  font-family: "Times New Roman", Times, "serif";
  font-size: 20px;
}
.sp-icon {
  text-align: center;
  margin-top: 30px;
}
.sp-icon li {
  display: inline;
  margin: 0 10px;
}
.sp-icon li img {
  width: 40px;
}
.character {
  width: 20%;
  margin: 20px auto;
}
.character img {
  width: 100%;
}
@media screen and (max-width: 840px) {
  .el_humburger {
    display: block;
    right: 0;
    top: 0;
    padding-top: 20px;
    width: 70px;
    height: 70px;
  }
  #factory .el_humburger {
    display: none;
  }
}
.el_humburger_wrapper {
  margin-bottom: 5px;
  width: 42px;
  display: inline-block;
}
@media screen and (max-width: 840px) {
  .el_humburger_wrapper {
    margin-bottom: 5px;
    width: 30px;
  }
}
.js_humburgerOpen .el_humburger_text.el_humburger_text__menu {
  display: none;
}
.el_humburger_text.el_humburger_text__close {
  display: none;
}
.js_humburgerOpen .el_humburger_text.el_humburger_text__close {
  display: block;
}
@media screen and (max-width: 840px) {
  .el_humburger_text {
    font-size: 10px;
    padding-top: 2px;
  }
}
@media screen and (max-width: 840px) {
  .el_humburger_text svg path {
    -webkit-transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
    -o-transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
    transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
    fill: #000;
  }
}
@media screen and (max-width: 840px) {
  .js_humburgerOpen .el_humburger_text svg path {
    fill: #000;
  }
}
.el_humburger span.el_humburger_bar {
  display: block;
  width: 100%;
  margin: 0 auto 9px;
  height: 1px;
  background: #000;
  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
.el_humburger span.el_humburger_bar:last-child {
  margin-bottom: 0;
}
.js_humburgerOpen .el_humburger span.el_humburger_bar {
  background: #000;
}
@media screen and (max-width: 840px) {
  .el_humburger span.el_humburger_bar {
    left: 0;
    top: 0;
    background: #000;
  }
}
.js_humburgerOpen .el_humburger span.el_humburger_bar.top {
  -webkit-transform: translateY(9px) rotate(-45deg);
  -ms-transform: translateY(9px) rotate(-45deg);
  transform: translateY(9px) rotate(-45deg);
}
.js_humburgerOpen .el_humburger span.el_humburger_bar.middle {
  opacity: 0;
}
.js_humburgerOpen .el_humburger span.el_humburger_bar.bottom {
  -webkit-transform: translateY(-11px) rotate(45deg);
  -ms-transform: translateY(-11px) rotate(45deg);
  transform: translateY(-11px) rotate(45deg);
}
.el_humburgerButton.el_humburgerButton__close {
  top: 2%;
  right: 2%;
}
.el_humburgerButton__close span.el_humburger_bar {
  display: block;
  width: 35px;
  margin: 0 auto;
  height: 4px;
  background: #000;
}
.el_humburgerButton__close span.el_humburger_bar.top {
  -webkit-transform: translateY(5px) rotate(-45deg);
  -ms-transform: translateY(5px) rotate(-45deg);
  transform: translateY(5px) rotate(-45deg);
}
.el_humburgerButton__close span.el_humburger_bar.bottom {
  -webkit-transform: translateY(-6px) rotate(45deg);
  -ms-transform: translateY(-6px) rotate(45deg);
  transform: translateY(-6px) rotate(45deg);
}
.navi {
  position: fixed;
  right: 0;
  height: 100%;
  background-color: #fff;
  opacity: 0.9;
  width: 30%;
  z-index: 3;
  padding-top: 50px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 600ms ease-out;
  -o-transition: all 600ms ease-out;
  transition: all 600ms ease-out;
  transform: translateZ(0) translateX(100%);
  overflow: auto;
  color: #fff;
  text-align: center;
}
.js_humburgerOpen .navi {
  transform: translateZ(0) translateX(0);
}
@media screen and (max-width: 840px) {
  .navi {
    padding: 50px 5% 0;
  }
  .js_humburgerOpen .navi {
    width: 100%;
  }
}
.navi_item {
  margin-bottom: 10px;
  font-size: 18px;
  white-space: nowrap;
  color: #fff;
}
.navi_item.op_innerLink {
  cursor: pointer;
}
@media screen and (max-width: 840px) {
  .navi_item {
    margin-left: 0;
    font-size: 18px;
  }
}