/* ==========================================================================
   破産リアル — Front Page Styles v3
   Theme: SWELL child theme
   Place at: wp-content/themes/swell_child/assets/css/hasan-real-home.css
   ========================================================================== */

/* ==========================================================================
   SWELLフレーム無効化 — トップページを100vwフル幅に
   ========================================================================== */

/* 1. body全体の背景を和紙色に（SWELL外枠の灰色を消す） */
body.home { background: #f4efe4 !important; }

/* 2. SWELLのコンテナ・メイン幅を全解除 */
body.home .l-container,
body.home .l-contents,
body.home .l-content,
body.home .l-main,
body.home main.l-main,
body.home .l-mainContent,
body.home .l-mainContent__inner,
body.home .p-mainContents,
body.home .p-mainContents__inner,
body.home article.p-mainContents,
body.home .post_content {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: transparent !important;
}

/* 3. 100vwブレイクアウト — 親のpaddingを無視して画面端まで広げる */
body.home #hasan-home {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
}

/* 4. サイドバー・パンくず・投稿タイトル非表示 */
body.home .l-sidebar,
body.home #sidebar,
body.home .c-postTitle,
body.home .p-breadcrumb,
body.home .c-pageTitle,
body.home .l-header__bar { /* 必要なら */ }
body.home .l-sidebar,
body.home #sidebar,
body.home .c-postTitle,
body.home .p-breadcrumb,
body.home .c-pageTitle { display: none !important; }

:root {
  --hr-paper:  #f4efe4;
  --hr-paper-2:#ece5d5;
  --hr-ink:    #1f1a14;
  --hr-red:    #9c3028;
  --hr-mute:   rgba(31,26,20,.72);
  --hr-line:   rgba(31,26,20,.12);
  --hr-serif:  "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --hr-sans:   -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
}

#hasan-home {
  background: var(--hr-paper); color: var(--hr-ink);
  font-family: var(--hr-serif); font-size: 15px; line-height: 1.85;
  -webkit-font-smoothing: antialiased; position: relative;
}
#hasan-home::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(80,60,40,.025) 1px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(80,60,40,.03) 1px, transparent 2px),
    radial-gradient(circle at 50% 50%, rgba(80,60,40,.02) 1px, transparent 2px);
  background-size: 40px 40px, 60px 60px, 20px 20px;
}
#hasan-home > * { position: relative; z-index: 1; }
#hasan-home .hr-chap {
  font-family: var(--hr-sans); font-size: 11px; letter-spacing: .4em;
  color: var(--hr-red); margin: 0 0 14px; font-weight: 500;
}
#hasan-home .hr-chap--light { color: rgba(244,239,228,.6); }

/* HERO */
.hr-hero { padding: clamp(28px, 6vw, 72px) clamp(24px, 5vw, 40px) clamp(32px, 5vw, 48px); }
.hr-hero__inner { max-width: 880px; margin: 0 auto; }
.hr-hero__eyebrow { font-family: var(--hr-sans); font-size: 10px; letter-spacing: .5em; color: var(--hr-red); margin: 0 0 8px; }
.hr-hero__rule { display: block; width: 56px; height: 1px; background: var(--hr-ink); margin-bottom: 28px; }
.hr-hero__sub { font-size: clamp(13px, 1.8vw, 17px); line-height: 1.8; margin: 0; color: rgba(31,26,20,.7); letter-spacing: .08em; }
.hr-hero__title { font-size: clamp(26px, 6vw, 52px); line-height: 1.5; font-weight: 500; letter-spacing: .08em; margin: 18px 0 0; }
.hr-hero__title em { color: var(--hr-red); font-style: normal; }
.hr-hero__lede { margin-top: clamp(28px, 5vw, 36px); font-size: clamp(13px, 1.6vw, 15px); line-height: 2.1; color: var(--hr-mute); text-align: left; }
.hr-hero__lede p { margin: 0; }
.hr-hero__lede p + p { margin-top: 16px; }
.hr-dashed { border-bottom: 1px dashed rgba(156,48,40,.5); }
.hr-hero__cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hr-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; font-family: var(--hr-sans); font-size: 14px; text-decoration: none; transition: transform .15s ease; }
.hr-btn:hover { transform: translateY(-1px); }
.hr-btn--primary { background: var(--hr-ink); color: var(--hr-paper); }
.hr-btn--ghost   { border: 1px solid var(--hr-ink); color: var(--hr-ink); }

/* HERO — 2カラム（split）版 */
.hr-hero--split .hr-hero__inner {
  max-width: 1160px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 960px) {
  .hr-hero--split { padding: clamp(48px,6vw,96px) clamp(40px,6vw,80px); }
  .hr-hero--split .hr-hero__inner {
    grid-template-columns: minmax(0,1.25fr) 380px;
    gap: 72px;
    align-items: center;
  }
}
.hr-hero__left { min-width: 0; }
.hr-hero--split .hr-hero__eyebrow {
  font-family: var(--hr-sans);
  font-size: 10px;
  letter-spacing: .45em;
  color: var(--hr-red);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(156,48,40,.35);
  display: inline-block;
}

