@charset "UTF-8";
p {
  font-family: "kozuka-gothic-pr6n", sans-serif;
}

/* すべての要素から青い枠を削除 */
* {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  outline: none !important;
}

/* モーダル関連の要素を特定して削除 */
.modal-close,
.close-login-modal,
.modal-close img,
button.modal-close {
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
  border: none !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

/* フォーカス、アクティブ、ホバー時も削除 */
.modal-close:focus,
.modal-close:active,
.modal-close:hover,
button:focus,
button:active {
  outline: none !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  border: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* imgタグにも適用 */
.modal-close img:focus,
.modal-close img:active {
  outline: none !important;
  border: none !important;
}

body.wp-autoresize {
  font-family: "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", sans-serif !important;
}

.wrapper {
  padding-top: 50px;
  max-width: 1080px;
  margin: 0 auto;
}

.wrapper-inr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.left-column {
  max-width: 76.19%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-right: 3%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.header {
  height: 50px;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header-inner {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 10px;
}

.logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 381px;
}

@media (max-width: 890px) {
  .logo {
    width: 290px;
  }
}
.header-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px; /* 要素間の余白 */
}

.header-user-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.login {
  margin-left: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.sidebar-header-btn .login [type=button],
.login [type=button] {
  display: block;
  position: relative;
  text-align: center;
  line-height: 35px;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  cursor: pointer;
  font-family: "kozuka-gothic-pr6n", sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-align: right;
  color: #000;
  padding: 8px 14px;
  border: none;
}

.register,
.logout-btn {
  border-radius: 4.8px;
  background-color: #333;
  color: #fff;
  border: none;
  padding: 0;
  margin-left: 10px;
}

.register a,
.logout-btn .admin-link {
  display: block;
  position: relative;
  text-align: center;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  cursor: pointer;
  font-family: "kozuka-gothic-pr6n", sans-serif;
  font-size: 13px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  padding: 11px 15px;
}

.header-user-store {
  font-size: 14px;
  color: #000;
  font-family: "kozuka-gothic-pr6n", sans-serif;
}

.header-user-avatar img {
  width: 20px;
  height: 20px;
  -o-object-fit: cover;
     object-fit: cover;
  margin-right: 8px;
  vertical-align: middle;
}

.menu-toggle {
  margin-left: 14px;
  width: 107px;
  border: none;
  background: none;
}

/* PC幅で特定テンプレートのみ menu-toggle を表示する */
@media (min-width: 836px) {
  body.single .menu-toggle,
  body.author .menu-toggle,
  body.single.single-salon-member .header .menu-toggle body.single-salon-member .menu-toggle,
  body.single-special .menu-toggle {
    display: -webkit-inline-box !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important; /* blockでもOK。既存のdisplay:noneを強制上書き */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding-top: 7px;
  }
}
@media (max-width: 836px) {
  .wrapper {
    padding-top: 0px;
  }
  .wrapper-inr {
    padding: 0;
  }
  .wrapper, .left-column {
    max-width: 100%;
  }
  .left-column {
    padding-right: 0;
  }
  .header {
    height: 108px;
    border-bottom: solid 0.3px #000;
  }
  .header-inner {
    padding-left: 4%;
    padding-right: 5%;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }
  .header-user-info {
    display: none;
  }
  .login {
    margin-left: 0px;
  }
  .register {
    margin-left: 0px;
  }
  .register a {
    padding: 11px 15px;
  }
  .menu-toggle {
    margin-left: 14px;
    width: 107px;
    border: none;
    background: none;
  }
}
@media (max-width: 500px) {
  .header {
    height: 80px;
  }
  .header-inner {
    padding: 0 10px;
  }
  .logo {
    width: 180px;
  }
  .menu-toggle {
    width: 80px;
  }
}
/* サイドバー */
.sidebar {
  width: 23.81%;
  background: #f2f2f2;
  padding: 32.5px 18px 165.5px 27.5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.sidebar-user-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.sidebar-user-avatar img {
  width: 20px;
  height: 20px;
  -o-object-fit: cover;
  object-fit: cover;
  margin-right: 8px;
  vertical-align: middle;
}

.sidebar-user-store {
  font-size: 14px;
  color: #000;
  font-family: "kozuka-gothic-pr6n", sans-serif;
}

@media (max-width: 930px) {
  .sidebar {
    padding-right: 8px;
    padding-left: 20px;
  }
}
/* 投稿やサイドバーの内容は先述のCSSでOK */
.sidebar-section {
  margin-bottom: 39px;
}

.sidebar-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.75;
  letter-spacing: normal;
  text-align: left;
  color: #000;
  margin-bottom: 17px;
}

.sidebar-title h3 {
  font-size: 19px;
}

.sidebar-title .share-ttl {
  font-size: 18px;
}

.accordion-toggle {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  margin-right: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.arrow {
  width: 14px;
  height: 7px;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

.accordion-content {
  padding-left: 0;
  margin: 0px 0 0 2px;
  list-style: none;
  -webkit-transition: max-height 0.2s cubic-bezier(0.46, 0.03, 0.52, 0.96);
  transition: max-height 0.2s cubic-bezier(0.46, 0.03, 0.52, 0.96);
  overflow: hidden;
  max-height: 1000px;
  font-size: 14px;
  line-height: 29px;
  color: #333;
}

.accordion-content.closed {
  max-height: 0;
  margin: 0;
  padding: 0;
}

/* PC表示時 ハンバーガーメニュー */
.menu-toggle {
  display: none;
}

.header-actions .login,
.header-actions .register {
  display: inline-block;
}

.sidebar-header {
  display: none;
}

/* 詳細ページ */
.detail-page .menu-toggle {
  display: inline-block !important;
  margin-left: 38px;
}

.detail-page .sidebar.active {
  right: 0;
}

.detail-page .sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 50%;
  height: 100%;
  background-color: #f2f2f2;
  padding: 0;
  -webkit-box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
          box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  -webkit-transition: right 0.3s ease;
  transition: right 0.3s ease;
  z-index: 10010;
}

.detail-page .sidebar.active {
  right: 0;
}

.detail-page .sidebar-body {
  padding: 0 11%;
}

.detail-page .overlay {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  opacity: 0.74;
  background-color: #000;
  z-index: 900;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.detail-page .overlay.active {
  display: block;
  opacity: 0.74;
}

.detail-page .sidebar-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-bottom: 60px;
  padding: 40px 9% 0;
  padding-left: 5%;
}

.detail-page .sidebar-header-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.detail-page .sidebar-header .close-menu {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 29%;
}

.detail-page .sidebar-header .close-menu img {
  width: 100%;
  height: 40px;
}

/* スマホ表示時 */
@media (max-width: 836px) {
  .sidebar {
    position: fixed;
    top: 0px;
    right: -100%;
    background-color: #f2f2f2;
    width: 50%;
    height: 100%;
    z-index: 1000;
    padding: 0;
    -webkit-box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
            box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    -webkit-transition: left 0.3s, right 0.3s;
    transition: left 0.3s, right 0.3s;
  }
  .sidebar.active {
    right: 0;
  }
  .sidebar-body {
    padding: 0 11%;
  }
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: none; /* ← 初期状態は非表示 */
    width: 100%;
    height: 100%;
    opacity: 0.74;
    background-color: #000;
    z-index: 900;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
  }
  .overlay.active {
    display: block;
    opacity: 0.74;
  }
  .menu-toggle {
    display: inline-block;
  }
  .header-user-info .login,
  .header-user-info .register {
    display: none;
  }
  .header-user-info .login,
  .header-user-info .register {
    display: none;
  }
  .header-actions .login,
  .header-actions .register {
    display: none;
  }
  .sidebar-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin-bottom: 60px;
    padding: 40px 9% 0;
    padding-left: 5%;
  }
  .sidebar-header-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .sidebar-header .close-menu {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 29%;
  }
  .sidebar-header .close-menu img {
    width: 100%;
    height: 40px;
  }
}
@media (max-width: 700px) {
  .sidebar,
  .detail-page .sidebar {
    width: 80%;
  }
  .sidebar-header,
  .detail-page .sidebar-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 60px;
    padding: 40px 9% 0;
    padding-left: 5%;
  }
}
@media (max-width: 450px) {
  .sidebar,
  .detail-page .sidebar {
    width: 85%;
  }
  .sidebar-header,
  .detail-page .sidebar-header {
    margin-bottom: 40px;
    padding-left: 0px;
    padding-right: 10px;
  }
  .sidebar-header .close-menu,
  .detail-page .sidebar-header .close-menu {
    width: 60px;
  }
  .login [type=button],
  .detail-page .login [type=button] {
    font-size: 14px;
    padding: 8px;
  }
}
/* 投稿記事 */
.main {
  padding: 50px 0px 0 0px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.post-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  margin-bottom: 44px;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

.post-item-img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.post-item-img {
  width: 203px;
  height: 203px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.post-body {
  padding: 20px 0px 10px 34px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
}

.entry-item-thumb img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 50px;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
}

.entry-item-title {
  font-size: 21px;
  line-height: 1.38;
  font-weight: normal;
  margin-bottom: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-item-excerpt {
  color: #000;
  font-size: 14px;
  line-height: 1.57;
  margin-bottom: 20px;
  padding-right: 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* ← PCは4行まで表示 */
  overflow: hidden;
}

.meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 13px;
  font-size: 14px;
  line-height: 2;
  color: #333;
}

.user-img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
}

.user-img img {
  display: block;
  height: 20px;
  width: 20px;
}

.store-category {
  padding-left: 12px;
}

.entry-item-published {
  padding-left: 30px;
}

.actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 23px;
}

