@charset "UTF-8";

/* =======================================
　ブログレイアウト導入による既存レイアウトの調整
======================================= */
/*----- ブログページのみに適用 -----*/
body:not(.cc-page-blog):not(.blog-archive) aside {
  display: none;
}

/* メイン枠 */
@media screen and (max-width: 639px) {
  main.cc-content-parent {
    padding: 0 !important;
  }

  .cc-page-blog #content-inner {
    padding-top: 0 !important;
  }
}



/* =======================================
　メインビジュアル
======================================= */

/*----- ブログ記事ページ -----*/
body.cc-page-blog:not(.non-aside) #main-visual {
  display: none;
}

/* すべてのブログ記事ページ */
body.cc-page-blog #main-visual {
  display: none;
}

.blog-archive.non-aside #main-visual {
  display: none;
}

/*----- かみ合わせブログテーマ用 -----*/
.kamiawase-blog-theme #main-visual {
  background: url(../images/theme-mv-min.jpg) no-repeat center center;
  background-size: cover;
}

.kamiawase-blog-theme #main-visual::after {
  content: none;
}

.kamiawase-blog-theme #main-visual-inner {
  background: transparent;
}




/*----- ブログアーカイブページ -----*/
/* パンくず */
body.kamiawase-blog-theme nav#bread-nav {
  display: none !important;
}

/* ブログアーカイブタイトル */
.blog-archive-title h1 {
  font-size: 32px;
  color: #FFF;
  text-align: center;
  margin: 0;
  padding: 40px 0;
  font-weight: 500;
}

/* 2列グリッドレイアウト */
body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* グリッドアイテム */
body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle .cc-matrix- {
  margin: 0;
}







/* =======================================
　コンテンツエリア
======================================= */
body.kamiawase-blog-theme #content,
body.cc-page-blog:not(.non-aside) #content {
  padding: 0 !important;
  background: #FFF !important;
}

body.kamiawase-blog-theme #content-inner,
body.cc-page-blog:not(.non-aside) #content-inner {
  padding: 16px 24px;
  max-width: 1464px;
  width: 100%;
}

/*----- コンテンツエリア -----*/
body:not(.non-aside) main .n.j-blog-meta.j-blog-post--header {
  padding: 0;
}


/*----- ブログアーカイブページ -----*/
/* 一般テーマのアーカイブページ */
body.blog-archive #content {
  padding: 40px 24px;
}

body.blog-archive #content-inner {
  max-width: 1180px;
}



/* かみ合わせブログアーカイブ */
body.kamiawase-blog-theme main.cc-content-parent {
  max-width: calc(100% - 300px);
  width: 100%;
  padding-left: 24px !important;
}

body.kamiawase-blog-theme #content .j-blog.n.clearover.j-blogarticle {
  padding: 0;
  margin-bottom: 100px;
}

body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle>div#cc-matrix-:first-child {
  display: none;
}

.blog-archive-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.blog-archive-title h1 {
  font-size: 40px !important;
  text-shadow: rgba(0, 0, 0, .5) 1px 1px 4px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.blog-archive-title::before {
  content: "かみあわせブログ";
  display: inline-block;
  background: #3B312F;
  color: #FFF;
  padding: 4px 16px;
  font-weight: 700;
  line-height: 1.35;
}

body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle .cc-m-hgrid-column.last>div#cc-matrix-2 {
  overflow: hidden;
}

body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle .cc-m-hgrid-column.last #cc-m-1:nth-of-type(1),
body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle #cc-matrix- #cc-m-1:nth-of-type(1).j-text {
  margin-left: -16px !important;
}

body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle a.j-blog-page--tag {
  display: none;
}

body.kamiawase-blog-theme h2.j-blog-headline.j-blog-post--headline {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
}

body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle .cc-m-hgrid-column.last #cc-m-1:nth-of-type(3),
body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle #cc-matrix- #cc-m-1:nth-of-type(3) {
  display: none;
}

body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle {
  gap: 16px;
}

body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle #cc-m-1.j-hgrid {
  border: 3px solid #B3A46A;
  padding: 4px !important;
  box-sizing: border-box;
}

body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle .cc-m-hgrid-column:first-child {
  width: 130px !important;
}

body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle .cc-m-hgrid-column.last {
  width: calc(100% - 130px) !important;
}

