/*
Theme Name: ペット葬儀のミカタ（SWELL 子テーマ）
Template: swell
Description: pet-sougi.info 用。2026-11-10 www.yokohamasougi.com/pet/ から移管（kawai）。以下は本体 swell_child/style.css の写し。
Version: 1.0.0
*/
@charset "UTF-8";
/*
Template: swell
Theme Name: SWELL CHILD
Theme URI: https://swell-theme.com/
Description: SWELLの子テーマ
Version: 1.0.0
Author: LOOS WEB STUDIO
Author URI: https://loos-web-studio.com/
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
*/

/* サイト全体の設定 */
:root {
    --color_main: #113883 !important;
}

html body {
  font-family: "Font1", "Arial", sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.025em !important;
}

/* 太字部分の設定 */
.bold,
.mincho-thin,
#top_title_area .c-pageTitle,
strong,
.post_content h1,
.post_content h2,
.post_content h3,
.post_content h4,
.post_content h5,
.post_content h6,
.swell-block-button__link,
.p-spHeadMenu .menu-item,
#gnav .menu-item,
.c-widget__title.-footer,
.post_content th {
  font-family: "Font2", "Arial", sans-serif !important;
  font-weight: 700 !important;
}
.icon-plus:before {
  font-weight: 700 !important;
}

/* オリジナルCSS */
.nowrap {
  white-space: nowrap;
}
@media screen and (max-width: 599px) {
  .order1 {
    order: 1;
  }
  .order2 {
    order: 2;
  }
  .order3 {
    order: 3;
  }
  .sp600_only {
    display: block !important;
  }
  .post_content .pc600_only {
    display: none !important;
  }
  .sp-left {
    text-align: left !important;
  }
  .sp-center {
    text-align: center !important;
  }
  .sp-small {
    width: 80% !important;
    margin: 0 auto 2rem;
  }
}
@media screen and (min-width: 600px) {
  .post_content .sp600_only {
    display: none !important;
  }
  .pc600_only {
    display: block !important;
  }
  .pc-small {
    width: 70% !important;
    margin: 0 auto 2rem;
  }
}

/* 角丸 */
.swell-block-column,
.swell-block-capbox,
.is-style-balloon_box2,
#content img,
.c-bannerLink,
.flickity-parent2 .flickity-column .wp-block-group,
.cta-text-box,
.c-balloon__text {
  border-radius: 1rem;
}
.cap_box_ttl {
  border-radius: 1rem 1rem 0 0 !important;
}
.cap_box_content {
  border-radius: 0 0 1rem 1rem !important;
}
.is-style-small_ttl .cap_box_content {
  border-radius: 0 1rem 1rem 1rem !important;
  border: 3px solid var(--capbox-color);
}
.is-style-balloon_box,
.is-style-balloon_box2 {
  border-radius: 3rem !important;
}
#content .is-style-rounded img {
  border-radius: 100rem !important;
}
#content .no-round img {
  border-radius: 0 !important;
}

/* 背景塗りつぶし */
.swl-bg-color {
  padding-top: 0;
  padding-bottom: 0;
}

/* 関連記事（角丸） */
[data-type=type1] .p-blogCard__inner:before {
  border-radius: 1rem !important;
}
.p-blogCard__inner {
  background-color: #fff !important;
  border-radius: 1rem !important;
  padding: 1rem !important;
}
.p-blogCard__caption {
  border-radius: 0.5rem !important;
}

/* ふきだしブロック表示崩れ修正 */
#content .-circle > .c-balloon__iconImg {
  border-radius: 50% !important;
}

/* キャプション*/
.wp-element-caption {
  margin-top: 0 !important;
}

/* テーブル */
.c-scrollHint.sp_ {
  margin-top: 0 !important;
}
.c-scrollHint span {
  font-size: 1em !important;
}
.wp-block-table.recommend-sougi-table td,
.wp-block-table.recommend-sougi-table th {
  padding: 0.5em 0.25em !important;
}

/* 動画 */
.post_content .wp-block-embed {
  max-width: 40rem;
  margin: 0 auto;
}

/* タイトル */
.post_content h2 {
  margin: 0 auto 2rem !important;
}
.post_content h3 {
  margin-top: 0 !important;
}

/* リスト */
.list-center {
  width: fit-content !important;
  margin: 0 auto 2rem !important;
}