.actions span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 7px;
  color: #333;
}

.actions img {
  display: block;
  height: 20px;
}

@media (max-width: 836px) {
  .main {
    padding: 24px 17px 0px;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  .post-items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }
  .post-item-img {
    width: 200px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  .post-body {
    padding: 20px 0px 10px 4%;
    width: 75.8%;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* 縦中央寄せしたいなら */
    overflow: hidden;
  }
  .post-item-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .post-body {
    padding: 20px 0 10px 4%;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    overflow: hidden;
  }
  .entry-item-title {
    font-size: 21px;
    line-height: 1.4;
    margin-bottom: 0;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* スマホは2行まで表示 */
    overflow: hidden;
  }
  .meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 13px;
    font-size: 14px;
    line-height: 2;
    color: #333;
  }
}
@media screen and (max-width: 768px) {
  .post-items {
    margin-bottom: 30px;
  }
  .post-body {
    width: calc(100% - 120px);
    padding: 0px 0 0px 4%;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    overflow: hidden;
  }
  .post-item-img {
    width: 180px;
    height: 180px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  .entry-item-title {
    margin-bottom: 10px;
  }
  .entry-item-excerpt {
    margin-bottom: 10px;
  }
  .meta {
    margin-bottom: 3px;
  }
  .actions img {
    display: block;
    height: 15px; /* 必要に応じて調整 */
  }
}
@media screen and (max-width: 576px) {
  .main {
    padding: 20px 10px 30px;
  }
  .post-items {
    margin-bottom: 20px;
  }
  .post-item-img {
    width: 120px;
    height: 120px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  .entry-item-title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    white-space: normal;
    letter-spacing: 0.78px;
  }
  .entry-item-excerpt {
    display: none;
  }
  .store-category {
    padding-left: 4px;
    font-size: 12px;
  }
  .entry-item-published {
    padding-left: 10px;
    font-size: 12px;
  }
  .user-img img {
    display: block;
    height: 15px;
    width: 15px;
  }
  .actions {
    gap: 15px;
    font-size: 12px;
  }
  .actions span {
    gap: 2px;
  }
}
/* サロンメンバー一覧 */
.list-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  font-size: 32px;
  font-weight: 500;
  color: #000;
  line-height: 1.75;
}
.list-title span {
  font-size: 19px;
  padding-right: 14px;
  display: inline-block;
}