body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle figure.cc-imagewrapper.cc-m-image-align-1.cc-m-width-maxed {
  width: 120px !important;
  height: 120px !important;
  overflow: hidden;
  border-radius: 0;
}

body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle figure.cc-imagewrapper.cc-m-image-align-1.cc-m-width-maxed img {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1 / 1;
}

body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle .cc-m-hgrid-column.last #cc-m-1:nth-of-type(4) p {
  padding: 0 !important;
  margin: 0;
  text-align: right !important;
}

body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle .cc-m-hgrid-column.last #cc-m-1:nth-of-type(4) p a,
body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle #cc-matrix- #cc-m-1:nth-of-type(4) p a {
  text-decoration: none !important;
  color: #B3A46A !important;
  font-weight: 600 !important;
}

body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle #cc-m-1.j-module.n.j-spacing {
  height: 0;
}

/* 矢印アイコンの疑似要素 */
body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle .cc-m-hgrid-column.last #cc-m-1:nth-of-type(4) p a::after,
body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle #cc-matrix- #cc-m-1:nth-of-type(4) p a::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('../images/column-blog-arrow-min.png') no-repeat center center;
  background-size: contain;
  margin-left: 8px;
  vertical-align: middle;
}

body.kamiawase-blog-theme #load-more-blog-posts-content {
  width: 100%;
  display: block;
  position: absolute;
  bottom: 20px;
}

body.kamiawase-blog-theme #load-more-blog-posts-content a {
  background: #B3A46A;
  color: #FFF !important;
  display: inline;
  border-radius: 9999rem;
  padding: 8px 16px;
}




/*----- モバイル調整 -----*/
@media screen and (max-width: 639px) {
  body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle {
    gap: 8px;
  }

  body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle #cc-m-1.j-hgrid {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
  }

  body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle .cc-m-hgrid-column:first-child {
    width: 100% !important;
  }

  body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle figure.cc-imagewrapper.cc-m-image-align-1.cc-m-width-maxed {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0;
  }

  body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle figure.cc-imagewrapper.cc-m-image-align-1.cc-m-width-maxed img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16 / 9;
  }

  body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle #cc-m-1.j-hgrid .cc-m-hgrid-column.last {
    width: 100% !important;
    padding: 0 8px 8px !important;
    box-sizing: border-box;
    margin-top: 0 !important;
  }

  body.kamiawase-blog-theme h2.j-blog-headline.j-blog-post--headline {
    padding-top: 0 !important;
    font-size: 16px !important;
    line-height: 1.3;
    height: 64px;
    overflow: hidden;
  }

  body.kamiawase-blog-theme .j-blog.n.clearover.j-blogarticle div#cc-matrix- {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  body.kamiawase-blog-theme h2.j-blog-headline.j-blog-post--headline {
    font-size: 15px !important;
  }
}


@media screen and (max-width: 380px) {
  body.kamiawase-blog-theme h2.j-blog-headline.j-blog-post--headline {
    font-size: 13px !important;
    line-height: 1.2;
  }
}



/*----- ブログ記事ページ -----*/
/* ブログ記事ページ */
body.cc-page-blog:not(.non-aside) main {
  max-width: 100% !important;
  width: 100%;
}

body.cc-page-blog:not(.non-aside) main #content_area {
  padding: 0 40px;
}

body.cc-page-blog:not(.non-aside) main h1.j-blog-header.j-blog-headline.j-blog-post--headline {
  font-size: 32px;
  letter-spacing: 0;
  font-feature-settings: "palt";
  font-weight: 500;
  color: #3B312F;
  margin-top: 16px;
  margin-bottom: 40px;
  order: 3;
}


/* カテゴリと日付の順序を変更 */
body.cc-page-blog:not(.non-aside) main .j-blog-post--header .j-text.j-module.n {
  order: 2;
}

body.cc-page-blog:not(.non-aside) main a.j-blog-post--category {
  border: 1px solid #3B312F;
  border-radius: 9999rem;
  padding: 4px 16px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  color: #3B312F !important;
  font-weight: 500;
  margin-right: -10px;
  background: #FFF;
  position: relative;
}

body.cc-page-blog:not(.non-aside) main span.j-text.j-blog-post--date {
  font-size: 13px;
  font-weight: 500;
  color: #3B312F;
}


/* ブログアイキャッチ画像の16:9トリミング */
.blog-eyecatch {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  width: 100%;
  margin-bottom: 40px;
  order: 1;
}

