@charset "UTF-8";

body {
  font-size: 16px;
  font-family: YuGothic, 游ゴシック, "Hiragino Kaku Gothic ProN",
    "ヒラギノ角ゴ ProN W3", Meiryo, メイリオ, sans-serif;
  color: #282828;
  background-color: #fff;
  line-height: 1.75;
  letter-spacing: 1px;
}

a:link {
  color: #282828;
}
a:visited {
  color: #282828;
}
a:hover {
  color: #282828;
}
a {
  color: #282828;
  text-decoration: none;
}

img {
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

main {
  width: min(90%, 1080px);
  margin: 120px auto;
}

/* ヘッダー
======================================== */
.sp-menu {
  display: none;
}

.header-logo {
  width: 168px;
}

.header-nav__wrap {
  display: flex;
  align-items: center;
  padding-left: 5%;
  width: 100%;
  height: 80px;
  background: aliceblue;
  position: fixed;
  top: 0px;
}

.header-nav {
  margin: 0 5% 0 auto;
}

.header-nav__list {
  display: flex;
  align-items: center;
  column-gap: 30px;
  justify-content: flex-end;
  margin-top: 8px;
}

/* ボタン */
.header-btn a {
  background: #007bbb;
  border-radius: 3px;
  position: relative;
  padding: 1em 3em 1em 2em;
  color: #fff;
  text-align: center;
  transition: 0.3s ease-in-out;
}

.header-btn a:hover {
  background: #282828;
  color: #fff;
}

.header-btn a:after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  position: absolute;
  top: 22px;
  right: 22px;
  transform: rotate(45deg) translateY(-50%);
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}

.header-btn a:hover:after {
  border-color: #fff;
}

/* サイドバー
======================================== */
.sidebar {
  width: 36%;
  min-width: 250px;
}

.sidebar-group {
  margin-bottom: 40px;
}

.sidebar-group li {
  padding: 0.5em;
}

.sidebar-ttl {
  background: #d9d9d9;
  padding: 0.5em;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.wp-block-search__inside-wrapper {
  margin-top: 10px;
}

.search-wrap::before {
  content: "search";
  background: #d9d9d9;
  padding: 0.5em;
  display: block;
  width: 100%;
}

.search-wrap .search {
  margin-top: 24px;
  margin-left: 10px;
}

/* 投稿一覧
======================================== */
.post-wrap {
  display: flex;
  justify-content: space-around;
  gap: 40px;
}

.postlist-contents__wrap {
  width: 765px;
}
.postlist-contents {
  margin-bottom: 32px;
}

.postlist-contents {
  display: flex;
  padding: 1em;
  border-bottom: solid 1px #d9d9d9;
  column-gap: 16px;
}

.postlist-contents__wrap .postlist-group {
  width: 80%;
}

.postlist-imgf {
  overflow: hidden;
}

.postlist-img {
  height: 180px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: all 0.5s;
}

.postlist-img:hover {
  transform: scale(1.1);
}

.postlist-date {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-top: 0.5em;
}

.post-time {
  font-size: 14px;
}

.postlist-date .post-categories {
  display: flex;
  gap: 0.5em;
}

.postlist-date .post-categories li {
  padding: 0.5em;
  font-size: 12px;
  color: #007bbb;
}

.postlist-ttl {
  max-width: 100%;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
}

/* ページネーション */
.nav-links .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

/* 投稿内容
======================================== */
.post-wrap {
  display: flex;
  justify-content: space-between;
}

.article-wrap {
  width: 68%;
}

.article-ttl {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

article h2 {
  font-size: 24px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 1em;
  border-bottom: solid 4px #d9d9d9;
  padding: 0 0.5em;
}

article h3 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 0.5em;
}

article p {
  margin-bottom: 1em;
}

.article-img {
  margin: 10px 0;
  object-fit: cover;
  height: 450px;
  aspect-ratio: 16 / 9;
}

.post-date {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1em;
  margin-top: 0.5em;
}

.post-time {
  font-size: 14px;
}

.post-date .post-categories li {
  padding: 0.5em;
  font-size: 12px;
  color: #007bbb;
}

.post-date .post-categories li a {
  color: #007bbb;
  font-weight: bold;
}

/* SNSシェアボタン*/
.sns-share__wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin: 80px auto;
}

.sns-share__wrap li a {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 10px 0px;
}

.sns-share__wrap li a::before {
  content: "";
  display: inline-block;
}