.list-head {
  margin-bottom: 44px;
}

.member-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 15px; /* 間隔はお好みで調整 */
}

@media (max-width: 836px) {
  .list-title {
    font-size: 23px;
  }
  .list-title span {
    font-size: 16px;
    padding-right: 8px;
  }
  .list-head {
    margin-bottom: 25px;
  }
}
.member-item {
  width: calc((100% - 30px) / 3);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: #fff;
  padding: 12px 14px;
  border-radius: 5px;
  border: solid 0.3px #000;
}

.member-item-img,
.member-item-meta {
  text-align: center;
}

.member-item-img {
  width: 100%;
  height: 203px;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 5px;
}

.member-item-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.member-main-store {
  color: #000;
  line-height: 2.23;
  font-size: 13px;
  min-height: 2.23em;
}

.member-store {
  color: #000;
  line-height: 1.32;
  font-size: 22px;
  min-height: 1.32em;
}

.member-name {
  line-height: 2.23;
  font-size: 13px;
  color: #000;
  min-height: 2.23em;
}

.member-item-excerpt {
  text-align: left;
  padding: 0 10px;
  font-size: 14px;
  line-height: 1.71;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* 最大3行まで */
}

.member-item-excerpt p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  white-space: normal;
  margin: 0;
}

@media (max-width: 836px) {
  .member-item {
    width: calc((100% - 17px) / 2);
            box-sizing: border-box;
            border: solid 1px #999;
  }
.member-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 9px;
    justify-content: space-between;
  }
  .member-item-img img {
    width: 100%;
    max-height: 300px;
  }
  .member-item-excerpt {
    padding: 0;
  }
  .wprofile-content span.user-name {
    display: block;
    margin-top: 6px;
    margin-bottom: 21px;
    border-bottom: solid 0.3px #000;
    padding-bottom: 10px;
  }
}
@media screen and (max-width: 576px) {
  .member-store {
    font-size: 17px;
    font-weight: normal;
  }
  .member-item-excerpt p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    white-space: normal;
  }
}
/* 詳細ページ */
.detail-page .main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-right: 15px;
  padding-left: 15px;
}