.blog-eyecatch img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}


@media screen and (max-width: 480px) {
  .blog-eyecatch {
    margin: 0 calc(50% - 50vw) 40px !important;
    width: 100vw;
  }
}


/* ヘッダーコンテナをフレックスボックスに設定 */
body.cc-page-blog:not(.non-aside) main .n.j-blog-meta.j-blog-post--header {
  display: flex;
  flex-direction: column;
}


/*----- テキスト -----*/
body.cc-page-blog:not(.non-aside) main #content_area p,
body.cc-page-blog:not(.non-aside) main #content_area li {
  font-size: 16px;
  letter-spacing: 0 !important;
}

body.cc-page-blog:not(.non-aside) main .j-module.n.j-text ul {
  padding-left: 0 !important;
  margin: 8px 16px 16px;
}





/* =======================================
　サイドバー
======================================= */

/*----- 非表示コントロール -----*/
/* ブログアーカイブページ */
.blog-archive aside.aside-blog.right {
  display: none;
}

/* その他のテーマのアーカイブページ */
.non-aside aside.aside-blog.left,
.non-aside aside.aside-blog.right {
  display: none;
}


/*----- サイドバー枠 -----*/
aside.aside-blog.left,
aside.aside-blog.right {
  max-width: 300px;
  width: 100%;
}

/* サイドバー（左） */
aside.aside-blog.left {
  /* background: red; */
}

/* サイドバー（右） */
aside.aside-blog.right {
  /* background: greenyellow; */
}

.blog-archive aside.aside-blog.right {
  display: none;
}


/*----- かみ合わせブログテーマ＆おすすめコンテンツ（サイドバー左） -----*/
#blog-recommend h2,
#kamiawase-blog-theme h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  color: #FFF;
  background: #3B312F;
  padding: 8px 16px;
}

/* かみ合わせブログテーマ */
.recommend-theme ul {
  padding: 0 !important;
  margin: 0 !important;
}

.recommend-theme ul li {
  padding: 0 !important;
  margin: -1px 0 0 0 !important;
}

.recommend-theme ul li a {
  display: block;
  padding: 8px 16px !important;
  color: #3B312F;
  border: 1px solid #B8B8B8;
  background: url(../images/column-blog-arrow-min.png) no-repeat right 8px center, #FFF;
  background-size: 24px;
  text-decoration: none !important;
}

.recommend-theme ul li a:hover {
  background-color: #eaeaea;
}

.recommend-theme ul li::before {
  content: none !important;
}


/* おすすめブログ */
#blog-recommend {
  margin-top: 24px;
  margin-bottom: 24px;
}

#blog-recommend .j-hgrid {
  display: flex;
  align-items: center;
  background: #FFF;
  margin-top: -1px;
  padding: 4px !important;
  border: 1px solid #B8B8B8;
}

#blog-recommend .j-hgrid .cc-m-hgrid-column:first-child {
  width: 80px !important;
  margin-right: 8px;
}

#blog-recommend .j-hgrid .cc-m-hgrid-column.last {
  float: right;
  padding: 0;
  width: calc(98% - 88px) !important;
}

#blog-recommend .j-imageSubtitle img {
  object-fit: cover;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  border-radius: 0;
}

#blog-recommend .j-imageSubtitle figure {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.recommend-blog-title p {
  font-size: 14px !important;
  line-height: 1.35;
  font-weight: bold;
}

.recommend-blog-title p a {
  color: #3B312F;
  text-decoration: none !important;
}

.more-recommend-btn {
  margin-top: 4px;
}

.more-recommend-btn p {
  color: #B3A46A;
  text-align: right;
}

.more-recommend-btn p::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url(../images/column-blog-arrow-min.png) no-repeat center;
  background-size: contain;
  margin-left: 8px;
  vertical-align: middle;
}

.more-recommend-btn p a {
  color: #B3A46A;
  text-decoration: none !important;
}





/*----- ブログ新着（サイドバー右） -----*/
h2.newpost-heading {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  color: #FFF;
  background: #3B312F;
  padding: 8px 16px;
}

#new-post .j-blog.n.clearover.j-blogarticle {
  padding: 0 !important;
}

#new-post #cc-matrix->#cc-m-1.j-module.n.j-hgrid {
  margin-top: -1px !important;
  margin-bottom: 16px;
  border: 1px solid #B8B8B8;
  padding: 4px !important;
  box-sizing: border-box;
}

