/*==========================================================================
    共通
==========================================================================*/
.inner {
  margin: 0 auto;
  max-width: 1000px;
}

.section-title,
.catch-copy {
  padding-bottom: 8px;
  border-bottom: 2px solid #888;
  text-align: center;
  margin-bottom: 16px;
  font-size: 1.5em;
}

.sec {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page .main,
.page .side,
.single .main,
.single .side,
.archive .main,
.archive .side,
.category .main,
.category .side {
  padding-top: 0;
}

.br_sp {
  display: none;
}

/*==========================================================================
    header
==========================================================================*/
.header {
  padding: 16px 0 0;
}

.header-top {
  display: flex;
  justify-content: space-between;
}

.site-title {
  display: block;
  font-size: 2em;
  font-weight: bold;
}

.header-nav {
  padding-top: 16px;
  padding-bottom: 16px;
}

.header-list {
  display: flex;
  justify-content: space-around;
}

.header-list > .menu-item {
  text-align: center;
}

.header-list > .menu-item span {
  display: block;
  font-size: 12px;
}

.header-list > .menu-item:hover {
  opacity: 0.8;
}

.header-contact {
  font-size: 14px;
}

/* サブメニュー */
.menu > .menu-item {
  display: inline-block;
  padding: 0 50px;
  text-align: center;
}

.menu-item-has-children {
  position: relative;
}

.menu-item-has-children:hover .sub-menu {
  display: block !important;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: none !important;
  padding: 0;
  width: 100%;
  background: white;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
}

.sub-menu > .menu-item:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.sub-menu > .menu-item a {
  display: inline-block;
  padding: 0.5em 0;
  width: 100%;
  height: 100%;
}

.sub-menu > .menu-item a:hover {
  background: #c3f0f4;
}

.sub-menu-arrow,
.sub-menu-arrow2 {
  margin-left: 10px;
}

@media screen and (max-width: 768px) {
  #menu-item-913,
  #menu-item-518 {
    position: relative;
  }
  .sub-menu {
    /* 作業前にコメントアウト外す。ドロップダウン用のアイコンが出てきます。 */
    display: block !important;
    position: unset;
    /*
    width: calc(100vw);
    margin-left: -40px;
*/
  }
  .sub-menu.sub-menu {
    /*    padding: 0 !important;*/
  }
  .sub-menu li {
    /*    display: none;*/
  }
  .sub-menu:after {
    position: absolute;
    top: 50%;
    right: -40px;
    display: block;
    width: 20px;
    height: 20px;
    /* content: "\f0dd"; */
    font-weight: bold;
    /* font-family: "Font Awesome 5 Free"; */
    transform: translateY(-50%);
  }
  .sub-menu {
    background: #fff;
  }
}

.header-ss {
  position: relative;
  z-index: -1;
  overflow: hidden;
  width: 100%;
  height: 550px;
}
.home-visual {
  width: 100%;
  height: 550px;

  -o-object-fit: cover;
  object-fit: cover;
}
.on-image {
  position: absolute;
  top: 10%;
  right: 10%;
  display: block;
  width: 50%;
}

/* ドロワー */
.drawer {
  display: none;
}

.drawer-text {
  color: #fff;
  text-align: center;
}

.drawer-icon {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 41;
  padding: 10px 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 6px #333;
  color: #333;
  text-align: center;
  font-size: 24px;
  cursor: pointer;
}

.drawer-open {
  display: block;
}

body.fixed {
  overflow: hidden;
}

.m_checked .drawer-open {
  display: none;
}

.drawer-close {
  display: none;
}

.m_checked .drawer-close {
  display: block;
  color: #333;
}

.drawer-content {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  visibility: hidden;
  overflow: auto;
  padding: 100px 40px 40px;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.8);
  text-align: left;
  opacity: 0.8;
  transition: all 0.3s ease 0s;
}

.m_checked .drawer-content {
  visibility: visible;
  opacity: 1;
}

.drawer-nav li a {
  display: block;
  padding: 20px 12px 24px 0;
  border-left: 6px solid transparent;
  color: #333;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.drawer-nav li a::before {
  margin-right: 8px;
  font-weight: 900;
}

