@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
*/

/* サイト全体の設定 */
html body {
  font-family: "Font1", "Arial", sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.025em !important;
}
@media (max-width: 599px) {
:root {
    --swl-fz--content: 4.5vw;
}
}

/* 太字部分の設定 */
.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,
.p-postList__meta,
.c-iconBtn__label {
  font-family: "Font2", "Arial", sans-serif !important;
  font-weight: 700 !important;
}
.icon-plus:before {
  font-weight: 700 !important;
}

/* アクセントフォントの設定 */
.fv-catch,
.post_content .font-accent,
.hukidashi {
  font-family: "Font3", "Arial", sans-serif !important;
  font-weight: 500 !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: 0.6rem;
}
.cap_box_ttl {
  border-radius: 0.6rem 0.6rem 0 0 !important;
}
.cap_box_content {
  border-radius: 0 0 0.6rem 0.6rem !important;
}
.is-style-small_ttl .cap_box_content {
  border-radius: 0 0.6rem 0.6rem 0.6rem !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;
}

/* ボタン */
.is-style-btn_line a {
  background-color: #ffffff99;
  clip-path: polygon(1rem 0, calc(100% - 1rem) 0, 100% 1rem, 100% calc(100% - 1rem), calc(100% - 1rem) 100%, 1rem 100%, 0 calc(100% - 1rem), 0 1rem);
  padding: 1rem;
  color: var(--color_text);
  color: #fff;
  border: none;
}
.is-style-more_btn a {
  color: #fff !important;
  background-color: #7d6268;
  clip-path: polygon(1rem 0, calc(100% - 1rem) 0, 100% 1rem, 100% calc(100% - 1rem), calc(100% - 1rem) 100%, 1rem 100%, 0 calc(100% - 1rem), 0 1rem);
  box-shadow: none !important;
  padding: 1rem;
}
.is-style-more_btn a::before,
.is-style-btn_line a::before {
  content: "";
  border: 1px solid #fff;
  width: calc(100% - 1rem);
  height: calc(100% - 1rem);
  display: block;
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
}
.is-style-btn_line.red_ a {
  background-color: var(--color_deep02);
}
.is-style-btn_line.green_ a {
  background-color: var(--color_deep04);
}
.is-style-btn_line.blue_ a {
  background-color: var(--color_deep01);
}
.is-style-more_btn a:after {
  right: 2em;
}
.is-style-more_btn a:hover,
.is-style-btn_line a:hover {
  background-color: var(--color_main_dark) !important;
}

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

/* ふきだしブロック表示崩れ修正 */
#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 {
  font-size: 1.75em;
  margin: 0 auto 2em;
}
.post_content h3 {
  font-size: 1.75em;
  margin-top: 0 !important;
  margin-bottom: 2rem;
}
.post_content h3.p-postList__title {
  font-size: 1.25rem !important;
  text-align: center;
  margin-bottom: 1rem !important;
}
p.sub-title {
  position: relative;
  font-size: 0.9em;
  padding-left: 3em;
  width: fit-content;
}
p.sub-title::before {
  content: "";
  display: block;
  width: 2.4rem;
  height: 2rem;
  background-image: url(https://aster.liol.co.jp/wp-content/uploads/2026/09/aster-deco.webp);
  background-size: contain;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0,-50%);
}
p.sub-title::after {
  content: "";
  display: block;
  width: 5rem;
  height: 2px;
  background-color: #929ac0;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(calc(100% + 1rem), 1px);
}
@media (max-width: 959px) {
p.sub-title {
margin-bottom: 0.5em !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) */
#top_title_area .c-pageTitle {
  font-size: 2.4em !important;
  text-shadow: none !important;
  text-align: center;
  color: var(--color_text) !important;
  letter-spacing: 0.1em;
}
@media (min-width: 960px) {
#top_title_area .c-pageTitle {
  font-size: 2.7em !important;
}
}