#new-post .j-blog.n.clearover.j-blogarticle .cc-m-hgrid-column {
  width: 80px !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

#new-post .j-blog.n.clearover.j-blogarticle .cc-m-hgrid-column.last {
  width: calc(100% - 90px) !important;
}

#new-post #cc-matrix-2 {
  overflow: hidden;
}

#new-post .j-blog.n.clearover.j-blogarticle .cc-m-hgrid-column.last #cc-m-1:nth-of-type(1),
#new-post .j-blog.n.clearover.j-blogarticle #cc-matrix- #cc-m-1:nth-of-type(1).j-text {
  margin-left: -16px;
}

#new-post .j-blog.n.clearover.j-blogarticle #cc-m-1.j-module.n.j-spacing {
  height: 0;
}

#new-post .j-blog.n.clearover.j-blogarticle a.j-blog-page--tag {
  display: none;
}

#new-post .j-blog.n.clearover.j-blogarticle figure.cc-imagewrapper.cc-m-image-align-1.cc-m-width-maxed {
  width: auto;
  height: auto !important;
}

#new-post .j-blog.n.clearover.j-blogarticle figure.cc-imagewrapper.cc-m-image-align-1.cc-m-width-maxed img {
  object-fit: cover;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
}

#new-post .j-blog.n.clearover.j-blogarticle figure.cc-imagewrapper.cc-m-image-align-1.cc-m-width-maxed {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

#new-post .j-blog.n.clearover.j-blogarticle .j-blog-meta h2 {
  font-size: 13px !important;
  line-height: 1.35;
  padding: 0;
  margin-bottom: 0 !important;
}

#new-post .j-blog.n.clearover.j-blogarticle .cc-m-hgrid-column.last #cc-m-1:nth-of-type(3),
#new-post .j-blog.n.clearover.j-blogarticle #cc-matrix- #cc-m-1:nth-of-type(3),
#new-post .j-blog.n.clearover.j-blogarticle .cc-m-hgrid-column.last #cc-m-1:nth-of-type(4),
#new-post .j-blog.n.clearover.j-blogarticle #cc-matrix- #cc-m-1:nth-of-type(4) {
  display: none;
}

/* ボタン */
.new-post-more-btn {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

aside .new-post-more-btn a {
  text-decoration: none !important;
  background: #B3A46A;
  border-radius: 9999rem;
  padding: 8px 16px;
  color: #FFF;
}


.cc-page-blog #load-more-blog-posts-content {
  display: none;
}



/* =======================================
　スマホレイアウト調整まとめ
======================================= */

/*----- ブログアーカイブページ -----*/
@media screen and (max-width: 1199px) {

  /* コンテンツエリア全体 */
  #content #content-inner {
    display: flex;
    flex-direction: column;
  }

  aside.aside-blog.left {
    order: 2;
  }

  main.cc-content-parent {
    order: 1;
  }

  aside.aside-blog.right {
    order: 3;
  }

  /* ブログアーカイブ */
  body.kamiawase-blog-theme main.cc-content-parent {
    max-width: 100%;
    padding: 0 !important;
  }

  /* サイドバー */
  aside.aside-blog.left,
  aside.aside-blog.right {
    max-width: 100%;
    width: 100%;
  }

  aside.aside-blog.right .j-blog.n.clearover.j-blogarticle>#cc-matrix->#cc-m-1 .cc-m-hgrid-column.last {
    margin-top: 0 !important;
  }
}



/* =======================================
　サイドバー「新着記事」ブログ記事の表示制御
======================================= */
/* 6個目以降の記事を非表示 */
#new-post .j-blog.n.clearover.j-blogarticle #cc-matrix-:nth-child(n+6) {
  display: none !important;
}





/* =======================================
　ブログ記事の前後ページャー
======================================= */
.blog-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 60px 0 40px 0;
  padding: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.blog-pager .pager-prev,
.blog-pager .pager-next {
  flex: 1;
  max-width: 45%;
}

.blog-pager .pager-prev a,
.blog-pager .pager-next a {
  display: flex;
  align-items: center;
  color: #3B312F;
  font-size: 14px;
  line-height: 1.4;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none !important;
  text-align: left;
}

.blog-pager .pager-prev a:hover,
.blog-pager .pager-next a:hover {
  background: #B3A46A;
  color: #FFF;
  border-color: #B3A46A;
}