.sns-share__text {
  color: #fff;
  font-size: 13px;
}

/* X */

.sns-share__x a {
  background-color: #000;
}

.sns-share__x a::before {
  width: 16px;
  height: 16px;
  background-image: url(../../../uploads/x-white.png);
  background-size: contain;
  vertical-align: middle;
  background-repeat: no-repeat;
  margin-right: 0.5em;
  margin-top: -4px;
}

.sns-share__x a {
  background-color: #000;
}

/* FB */
.sns-share__fb a::before {
  width: 20px;
  height: 20px;
  background-image: url(../../../uploads/fb-w.png);
  background-size: contain;
  vertical-align: middle;
  background-repeat: no-repeat;
  margin-right: 0.5em;
  margin-top: -4px;
}

.sns-share__fb a {
  background-color: #35629a;
}

/* はてブ */
.sns-share__hateb a::before {
  width: 20px;
  height: 20px;
  background-image: url(../../../uploads/hateb-w.png);
  background-size: contain;
  vertical-align: middle;
  background-repeat: no-repeat;
  margin-right: 0.5em;
}

.sns-share__hateb a {
  background-color: #00a4de;
}

/* Pocket */
.sns-share__pocket a::before {
  width: 20px;
  height: 20px;
  background-image: url(../../../uploads/pocket-w.png);
  background-size: contain;
  vertical-align: middle;
  background-repeat: no-repeat;
  margin-right: 0.5em;
}

.sns-share__pocket a {
  background-color: #f43b53;
}

/* LINE */
.sns-share__line a::before {
  width: 20px;
  height: 20px;
  background-image: url(../../../uploads/line-w.png);
  background-size: contain;
  vertical-align: middle;
  background-repeat: no-repeat;
  margin-right: 0.5em;
}

.sns-share__line a {
  background-color: #00b903;
}

/* ページネーション*/
.pagena {
  display: flex;
  gap: 4%;
  justify-content: space-between;
}

.pagena a:hover {
  transition: 0.3s;
  opacity: 0.8;
}

.pagena-prev,
.pagena-next {
  width: 48%;
  background: #d9d9d9;
  padding: 1em 0;
  position: relative;
  line-height: 1.3;
}

.pagena-prev {
  padding-left: 3em;
  padding-right: 1em;
}

.pagena-next {
  padding-right: 3em;
  padding-left: 1em;
}

.pagena-prev::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #1f1f1f;
  border-left: 2px solid #1f1f1f;
  transform: rotate(-45deg);
  position: absolute;
  top: 21px;
  left: 1em;
}

.pagena-next::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #1f1f1f;
  border-right: 2px solid #1f1f1f;
  transform: rotate(45deg);
  position: absolute;
  top: 21px;
  right: 1em;
}

.pagena-cat__list {
  display: block;
  width: 100%;
  background: #d9d9d9;
  padding: 1em;
  text-align: center;
  margin-top: 2em;
}

a .pagena-cat__list:hover {
  transition: 0.3s;
  opacity: 0.8;
}

/* 検索結果
======================================== */
.search section {
  width: min(90%, 1080px);
  margin: 0 auto;
}

.search h1 {
  width: min(90%, 1080px);
  margin: 120px auto 0 auto;
  font-size: 32px;
  font-weight: bold;
}

.search h2 {
  font-size: 24px;
  font-weight: bold;
  margin-top: 40px;
}

/* フォーム
======================================== */
input[type="button"],
input[type="text"],
input[type="submit"],
input[type="image"],
input[type="tel"],
input[type="email"],
textarea {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  font-size: 16px;
  cursor: pointer;
}

select {
  -webkit-appearance: none;
  appearance: none;
}

input,
select,
textarea {
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
}

input::placeholder,
textarea::placeholder {
  font-size: 16px;
  color: #757575;
  font-weight: normal;
  font-family: "Noto Sans JP", sans-serif;
}

select:invalid {
  font-size: 16px;
  color: #757575;
}