.entry-box .entry-item-title {
  font-size: 26px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  color: #000;
  display: block;
}

.entry-header {
  margin-bottom: 45px;
}

.entry-body {
  line-height: 2;
}

.entry-box .actions {
  margin-bottom: 60px;
}

.user-column {
  width: 29.8%;
  padding-right: 6%;
}

.wprofile-img {
  margin-bottom: 36px;
}

.book-store {
  font-family: "kozuka-gothic-pr6n", sans-serif;
  font-size: 22px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.32;
  letter-spacing: normal;
  text-align: left;
  color: #000;
  margin-bottom: 45px;
}

.book-store span {
  display: block;
  font-size: 13px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  color: #000;
}

.book-store > span:first-child {
  display: block;
}

.book-store .store-name,
.book-store .user-name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.book-store .store-name {
  padding-right: 11px;
  font-size: 22px;
  font-family: "kozuka-gothic-pr6n", sans-serif;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.32;
  letter-spacing: normal;
  text-align: left;
  color: #000;
  margin-bottom: 0px;
  margin-top: 9px;
  margin-bottom: 9px;
}

.book-store .user-name {
  line-height: 1;
}

.wprofile-txt {
  margin-bottom: 50px;
  font-family: "kozuka-gothic-pr6n", sans-serif;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.57;
  letter-spacing: normal;
  text-align: left;
  color: #000;
 word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;  /* 最新の仕様 */
    hyphens: auto;  /* ハイフネーション（optional） */
}