.blog-pager .pager-prev {
  text-align: left;
}

.blog-pager .pager-next {
  text-align: right;
}

/* 矢印を疑似要素で表示 */
.blog-pager .pager-prev a::before {
  content: "←";
  margin-right: 8px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
}

.blog-pager .pager-next a::after {
  content: "→";
  margin-left: 8px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
}

/* スマホ対応 */
@media screen and (max-width: 639px) {
  .blog-pager {
    flex-direction: column;
    gap: 16px;
  }

  .blog-pager .pager-prev,
  .blog-pager .pager-next {
    max-width: 100%;
    width: 100%;
  }

  .blog-pager .pager-prev a,
  .blog-pager .pager-next a {
    font-size: 13px;
    padding: 10px 12px;
  }
}


/* ブログ記事 */
@media screen and (max-width: 639px) {
  body.cc-page-blog:not(.non-aside) main #content_area {
    padding: 0;
  }
}




/* =======================================
　ブログサイドバー編集ページ
======================================= */

.blog-recommend-edit #main-visual,
.blog-recommend-edit .map,
.blog-recommend-edit footer,
.blog-recommend-edit #float-btn-area {
  display: none;
}

.blog-recommend-edit #content {
  min-height: 100vh;
}


.blog-recommend-edit #content-inner {
  padding: 0 !important;
  max-width: 300px;
}


.blog-recommend-edit main.cc-content-parent {
  max-width: 100% !important;
  width: 100% !important;
  background: #FFF !important;
}


.blog-recommend-edit main h2 {
  margin: 0;
  padding: 0;
}



/*----- 仮サイト専用 -----*/
#page-1349844281 #main-visual,
#page-1349844281 .map,
#page-1349844281 footer,
#page-1349844281 #float-btn-area,
#page-1349872381 #main-visual,
#page-1349872381 .map,
#page-1349872381 footer,
#page-1349872381 #float-btn-area {
  display: none;
}

#page-1349844281 #content,
#page-1349872381 #content {
  min-height: 100vh;
}


#page-1349844281 #content-inner,
#page-1349872381 #content-inner {
  padding: 0 !important;
  max-width: 300px;
}


#page-1349844281 main.cc-content-parent,
#page-1349872381 main.cc-content-parent {
  max-width: 100% !important;
  width: 100% !important;
  background: #FFF !important;
}


#page-1349844281 main h2,
#page-1349872381 main h2 {
  margin: 0;
  padding: 0;
}


/* =======================================
　h2スタイル設定
======================================= */
.cc-page-blog main h2,
.cc-page-blog #content_area .j-module.n:first-of-type h2,
.cc-page-blog #content_area .j-module.n.j-header:first-of-type h2 {
  background: url(../images/blog-h2-accent-left.png) no-repeat top left,
    url(../images/blog-h2-accent-right.png) no-repeat bottom right,
    #F5F5F5;
  background-size: 40px, 40px;
  font-family: "Noto Sans JP", sans-serif;
  text-align: left;
  padding: 15px 20px;
  margin: 80px 0 40px;
  border-radius: 0;
  font-weight: 600;
  color: #3B312F;
}

/* #content_areaの最初のブロックがh2の場合、margin-topを0にする */
.cc-page-blog #content_area .j-module.n:first-child h2,
.cc-page-blog #content_area .j-module.n:first-of-type h2,
.cc-page-blog #content_area > h2:first-child {
  margin-top: 40px !important;
}





/* =======================================
　ブログ記事ページのメタ情報
======================================= */
.cc-page-blog .n.j-blog-meta.j-blog-post--header {
  margin-bottom: 0 !important;
}


/* =======================================
　h3スタイル設定
======================================= */

.cc-page-blog main h3,
.cc-page-blog #content_area h3 {
  position: relative !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 600 !important;
  color: #3B312F !important;
  margin: 30px 0 20px !important;
  padding: 0 0 0 25px !important;
  font-size: 20px !important;
  line-height: 1.4 !important;
  border-bottom: none !important;
  background: transparent !important;
  display: block !important;
}

.cc-page-blog main h3::before,
.cc-page-blog #content_area h3::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 5px !important;
  width: 20px !important;
  height: 20px !important;
  background: #B3A46A !important;
  border: none !important;
}