.drawer-nav .menu-item {
  margin-left: unset;
  padding-bottom: unset;
  width: unset;
  height: unset;
}

.nav-u-btn-box {
  display: none;
}

/*==========================================================================
    main-visual
==========================================================================*/
.main-visual {
  margin: 0 auto;
  max-width: 1000px;
}

/*==========================================================================
    contents
==========================================================================*/
.contents-container > .inner {
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
  padding-bottom: 40px;
}

.home .contents-container .sec {
  padding-top: 0;
}

/* ---------------------- main ---------------------- */
.main {
  width: 670px;
}

.concept-box {
  display: flex;
}

.concept-img {
  width: 40%;
  margin-top: 40px;
}

.concept-message {
  width: 60%;
  margin-top: 40px;
  margin-left: 12px;
}

.resent-post {
  padding-top: 40px;
  padding-bottom: 40px;
}

.post-list {
  margin-top: 40px;
}

.post-list > .list-item a {
  display: flex;
  overflow: hidden;
  justify-content: space-between;
  margin-top: 16px;
  height: 150px;
}

.post-list > .list-item a:hover {
  opacity: 0.8;
}

.post-list figure {
  overflow: hidden;
  width: 200px;
  height: 120px;
}

.post-body {
  margin-left: 16px;
  width: 500px;
}

.main .top-price {
  background-color: #fff;
  color: #105ea7;
  padding: 0 12px;
  font-size: 19px;
}

/* ---------------------- side ---------------------- */
.side {
  width: 300px;
}

.widget {
  margin-bottom: 16px;
}

.widget h2 {
  margin-bottom: 24px;
  padding-bottom: 8px;
  width: 100%;
  border-bottom: 2px solid #888;
  text-align: center;
  font-size: 20px;
}

.widget li {
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #888;
}

/*==========================================================================
    footer
==========================================================================*/
.footer {
  background-color: #888;
  color: #fff;
}
.footer-list {
  display: flex;
  justify-content: space-around;
}

.footer-list > .list-item {
  text-align: center;
}

.footer-list > .list-item a:hover {
  opacity: 0.8;
}

.copyright {
  display: block;
  margin-top: 40px;
  text-align: center;
}

/*==========================================================================
    投稿ページ＆固定ページ
==========================================================================*/

.post {
  padding: 20px 0;
}
.post-content p {
  line-height: 32px;
}

.post-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 16px;
  border-left: 10px solid #00639d;
}

.post-content h3 {
  margin-top: 16px;
  margin-bottom: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 16px;
  border-bottom: 1px dashed #888;
}

.post-thumbnail {
  margin-top: 16px;
}

.post-thumbnail img {
  width: 100%;
}

table {
  border: 1px solid #e6e3e7;
}

table tr:first-child {
  border-top: 1px solid #e6e3e7;
}

.wp-block-table table {
  width: 670px;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid #e6e3e7;
}

.wp-block-table table tr:nth-child(even) td {
  background-color: #f5f7fc;
}

table tr {
  border-bottom: 1px solid #e6e3e7;
}

table tr th {
  width: 22%;
  font-size: 18px;
  text-align: center;
  vertical-align: middle;
  padding: 45px 2%;
  color: #fff;
  background: #00639d;
  font-weight: bold;
  letter-spacing: 2px;
  box-sizing: border-box;
  border-right: 1px solid #e6e3e7;
}

table tr td {
  width: 78%;
  font-size: 18px;
  text-align: left;
  vertical-align: middle;
  padding: 45px 20px 45px 45px;
  background: #fff;
  letter-spacing: 2px;
  box-sizing: border-box;
}

.wpcf7-form-chack {
  align-items: center;
  justify-content: center;
  margin: 12px auto;
}

.submit {
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 100px;
}

input[type="submit"],
input[type="button"] {
  width: 100px;
  background: var(--wp--preset--gradient--midnight) !important;
}