/* 右の活版印刷風カード */
.hr-hero__card {
  position: relative;
  background: var(--hr-paper-2);
  padding: 38px 34px 32px;
  border: 1px solid rgba(31,26,20,.18);
  box-shadow:
    0 1px 0 rgba(31,26,20,.04),
    inset 0 0 0 1px rgba(244,239,228,.4);
}
.hr-hero__card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(31,26,20,.12);
  pointer-events: none;
}
.hr-hero__card-corner {
  position: absolute;
  top: -9px;
  right: 20px;
  background: var(--hr-paper);
  padding: 0 10px;
  font-family: var(--hr-sans);
  font-size: 10px;
  letter-spacing: .35em;
  color: var(--hr-red);
}
.hr-hero__card-lead {
  position: relative;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 2.0;
  letter-spacing: .06em;
  margin: 0 0 22px;
  color: var(--hr-ink);
  font-weight: 500;
}
.hr-hero__card-lead em {
  font-style: normal;
  color: var(--hr-red);
}
.hr-hero__card-rule {
  display: block;
  height: 1px;
  background: repeating-linear-gradient(to right, rgba(31,26,20,.35) 0 3px, transparent 3px 6px);
  margin: 0 0 20px;
  position: relative;
}
.hr-hero__card-table {
  margin: 0;
  font-family: var(--hr-sans);
  font-size: 11.5px;
  letter-spacing: .06em;
  line-height: 1.7;
}
.hr-hero__card-table > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px dotted rgba(31,26,20,.22);
  position: relative;
}
.hr-hero__card-table > div:last-child { border-bottom: none; }
.hr-hero__card-table dt {
  color: rgba(31,26,20,.55);
  font-weight: 500;
  margin: 0;
}
.hr-hero__card-table dd {
  color: var(--hr-ink);
  margin: 0;
  font-weight: 500;
}

/* モバイルではカードを控えめに */
@media (max-width: 959px) {
  .hr-hero--split .hr-hero__card { padding: 28px 22px 22px; }
  .hr-hero--split .hr-hero__card-table > div { grid-template-columns: 72px 1fr; gap: 12px; }
}

/* PREFACE */
.hr-preface { padding: clamp(48px,8vw,72px) clamp(24px,5vw,40px); }
.hr-preface__inner { max-width: 1160px; margin: 0 auto; display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .hr-preface__inner { grid-template-columns: 280px 1fr; gap: 60px; } }
.hr-col-head h2 { font-size: clamp(20px,2.8vw,26px); font-weight: 500; margin: 0; line-height: 1.6; letter-spacing: .04em; }
.hr-col-body { font-size: clamp(13px,1.6vw,15px); line-height: 2.15; color: rgba(31,26,20,.82); max-width: 680px; text-align: left; }
.hr-col-body p { margin: 0; }
.hr-col-body p + p { margin-top: 20px; }

/* CHAP1 Q */
.hr-chap1 { padding: clamp(48px,8vw,80px) clamp(24px,5vw,40px); background: var(--hr-paper-2); }
.hr-chap1__inner { max-width: 880px; margin: 0 auto; }
.hr-chap1 h2 { font-size: clamp(20px,3vw,26px); font-weight: 500; margin: 0 0 28px; line-height: 1.6; }
.hr-qlist { list-style: none; padding: 0; margin: 0; }
.hr-qlist li { display: flex; gap: 14px; padding: 16px 0; align-items: flex-start; border-bottom: 1px dotted rgba(31,26,20,.3); }
.hr-qlist li:last-child { border-bottom: none; }
.hr-qlist__num { font-size: 13px; color: var(--hr-red); font-weight: 500; padding-top: 3px; min-width: 20px; }
.hr-qlist__text { flex: 1; font-size: 14.5px; line-height: 1.75; }
.hr-note { margin-top: 32px; padding: 22px 20px; background: var(--hr-paper); border: 1px solid var(--hr-ink); position: relative; }
.hr-note__label { position: absolute; top: -10px; left: 20px; background: var(--hr-paper); padding: 0 8px; font-size: 10px; letter-spacing: .2em; color: var(--hr-red); font-family: var(--hr-sans); }
.hr-note p { margin: 0; font-size: 13.5px; line-height: 2; }
.hr-note mark { background: linear-gradient(transparent 60%, rgba(156,48,40,.25) 60%); padding: 0 2px; color: inherit; }