/* 吹き出しテキスト */
.hukidashi {
  margin-bottom: 0 !important;
  white-space: nowrap;
}
.hukidashi:before {
  background: url(/wp-content/uploads/2026/09/slash-left.webp) no-repeat;
}
.hukidashi:after {
  background: url(/wp-content/uploads/2026/09/slash-right.webp) no-repeat;
}
.hukidashi:before,
.hukidashi:after {
  content: "";
  height: 0.8em;
  width: 0.4em;
  display: inline-block;
  background-size: contain;
  margin: 0 0.5em;
  position: relative;
  top: 0.1em;
}
.hukidashi:before {
  margin-left: 0 !important;
}
.hukidashi: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;
}

/* 葬儀事例/お客様の声 */
.-type-card .p-postList__thumb {
  border-radius: 0.6rem;
  box-shadow: none !important;
}
.-type-card .p-postList__thumb,
figure.c-postThumb__figure {
aspect-ratio: 2;
}
.p-postList__meta {
font-size: 0.9rem;
position: absolute;
top: -2.3rem;
right: 0;
background-color: var(--color_main_dark);
padding: 0 1rem;
border-radius: 0.6em 0 0.6em 0;
color: #fff;
}
.c-postThumb__cat.icon-folder {
left: 0;
width: fit-content;
border-bottom-right-radius: 0.5rem;
}

/* スマホ開閉メニュー */
@media (max-width: 959px) {
  .p-spMenu {
    z-index: 10000;
  }
  .p-spMenu__inner {
    width: 70vw !important;
  }
  .p-spMenu .c-widget__title {
    background-color: var(--color_main_dark);
  }
}

/* スマホ追従ヘッダー */
@media (max-width: 959px) {
  #header {
    background: linear-gradient(#fff 0%, #ffffffcc 50%, transparent) !important;
    padding-bottom: 1em !important;
  }
  .w-header.pc_ {
    display: block !important;
    order: 3 !important;
    margin-right: 0.25em !important;
  }
  .p-blogParts[data-partsid="936"] {
    display: none !important;
  }
  .c-iconBtn__label {
    font-size: 0.75rem !important;
    line-height: 1.2;
    text-align: center;
  }
  .l-header__customBtn.sp_ {
    display: none;
  }
  .header-fix-btn > a {
    color: #fff;
    border-radius: 0.5rem !important;
  }
  .header-fix-btn {
    width: 2.5rem;
    height: 2.5rem;
    margin-left: 5px;
  }
}
@media (min-width: 960px) {
  .p-blogParts[data-partsid="9251"] {
    display: none;
  }
  .menu-line span.ttl,
  .menu-contact span.ttl {
    color: var(--color_deep04);
    background-color: #fff;
    padding: 0.5rem;
    border: 1px solid var(--color_deep04);
    border-radius: 3rem;
  }
  .l-fixHeader__gnav .menu-line span.ttl,
  .l-fixHeader__gnav .menu-contact span.ttl {
    color: #fff;
    background-color: var(--color_deep04);
  }
  .menu-contact span.ttl {
    color: var(--color_deep01);
    border: 1px solid var(--color_deep01);
  }
  .l-fixHeader__gnav .menu-contact span.ttl {
    color: #fff;
    background-color: var(--color_deep01);
  }
  .menu-line > a {
    padding-right: 0 !important;
  }
}

/* フッター */
footer {
  margin-bottom: 4.5rem !important;
}

