@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/*
Theme Name: jirei Child
Version: 1
Template: jirei
*/

:root {
  --primary: #092242;
  --secondary: #459169;
  --danger: #cc0000;
  --blue: #0050a9;
  --light-brue: #5ca5e9;
  --pale-blue: #eff3f7;
  --yellow: #ffdb82;
  --gray: #bbbbbb;
  --light-gray: #f7f7f7;
  --light: #f0f0f0;
  --white: #fff;
  --dark: #252525;

  --breakpoint-sm: false;
  --breakpoint-md: false;
  --breakpoint-lg: false;
  --breakpoint-xl: false;
  --breakpoint-xxl: false;

  @media (max-width: 480px) {
    --breakpoint-sm: true;
  }

  @media (max-width: 834px) {
    --breakpoint-md: true;
  }

  @media (max-width: 1023px) {
    --breakpoint-lg: true;
  }

  @media (max-width: 1200px) {
    --breakpoint-xl: true;
  }

  @media (max-width: 1400px) {
    --breakpoint-xxl: true;
  }
}

/*  ========================================================================== */
/* 全体 */
/*  ========================================================================== */

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body, select, optgroup, textarea {
  color: var(--primary);
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 500;
  line-height: 1.7;
}

body {
  background: var(--white);
  letter-spacing: 1px;
}

.post, .page {
  margin: 0;
}

img {
  vertical-align: bottom;
}

/* リンク */
a, a:hover, a:visited {
  color: var(--primary);
  text-decoration: none;
  transition: .4s;
}

a:hover {
  color: var(--secondary);
}

p a {
  color: var(--secondary);
}

p a:hover {
  color: var(--primary);
}

/* 文字 */
p {
  font-size: 1rem;
}

h1 {
  font-size: 1.45em;
  margin: 0.67em 0;
}

h2 {
  font-size: 1.15rem;
}

article h2 {
  margin-top: 3rem;
}

h3 {
  font-size: 1rem;
}

.txt-bold {
  font-weight: bold;
}

.txt-secondary {
  color: var(--secondary);
}

.marker-yellow {
  box-shadow: 0px -10px 0px var(--yellow) inset;
  font-style: normal;
  width: fit-content;
}

@container style(--breakpoint-sm: true) {
  h1 {
    margin: 1.67em 0 0.67em;
  }
}

/* ボタン */
button, input[type="button"], input[type="reset"], input[type="submit"] {
  background: var(--primary);
  border: none;
  border-radius: 0.25rem;
  color: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.7rem;
  transition: .4s;
}

button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
  opacity: .8;
}

.btn01 a {
  display: block;
  background: var(--primary);
  border: none;
  border-radius: 0.25rem;
  color: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  margin: 1.5rem 0;
  padding: 0.7rem 1rem;
  transition: .3s;
  width: fit-content;
}

.btn01 a:hover {
  background: var(--secondary);
}

/* リスト */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list01 {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  gap: 1rem;
  margin: 1rem 0;
}

.list01 li::before {
  content: '\F231';
  font-family: bootstrap-icons;
  vertical-align: bottom;
}

/*  ========================================================================== */
/* ヘッダー */
/*  ========================================================================== */
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.header-wrap a {
  color: var(--primary);
  font-weight: 700;
}

.main-navigation {
  display: block;
  width: auto;
}

/* ヘッダータイトル */
.site-title a img {
  max-width: 160px;
}

/* ヘッダーメニュー */
.main-navigation ul {
  display: flex;
  align-items: center;
}

.main-navigation ul li {
  position: relative;
  font-size: 0.9rem;
  letter-spacing: 2px;
  padding: 0 0.5rem;
}

.menu-login a {
  display: block;
  background: var(--white);
  border: 1px solid var(--secondary);
  border-radius: 1.25rem;
  color: var(--secondary);
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 0.3rem 0.9rem;
  transition: .4s;
}

.menu-login a:hover {
  background: var(--secondary);
  color: var(--white);
}