/* 画像クリックの拡大 */
.lum-lightbox {
  background: rgba(0, 0, 0, 0.75);
}
@media (max-width: 460px) {
  .lum-lightbox-inner img {
    max-width: 96% !important;
  }
}
@media (min-width: 960px) {
  .lum-lightbox-inner img {
    max-height: 80% !important;
  }
}

/* アコーディオン */
summary.swell-block-accordion__title {
  text-align: center;
  line-height: 1.4;
}
.swell-block-accordion.is-style-main .swell-block-accordion__body {
  background-color: #fff;
}

/* 下層ページ見出し(h1) */
.l-topTitleArea {
  min-height: 8rem;
}
#top_title_area .c-pageTitle {
  font-size: 2.25em !important;
  text-shadow: none !important;
  text-align: center;
}

/* 吹き出しテキスト */
.hukidashi-text {
  margin-bottom: 0 !important;
  white-space: nowrap;
}
.hukidashi-text:before {
  background: url(/image_webp/common/icon/slash-left.webp) no-repeat;
}
.hukidashi-text:after {
  background: url(/image_webp/common/icon/slash-right.webp) no-repeat;
}
.hukidashi-text-w:before {
  background: url(/image_webp/common/icon/slash-left-white.webp) no-repeat;
}
.hukidashi-text-w:after {
  background: url(/image_webp/common/icon/slash-right-white.webp) no-repeat;
}
.hukidashi-text:before,
.hukidashi-text:after {
  content: "";
  height: 0.8em;
  width: 0.4em;
  display: inline-block;
  background-size: contain;
  margin: 0 0.5em;
  position: relative;
  top: 0.1em;
}
.hukidashi-text:before {
  margin-left: 0 !important;
}
.hukidashi-text:after {
  margin-right: 0 !important;
}

/* 吹き出し(SWELLブロック) */
.c-balloon__text {
  border-style: solid;
  font-size: 0.85em;
}

/* 記事一覧 */
.-type-card .c-postThumb__figure .c-postThumb__img {
  object-fit: contain !important;
}
.c-postThumb__cat {
  transform: scale(1) !important;
  font-size: 1rem !important;
}

/* その他 */
#main_content .p-toc {
  margin: 2rem auto !important;
}
.is-row {
  display: flex;
  justify-content: center;
  gap: 0.5em;
}

/* フッター */
#custom_html-2 .wp-block-search__input {
  background-color: #fff;
}
#footer .l-footer__widgetArea {
  background-color: #55421d;
}

/* 背景デザイン(フルワイド) */
@media (min-width: 960px) {
  .swell-block-fullWide.pc-py-40 {
    padding-bottom: 3em !important;
    padding-top: 3em !important;
  }
}
#main_content .swell-block-fullWide:nth-child(2n + 1):not(.no-bg-section) {
  background-color: #f8f5ea !important;
}
#main_content .swell-block-fullWide:nth-child(2n):not(.no-bg-section),
#main_content
  .swell-block-fullWide:nth-child(2n + 1)
  .flickity-parent2
  .flickity-column
  .wp-block-group {
  background-color: #fff !important;
}
.swell-block-fullWide {
  margin-bottom: 0;
  margin-top: 0 !important;
}

/* ボタン */
a.swell-block-button__link {
  padding: 0.66rem 1rem !important;
}
.btn-cta {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.btn-cta img {
  display: inline-block;
  margin-right: 0.5rem;
  width: 0.85em !important;
  position: relative;
  top: 0.75rem;
}
.swell-block-button {
  max-width: 27.5rem;
}

/* ブログパーツ余白 */
.p-blogParts {
  margin-bottom: 0 !important;
}
.p-blogParts[data-partsid="10458"],
.p-blogParts[data-partsid="10459"],
.p-blogParts[data-partsid="9569"],
.p-blogParts[data-partsid="10381"] {
  margin-bottom: 1.5em !important;
}

/* CTA上部のアイコン付きふきだし */
.cta-hukidashi-face {
  position: relative;
  margin-bottom: 0.75em !important;
}
.cta-hukidashi-face-img {
  width: 5.75rem;
  position: absolute;
  top: -0.5rem;
  left: calc(50% + 4.75rem);
}
.cta-hukidashi-time {
  color: var(--color_text) !important;
  width: 92%;
  max-width: 30rem;
  padding: 0.4rem 5rem 0.6rem 0;
  font-size: 1em !important;
  border-radius: 3em !important;
  border: none;
  background-color: #ededed;
}

.cta-hukidashi-time:before {
  border: none !important;
  width: 1.2rem !important;
  height: 1.2rem !important;
  bottom: -0.6rem !important;
}