.wpcf7-spinner {
  display: none !important;
}


      /* お問い合わせフロー */

      .contact-flow {
        display: flex;
        gap: 24px;
        justify-content: center;
      }

      .contact-flow__item {
        width: 80px;
        height: 80px;
        line-height: 74px;
        text-align: center;
        border-radius: 50%;
        background: #d9d9d9;
        border: #999 solid 4px;
        font-weight: bold;
      }

      .contact-flow .current {
        background: #999;
      }

      .contact-flow02 .current02 {
        background: #999;
      }

      .contact-flow__line {
        width: 40px;
        height: 4px;
        margin-top: 40px;
        background: #999;
      }

      .contact-flow02 {
        display: flex;
        gap: 24px;
        justify-content: center;
        margin-top: 40px;
      }

      .contact-flow__item02 {
        width: 100px;
        text-align: center;
        background: #d9d9d9;
        border: #999 solid 2px;
        font-weight: bold;
        padding: 0.5em;
        border-radius: 40px;
      }

      .contact-flow__line02 {
        width: 40px;
        border-top: dotted 4px #d9d9d9;
        margin-top: 24px;
      }
.form {
  margin: 40px auto;
}

.contact-text {
  margin-top: 40px;
}

.form-wrap {
  margin: 40px 0;
  border-top: solid #d9d9d9 2px;
  border-right: solid #d9d9d9 2px;
  border-left: solid #d9d9d9 2px;
}

.form-box {
  display: flex;
  align-items: center;
  border-bottom: solid #d9d9d9 2px;
}

.page-id-87 .form-box__comment {
  align-items: flex-start;
}

.page-id-87 .form-box__comment dd {
  padding-top: 1em;
}

.page-id-87 .form-box__select dd:after {
  display: none;
}

.radiobtn {
  margin-right: 2em;
}

form .must::after {
  content: "必須";
  display: inline-block;
  font-size: 10px;
  color: #fff;
  padding: 0 2px;
  background-color: #fd5959;
  margin-left: 1em;
}

.form-box dt {
  width: 45%;
  margin-right: 2em;
  height: 120px;
  background-color: rgba(217, 217, 217, 0.45);
  padding-top: 45px;
  padding-left: 0.5em;
}

.form-box dd {
  width: 100%;
}

.yoyaku-unit {
  display: flex;
}

input {
  outline: none;
}

.form-input {
  box-sizing: border-box;
  border: solid 1px #999;
  width: 90%;
  background: #fff;
  height: 3em;
  padding-left: 0.5em;
}

.form-select {
  box-sizing: border-box;
  border: solid 1px #707070;
  width: 90%;
  background: #fff;
  height: 3em;
}

.form-box__select dd {
  position: relative;
}

.form-box__select dd:after {
  content: "";
  position: absolute;
  right: 13%;
  top: 20px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #999;
  border-left: 2px solid #999;
  transform: translateY(-50%) rotate(-135deg);
  font-size: 20px;
  pointer-events: none;
}

select {
  position: relative;
  padding: 10px;
  width: 100%;
}

#form-comment {
  width: 45%;
  margin-right: 2em;
  height: 500px;
  background-color: rgba(217, 217, 217, 0.45);
  padding-top: 200px;
  padding-left: 0.5em;
}

#comment {
  width: 90%;
  height: 400px;
  padding: 0.5em;
}

.rest-text__contact {
  font-size: 13px;
}

/* プライバシーポリシーに同意 */
.agree-group {
  margin-top: 40px;
}

.agree-unit {
  display: flex;
  align-items: center;
  justify-content: center;
}

.agree-link {
  width: fit-content;
  font-size: 14px;
  border-bottom: solid 1px;
  margin: 0.5em auto;
}

.agree-link a:hover {
  opacity: 0.8;
}

#agree {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

/* 確認ボタン */
.form-btn__wrap {
  margin-top: 40px;
  text-align: center;
}

.confirm-btn {
  width: 280px;
  height: 50px;
  border: 0;
  background-color: #282828;
  color: #fff;
  transition: 0.3s;
}

.confirm-btn:hover {
  opacity: 0.7;
}

/* 戻る・送信ボタン */

.form-btn02__wrap {
  display: flex;
  justify-content: space-between;
  margin: 40px auto;
  width: 400px;
  height: 50px;
}

.back-btn {
  border: solid 1px#282828;
  background: #fff;
  transition: 0.3s;
  padding: 0 1em;
}

.submit-btn {
  border: 0;
  background-color: #282828;
  color: #fff;
  transition: 0.3s;
  padding: 0 4em;
}

.back-btn:hover,
.submit-btn:hover {
  opacity: 0.7;
}

.to-top::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border-left: 4px solid #000;
  border-bottom: 4px solid #000;
  transform: rotate(230deg);
}

.to-top:hover::after,
.to-top:hover {
  opacity: 0.7;
}

.to-top {
  display: block;
  margin: 40px 0;
}