.main-navigation ul li a i {
  font-size: 0.85rem;
  margin-right: 2px;
}

.hamburger {
  display: none;
}

/* ハンバーガーメニュー */
@container style(--breakpoint-lg: true) {
  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 10;
  }

  .header-wrap {
    display: none;
    background: #e6e6e6ee;
    border-radius: 0 0 0 1rem;
    width: 280px;
    margin: 0 0 0 auto;
    padding: 50px 30px;
  }

  .site-title a img {
    display: block;
    margin: 0 auto;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-login a {
    margin: 1rem 0;
  }

  .hamburger {
    display: block;
    position: absolute;
    background: var(--primary);
    border-radius: 0 0 0 22px;
    cursor: pointer;
    top: 0;
    right: 0;
    width: 52px;
    height: 47px;
    z-index: 10;
  }

  .hamburger span {
    position: absolute;
    background-color: var(--white);
    border-radius: 2px;
    transition: all .3s;
    right: 13px;
    width: 24px;
    height: 4px;
    z-index: 15;
  }

  .hamburger span:nth-of-type(1) {
    top: 14px;
  }

  .hamburger span:nth-of-type(2) {
    top: 26px;
  }

  .hamburger.open span {
    width: 26px;
  }

  .hamburger.open span:nth-of-type(1) {
    top: 14px;
    transform: translateY(6px) rotate(-45deg);
  }

  .hamburger.open span:nth-of-type(2) {
    top: 26px;
    transform: translateY(-6px) rotate(45deg);
  }
}


/*  ========================================================================== */
/* 固定ページ */
/*  ========================================================================== */
/* 全体 */
article.page-content {
  margin: 1rem 0 4rem;
}

h2 {
  border-bottom: 1px solid var(--primary);
  font-size: 1.25rem;
  margin: 3.5rem 0 2rem;
  padding-bottom: 0.25rem;
}

h3 {
  background: var(--light-gray);
  margin: 2rem 0 1rem;
  padding: 0.4rem 0.5rem;
}

.wp-block-button__link {
  color: var(--white);
  background-color: var(--secondary);
  border-radius: 0.25rem;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
}

.wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active {
  color: var(--white);
  opacity: .8;
}

/* トップページ */
article.page-content.page-top-img {
  margin: 0 0 3rem;
}

.page-top-img .top-img {
  border-radius: 0.5rem;
  overflow: hidden;
}

/* 記事一覧・カテゴリーメニュー */
.page-all-menu {
  margin: 0 0 3rem;
}

.page-all-menu a {
  display: block;
  background: var(--light);
  border-radius: 0.25rem;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  width: fit-content;
  transition: .3s;
}

.page-all-menu a:hover {
  color: var(--primary);
  background: var(--gray);
}

.catmenu_parent {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.catmenu_parent>li {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.catmenu_child {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-othermenu {
  margin: 0 0 1rem;
}

.page-othermenu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 記事一覧 */
.page-entry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@container style(--breakpoint-sm: true) {
  .page-all-menu a {
    padding: 0.3rem 0.5rem;
  }

  .catmenu_child {
    gap: 0.5rem;
    margin: 0.5rem 0;
  }
}

.entry-card {
  display: flex;
  background: var(--light-gray);
  border-radius: 0.25rem;
  flex-direction: column;
  width: calc(50% - 0.5rem);
  padding: 1.5rem;
}

.entry-card-content {
  display: block;
  position: relative;
}

h2.entry-content-title {
  border: none;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0 2rem 0 0;
}

.entry-content-excerpt {
  color: var(--dark);
  font-size: 1rem;
  font-weight: 400;
  height: 4rem;
  margin: 0.5rem 0 1rem;
}

.entry-content-time {
  color: var(--gray);
  font-size: 0.8rem;
}

.entry-content-fav {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
}

@container style(--breakpoint-md: true) {
  .entry-card {
    width: 100%;
  }

  .entry-content-excerpt {
    height: auto;
    margin: 0 0 0.5rem;
  }
}

/* 記事一覧：カテゴリー */
.entry-content-cat a {
  display: block;
  font-size: 0.8rem;
}

.entry-content-cat_nest {
  margin-left: 0.5rem;
}

.entry-content-cat_item {
  display: flex;
  flex-wrap: wrap;
}

.entry-content-cat_item a, .entry-content-cat_nest-item a {
  font-family: bootstrap-icons;
  vertical-align: bottom;
  margin-right: 4px;
}

.entry-content-cat_item a::before {
  content: '\F3D1';
}

.entry-content-cat_nest-item a::before {
  content: '\F3D7';
}

/* 記事一覧：ページネーション */
.page-entry-pager {
  width: 100%;
}

.entry-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.entry-pagination li {
  background: var(--light);
  border-radius: 0.25rem;
  line-height: 2;
  text-align: center;
  width: 2rem;
  height: 2rem;
  margin: 0.3rem;
}

.entry-pagination li a {
  display: block;
  border-radius: 0.25rem;
  background: var(--gray);
}

/*  ========================================================================== */
/* カテゴリーページ */
/*  ========================================================================== */
/* 記事一覧 */
#category .post-categories {
  margin: 0;
}

#category .post-categories li::before, .post-categories li:first-child::before {
  display: none;
}

#category .post-categories li {
  display: flex;
  padding: 0;
}