/* COLOPHON 運営者 */
.hr-colophon { background: var(--hr-ink); color: var(--hr-paper); padding: clamp(48px,8vw,72px) clamp(24px,5vw,40px); }
.hr-colophon__inner { max-width: 1160px; margin: 0 auto; display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .hr-colophon__inner { grid-template-columns: 1fr 1.1fr; gap: 60px; } }
.hr-colophon h2 { font-size: clamp(22px,3vw,28px); font-weight: 500; margin: 0 0 24px; line-height: 1.6; }
.hr-colophon__body { font-size: 14px; line-height: 2; color: rgba(244,239,228,.85); }
.hr-colophon__body p { margin: 0; }
.hr-colophon__body p + p { margin-top: 16px; }
.hr-colophon__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 12px 22px; border: 1px solid rgba(244,239,228,.3); color: var(--hr-paper); font-family: var(--hr-sans); font-size: 13px; text-decoration: none; }
.hr-colophon__more:hover { background: rgba(244,239,228,.08); }
.hr-colophon__table { margin: 0; border: 1px solid rgba(244,239,228,.2); }
.hr-colophon__row { display: grid; grid-template-columns: 140px 1fr; border-bottom: 1px solid rgba(244,239,228,.15); }
.hr-colophon__row:last-child { border-bottom: none; }
.hr-colophon__row dt { margin: 0; padding: 14px 18px; background: rgba(244,239,228,.05); font-family: var(--hr-sans); font-size: 12px; letter-spacing: .15em; color: rgba(244,239,228,.6); }
.hr-colophon__row dd { margin: 0; padding: 14px 18px; font-size: 13.5px; }
.hr-twitter { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; padding: 18px 20px; background: rgba(244,239,228,.05); border-left: 3px solid var(--hr-red); text-decoration: none; color: var(--hr-paper); }
.hr-twitter__label { display: block; font-family: var(--hr-sans); font-size: 11px; letter-spacing: .2em; color: rgba(244,239,228,.6); margin-bottom: 6px; }
.hr-twitter__lead { display: block; font-size: 13.5px; }
.hr-twitter__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--hr-paper); color: var(--hr-ink); font-family: var(--hr-sans); font-size: 12.5px; white-space: nowrap; }
.hr-twitter__x { font-weight: 600; }

/* CHAP3 索引 */
.hr-chap3 { padding: clamp(48px,8vw,80px) clamp(24px,5vw,40px); }
.hr-chap3__inner { max-width: 1160px; margin: 0 auto; }
.hr-chap3 h2 { font-size: clamp(22px,3vw,28px); font-weight: 500; margin: 0 0 12px; line-height: 1.6; }
.hr-chap3__lead { font-size: 13.5px; color: rgba(31,26,20,.6); margin: 0 0 32px; }
.hr-index { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .hr-index { grid-template-columns: 1fr 1fr; gap: 60px; } }
.hr-index__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.hr-index__head > span:nth-child(2) { font-size: 13px; font-weight: 500; }
.hr-rule { flex: 1; height: 1px; background: rgba(31,26,20,.2); }
.hr-badge { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--hr-paper); }
.hr-badge--dark { background: var(--hr-ink); }
.hr-badge--red  { background: var(--hr-red); }
.hr-index__item { display: block; padding: 14px 0; border-bottom: 1px solid rgba(31,26,20,.1); text-decoration: none; color: inherit; transition: padding .15s ease, background .15s ease; }
.hr-index__item:hover { padding-left: 6px; background: rgba(156,48,40,.04); }
.hr-index__row { display: grid; grid-template-columns: 20px 1fr auto auto; gap: 12px; align-items: center; }
.hr-index__num { font-size: 14px; color: var(--hr-red); font-weight: 500; }
.hr-index__text { font-size: 14.5px; line-height: 1.5; }
.hr-index__meta { font-size: 11px; color: rgba(31,26,20,.55); font-family: var(--hr-sans); }
.hr-index__arrow { color: rgba(31,26,20,.5); }
.hr-index__tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 0 32px; }
.hr-index__tags span { font-size: 10.5px; padding: 2px 8px; background: rgba(31,26,20,.06); color: rgba(31,26,20,.7); font-family: var(--hr-sans); }
.hr-index__tags--red span { background: rgba(156,48,40,.08); color: rgba(156,48,40,.85); }

