@charset "UTF-8";
/* ------------------------------------------------------------------
   article.css  —  カスタム投稿タイプ `article` 専用スタイル
   single-article.php からのみ読み込まれる。
   fika テーマ（assets/css/style.css の投稿ページ部）を移植し、
   全セレクタを .hgp-article 配下にスコープしているため、
   他の投稿・固定ページ・商品詳細には一切影響しない。
   ------------------------------------------------------------------ */
@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Zen+Kaku+Gothic+New:wght@400;700&display=swap");

/* ---- 表示切替ユーティリティ（hugukumi 側の .pc-only/.sm-only と衝突させないため別名） ---- */
.hgp-article .hgp-sm-only { display: none; }
@media only screen and (max-width: 789px) {
  .hgp-article .hgp-pc-only { display: none !important; }
  .hgp-article .hgp-sm-only { display: block; }
}

/* ---- ここから fika 投稿レイアウト移植 ---- */
.hgp-article .header-wrap {
  background-color: #F8F8ED;
  padding: 100px 7.5%;
}
@media only screen and (max-width: 789px) {
  .hgp-article .header-wrap {
    padding: 15% 5%;
  }
}
.hgp-article .header-wrap .sm-single-title {
  display: none;
}
@media only screen and (max-width: 789px) {
  .hgp-article .header-wrap .sm-single-title {
    display: block;
    border-bottom: 1px solid white;
    margin-bottom: 5%;
    position: relative;
  }
  .hgp-article .header-wrap .sm-single-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background-color: white;
  }
  .hgp-article .header-wrap .sm-single-title .sm-single-title-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-self: flex-start;
    padding-bottom: 10px;
  }
  .hgp-article .header-wrap .sm-single-title .sm-single-date {
    color: #AFAFAF;
    font-size: 12px;
    font-family: Jost;
    font-weight: 500;
    letter-spacing: 0.6px;
    word-wrap: break-word;
    margin-left: 5px;
    margin-right: 10px;
  }
  .hgp-article .header-wrap .sm-single-title .sm-single-tag {
    color: #AFAFAF;
    font-size: 12px;
    font-family: Jost;
    font-weight: 500;
    letter-spacing: 0.6px;
    word-wrap: break-word;
  }
}
.hgp-article .header-wrap .sm-single-title-2 {
  color: #4C4948;
  font-size: 17px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  line-height: 25.5px;
  text-overflow: ellipsis;
}
@media only screen and (max-width: 789px) {
  .hgp-article .header-wrap .sm-single-title-2 {
    margin-bottom: 20px;
    font-size: 18px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    line-height: 32.4px;
    word-wrap: break-word;
  }
}
.hgp-article .header-wrap-inner {
  display: flex;
  justify-content: flex-start;
  align-items: self-end;
}
@media only screen and (max-width: 789px) {
  .hgp-article .header-wrap-inner {
    display: block;
  }
}
.hgp-article .header-wrap-inner-img {
  width: 25%;
  aspect-ratio: 1/1;
  border-radius: 10px;
  border: 4px solid white;
  overflow: hidden; /* はみ出しカット */
  display: block;
}
@media only screen and (max-width: 789px) {
  .hgp-article .header-wrap-inner-img {
    width: 100%;
  }
}
.hgp-article .header-wrap-inner-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* 中央トリミング */
  border-radius: 0; /* 親で角丸指定してるので不要 */
}
.hgp-article .header-wrap-inner .header-right-content {
  margin: 0px 0px 0px 50px;
  width: 70%;
}
@media only screen and (max-width: 789px) {
  .hgp-article .header-wrap-inner .header-right-content {
    width: 100%;
    margin: auto;
  }
}
.hgp-article .header-wrap-inner .header-right-content .single-title {
  color: #4C4948;
  font-size: 17px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  line-height: 25.5px;
  word-wrap: break-word;
}
@media only screen and (max-width: 789px) {
  .hgp-article .header-wrap-inner .header-right-content .single-title {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.hgp-article .header-wrap-inner .header-right-content .post-title-setumei {
  color: #4C4948;
  font-size: 15px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 300;
  line-height: 27px;
  word-wrap: break-word;
  margin-top: 20px;
}
.hgp-article .header-wrap-inner .header-right-content .editer-wright-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 3px;
}
.hgp-article .header-wrap-inner .header-right-content .editer-wright-flex .editer-wright {
  color: #AFAFAF;
  font-size: 12px;
  font-family: Jost;
  font-weight: 500;
  letter-spacing: 0.6px;
  word-wrap: break-word;
}
.hgp-article .header-wrap-inner .header-right-content .editer-wright-flex .editer-tag {
  color: #AFAFAF;
  font-size: 12px;
  font-family: Jost;
  font-weight: 500;
  letter-spacing: 0.6px;
}
.hgp-article .header-wrap-inner .editer-date {
  color: #AFAFAF;
  font-size: 12px;
  font-family: Jost;
  font-weight: 500;
  letter-spacing: 0.6px;
  word-wrap: break-word;
  margin: 0px 0px 20px auto;
  display: block;
  text-align: right;
}
@media only screen and (max-width: 789px) {
  .hgp-article .header-wrap-inner .editer-date {
    display: none;
  }
}

.hgp-article .index-wrap {
  width: 75%;
  margin: 0px auto;
  padding: 70px 0px;
}
@media only screen and (max-width: 789px) {
  .hgp-article .index-wrap {
    width: 90%;
    padding: 15% 0px 10%;
  }
}
.hgp-article .index-wrap .index-title {
  color: #AFAFAF;
  font-size: 15px;
  font-family: Jost;
  font-weight: 500;
  letter-spacing: 0.75px;
  word-wrap: break-word;
  margin-bottom: 20px;
  cursor: pointer;
  position: relative;
  padding-right: 20px;
  transition: color 0.3s ease;
}
@media only screen and (max-width: 789px) {
  .hgp-article .index-wrap .index-title {
    margin-bottom: 10px;
  }
}
.hgp-article .index-wrap .index-title:hover {
  color: #AFAFAF;
}
.hgp-article .index-wrap .index-title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #AFAFAF;
  transform: translateY(-50%);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.hgp-article .index-wrap .index-title.open::after {
  transform: translateY(-50%) rotate(180deg);
  border-top-color: #AFAFAF;
}
.hgp-article .index-wrap .index-title:hover::after {
  border-top-color: #AFAFAF;
}
.hgp-article .index-wrap .index-list {
  color: #AFAFAF;
  font-size: 15px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  text-decoration: underline;
  line-height: 30px;
  word-wrap: break-word;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
@media only screen and (max-width: 789px) {
  .hgp-article .index-wrap .index-list {
    font-size: 14px;
    font-family: Jost;
    font-weight: 500;
    letter-spacing: 0.7px;
    line-height: 24px;
  }
}
.hgp-article .index-wrap .index-list.show {
  max-height: 1000px;
  opacity: 1;
}
.hgp-article .index-wrap .index-list .index-item {
  margin-bottom: 10px;
}
.hgp-article .index-wrap .index-list .index-item.h1 {
  padding-left: 0;
}
.hgp-article .index-wrap .index-list .index-item.h2 {
  padding-left: 20px;
}
.hgp-article .index-wrap .index-list .index-item.h3 {
  padding-left: 40px;
}
.hgp-article .index-wrap .index-list .index-item.h4 {
  padding-left: 60px;
}

.hgp-article .post-content {
  border-top: 1px solid #AFAFAF;
  width: 75%;
  margin: auto;
  padding: 70px 0px;
  border-bottom: 1px solid #AFAFAF;
  margin-bottom: 70px;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-content {
    width: 90%;
    padding: 10% 0px 10%;
    border-bottom: none;
  }
}
.hgp-article .post-content h1 {
  color: #4C4948;
  font-size: 22px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  line-height: 33px;
  word-wrap: break-word;
  margin: 30px auto;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-content h1 {
    font-size: 20px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    line-height: 34px;
  }
}
.hgp-article .post-content h2 {
  color: #4C4948;
  font-size: 19px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  line-height: 28.5px;
  word-wrap: break-word;
  margin: 30px auto;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-content h2 {
    font-size: 16px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 600;
    line-height: 28.8px;
  }
}
.hgp-article .post-content h3 {
  color: #4C4948;
  font-size: 17px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  line-height: 25.5px;
  word-wrap: break-word;
  margin: 30px auto;
}
.hgp-article .post-content-inner {
  color: #4C4948;
  font-size: 15px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 300;
  line-height: 27px;
  word-wrap: break-word;
}
.hgp-article .post-content img {
  max-width: 738px;
  margin: 30px auto 30px;
  display: block;
  border-radius: 10px;
  border: none; /* fika は水色枠(#E7EFF3)だが hugkumi では枠なし */
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-content img {
    width: 100%;
    margin: 10% auto 0px;
  }
}
.hgp-article .post-content img.no-border {
  border: none;
  border-radius: 0;
}
.hgp-article .post-content .small-font {
  color: #AFAFAF;
  font-size: 12px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  line-height: 21.6px;
  word-wrap: break-word;
  max-width: 738px;
  margin: 10px auto 70px;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-content .small-font {
    font-size: 13px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    line-height: 22.1px;
    margin: 10px auto 15%;
  }
}
.hgp-article .post-content .sen-wrap {
  margin: 30px auto;
  border: 1px solid #8C8C8C;
  width: 100%;
  padding: 30px 30px 30px;
  color: #8C8C8C;
  border-radius: 10px;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-content .sen-wrap {
    padding: 15px;
    margin: 15% auto;
  }
}
.hgp-article .post-content .sen-wrap h1, .hgp-article .post-content .sen-wrap h2, .hgp-article .post-content .sen-wrap h3, .hgp-article .post-content .sen-wrap h4 {
  color: #8C8C8C;
}
.hgp-article .post-content b {
  font-weight: 700;
}

.hgp-article .post-navigation {
  width: 75%;
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
  color: #4C4948;
  font-size: 14px;
  font-family: Jost;
  font-weight: 500;
  letter-spacing: 0.7px;
  word-wrap: break-word;
  padding-bottom: 150px;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-navigation {
    width: 90%;
    border-top: 1px solid #AFAFAF;
    border-bottom: 1px solid #AFAFAF;
    padding-bottom: 10px;
    margin-bottom: 15%;
    align-items: center;
    padding-top: 10px;
  }
}
.hgp-article .post-navigation .nav-next {
  width: 400px;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-navigation .nav-next {
    width: 48%;
  }
}
.hgp-article .post-navigation .nav-next-inner {
  width: 100px;
  position: relative;
  padding-right: 49px;
  margin-bottom: 20px;
  border-bottom: 1px solid #4C4948;
  padding-bottom: 10px;
  margin-left: auto;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-navigation .nav-next-inner {
    width: 64px;
    position: relative;
    padding-right: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #4C4948;
    padding-bottom: 0px;
    margin-right: auto;
    margin-left: 0px;
  }
}
.hgp-article .post-navigation .nav-next-inner::before {
  content: "";
  position: absolute;
  top: -4px;
  right: 0;
  width: 20px;
  height: 100%;
  background-image: url(../img/single/next.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-navigation .nav-next-inner::before {
    top: 0px;
  }
}
.hgp-article .post-navigation .nav-next .nav-thumbnail-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hgp-article .post-navigation .nav-next .nav-thumbnail-wrap .nav-thumbnail {
  width: 73px;
  height: auto;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-navigation .nav-next .nav-thumbnail-wrap .nav-thumbnail {
    width: 40%;
    max-width: 73px;
  }
}
.hgp-article .post-navigation .nav-next .nav-thumbnail-wrap .nav-thumbnail img {
  width: 100%;
  height: 100%;
  border: 4px solid #E7EFF3;
  border-radius: 10px;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover; /* トリミングして埋める */
  -o-object-position: center;
     object-position: center; /* 中央に配置 */
  display: block;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-navigation .nav-next .nav-thumbnail-wrap .nav-thumbnail img {
    width: 100%;
    height: auto;
  }
}
.hgp-article .post-navigation .nav-next .nav-thumbnail-wrap .nav-title {
  width: 300px;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-navigation .nav-next .nav-thumbnail-wrap .nav-title {
    width: 58%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #4C4948;
    font-size: 11px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 600;
    line-height: 13.75px;
    word-wrap: break-word;
  }
}
.hgp-article .post-navigation .nav-line {
  width: 1px;
  height: 98px;
  background-color: #AFAFAF;
}
.hgp-article .post-navigation .nav-prev {
  width: 400px;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-navigation .nav-prev {
    width: 48%;
  }
}
.hgp-article .post-navigation .nav-prev-inner {
  width: 100px;
  position: relative;
  padding-left: 68px;
  margin-bottom: 20px;
  border-bottom: 1px solid #4C4948;
  padding-bottom: 10px;
  margin-right: auto;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-navigation .nav-prev-inner {
    width: 64px;
    position: relative;
    padding-left: 28px;
    margin-bottom: 5px;
    border-bottom: 1px solid #4C4948;
    padding-bottom: 0px;
    margin-right: auto;
    margin-left: auto;
    margin-right: 0px;
  }
}
.hgp-article .post-navigation .nav-prev-inner::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 20px;
  height: 100%;
  background-image: url(../img/single/prev.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-navigation .nav-prev-inner::before {
    top: 0px;
  }
}
.hgp-article .post-navigation .nav-prev .nav-thumbnail-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hgp-article .post-navigation .nav-prev .nav-thumbnail-wrap .nav-thumbnail {
  width: 73px;
  height: auto;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-navigation .nav-prev .nav-thumbnail-wrap .nav-thumbnail {
    width: 40%;
    max-width: 73px;
  }
}
.hgp-article .post-navigation .nav-prev .nav-thumbnail-wrap .nav-thumbnail img {
  width: 100%;
  height: 100%;
  border: 4px solid #E7EFF3;
  border-radius: 10px;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover; /* トリミングして埋める */
  -o-object-position: center;
     object-position: center; /* 中央に配置 */
  display: block;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-navigation .nav-prev .nav-thumbnail-wrap .nav-thumbnail img {
    width: 100%;
    height: auto;
  }
}
.hgp-article .post-navigation .nav-prev .nav-thumbnail-wrap .nav-title {
  width: 300px;
}
@media only screen and (max-width: 789px) {
  .hgp-article .post-navigation .nav-prev .nav-thumbnail-wrap .nav-title {
    width: 58%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #4C4948;
    font-size: 11px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 600;
    line-height: 13.75px;
    word-wrap: break-word;
  }
}


/* ---- 本文内に埋め込まれた自己完結ブロック（.hgp-guide 等）を尊重するための調整 ---- */
.hgp-article .post-content .post-content-inner > div[class] {
  max-width: 100%;
}

/* ---- アイキャッチ未設定の記事：右カラムを全幅に伸ばす ---- */
.hgp-article .header-wrap-inner.no-thumb .header-right-content {
  margin-left: 0;
  width: 100%;
}