/*  ========================================================================== */
/* メイン（投稿） */
/*  ========================================================================== */
main {
  max-width: 920px;
  margin: 0 auto 6rem;
  padding: 1rem;
}

@container style(--breakpoint-lg: true) {
  main {
    padding-top: 4rem;
  }
}

/* 投稿：タイトルまわり */
.entry-title {
  border-bottom: 2px solid var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.9rem;
  gap: 0.5rem;
  margin: 0 0 0.25rem;
}

.meta-date {
  color: var(--gray);
}

/* 投稿：本文まわり */
h2.entry-ttl {
  border-bottom: 1px solid var(--gray);
  margin: 0 0 1.5rem;
  padding-bottom: 0.5rem;
}

h3.entry-ttl {
  margin: 1.5rem 0 0;
}

.entry-content h3 {
  margin: 2rem 0 0;
  width: 100%;
  padding: 0.4rem 0.5rem;
}

.entry-txt-inner {
  background: var(--light-gray);
  border-radius: 0.25rem;
  padding: 1.5rem;
  margin: 2rem 0;
}

.entry-txt-inner div {
  margin: 0 0 2rem;
}

.entry-txt-inner div:last-child {
  margin: 0;
}

.entry-txt-inner h3 {
  background: var(--white);
}

.entry-txt-inner p {
  margin: 0.5rem 0 0;
  font-weight: 400;
}

/* 投稿：添付ファイル */
.entry-img {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.entyry-img-inner {
  margin: 0 0 2rem;
  flex: 1;
}

.entyry-img-inner img {
  max-height: 500px;
}

.entry-file {
  margin: 3rem 0;
}

.entry-file .file-zoombtn {
  display: block;
  color: var(--white);
  background: var(--secondary);
  width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  margin: 0.5rem 0 0;
}

.entry-file .file-zoombtn:hover {
  opacity: 0.8;
}

/* 投稿：Favorite */
.entry-fav .simplefavorite-button i::after {
  content: 'マネしたい！';
  font-style: normal;
}

/* 投稿：カテゴリー */
.post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.post-categories li {
  background: var(--light-gray);
  border-radius: 0.25rem;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
}

.post-categories li::before, .post-categories li:first-child::before {
  font-family: bootstrap-icons;
  vertical-align: bottom;
  margin-right: 4px;
}

.post-categories li::before {
  content: '\F3D7';
}

.post-categories li:first-child::before {
  content: '\F3D1';
}

/* 投稿：コメント */
.comments-area {
  background: var(--light);
  padding: 2rem;
  margin: 3rem 0;
}

.comments-area h3 {
  margin: 0;
}

/* 投稿：コメント表示 */
.comment-list {
  margin: 0 0 2rem;
  padding: 0 0 1.5rem 2em;
  border-bottom: 1px solid var(--primary);
}

h2.comments-title {
  display: none;
}

.avatar {
  display: none;
}

.reply a {
  display: block;
  margin: 0 0 2rem;
  color: var(--secondary);
}

/* 投稿：フッター */
.entry-footer {
  margin: 2rem 0;
  border-top: 1px solid var(--gray);
  padding-top: 1rem;
}

/*  ========================================================================== */
/* フッター */
/*  ========================================================================== */
.site-footer {
  background: var(--light-gray);
  margin: 0 auto;
  padding: 3rem 1rem 1rem;
}

.footer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto;
}

