@charset "UTF-8";

/* ==================================================
   Q&A子ページ共通デザイン
================================================== */

.parent-pageid-1549 .l-mainContent__inner > .post_content {
  margin: 0;
}
/* ==================================================
   メインビジュアル画像
================================================== */

@media (min-width: 1025px) {

	/* 拡大した画像が切れないようにする */
	.parent-pageid-1549 .qa-fv,
	.parent-pageid-1549 .qa-fv .wp-block-media-text {
		overflow: visible;
	}

	/* FV右側の画像だけ拡大 */
	.parent-pageid-1549 .qa-fv .wp-block-media-text .wp-block-media-text__media {
		position: relative;
		z-index: 0;
		transform: translate(20px, -15px) scale(1.15);
		transform-origin: center;
	}

	/* テキストを画像より手前に保つ */
	.parent-pageid-1549 .qa-fv .wp-block-media-text .wp-block-media-text__content {
		position: relative;
		z-index: 1;
	}
}

@media (max-width: 767px) {
  .parent-pageid-1549 .qa-fv .is-style-broken .wp-block-media-text__content{
		margin-top: -1em!important;
	}
}
/* Q&A：タブレット〜PCの見出しを可変にする */
@media (min-width: 601px) {
  .parent-pageid-1549 .qa-fv h1 {
    font-size: clamp(2rem, 4.3vw, 4em) !important;
    white-space: nowrap;
  }
}

.parent-pageid-1549 .qa-fv .u-fz-xs{
	font-size: 0.7em!important;
	letter-spacing: 0.01em;
}

body .swell-block-faq {
  --qa-gold: #c3a04b;
  --qa-border: rgba(195, 160, 75, 0.25);
  --qa-divider: rgba(195, 160, 75, 0.45);
  --qa-number-width: 120px;
  --qa-content-gap: 28px;
  --qa-leaf-space: 110px;
  --qa-padding-y: 24px;
  --qa-mincho: "Yu Mincho", "YuMincho",
    "Hiragino Mincho ProN", "Noto Serif JP", serif;

  counter-reset: marriage-qa;
  border: 1px solid var(--qa-border);
  border-radius: 10px;
  background: #fffdf9;
  box-shadow: 0 2px 12px rgba(160, 125, 55, 0.04);
  overflow: hidden;
}

/* 各項目 */
body .swell-block-faq .swell-block-faq__item {
  position: relative;
  isolation: isolate;
  counter-increment: marriage-qa;
  box-sizing: border-box;
  min-height: 155px;

  margin: 0;
  padding:
    var(--qa-padding-y)
    var(--qa-leaf-space)
    var(--qa-padding-y)
    calc(var(--qa-number-width) + var(--qa-content-gap));

  border: 0;
  border-bottom: 1px solid var(--qa-border);
  border-radius: 0;
  box-shadow: none;

  background-color: transparent;
  background-image: url("https://osaka-fufu.jp/wp-content/uploads/2026/09/reaf-image-right.png");
  background-repeat: no-repeat;
  background-position: right 22px bottom 22px;
  background-size: 70px auto;
}

/* 既存の項目間余白・上罫線を解除 */
body .swell-block-faq .swell-block-faq__item
+ .swell-block-faq__item {
  margin-top: 0;
  border-top: 0;
}

body .swell-block-faq .swell-block-faq__item:last-child {
  border-bottom: 0;
}

/* 金色の自動ナンバリング */
body .swell-block-faq .swell-block-faq__item::before {
  content: "Q" counter(marriage-qa, decimal-leading-zero);
  position: absolute;
  top: var(--qa-padding-y);
  left: 0;
  width: var(--qa-number-width);

  color: var(--qa-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  pointer-events: none;
}

/* 上下に余白を残した金色の縦線 */
body .swell-block-faq .swell-block-faq__item::after {
  content: "";
  position: absolute;
  top: var(--qa-padding-y);
  bottom: var(--qa-padding-y);
  left: var(--qa-number-width);
  width: 1px;
  background: var(--qa-divider);
  pointer-events: none;
}

/* 質問・回答の既存装飾を解除 */
body .swell-block-faq .swell-block-faq__item > :is(.faq_q, .faq_a) {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Q・Aの四角アイコンを非表示 */
body .swell-block-faq .swell-block-faq__item > :is(.faq_q, .faq_a)::before {
  content: none;
  display: none;
  border: 0;
  background: none;
  box-shadow: none;
}

/* 質問タイトルのみ明朝体 */
body .swell-block-faq .swell-block-faq__item > .faq_q {
  margin-bottom: 12px;
  color: var(--color_link, #04165a);
  font-family: var(--qa-mincho);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.025em;
}

/* 回答 */
body .swell-block-faq .swell-block-faq__item > .faq_a {
  color: var(--color_text, #333);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.9;
}

/* 回答内の段落間隔 */
body .swell-block-faq .faq_a > p {
  margin: 0;
}

body .swell-block-faq .faq_a > p + p {
  margin-top: 0.65em;
}

/* ==================================================
   タブレット
================================================== */

@media (max-width: 959px) {
  body .swell-block-faq {
    --qa-number-width: 90px;
    --qa-content-gap: 22px;
    --qa-leaf-space: 85px;
  }

  body .swell-block-faq .swell-block-faq__item {
    background-position: right 15px center;
    background-size: 55px auto;
  }

  body .swell-block-faq .swell-block-faq__item::before {
    font-size: 34px;
  }
}

/* ==================================================
   スマホ
================================================== */

@media (max-width: 599px) {
  /* インラインの font-size: 4em を上書き */
   .qa-fv h1 {
    font-size: clamp(2.15rem, 10.5vw, 2.75rem) !important;
    line-height: 1.05 !important;
  }

  body .swell-block-faq {
    --qa-number-width: 60px;
    --qa-content-gap: 15px;
    --qa-leaf-space: 18px;
    --qa-padding-y: 20px;

    border-radius: 8px;
  }

  /* 葉っぱは本文と重ならないよう下部に配置 */
  body .swell-block-faq .swell-block-faq__item {
    min-height: 0;
    padding-bottom: 76px;
    background-position: right 16px bottom 12px;
    background-size: auto 54px;
  }

  body .swell-block-faq .swell-block-faq__item::before {
    font-size: 26px;
    line-height: 1.4;
  }

  body .swell-block-faq .swell-block-faq__item::after {
    bottom: 76px;
  }

  body .swell-block-faq .swell-block-faq__item > .faq_q {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.7;
  }

  body .swell-block-faq .swell-block-faq__item > .faq_a {
    font-size: 14px;
    line-height: 1.85;
  }
}