/* フローティングバナー */
.p-blogParts[data-partsid="10070"] {
  position: fixed;
  z-index: 9999 !important;
  bottom: 0;
  left: 0;
  width: 100%;
  transition: 0.3s !important;
}
html[data-scrolled="false"] .p-blogParts[data-partsid="10070"] {
  opacity: 0;
  transition: 0.2s !important;
  pointer-events: none !important;
}
.floating-text .swl-bg-color {
  border-radius: 0.25rem;
  margin-left: 0.5rem;
  font-size: 0.75em;
  position: relative;
  top: -0.15rem;
  padding-bottom: 0.1rem;
}
@media (min-width: 960px) {
.p-blogParts[data-partsid="10070"] .floating-text {
    width: fit-content;
    padding:  0 !important;
    margin-left: auto;
    border-top-left-radius: 3rem;
}
.p-blogParts[data-partsid="10070"]  .floating-text .wp-block-group__inner-container {
    position: relative;
    width: 100%;
    display: block;
    height: 4.5rem;
    padding: 0.25rem 3rem 0.35rem 4rem !important;
}
}


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

/* フッター直前 */
#before_footer_widget {
  margin-top: 0 !important;
}

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

/* 背景デザイン(フルワイド) */
@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: #FFECEF55 !important;
}
#main_content .swell-block-fullWide:nth-child(2n):not(.no-bg-section) {
  background-color: #ffffff77 !important;
}
.swell-block-fullWide {
  margin-bottom: 0;
  margin-top: 0 !important;
}

/* 葬儀プラン */
.plan-people {
position: absolute;
padding: 0 0.5em !important;
border-bottom-right-radius: 1rem;
}
.plan-table.wp-block-table td,
.plan-table.wp-block-table th {
padding: .5em 0 !important;
}
.plan-table.wp-block-table td:first-child {
border-left: none;
}
.plan-table.wp-block-table td:last-child {
border-right: none;
}
.plan-table.wp-block-table {
--table-border: 0.2em solid #fff;
}
.plan-table.wp-block-table table {
line-height: 1.4;
}
.plan-table.wp-block-table td {
border-top: none !important;
border-bottom: none !important;
}
.plan-column .swell-block-column,
.hall-column .swell-block-column {
box-shadow: 0 5px 10px #d6cbbc66 !important;
}
.hall-table.wp-block-table th,
.hall-table.wp-block-table td {
border-bottom: none !important;
padding: .5em !important;
}
.hall-table.wp-block-table th .swl-bg-color {
color: var(--color_text) !important;
padding: 0.2em 0.5em 0.25em;
}
.hall-table.wp-block-table tbody tr:first-child > th .swl-bg-color {
padding: 0.2em 1em 0.25em;
}
.post_content .hall-column h3 {
font-size: 1.2em !important;
}
.hall-feature-box {
flex-wrap: wrap;
font-size: 0.9em;
margin-top: 0.5rem !important;
margin-bottom: 0.5rem !important;
padding: 0 0.5rem;
}
.hall-feature-box p {
padding: 0 0.75em 0.1rem;
background-color: var(--color_deep02);
color: #fff;
font-size: 0.9em;
}


/* 葬儀プランホバー時のアクション */
.plan-column .swell-block-column,
.hall-column .swell-block-column {
  position: relative !important;
  transition: 0.2s;
}
.plan-column .swell-block-column:hover,
.hall-column .swell-block-column:hover {
  opacity: 0.8;
  transform: translateY(4px);
  transition: 0.2s;
  box-shadow: none !important;
}


/* 3つの特徴の装飾 */
.feature-title-dec {
    background-color: var(--color_deep02) !important;
    border-radius: 0.25em !important;
    width: fit-content;
    color: #fff !important;
    padding: 0.25em 2em !important;
    font-size: 0.85em;
    margin: 0 auto 0.75em;
    margin-left: 0 !important;
}
@media (max-width: 599px) {
h2.feature-title-dec {
    margin-left: auto !important;
    margin-right: auto !important;
}
}

/* 注意書きコンテンツの装飾 */
.is-style-big_icon_caution.caution-content {
  padding: 1em 1rem !important;
  border-radius: 1rem;
}

/* コラム最下部の内部リンク */
.p-blogParts[data-partsid="6409"] h2 {
  font-size: 1.6rem !important;
  padding: 0.5em 0 !important;
  margin-bottom: 0 !important;
}
