@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%, 900px);
  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;
}
/* カテゴリー一覧
    ======================================== */
.cat-wrap {
  display: flex;
  column-gap: 40px;
  justify-content: center;
  margin: 40px auto 80px auto;
  font-size: 14px;
}

.cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.cat-all a,
.cat-list li a {
  font-size: 13px;
  width: 110px;
  height: 40px;
  border: solid 1px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  padding: 0.5em;
}

.cat-all a:hover,
.cat-list a:hover {
  opacity: 0.5;
  transition: 0.3s;
}

.current-cat {
  background: #ece8e5;
  border-radius: 10px;
}

.readmore {
  display: block;
  text-align: right;
  font-size: 13px;
}

/* 投稿一覧
    ======================================== */
.postlist-contents {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.postlist-group {
  width: 80%;
}
.postlist-imgf {
  overflow: hidden;
}
.postlist-img {
  height: 180px;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: all 0.5s;
}

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

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

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

a.more-link {
  font-size: 13px;
}

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

.postlist-date .post-categories li {
  border: solid 1px;
  padding: 0.5em;
  font-size: 12px;
}

.postlist-ttl {
  font-size: clamp(18px, 1.5625vw, 20px);
  font-weight: bold;
  padding: 0.5em 0;
}

.postlist-ttl,
.postlist-youyaku {
  line-height: 1.3;
}

/* ページネーション
======================================== */

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

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-numbers li {
  display: inline-block;
  margin: 0 8px;
  padding: 6px;
  border: solid 2px #0f77b9;
  color: #0f77b9;
  width: 40px;
  height: 40px;
  text-align: center;
  position: relative;
  border-radius: 5px;
}

.current {
  vertical-align: middle;
  position: absolute;
  top: 4px;
  left: 1px;
  width: 100%;
  height: 100%;
  text-align: center;
  display: table;
  text-decoration: none;
  font-weight: bold;
}

.page-numbers li a {
  color: #0f77b9;
  vertical-align: middle;
  position: absolute;
  top: 4px;
  left: 1px;
  width: 100%;
  height: 100%;
  text-align: center;
  display: table;
  text-decoration: none;
}

.page-numbers li a:hover,
.page-numbers li a.active {
  opacity: 0.5;
}

/* カテゴリー一覧
======================================== */
.cat-wrap {
  display: flex;
  column-gap: 24px;
  justify-content: center;
  margin: 40px auto 80px auto;
  font-size: 14px;
}

.cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.cat-all a,
.cat-list li a {
  width: 120px;
  height: 40px;
  border: solid 1px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  padding: 0.5em;
}

.cat-all a:hover,
.cat-list a:hover {
  opacity: 0.5;
  transition: 0.3s;
}

.current-cat {
  background: #ece8e5;
}
*/

      /* 投稿内容
======================================== */

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

.post-time,
.postlist-youyaku {
  font-size: 13px;
}

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

.post-date .post-categories li {
  border: solid 1px;
  padding: 0.5em;
  font-size: 12px;
}

.article-ttl {
  font-size: clamp(20px, 1.875vw, 24px);
  line-height: 1.3;
  margin-bottom: 0.5em;
  font-weight: bold;
}

.article-wrap {
  background: aliceblue;
  padding: 3em 2em;
}

.article-text p {
  margin-top: 2.5em;
}

.article-text > p:first-of-type {
  margin-top: 1em;
}

.article-img {
  margin: 24px 0;
  text-align: center;
  object-fit: cover;
  max-width: 100%;
  aspect-ratio: 16 / 9;
}

article h2 {
  font-size: 24px;
  line-height: 1.5;
  text-indent: -1em;
  padding-left: 1em;
  margin: 2em 0 0.5em 0;
}

article h2::before {
  content: "";
  border-left: 10px solid #d9d9d9;
  margin-right: 0.5em;
}

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

article p {
  margin-bottom: 1em;
}

/* シェアボタン
      ======================================== */

.sns-share__wrap {
  display: flex;
  justify-content: space-between;
  width: 340px;
  margin: 3em auto 0 auto;
}

.sns-img {
  width: 25px;
}

.sns-share__wrap li {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 25%;
  width: 45px;
  height: 45px;
  padding-top: 5px;
}

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

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

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

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

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

/* ページネーション(記事ページ)
======================================== */

.pagena {
  display: flex;
  justify-content: space-between;
  width: 340px;
  margin: 80px auto;
}

.pagena-prew a,
.pagena-list,
.pagena-next a {
  display: block;
  background: #999;
  padding: 0.5em 1em;
  color: #fff;
  font-size: 14px;
}

a.pagena-list {
  color: #fff;
}

/* 関連記事 */

.article-r__list {
  display: flex;
  justify-content: space-between;
}

.article-r__list li {
  width: calc(33.33% - 20px);
}

.article-r__list img {
  height: 180px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-r__ttl {
  margin-top: 0.5em;
  margin-left: 0.5em;
  line-height: 1.3;
}

.article-r__date {
  display: flex;
  align-items: center;
  gap: 1em;
  margin: 0.5em 0 0 0.5em;
}

.article-r__date .post-categories li {
  font-size: 13px;
  padding: 0.25em;
  border: solid 1px;
  letter-spacing: 0;
  line-height: 1;
  display: block;
  width: fit-content;
}

.article-r__wrap {
  margin-top: 80px;
}

/* contact01
  ======================================== */
/* 基本設定 */

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;
}

/* フォーム設定 */

.form {
  margin: 40px auto;
}

.form-box {
  display: flex;
  align-items: center;
  margin: 3em 0;
  padding-bottom: 2em;
  border-bottom: solid 0.5px #707070;
}

.form-box__yuubin {
  margin-top: -2em;
}

.form-box__url .form-input {
  height: 3.5em;
}

form .must::after {
  content: "※必須";
  display: inline-block;
  font-size: 70%;
  color: red;
  padding-left: 1em;
}

.form-box dt {
  width: 35%;
  margin-right: 2em;
}

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

input {
  outline: none;
}

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

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

.form-box__select dd {
  position: relative;
}

.form-box__select dd:after {
  content: "";
  position: absolute;
  right: 2%;
  top: 24px;
  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;
}

.page-id-103 .form-box__select dd:after,
.page-id-103 .yoyaku-unit::after {
  display: none;
}

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

.radiobtn {
  margin-right: 2em;
}

.yoyaku-unit {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.yoyaku-unit::after {
  content: "";
  position: absolute;
  right: 2%;
  top: 24px;
  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;
}

.yoyaku-unit .wpcf7-form-control-wrap {
  width: 100%;
}

.yoyaku-label {
  width: 90%;
  height: 3.5em;
  box-sizing: border-box;
  display: inline-block;
  border: solid 1px #707070;
  background: #fff;
  padding-left: 0.5em;
}

.yoyaku-label02 {
  width: 48%;
}

.form-comment {
  box-sizing: border-box;
  border: solid 1px #707070;
  width: 100%;
  background: #fff;
  height: 12em;
  padding: 0.5em;
}

#comment {
  height: 400px;
}

/* プライバシーポリシーに同意 */

.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;
}