/* ページヘディング
======================================== */
.page-heading {
  font-size: 28px;
  font-weight: 600;
  background: #efefef;
  padding: 0.5em 1em;
  border-left: solid 12px #710298;
}

.page-heading02 {
  font-size: 20px;
  font-weight: 600;
  border-left: solid 10px #029825;
  padding-left: 0.5em;
}

/* ブログ一覧
======================================== */
.top-blog__unit {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.top-blog__wrap .postlist-img,
.top-blog__wrap .postlist-noimg {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.top-blog__unit .postlist-contents {
  width: clamp(200px, 27vw, 290px);
  border: solid 1px #808080;
}

.top-blog__wrap .postlist-date {
  display: flex;
  gap: 6em;
  font-size: 14px;
  padding: 0.5em;
  padding-bottom: 1em;
}

.top-blog__wrap .postlist-ttl {
  font-size: 16px;
}

.top-blog__wrap .postlist-ttl {
  padding: 0.5em;
}

.post-categories li a {
  color: #710298;
  font-weight: 600;
}

.nav-links {
  margin-top: 120px;
}

/*==================================================

~830px

====================================================*/
@media screen and (max-width: 830px) {
  /* ヘッダー
	======================================== */
  .header-nav__wrap {
    display: none;
  }

  .sp-menu {
    display: block;
  }

  .header-logo {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 5%;
    width: 160px;
  }

  /* hambager */
  #sp__nav {
    position: fixed;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: all 0.3s;
  }

  #sp__nav.clicked {
    opacity: 1;
    visibility: visible;
    z-index: 999;
  }

  #sp__nav.clicked .sp__nav-wrap {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: aliceblue;
  }

  /* PCと同じclass名 */
  .header-nav__list {
    position: absolute;
    z-index: 999;
    top: 42%;
    left: 20%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
  }

  /* hamburger */

  #header__ham {
    position: fixed;
    z-index: 1000;
    top: 22px;
    right: 5%;
    width: 30px;
    height: 20px;
  }

  .ham-text {
    position: absolute;
    top: 5px;
    left: -62px;
  }

  .ham-line {
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #282828;
    transition: all 0.3s;
  }

  .line1 {
    top: 8px;
  }

  .line2 {
    top: 16px;
  }

  .clicked .line1 {
    top: 11px;
    height: 4px;
  }

  .clicked .line2 {
    top: 11px;
    height: 4px;
  }

  /* サイドバー
	======================================== */
  .post-wrap {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .post-wrap {
    display: block;
  }

  .article-wrap {
    width: 100%;
  }

  .sns-share__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 80px auto;
  }

  .sns-share__wrap li {
    width: calc((100% - 10px) / 2);
  }

  .sns-share__wrap li a {
    width: 95%;
    margin: 0 auto;
  }

  .pagena-prev,
  .pagena-next,
  .pagena-cat__list {
    font-size: 14px;
  }

  /* ブログ一覧
	======================================== */
  .postlist-contents__wrap {
    width: 100%;
  }

  .pagena {
    margin-top: 80px;
  }
}
/*==================================================

~560px

====================================================*/

@media screen and (max-width: 560px) {
  .postlist-contents__wrap .postlist-group {
    width: 100%;
  }

  .postlist-imgf img {
    width: 100%;
    height: auto;
  }

  .post-wrap {
    flex-direction: column;
  }

  .postlist-img {
    max-width: 100%;
  }

  .recent-wrap,
  .cat-wrap {
    width: 90%;
    margin-bottom: 24px;
  }

  .postlist-contents__wrap {
    width: 100%;
  }

  .postlist-contents {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    margin: 80px 0;
  }

  .article-img {
    width: 100%;
    height: auto;
  }

  .sns-share__wrap {
    margin: 40px auto;
  }

  /* フォーム
	======================================== */
  .form {
    border: 0;
  }

  .form-box {
    width: 100%;
    flex-direction: column;
    border: 0;
    padding: 0.5em;
  }

  .form-wrap > .form-box:last-of-type {
    border-bottom: solid #d9d9d9 2px;
  }

  .form-box dt {
    width: 100%;
    height: 3em;
    padding-top: 12px;
    margin-bottom: 1em;
    margin-right: 0;
  }

  .form-box dd {
    margin-bottom: 2em;
  }

  .form-input {
    width: 100%;
  }

  #form-comment {
    width: 100%;
    height: 3em;
    padding-top: 12px;
    margin-right: 0;
  }

  #comment {
    width: 100%;
  }
}
