/* common */

body {
  font-family: YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN",
    "ヒラギノ角ゴ ProN W3", sans-serif;
  word-break: break-all;
  position: relative;
  color: #000;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 1px;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: #000;
  cursor: pointer;
}

li {
  list-style: none;
}

.indent {
  text-indent: -1em;
  padding-left: 1em;
}

.inner {
  max-width: 1920px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 15px;
}

@media screen and (min-width: 768px) {
  .p-n {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .s-n {
    display: none !important;
  }
}

/* up */

.up {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #000;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.up:hover {
  opacity: 0.8;
}

.up span {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
}

.up span::before,
.up span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0%;
  width: 2px;
  height: 16px;
  background: #fff;
  transform-origin: center bottom;
}

.up span::before {
  transform: translate(-50%, -100%) rotate(135deg);
}

.up span::after {
  transform: translate(-50%, -100%) rotate(-135deg);
}

/* search-box */

.search-box {
  height: 30px;
}

.search-box form {
  display: flex;
  align-items: center;
}

.search-box .search-b-i {
  border: 1px solid #000;
  border-radius: 5px;
  padding: 2px 5px;
  width: 150px;
}

.search-box .search-b-t {
  background-color: #efefef;
  border: 1px solid #000;
  border-radius: 5px;
  margin-left: 3px;
  padding: 3px 3px;
}

/* header */

.header {
  height: 100px;
}

.header .wrap {
  position: relative;
  max-width: 1000px;
  padding: 0 15px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
}

.header .wrap .logo {
  padding-top: 25px;
}

.header .wrap .logo img {
  max-width: 300px;
  width: 100%;
}

.header .wrap .search-box {
  margin-left: auto;
  margin-right: 80px;
  margin-top: 25px;
}

@media screen and (max-width: 767px) {
  .header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .header .wrap .logo {
    padding-top: 10px;
  }

  .header .wrap .logo img {
    max-width: 220px;
  }

  .header .wrap .search-box {
    margin-left: unset;
    margin-top: 15px;
  }
}

/* hamburger */

.header .hamburger {
  position: absolute;
  right: 10px;
  top: 12px;
  width: 40px;
  height: 30px;
  z-index: 101;
  background: rgba(0, 0, 0, 0.9);
  padding: 15px 15px 30px 15px;
}

.header #hamburger-open {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 30px;
  vertical-align: middle;
  cursor: pointer;
}

.header #hamburger-open::after {
  position: absolute;
  content: "MENU";
  color: #fff;
  top: 38px;
  right: -1px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  z-index: 101;
}

.header #hamburger-open.active::after {
  top: 32px;
  right: -3px;
}

.header #hamburger-open span,
.header #hamburger-open span:before,
.header #hamburger-open span:after {
  position: absolute;
  transition: all 0.4s;
  height: 3px;
  width: 40px;
  border-radius: 3px;
  background: #fff;
  display: block;
  content: "";
  cursor: pointer;
  z-index: 101;
}

.header #hamburger-open span:before {
  bottom: -15px;
}

.header #hamburger-open span:after {
  bottom: -30px;
}

.header #hamburger-open.active span {
  -webkit-transform: translateY(8px) rotate(-45deg);
  transform: translateY(8px) rotate(-45deg);
  background-color: #fff;
}

.header #hamburger-open.active span:before {
  -webkit-transform: translateY(-8px) rotate(45deg);
  transform: translateY(-8px) rotate(45deg);
  opacity: 0;
}

.header #hamburger-open.active span:after {
  -webkit-transform: translateY(-28px) rotate(45deg);
  transform: translateY(-28px) rotate(90deg);
  background-color: #fff;
}

/* 中身 */

.header #hamburger-content {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: 0.2s ease-in-out;
}

.header #hamburger-content.open {
  display: block;
  opacity: 1;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  background-color: #000;
  overflow: hidden;
}

.header #hamburger-content.open:before {
  content: "";
  overflow: hidden;
  -webkit-filter: blur(10px);
  -moz-filter: blur(10px);
  -o-filter: blur(10px);
  filter: blur(10px);
  z-index: -1;
}

.header .hamburger-menu {
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
}

.header .hamburger-menu li {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 50px;
  width: 50%;
  text-align: center;
}

.header .hamburger-menu li a {
  color: #fff;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 767px) {
  .header .hamburger-menu li {
    font-size: 20px;
  }
}

/* footer */

.footer {
  background-color: #000;
  padding: 10px 10px;
  text-align: center;
  color: #fff;
}

@media screen and (max-width: 767px) {
}

/* bread-section */

.bread-section {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
  margin-top: 20px;
}

.bread-section .current-item {
  font-weight: bold;
  font-size: 20px;
}

.bread-section .keyword-text {
  font-size: 20px;
  margin-top: 20px;
}

.posts .else-text {
  margin-top: 5px;
  margin-bottom: 5px;
}

@media screen and (max-width: 767px) {
}

/* page-contents */

.page-contents {
  padding-top: 50px;
  padding-bottom: 100px;
}

.page-contents .wrap {
  max-width: 1000px;
  padding: 0 15px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 767px) {
  .page-contents {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* main-contents */

.main-contents h2,
.main-contents h3,
.main-contents h4,
.main-contents h5 {
  margin-top: 50px;
  margin-bottom: 30px;
}

.main-contents h2 {
  padding: 15px 15px 15px 20px;
  border: 2px solid #000;
  font-size: 20px;
  font-weight: bold;
}

.main-contents h3 {
  padding: 15px 15px 15px 20px;
  border-bottom: 2px solid #000;
  font-size: 20px;
  font-weight: bold;
}

.main-contents h4 {
  font-size: 20px;
  font-weight: bold;
}

.main-contents a {
  color: #1a73e8;
  text-decoration: underline solid 1px;
  text-underline-offset: 3px;
}

.main-contents img {
  width: 60%;
}

.main-contents table tr td {
  white-space: unset;
}

.main-contents table tr td:first-child {
  width: 30%;
}

.main-contents a,
.main-contents p,
.main-contents img,
.main-contents table,
.main-contents summary,
.main-contents iframe {
  margin-bottom: 20px;
}

.main-contents iframe {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .main-contents img {
    width: 80%;
  }

  .main-contents table tr td {
    font-size: 14px;
  }
}

/* code */

.wp-block-code code {
  background-color: #f5f5f5;
  padding: 10px;
  margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
}