/* フォームボタン */
.form-btn__wrap {
  margin-top: 40px;
  text-align: center;
}

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

.form-btn:hover {
  background-color: #fff;
  color: #282828;
  border: solid #707070 1px;
}

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

.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;
}

/*送信完了テキストの削除*/

/*.wpcf7-form.sent .wpcf7-response-output {*/
/*  display: none;*/
/*}*/

@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;
  }

  /* category.php
    ======================================== */
  .postlist-contents a {
    column-gap: 16px;
  }

  .postlist-group {
    width: 56%;
  }

  .postlist-img {
    width: 230px;
    height: 138px;
  }

  .postlist-group p {
    display: none;
  }

  /* single.php
    ======================================== */
  .cat-wrap {
    font-size: 13px;
    column-gap: 14px;
    margin: 40px auto;
  }

  .cat-list {
    gap: 16px;
  }

  .cat-all a,
  .cat-list li a {
    width: 100px;
    height: 32px;
  }
  .postlist-contents a {
    flex-direction: column;
    row-gap: 0;
  }

  .article-imgf img {
    object-fit: cover;
    height: min(42vh, 320px);
  }

  .article-wrap {
    padding: 2em 1em;
  }

  .sns-share__wrap {
    width: 310px;
    margin-top: 2em;
  }

  .pagena {
    width: 310px;
    margin: 2em auto;
  }

  .article-r__list {
    flex-direction: column;
    row-gap: 2em;
  }

  .article-r__list li {
    width: 100%;
  }
}

@media screen and (max-width: 560px) {
  .cat-wrap {
    font-size: 13px;
    column-gap: 14px;
    margin: 40px auto;
  }

  .cat-list {
    gap: 16px;
  }

  .cat-all a,
  .cat-list li a {
    width: 100px;
    height: 32px;
  }
  .postlist-contents {
    flex-direction: column;
    row-gap: 0;
    margin-bottom: 48px;
  }

  .postlist-group {
    margin-top: 1em;
  }

  .postlist-group {
    width: 100%;
  }

  .postlist-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .postlist-group p {
    display: block;
  }

  .postlist-ttl {
    font-size: 18px;
    padding: 0.5em 0;
  }

  .postlist-date__time,
  .post-categories,
  .postlist-youyaku {
    font-size: 13px;
  }

  /* contact01
======================================== */

  .form-box {
    flex-direction: column;
    align-items: stretch;
  }

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