.book-list-title {
  font-family: "kozuka-gothic-pr6n", sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  text-align: left;
  color: #000;
  border-bottom: solid 0.3px #000;
  padding-bottom: 10px;
  line-height: 1.3;
  margin: 5px 0 15px;
  padding: 0 0 10px;
}

.book-list {
  padding-top: 18px;
  list-style: none;
  padding-left: 0;
  padding: 0 0 0 20px;
}

.book-list li {
  position: relative;
  font-family: "kozuka-gothic-pr6n", sans-serif;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  text-align: left;
  line-height: 1.35em;
  text-decoration: none;
  color: #000;
  padding-bottom: 8px;
}

.post-column {
  width: 70%;
}

@media (max-width: 836px) {
  .entry-box .entry-item-title {
    margin-bottom: 20px;
  }
  .detail-page .main {
    display: block;
  }
  .wprofile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .wprofile-img {
    width: 15%;
    min-width: 120px;
  }
  .wprofile-content {
    width: 85%;
    padding-left: 5%;
  }
  .book-store .store-name,
  .book-store .user-name {
    display: inline-block;
    vertical-align: baseline;
  }
  .book-store .store-name {
    margin-bottom: 0;
  }
  .book-list li {
    font-size: 12px;
  }
  .book-store {
    margin-bottom: 15px;
  }
  .user-column {
    width: 100%;
    padding-right: 0;
    position: relative;
    padding-bottom: 40px;
  }
  .user-column::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -15px; /* 親のpaddingと同じ値をマイナス指定 */
    right: -15px;
    height: 1px;
    background-color: #ccc;
  }
  .book-list-title {
    font-size: 13px;
  }
  .post-column {
    width: 100%;
    padding-top: 30px;
  }
  .wprofile-txt {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 576px) {
  .wprofile-img {
    width: 15%;
    min-width: 90px;
  }
  .wprofile-content {
    width: 85%;
    padding-left: 5%;
  }
}
/* タブレット：2列 */
@media (max-width: 500px) {
  .book-list li {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(50% - 10px);
            flex: 1 1 calc(50% - 10px);
  }
}
/* スマホ：1列 */
@media (max-width: 380px) {
  .entry-box .entry-item-title {
    font-size: 23px;
  }
  .post-column {
    padding-top: 15px;
  }
}
/* 投稿-詳細 */
.entry-box {
  border-bottom: #000 solid 0.3px;
}

/* 投稿-詳細 コメント欄 */
.comment-section {
  padding-top: 35px;
  padding-bottom: 18px;
  border-top: #000 solid 0.3px;
  border-bottom: solid 0.3px #000;
  --avatar: 59px;
  --gap: 30px;
  --indent: calc(var(--avatar) + var(--gap));
  --child-pad-left: 20px;
}

.comment-section p {
  padding-bottom: 17px;
}

.comment-section .children > li {
  padding-bottom: 17px;
  --avatar: 40px;
  --gap: 20px;
  --indent: calc(var(--avatar) + var(--gap));
  --child-pad-left: 15px;
}

.comment-title {
  font-size: 18px;
  margin-bottom: 10px;
  display: inline-block;
  padding-left: 26px;
  background: url("../img/icon-comment.png") no-repeat left center;
  background-size: 20px 20px;
  line-height: 1.4;
}

.comment-item {
  padding: 30px 0;
  position: relative;
  display: grid;
  grid-template-columns: var(--avatar) 1fr;
  -webkit-column-gap: var(--gap);
     -moz-column-gap: var(--gap);
          column-gap: var(--gap);
  border-bottom: #000 solid 0.3px;
}