/* =======================================
　フッターの検索ボックスを非表示
======================================= */
.cc-page.cc-pagemode-default footer .j-search {
  display: none;
}



/* =======================================
　検索ページ
======================================= */
body#page-2470882088 #main-visual {
  display: none;
}

body#page-2470882088 #content {
  padding: 40px 24px;
}

body#page-2470882088 #content-inner {
  max-width: 1180px;
}

/* =======================================
　検索ボックス装飾
======================================= */
.j-search {
  margin-bottom: 40px;
}

.j-search .j-search-input {
  border: 2px solid #B3A46A !important;
  border-radius: 9999rem !important;
  padding: 4px 16px !important;
  font-size: 18px !important;
  color: #3B312F !important;
  background: #FFF !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: all 0.3s ease !important;
}

.j-search .j-search-content input[type=text].j-search-input {
  padding-left: 60px!important;
}

.j-search .j-search-input:focus {
  border-color: #8B7355 !important;
  box-shadow: 0 0 0 2px rgba(179, 164, 106, 0.2) !important;
}

.j-search .j-search-input::placeholder {
  color: #575757 !important;
  font-size: 18px !important;
  font-style: italic !important;
}

.j-search .j-search-content:before {
  width: 80px;
  font-size: 28px;
  color: #B3A46A;
}



@media screen and (max-width: 768px) {
  #content_area>.j-search {
    width: calc(100% - 13vw);
  }
}


@media screen and (max-width: 639px) {
  #content_area>.j-search {
    margin-top: 2vw;
    margin-bottom: 2vw;
  }
}


/* =======================================
　ブログアーカイブページ
======================================= */
.blog-archive .j-search {
  max-width: 600px;
  margin: 16px auto 32px;
}



/* =======================================
　フローティングバナー
======================================= */
/*----- フローティングバナー -----*/
/* トップページのみフローティングバナーを表示 */
body.cc-indexpage .floating-banner {
  position: fixed !important;
  bottom: 0;
  left: 0;
  z-index: 1000;
  width: 600px;
  height: auto;
  position: relative;
}

/* フローティングバナーの閉じるボタン */
body.cc-indexpage .floating-banner .close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
  transition: background-color 0.3s ease;
  border: 2px solid #fff;
}

body.cc-indexpage .floating-banner .close-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

body.cc-indexpage .floating-banner .close-btn::before,
body.cc-indexpage .floating-banner .close-btn::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 3px;
  background: #fff;
  transform: rotate(45deg);
}

body.cc-indexpage .floating-banner .close-btn::after {
  transform: rotate(-45deg);
}

/* PC用バナー（768px以上で表示） */
body.cc-indexpage .floating-banner .banner-pc {
  display: block;
  position: relative;
}

/* スマホ用バナー（768px以下で表示） */
body.cc-indexpage .floating-banner .banner-sp {
  display: none;
  position: relative;
}

/* フローティングバナーの画像スタイル */
body.cc-indexpage .floating-banner img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

body.cc-indexpage .floating-banner img:hover {
  transform: scale(1.05);
}

/* スマホ表示（768px以下） */
@media screen and (max-width: 768px) {
  body.cc-indexpage .floating-banner {
    bottom: 15px;
    right: 15px;
    width: 200px;
  }
  
  body.cc-indexpage .floating-banner .close-btn {
    top: -12px;
    right: -12px;
    width: 25px;
    height: 25px;
  }
  
  body.cc-indexpage .floating-banner .close-btn::before,
  body.cc-indexpage .floating-banner .close-btn::after {
    width: 16px;
    height: 3px;
  }
  
  /* PC用バナーを非表示 */
  body.cc-indexpage .floating-banner .banner-pc {
    display: none;
  }
  
  /* スマホ用バナーを表示 */
  body.cc-indexpage .floating-banner .banner-sp {
    display: block;
    margin-bottom: 65px;
  }
}

/* 小さいスマホ表示（480px以下） */
@media screen and (max-width: 480px) {
  body.cc-indexpage .floating-banner {
    bottom: 10px;
    left: 0;
    width: 150px;
  }

  body.cc-indexpage .floating-banner .banner-sp {
    margin-bottom: 50px;
  }
}

/* 非表示状態 */
body.cc-indexpage .floating-banner.hidden {
  display: none;
}

/* トップページ以外ではフローティングバナーを非表示 */
body:not(.cc-indexpage) .floating-banner {
  display: none !important;
}