/* CHAP4 Articles */
.hr-chap4 { padding: clamp(48px,8vw,72px) clamp(24px,5vw,40px); background: var(--hr-paper-2); }
.hr-chap4__inner { max-width: 1160px; margin: 0 auto; }
.hr-chap4__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 36px; }
.hr-chap4 h2 { font-size: clamp(22px,3vw,28px); font-weight: 500; margin: 0; line-height: 1.6; }
.hr-chap4__eyebrow { font-family: var(--hr-sans); font-size: 11px; letter-spacing: .25em; color: rgba(31,26,20,.45); }
.hr-articles { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .hr-articles { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.hr-article { display: block; padding: 28px 0 0; border-top: 2px solid var(--hr-ink); text-decoration: none; color: inherit; }
.hr-article__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.hr-article__no { font-family: var(--hr-serif); font-size: clamp(36px,4vw,48px); font-weight: 500; line-height: .9; color: var(--hr-ink); }
.hr-article__meta { text-align: right; }
.hr-article__cat { display: block; font-family: var(--hr-sans); font-size: 10px; letter-spacing: .2em; color: var(--hr-red); }
.hr-article__read { display: block; font-family: var(--hr-sans); font-size: 10px; color: rgba(31,26,20,.4); margin-top: 4px; }
.hr-article h3 { font-size: 16px; font-weight: 500; margin: 0; line-height: 1.55; }
.hr-article p { font-size: 13px; line-height: 1.9; color: rgba(31,26,20,.65); margin: 12px 0 0; }
.hr-article:hover h3 { color: var(--hr-red); }
.hr-chap4__more { margin-top: 40px; text-align: center; }
.hr-chap4__more a { display: inline-flex; gap: 10px; padding: 14px 28px; border: 1px solid var(--hr-ink); font-family: var(--hr-sans); font-size: 14px; text-decoration: none; color: var(--hr-ink); }

/* POSTSCRIPT */
.hr-postscript { padding: clamp(48px,8vw,72px) clamp(24px,5vw,40px); }
.hr-postscript__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.hr-postscript h2 { font-size: clamp(22px,3vw,28px); font-weight: 500; margin: 0; line-height: 1.6; }
.hr-postscript__body { margin-top: 28px; font-size: clamp(13px,1.6vw,15px); line-height: 2.15; color: rgba(31,26,20,.8); text-align: left; }
.hr-postscript__body p { margin: 0; }
.hr-postscript__body p + p { margin-top: 18px; }
.hr-postscript__note { margin-top: 28px; padding: 16px 20px; background: rgba(156,48,40,.06); border-left: 2px solid var(--hr-red); font-size: 13px; line-height: 1.9; color: rgba(31,26,20,.75); text-align: left; }
.hr-postscript__note a { color: var(--hr-red); border-bottom: 1px solid rgba(156,48,40,.4); text-decoration: none; }

/* HOUTERASU */
.hr-houterasu { padding: clamp(36px,5vw,56px) clamp(20px,4vw,40px); }
.hr-houterasu__inner { max-width: 880px; margin: 0 auto; }
.hr-houterasu__disclaimer { text-align: center; font-family: var(--hr-sans); font-size: 11px; letter-spacing: .15em; color: rgba(31,26,20,.55); margin: 0 0 14px; }
.hr-houterasu__box { border: 2px solid var(--hr-red); padding: clamp(24px,3vw,32px) clamp(20px,3vw,36px); position: relative; }
.hr-houterasu__tag { position: absolute; top: -12px; left: 22px; background: var(--hr-red); color: var(--hr-paper); font-family: var(--hr-sans); font-size: 10px; letter-spacing: .2em; padding: 4px 10px; }
.hr-houterasu__grid { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center; margin-top: 8px; }
@media (min-width: 720px) { .hr-houterasu__grid { grid-template-columns: 1.2fr 1fr; gap: 36px; } }
.hr-houterasu__title { font-size: clamp(18px,2.4vw,22px); font-weight: 500; line-height: 1.6; margin: 0; }
.hr-houterasu__body { font-size: 13px; line-height: 1.95; color: var(--hr-mute); margin: 12px 0 0; }
.hr-houterasu__body strong { font-weight: 500; }
.hr-houterasu__mail { font-size: 12px; color: rgba(31,26,20,.7); margin: 10px 0 0; }
.hr-houterasu__mail a { color: var(--hr-red); border-bottom: 1px solid rgba(156,48,40,.5); text-decoration: none; }
.hr-houterasu__phone { display: block; padding: 16px; background: var(--hr-ink); color: var(--hr-paper); text-align: center; text-decoration: none; font-family: var(--hr-sans); }
.hr-houterasu__phone-label { display: block; font-size: 10px; letter-spacing: .2em; opacity: .6; }
.hr-houterasu__phone-num   { display: block; font-size: clamp(20px,2.6vw,26px); letter-spacing: .08em; margin-top: 4px; }
.hr-houterasu__phone-hours { display: block; font-size: 11px; opacity: .6; margin-top: 6px; }
.hr-houterasu__phone-note  { display: block; font-size: 10px; opacity: .4; margin-top: 2px; }
.hr-disclaimer { margin: 20px 0 0; padding: 14px 18px; background: rgba(31,26,20,.04); font-size: 12px; line-height: 1.8; color: rgba(31,26,20,.65); }