.comment-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.comment-icon img {
  height: 100%;
  width: var(--avatar);
  height: var(--avatar);
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.comment-meta {
  font-size: 17px;
  font-family: "kozuka-gothic-pr6n", sans-serif;
  color: #333;
  margin-bottom: 10px;
}

.comment-meta .user {
  margin-left: 10px;
}

.comment-meta .date {
  display: block;
  font-size: 13px;
  margin-top: 10px;
  color: #333;
}

.comment-item p {
  font-size: 14px;
  color: #333;
  line-height: 1.86;
}

.comment-toggle {
  background: none;
  border: none;
}

.new-post {
  padding-top: 65px;
}

.comment-respond {
  padding-bottom: 30px;
  padding-top: 30px;
}

.comment-reply-title {
  font-size: 16px;
  color: #333;
  font-weight: normal;
}

.logged-in-as strong {
  font-weight: normal;
  color: #333;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-text {
  margin-top: 8px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* アクション（編集・いいね・返信） */
.comment-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 8px;
}

.comment-actions .edit-link {
  font-size: 12px;
}

a.comment-reply-link {
  font-size: 12px;
  text-decoration: none;
}

#respond {
  scroll-margin-top: 100px;
}

.comment-list .children {
  margin-top: 12px;
  margin-bottom: 12px;
  margin-left: var(--indent); /* ← ココが“画像1個ぶん移動” */
  width: calc(100% - var(--indent)); /* 親より少し狭く */
  padding-left: var(--child-pad-left); /* 縦線から本文までの余白 */
  border-left: 1px solid #333; /* うっすら縦線 */
}

@media (max-width: 836px) {
  .comment-section {
    margin-bottom: 35px;
  }
  .comment-item:last-child {
    padding-bottom: 0;
  }
  .new-post {
    padding-top: 30px;
  }
  .comment-meta .user {
    font-size: 14px;
    margin-left: 5px;
  }
}
@media screen and (max-width: 576px) {
  .comment-section {
    padding-top: 20px;
  }
  .comment-icon {
    margin-right: 15px;
  }
  .comment-section {
    --avatar: 34px;
    --gap: 8px;
    --indent: calc(var(--avatar) + var(--gap));
    --child-pad-left: 12px;
  }
  .comment-meta .user {
    display: block;
    margin-left: 0;
  }
}
.user-avatar img {
  width: 20px;
}

/* いいね機能 */
.like-button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.like-button .icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url("../img/icon-good.png") no-repeat center center;
  background-size: contain;
}

.like-button.is-liked .icon {
  background-image: url("../img/icon-red-good.png");
  width: 24px;
  height: 24px;
}

.like-button .like-count {
  font-size: 14px;
  color: #333;
}

.like-button .tooltip-text {
  display: none;
  position: absolute;
  bottom: 125%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1000;
}

.like-button:hover .tooltip-text {
  display: block;
}

@media screen and (max-width: 576px) {
  .like-button .icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url("../img/icon-good.png") no-repeat center center;
    background-size: contain;
  }
  .like-button.is-liked .icon {
    width: 20px;
    height: 20px;
  }
}
/* シェア：モーダル */
.share-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.share-modal .modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: #fff;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: left;
}

#shareModalTitle {
  font-size: 20px;
  margin-bottom: 25px;
}

.modal-actions {
  text-align: right;
  margin-top: 1rem;
}

.modal-actions button {
  padding: 0.5rem 1rem;
  margin-left: 0.5rem;
  font-size: 14px;
}

.share-content {
  padding: 40px 0;
  border-bottom: solid 0.3px #333;
  margin-bottom: 60px;
}

.share-button {
  background: none;
  border: none;
}

.share-count {
  font-size: 18px;
  margin-bottom: 10px;
  display: inline-block;
  padding-left: 26px;
  background: url(../img/icon-share.png) no-repeat left center;
  background-size: 20px 20px;
  line-height: 1.4;
}

.form-group input {
  width: 100%;
  padding: 11px 16px;
  margin-bottom: 31px;
  border: 0.5px solid #000;
  font-size: 1em;
}

.share-modal textarea {
  width: 100%;
  padding: 11px 16px;
  margin-bottom: 31px;
  border: 0.3px solid #000;
  font-size: 1em;
}

.share-modal input::-webkit-input-placeholder, .share-modal textarea::-webkit-input-placeholder {
  color: #aaa;
  font-size: 14px;
}