@container style(--breakpoint-sm: true) {
  .footer-list {
    flex-direction: column;
  }
}

/* トップへ戻るボタン */
.page-top {
  position: fixed;
  font-size: 3rem;
  bottom: 3rem;
  right: 3rem;
}

@container style(--breakpoint-sm: true) {
  .page-top {
    bottom: 1rem;
    right: 2rem;
  }
}

/* フッター：カテゴリー */
.footer-list_content.footer-cat {
  width: 55%;
}

.footer-cat li a {
  display: block;
  padding: 0.15rem 0;
}

.footer-cat_parent {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  justify-content: space-between;
  gap: 2rem;
}

.footer-cat_parent>li {}

.footer-cat_parent span {
  display: inline-block;
  background: var(--gray);
  border-radius: 5px;
  font-size: 0.7rem;
  padding: 1px 6px;
  margin-left: 3px;
  vertical-align: text-bottom;
}

.footer-cat_child {
  margin-left: 1rem;
}

@container style(--breakpoint-sm: true) {
  .footer-list_content.footer-cat {
    width: 100%;
  }

  .footer-cat_parent {
    font-size: 0.8rem;
  }
}

/* フッター：検索 */
.footer-search {
  flex: 1;
}

input.search-field {
  font-size: 0.9rem;
  padding: 0.5em 0.65rem;
  border: 1px solid var(--primary);
}

/* フッター：コピーライト */
.site-info p {
  color: #555;
  font-size: 0.9rem;
  margin-top: 5rem;
  text-align: center;
}

/*  ========================================================================== */
/* 管理画面 */
/*  ========================================================================== */


/*  ========================================================================== */
/* 投稿画面 */
/*  ========================================================================== */

/* レイアウト */
#poststuff #post-body {
  padding: 0;
  display: flex;
  flex-direction: column;
}

#postbox-container-2 {
  order: 1;
}

#postbox-container-1 {
  order: 2;
}

#normal-sortables {
  display: flex;
  flex-direction: column;
}

#acf-group_6842708b9371c {
  order: 1;
}

#categorydiv {
  order: 2;
}

#acf-group_686247ec4395e {
  order: 3;
}

#acf-group_6863651877974 {
  order: 4;
}

#acf-group_68636cb137062 {
  order: 5;
}

#acf-group_68623ba3d2e00 {
  order: 8;
}

/* ACFで追加したフィールドまわり */
.inside.acf-fields.-top {
  display: flex;
  flex-wrap: wrap;
}

.acf-fields>.acf-field {
  width: 100%;
}

.acf-field.acf-field-68622d8accf24, .acf-field.acf-field-68622e2bccf25 {
  width: 30%;
}

.acf-field.acf-field-6864df3a4fcc4 .acf-input-wrap, .acf-field.acf-field-6864dfcc4fcc5 .acf-input-wrap {
  width: 300px;
}

/* 表示オプションを非表示 */
.post-type-post #screen-meta-links {
  display: none;
}

/* 不要な要素を非表示 */
#tagsdiv-post_tag, #postimagediv, #trackbacksdiv, #commentstatusdiv, #slugdiv, #postexcerpt {
  display: none;
}

/* 投稿画面のお気に入り数（カスタムフィールド）を非表示 */
.acf-field.acf-field-number.acf-field-68623ba3d5147 {
  display: none;
}