.is-content-justification-center,
.is-horizontal {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.wp-block-button__link {
  padding: calc(0.667em + -6px) calc(1.333em + 4px);
  margin: 16px 0;
}

.list-item a {
  display: flex;
}

.ameba-blog {
  width: 232px;
  margin: 20px auto;
}

.ameba-blog-btn {
  color: #fff;
  background: #333;
  padding: 10px 20px;
  border-radius: 20px;
}

@media screen and (max-width: 768px) {
  /*==========================================================================
        共通
    ==========================================================================*/
  .inner {
    width: 90%;
  }

  .sec {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .page .side,
  .single .side {
    padding-top: 40px;
  }

  .contents-container > .inner {
    width: 95%;
  }

  /*==========================================================================
        header
    ==========================================================================*/
  .header-nav {
    display: none;
  }

  /* ドロワー */
  .drawer {
    display: block;
  }

  .drawer-text {
    font-size: 24px;
  }

  .drawer-nav li a {
    padding: 20px 0px 24px;
  }
  .drawer-content {
    padding: 100px 0px 40px;
  }

  /*==========================================================================
        main-visual
    ==========================================================================*/
  .key-visual {
    height: auto;
  }

  /*==========================================================================
        contents
    ==========================================================================*/
  .contents-container > .inner {
    flex-direction: column;
  }

  .post-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .post-list > .list-item {
    width: 100%;
  }

  .post-list > .list-item a {
    display: block;
    height: auto;
  }

  .post-list > .list-item img {
    width: 100%;
  }

  .post-body {
    width: 100%;
    margin-left: 0;
  }

  .main,
  .side {
    width: 100%;
  }

  /*==========================================================================
        footer
    ==========================================================================*/
  .footer-list {
    flex-direction: column;
  }

  .footer-list > .list-item {
    margin-top: 4px;
  }

  .footer-nav {
    display: none;
  }
}

@media screen and (max-width: 640px) {
  .br_sp {
    display: block;
  }

  .wp-block-table table {
    width: 100%;
  }

  .wp-block-table tbody,
  .wp-block-table tr,
  .wp-block-table th,
  .wp-block-table td {
    display: block;
    width: 100%;
  }

  .wp-block-table table tr td:nth-child(even) {
    background-color: #fff;
  }

  .wp-block-table table tr td:nth-child(odd) {
    background-color: #f5f7fc;
  }
}

@media screen and (max-width: 600px) {
  .header-top {
    display: block;
    text-align: center;
  }
  .site-title {
    margin-bottom: 12px;
  }
  .main-visual img {
    /* height: 100%; */
    object-fit: cover;
  }
  .contents-container > .inner {
    padding-top: 40px;
  }
  .post-main-visual h2 {
    font-size: 24px;
  }
  .concept-box {
    flex-direction: column-reverse;
  }
  .concept-img {
    text-align: center;
    width: 100%;
  }
  .concept-message {
    margin: 12px 0 0 0;
    width: 100%;
  }
  .concept-box img {
    width: 80%;
  }
}

@media screen and (max-width: 480px) {
  /*==========================================================================
        header
    ==========================================================================*/
  .site-title {
    font-size: 24px;
  }
  /*==========================================================================
        drawer
    ==========================================================================*/

  .nav-u-btn-box {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 20;
  }

  .nav-u-btn-l {
    display: block;
    width: 100%;
    height: 58px;
    line-height: 58px;
    font-size: 18px;
    color: #fff;
    text-align: center;
    border: 1px solid #fff;
  }

  .nav-u-btn-l {
    background: #00639d;
  }

  .nav-u-btn .fa-solid {
    margin-right: 6px;
  }

  /*==========================================================================
        content
    ==========================================================================*/
  .post-list {
    flex-direction: column;
  }

  .post-list > .list-item {
    width: 100%;
  }

  .post-list figure {
    width: 100%;
    height: 200px;
  }

  .wp-block-buttons
    > .wp-block-button.has-custom-font-size
    .wp-block-button__link {
    font-size: 24px;
  }

  .sec {
    padding-top: 20px;
    padding-bottom: 100px;
  }
}