.share-modal input::-moz-placeholder, .share-modal textarea::-moz-placeholder {
  color: #aaa;
  font-size: 14px;
}

.share-modal input:-ms-input-placeholder, .share-modal textarea:-ms-input-placeholder {
  color: #aaa;
  font-size: 14px;
}

.share-modal input::-ms-input-placeholder, .share-modal textarea::-ms-input-placeholder {
  color: #aaa;
  font-size: 14px;
}

.share-modal input::placeholder,
.share-modal textarea::placeholder {
  color: #aaa;
  font-size: 14px;
}

.hbk-quote {
  padding: 10px;
  border: solid #bbbbbb 1px;
}

.entry-item-title img {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  margin-right: 6px;
}

.hbk-quote .entry-item-title {
  font-size: 18px;
}

/* ログイン・モーダル */
#loginModal {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: none; /* ← 初期非表示 */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 10000;
}

#loginModal.is-open {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important; /* ← Safari 競合対策で必須 */
}

.modal-content {
  background: #fff;
  padding: 40px 30px;
  width: 100%;
  max-width: 420px;
  border-radius: 4px;
  -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
          box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 15%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  text-align: center;
  /* ↓ iOS対策（内容が多い時スクロールできるように） */
  max-height: 86vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

body.modal-open {
  overflow: hidden; /* 背景スクロール禁止 */
}

.modal-close {
  position: absolute;
  top: 21px;
  right: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.modal-close img {
  width: 24px;
  height: 24px;
  display: block;
}

.modal-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 30px;
}

.modal-logo img {
  width: 297px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

#modalLoginForm input {
  width: 100%;
  padding: 11px 16px;
  margin-bottom: 31px;
  border: 0.5px solid #000;
  font-size: 1em;
}

#loginButton {
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
  font-size: 1em;
  margin-bottom: 44px;
}

.modal-links {
  margin-bottom: 40px;
}

.modal-links a {
  color: #000;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 0.3px solid #000;
  padding: 0 10px 10px;
}

.modal-register a {
  display: inline-block;
  border: 0.5px solid #000;
  padding: 10px 20px;
  color: #000;
  text-decoration: none;
  font-size: 17px;
}

.member-only-message {
  margin-top: 2em;
  margin-top: 20px;
  padding: 1em;
  background: #f0f0f0;
  text-align: center;
}

.member-only-message .open-login-modal {
  display: inline-block;
  padding: 10px 20px;
  background: #005bac;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  margin-left: 0;
  font-size: 16px;
  width: 120px;
}

.member-only-message .more-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #3a88c8;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  width: 120px;
}

/* ページネーション */
/* ページネーション全体 */
.pagenation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  margin: 30px 0;
}

/* 共通ボタン（リンク・現在ページ） */
.pagenation a,
.pagenation span {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 40px; /* PCサイズ */
  height: 40px; /* PCサイズ */
  border: 1px solid #000;
  text-decoration: none;
  font-weight: 600;
  color: #000;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  font-size: 14px; /* 文字サイズ */
}

/* ホバー時 */
.pagenation a:hover {
  background: #000;
  color: #fff;
}

/* 現在ページ */
.pagenation .current {
  background: #000;
  color: #fff;
}

/* 前後ボタンの記号（≪≫） */
.pagenation .prev,
.pagenation .next {
  font-size: 16px;
}

/* ===== スマホ用 ===== */
@media (max-width: 640px) {
  .pagenation a,
  .pagenation span {
    width: 30px; /* 小さめに */
    height: 30px;
    font-size: 12px;
  }
}

/* デスクトップでは全文表示 */
.store-text-mobile {
    display: none !important;
}

/* スマホでは短縮版を表示 */
@media (max-width: 768px) {
    .store-text-full {
        display: none !important;
    }
    .store-text-mobile {
        display: inline !important;
    }
}

aside.sidebar.active.is-open {
    overflow-y: scroll;
}