/* 四柱推命天徳流 石橋ゆうこ 公式サイト 共通スタイル */
:root {
  --main: #680002;
  --text: #565656;
  --bg: #f5f5f5;
  --white: #fff;
  --line: #e2d6d6;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

button, input, select, textarea, optgroup { font-family: inherit; }

body {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--main); }
a:hover { opacity: .75; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 改行の出し分け（sp-br はモバイルだけ、pc-br は PC だけ改行） */
.sp-br { display: none; }
@media (max-width: 768px) {
  .sp-br { display: inline; }
  .pc-br { display: none; }
}

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
body { padding-top: var(--header-h, 144px); }
.site-header {
  background: var(--main); position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: transform .35s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; flex-direction: column; align-items: center;
}
.logo { display: flex; align-items: center; justify-content: center; height: 79px; flex: none; }
.logo img { display: block; width: 214px; height: auto; }
.gnav { width: 100%; height: 65px; }
.gnav ul { list-style: none; position: relative; display: flex; align-items: center; justify-content: center; height: 100%; margin: 0; }
.gnav a { display: block; color: #fff; text-decoration: none; font-size: 15px; font-weight: 400; padding: 0 25px; white-space: nowrap; }
.gnav a:hover, .gnav a[aria-current="page"] { opacity: .75; }
.gnav .gnav-cta { margin: 0 25px; }
.gnav .btn-reserve {
  display: flex; align-items: center; justify-content: center; width: 150px; height: 35px; padding: 0;
  background: #006837; color: #fff; border: 0; font-weight: 400;
}
.gnav .btn-reserve:hover { background: #004d29; color: #fff; opacity: 1; }
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; background: transparent;
  border: 1px solid rgba(255, 255, 255, .6); cursor: pointer; position: relative;
}
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 11px; width: 20px; height: 2px; background: #fff;
  transition: transform .2s, opacity .2s;
}
.menu-toggle .bars { top: 21px; }
.menu-toggle .bars::before { left: 0; top: -7px; }
.menu-toggle .bars::after { left: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero (top) ---------- */
.hero { position: relative; background: #222; overflow: hidden; height: min(810px, 63vw); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide--1 { background-image: url(../images/hero_01_01.jpeg); }
.hero-slide--2 { background-image: url(../images/hero_08.png); }
.hero-slide--3 { background-image: url(../images/hero_02-2.png); }
.hero-slide--4 { background-image: url(../images/hero_04.png); }
.hero-sp { display: none; width: 100%; height: auto; }

/* ---------- page title band / breadcrumb ---------- */
.page-hero {
  background: var(--main) center / cover no-repeat; color: #fff; text-align: center; padding: 72px 0;
}
.page-hero h1 { font-size: 2rem; font-weight: 700; letter-spacing: .12em; line-height: 1.5; }
.page-hero--about { background-image: url(../images/science-fiction-gf009726e2_1280.jpg); }
.page-hero--tentoku { background-image: url(../images/science-fiction-gf009726e2_1280.jpg); }
.page-hero--business { background-image: url(../images/business_header.jpg); }
.page-hero--personal { background-image: url(../images/314896C7-D643-4AE7-87E5-DBF580AC61E2-scaled.jpg); }
.page-hero--profile { background-image: url(../images/profile_hero.jpg); }
.page-hero--seminar { background-image: url(../images/IMG_1417.jpg); }
.page-hero--movie { background-color: #641010; }

.breadcrumb { background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; padding: 10px 0; }
.breadcrumb li + li::before { content: ">"; margin: 0 .7em; color: #999; }
.breadcrumb a { text-decoration: none; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section--w { background: var(--white); }
.section--news { background: var(--main); color: #fff; padding: 36px 0; }
.section--news a { color: #fff; }
.section--news .sec-ttl { color: #fff; }
.section--news .post-list li { border-color: rgba(255, 255, 255, .35); }

.sec-head { text-align: center; margin-bottom: 36px; }
.sec-en { text-align: center; color: #513434; font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1.6; margin-bottom: 4px; }
.sec-head .sec-en { margin-bottom: 4px; }
.sec-ttl { font-size: 30px; font-weight: 500; letter-spacing: .08em; line-height: 1.5; color: var(--main); }
.section--news .sec-head { margin-bottom: 18px; }
.section--news .sec-ttl { font-size: 26px; }
.lead { font-size: 1.2rem; font-weight: 700; color: var(--main); text-align: center; margin-bottom: 18px; }
.lead-note { text-align: center; margin-bottom: 24px; }
.section > .container > * + * { margin-top: 24px; }
.section > .container > .sec-head + * { margin-top: 0; }

.prose { max-width: 820px; margin-left: auto; margin-right: auto; }
.prose p + p { margin-top: 1.2em; }
.prose ol { padding-left: 1.6em; margin: .8em 0; }
.prose li + li { margin-top: .4em; }
.col .prose { max-width: none; }
.table-wrap { overflow-x: auto; max-width: 100%; }
.prose table { border-collapse: collapse; width: 100%; background: #fff; }
.prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: center; }
.prose table td:first-child { background: #faf4f4; }

/* ---------- buttons ---------- */
.btn-wrap { text-align: center; }
.btn {
  display: inline-block; padding: 14px 30px; background: #fff; color: var(--main);
  border: 1px solid var(--main); text-decoration: none; text-align: center; line-height: 1.5;
  font-family: inherit; font-size: 1rem; cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: var(--main); color: #fff; opacity: 1; }
.col .btn { width: 100%; max-width: 100%; }

/* 矢印アニメーション（ホバー時に矢印だけ右へ） */
.arw { display: inline-block; transition: transform .4s ease; }
a:hover .arw, button:hover .arw { transform: translateX(5px); }

/* ---------- grid ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.icons.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > .col > * + * { margin-top: 14px; }
.card { background: #fff; border: 1px solid var(--line); padding: 24px 20px; text-align: center; }
.section--w .card { background: var(--bg); }
.card .prose { text-align: left; }
.card .prose p { text-align: left; }
.card-ttl { font-size: 1.15rem; font-weight: 700; color: var(--main); line-height: 1.5; }
.card-sub { font-size: .95rem; }
.card-price { font-size: 1.5rem; font-weight: 700; color: var(--main); line-height: 1.5; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.media img { display: block; width: 100%; height: auto; }
.grid.banners { align-items: center; }
.grid.prices, .grid.voices, .grid.steps, .grid.icons { align-items: stretch; }

.iconbox { background: #fff; border: 1px solid var(--line); padding: 24px 20px; height: 100%; text-align: center; }
.section--w .iconbox { background: var(--bg); }
.iconbox .icon { color: var(--main); display: block; margin: 0 auto 8px; }
.iconbox h3 { font-size: 1.1rem; color: var(--main); margin-bottom: 8px; }
.iconbox p { text-align: left; font-size: .95rem; }

.steps { counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); padding: 44px 20px 24px; height: 100%; text-align: center; counter-increment: step; }
.section--w .step { background: var(--bg); }
.step::before {
  content: counter(step); position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; line-height: 40px; border-radius: 50%; background: var(--main); color: #fff;
  font-weight: 700; font-size: 1.1rem;
}
.step h3 { font-size: 1.1rem; color: var(--main); margin-bottom: 8px; }
.step p { text-align: left; font-size: .95rem; }
.grid.steps { padding-top: 20px; }

.price-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--main); padding: 28px 22px; height: 100%; text-align: center; }
.section--w .price-card { background: var(--bg); }
.price-card h3 { font-size: 1.2rem; color: var(--main); }
.price { font-size: 1.8rem; font-weight: 700; color: var(--main); margin: 8px 0 14px; line-height: 1.4; }
.price span { font-size: .9rem; font-weight: 400; color: var(--text); }
.price-card ul { list-style: none; text-align: left; }
.price-card li { padding: 8px 0; border-top: 1px solid var(--line); font-size: .95rem; }

.voice { background: #fff; border: 1px solid var(--line); padding: 24px 22px; height: 100%; }
.section--w .voice { background: var(--bg); }
.voice blockquote p + p { margin-top: .8em; }
.voice blockquote { font-size: .95rem; }
.voice figcaption { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.6; }
.voice-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 700; color: var(--main); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; }

.video { position: relative; width: 100%; max-width: 820px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.post-list { list-style: none; max-width: 820px; margin: 0 auto; }
.post-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.post-list .post-title { display: block; }
.post-list time { display: block; font-size: .85rem; opacity: .8; }
.post-thumb { width: 72px; height: 72px; object-fit: cover; flex: none; }
.post-list a { text-decoration: none; }
.post-list a:hover { text-decoration: underline; opacity: 1; }

.social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* ---------- forms ---------- */
.form { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); padding: 32px 28px; }
.form p { margin-bottom: 18px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: inherit; color: var(--text);
  border: 1px solid #c9bcbc; background: #fff; border-radius: 0;
}
.form textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: .85rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.form legend { padding: 0; margin-bottom: 6px; }
.form .radio { display: inline-block; margin-right: 18px; }
.form .radio input { margin-right: 6px; }
.form .btn { min-width: 200px; }
.form-demo { color: var(--main); font-weight: 700; text-align: center; margin: 0 !important; }

/* ---------- footer ---------- */
.site-footer { background: var(--main); color: #fff; padding: 70px 0 28px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; opacity: 1; }
.site-footer .btn { color: #fff; background: var(--main); border: 1px solid #fff; }
.site-footer .btn:hover { background: #fff; color: var(--main); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
.footer-brand img { display: block; width: 214px; height: auto; }
.footer-brand .btn-wrap { text-align: left; margin-top: 16px; }
.footer-brand .btn { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 330px; height: 60px; padding: 0; font-size: 20px; }
.footer-ttl { font-size: 20px; font-weight: 500; padding-bottom: 8px; margin-bottom: 12px; border-bottom: 2px dotted #994545; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 6px; font-size: 16px; }
.footer-legal { margin-top: 18px; }
.copyright { text-align: center; font-size: 11px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .25); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .gnav a { font-size: 13px; padding: 0 10px; }
  .gnav .gnav-cta { margin: 0 10px; }
}
@media (min-width: 769px) and (max-width: 960px) {
  .gnav a { font-size: 12px; padding: 0 7px; }
  .gnav .gnav-cta { margin: 0 7px; }
  .gnav .btn-reserve { width: 120px; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  body { padding-top: var(--header-h, 68px); }
  .header-inner { padding: 12px 16px; flex-direction: row; justify-content: space-between; }
  .logo { height: auto; }
  .logo img { width: 170px; }
  .menu-toggle { display: block; }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; width: auto; height: auto; background: var(--main); border-top: 1px solid rgba(255, 255, 255, .3); max-height: calc(100vh - 68px); overflow-y: auto; }
  .gnav.is-open { display: block; }
  .gnav ul { position: static; flex-direction: column; align-items: stretch; justify-content: flex-start; height: auto; gap: 0; padding: 8px 16px 18px; }
  .gnav li a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .25); white-space: normal; font-size: 15px; }
  .gnav .gnav-cta { margin: 14px 0 0; }
  .gnav .btn-reserve { width: 100%; height: auto; text-align: center; padding: 12px; border-bottom: 0; }

  .hero { height: auto; }
  .hero-slides { display: none; }
  .hero-sp { display: block; }

  .page-hero { padding: 48px 0; }
  .page-hero h1 { font-size: 1.5rem; }
  .section { padding: 44px 0; }
  .sec-ttl { font-size: 24px; }

  .grid, .grid.cols-3, .grid.cols-4, .grid.icons.cols-4 { grid-template-columns: minmax(0, 1fr); }
  .grid.steps { gap: 36px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 24px 16px; }
  .form .radio { display: block; margin: 0 0 6px; }
}

/* ---------- top page (body.home) ---------- */
.home { background: #fff; overflow-x: hidden; }
.home main { padding-bottom: 80px; }
.home .section { background: #fff; padding: 80px 0 0; }
.home .section > .container > * + * { margin-top: 0; }
.home .section--news { background: var(--main); padding: 50px 0; margin-top: 50px; }
.home .hero + .section { padding-top: 40px; }
.home .sec-head, .sub .sec-head { margin-bottom: 30px; }

.home .section--news .post-list, .sub .section--news .post-list { max-width: 860px; }
.home .section--news .post-list li, .sub .section--news .post-list li { display: block; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.home .section--news .post-list li a, .sub .section--news .post-list li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; }
.home .section--news .post-list li, .sub .section--news .post-list li { position: relative; transition: transform .4s ease; }
.home .section--news .post-list li::after, .sub .section--news .post-list li::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.home .section--news .post-list li:hover, .sub .section--news .post-list li:hover { transform: translateY(-4px); }
.home .section--news .post-list li a:hover, .sub .section--news .post-list li a:hover { text-decoration: none; opacity: 1; }
.home .section--news .post-list .arrow, .sub .section--news .post-list .arrow { flex: none; font-size: 20px; line-height: 1; }
.home .section--news .post-title, .sub .section--news .post-title { font-size: 18px; line-height: 1.6; }
.home .section--news .post-list time, .sub .section--news .post-list time { font-size: 12px; color: #adadad; opacity: 1; margin-top: 2px; }

.home .prose { max-width: 896px; font-size: 18px; line-height: 2.5; color: #565656; }
.home .prose p + p { margin-top: 0; }
.home main .btn-wrap, .sub main .btn-wrap { margin-top: 30px; }
.home .prose + .btn-wrap { margin-top: 40px; }
.home main .btn, .sub main .btn, .page-blog main .btn { padding: 16px 28px; font-size: 18px; font-weight: 600; background: #fff; color: var(--main); border: 1px solid var(--main); }
.home main .btn:hover, .sub main .btn:hover, .page-blog main .btn:hover { background: var(--main); color: #fff; }

/* profile */
.home .grid.profile { grid-template-columns: 540px 540px; justify-content: center; gap: 60px; align-items: stretch; }
.home .profile .media img { width: 540px; max-width: 100%; height: 360px; object-fit: cover; }
.home .profile > .col:last-child { display: flex; flex-direction: column; justify-content: space-between; }
.home .grid.profile > .col > * + * { margin-top: 0; }
.home .profile .prose { max-width: 540px; font-size: 13.5px; line-height: 1.75; text-align: left; }
.home .profile .prose p + p { margin-top: 8px; }
.home .profile .btn-wrap { margin-top: 12px; text-align: center; }
.home .profile .btn { width: auto; font-size: 16px; padding: 12px 24px; }

/* fortune */
.home .lead-note { font-size: 15px; color: #484848; margin-bottom: 30px; }
.home .grid.fortune { grid-template-columns: repeat(2, 428px); justify-content: center; gap: 40px; }
.home .card { background: transparent; border: 0; padding: 0; }
.home .grid.fortune .btn-wrap { margin-top: 0; }
.home main .btn.btn-big {
  display: flex; align-items: center; justify-content: center; width: 428px; max-width: 100%; height: 167px;
  margin: 0 auto; padding: 0 20px; font-size: 25px; background: transparent;
  flex-direction: column; gap: 10px;
}
.home main .btn.btn-big:hover { background: var(--main); }
.home .btn-big .arrow { font-size: 24px; line-height: 1; }
.home .card-sub { font-size: 15px; color: #3c3c3c; margin-top: 14px; }


/* reserve */
.home .grid.steps, .sub .grid.steps { padding-top: 0; gap: 30px; align-items: start; }
.home .step, .sub .step { background: transparent; border: 0; padding: 0; height: auto; text-align: center; }
.home .step::before, .sub .step::before { position: static; transform: none; display: block; width: auto; height: auto; line-height: 1; background: transparent; color: var(--main); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.home .step-icon, .sub .step-icon { display: flex; align-items: center; justify-content: center; width: 110px; height: 110px; margin: 0 auto 16px; border: 1px solid var(--main); border-radius: 50%; color: var(--main); }
.home .step-icon svg, .sub .step-icon svg { width: 48px; height: 48px; }
.home .step h3, .sub .step h3 { font-size: 16px; font-weight: 500; color: #3a3a3a; margin-bottom: 8px; }
.home .step p, .sub .step p { font-size: 13px; line-height: 19px; color: #6a6a6a; text-align: center; }

/* kantei */
.home main .btn.btn-kantei, .sub main .btn.btn-kantei {
  display: flex; align-items: center; justify-content: center; width: 1008px; max-width: 100%; height: 112px; margin: 0 auto; padding: 0 20px;
  background: #006837; color: #fff; border: 0; font-size: 28px; font-weight: 600;
}
.home main .btn.btn-kantei:hover, .sub main .btn.btn-kantei:hover { background: #004d29; color: #fff; }
.home main .btn-wrap:has(.btn-kantei), .sub main .btn-wrap:has(.btn-kantei) { margin-top: 0; }

/* service */
.home .tile, .sub .tile {
  display: flex; align-items: center; justify-content: center; width: 100%; max-width: 232px; aspect-ratio: 232 / 162;
  margin: 0 auto; background: var(--main); color: #fff; text-decoration: none; font-size: 20px; font-weight: 600; text-align: center;
  flex-direction: column; gap: 8px;
}
.home .tile .arrow, .sub .tile .arrow { font-size: 20px; line-height: 1; }
.home .tile-desc, .sub .tile-desc { max-width: 232px; margin: 14px auto 0; font-size: 13px; line-height: 24.75px; color: #383838; }
.home .grid.cols-4:not(.banners) { gap: 30px; }

/* blog */
.home .post-cards { max-width: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; align-items: start; }
.home .post-cards li { display: block; padding: 0; border: 0; }
.home .post-cards .blog-card { display: block; color: #3a3a3a; text-decoration: none; }
.home .post-cards .blog-card:hover { opacity: .8; text-decoration: none; }
.home .post-cards .blog-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--main); margin-bottom: 10px; }
.home .post-cards .blog-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home .post-cards .blog-thumb.is-placeholder { display: flex; align-items: center; justify-content: center; }
.home .post-cards .blog-thumb.is-placeholder img { width: 60%; height: auto; object-fit: contain; }
.home .post-cards .post-title { font-size: 15px; font-weight: 600; line-height: 1.6; color: #3a3a3a; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home .post-cards time { font-size: 12px; color: #8a8a8a; opacity: 1; padding-left: 18px; position: relative; }
.home .post-cards time::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23adadad' stroke-width='1.5'%3E%3Crect x='2' y='3' width='12' height='11' rx='1'/%3E%3Cpath d='M2 7h12M5 1v3M11 1v3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.home .post-cards .is-skeleton .sk-thumb { display: block; aspect-ratio: 16 / 9; background: #eee; margin-bottom: 10px; }
.home .post-cards .is-skeleton .sk-line { display: block; height: 14px; width: 70%; background: #eee; }
.home .post-cards.is-error { display: block; text-align: center; }
.home main .post-cards + .btn-wrap { margin-top: 48px; }

/* banner slider */
.banner-slider { overflow: hidden; margin: 0 -12px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.banner-track { display: flex; align-items: center; will-change: transform; }
.banner-slide { flex: 0 0 25%; padding: 0 12px; }
.banner-slide a { display: block; }
.banner-slide img { display: block; width: 100%; height: auto; -webkit-user-drag: none; }
.banner-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding-top: 16px; }
.banner-dot { position: relative; width: 24px; height: 24px; padding: 0; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.banner-dot::before { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #d5d5d5; transition: background .2s; }
.banner-dot:hover::before { background: #b9a3a3; }
.banner-dot[aria-current="true"]::before { background: var(--main); }
.banner-dot:focus-visible { outline: 2px solid var(--main); outline-offset: 0; }

/* top news: archive link */
.home .section--news .post-list + .btn-wrap { margin-top: 30px; }
.home main .section--news .btn:hover { border-color: #fff; }

@media (max-width: 768px) {
  .home .section { padding-top: 56px; }
  .home .hero + .section { padding-top: 32px; }
  .home .section--news { padding: 36px 0; }
  .home .prose { font-size: 16px; line-height: 2.2; }
  .home .grid.profile, .home .grid.fortune { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home .profile .media img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .home .grid.fortune { gap: 32px; }
  .home main .btn.btn-big { width: 100%; height: 120px; font-size: 20px; }
  .home main .btn.btn-kantei, .sub main .btn.btn-kantei { height: 84px; font-size: 20px; }
  .home .grid.cols-4:not(.banners) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .home .tile, .sub .tile { font-size: 17px; }
  .home .post-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .home main .post-cards + .btn-wrap { margin-top: 32px; }
  .banner-slider { margin: 0 -20px; }
  .banner-slide { flex-basis: 70%; padding: 0 6px; }
  .home .post-cards .post-title { font-size: 13px; }
  .home .step p br:not(.sp-br), .sub .step p br:not(.sp-br) { display: none; }
  .home .step p { font-size: min(12px, calc((100vw - 40px) / 28.5)); } /* 1行目（28字）が画面幅に収まり、指定位置だけで改行されるように */
  .home .profile .prose { font-size: 15px; line-height: 2; }
  .home .grid.profile > .col > .btn-wrap { margin-top: 32px; }
  .footer-brand .btn { max-width: 100%; }
}

/* ---------- subpages (body.sub) ---------- */
.sub main { padding-bottom: 80px; }
.sub main .container { max-width: 1160px; }

.sub .breadcrumb { background: transparent; border-bottom: 1px solid #ddd; font-size: 15px; line-height: 21px; }
.sub .breadcrumb .container { max-width: 1280px; padding: 0 40px; }
.sub .breadcrumb li + li::before { content: "»"; margin: 0 .4em; color: inherit; }

.sub .page-hero { display: flex; align-items: center; justify-content: center; height: min(621px, 48vw); padding: 0; }
.sub .page-hero h1 { font-size: 40px; font-weight: 600; line-height: 1.3; letter-spacing: 0; text-shadow: 0 0 10px rgba(0, 0, 0, .3); }
.sub .page-hero--short { height: 270px; }

.sub .section { padding: 80px 0 0; background: transparent; }
.sub .page-hero + .section { padding-top: 70px; }
.sub .section > .container > * + * { margin-top: 40px; }
.sub .section > .container > .sec-head + * { margin-top: 0; }
.sub .section > .container > * + .sec-head { margin-top: 70px; }
.sub .section--red { background: var(--main); color: #fff; padding: 40px 0 50px; margin-top: 60px; }
.sub .section--red .sec-ttl { color: #fff; }
.sub .section--news { padding: 40px 0 50px; margin-top: 60px; background: var(--main); }
.sub .section--news .sec-ttl { font-size: 26px; }

.sub .sec-ttl { line-height: 1.3; }
.sub .sec-ttl--sm { font-size: 28px; }
.sub .sec-ttl--lg { font-size: 32px; }
.sub .sec-head--left { text-align: left; }
.sub .sub-ttl { margin-top: 14px; font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: .04em; color: #4a4a4a; }
.page-profile .sub-ttl { margin-top: 36px; }

.sub .prose { max-width: 896px; font-size: 18px; line-height: 2.5; color: #565656; }
.sub .prose p + p { margin-top: 1.6em; }
.sub .prose--md { max-width: 990px; font-size: 16px; line-height: 2; }
.sub .prose--profile { font-size: 16px; line-height: 30px; }
.sub .prose--sm { max-width: 997px; font-size: 15px; line-height: 24.75px; color: #414141; }
.sub .prose--sm p + p { margin-top: 1.2em; }
.sub .note { font-size: 15px; line-height: 24.75px; color: #7a7a7a; text-align: center; }
.sub .lead-note { margin-bottom: 0; font-size: 15px; font-weight: 600; color: #6a6a6a; }
.sub .video { max-width: 896px; }
.sub .grid.figures { gap: 20px; align-items: center; }
.sub .figures .media img { width: 400px; max-width: 100%; margin: 0 auto; }
.sub .section > .container > .sec-head + .lead-note { margin-top: -20px; }
.sub .section--news + .section { padding-top: 40px; }

/* service tiles + CTA */
.sub .grid.tiles { gap: 30px; }
.sub .grid.tiles.cols-3 { gap: 20px; }
.sub .tile--wide { max-width: 353px; aspect-ratio: 353 / 162; }
.sub main .grid.tiles + .btn-wrap, .sub main .section > .container > * + .btn-wrap:has(.btn-kantei) { margin-top: 60px; }

/* iconbox */
.sub .grid.icons { gap: 20px; }
.sub .iconbox { background: transparent; border: 0; padding: 0; height: auto; color: #656565; }
.sub .section--red .iconbox { color: #fff; }
.sub .iconbox .icon { width: 72px; height: 72px; margin: 0 auto 20px; color: inherit; }
.sub .iconbox h3 { margin-bottom: 14px; font-size: 24px; font-weight: 600; line-height: 1.3; color: inherit; }
.sub .icons--method .iconbox h3 { margin-bottom: 0; font-size: 20px; }
.sub .iconbox p { font-size: 15px; line-height: 30px; text-align: center; }

/* price box (business / personal) */
.sub .grid.price-boxes { gap: 20px; align-items: stretch; }
.sub .price-box { background: #fff5f5; border: 1px solid var(--main); padding: 40px 40px 34px; text-align: center; }
.sub .price-box .card-ttl { font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--main); }
.sub .price-box .card-price { margin-top: 20px; font-size: 50px; font-weight: 600; line-height: 1; color: #000; }
.sub .price-box .card-sub { margin-top: 20px; font-size: 23px; font-weight: 600; line-height: 1; color: var(--main); }
.sub .price-box .prose { margin-top: 40px; font-size: 15px; line-height: 24.75px; }

/* price card (seminar / tentoku) */
.sub .grid.prices { gap: 20px; }
.sub .price-card { background: transparent; border: 1px solid var(--main); padding: 30px; }
.sub .price-card h3 { padding-bottom: 15px; margin-bottom: 15px; font-size: 32px; font-weight: 700; line-height: 30px; }
.sub .price-card .price { margin: 0 0 15px; font-size: 28px; font-weight: 500; line-height: 1.2; color: #4b4f58; }
.sub .price-card .price span { font-size: 15px; color: #474747; }
.sub .price-card ul { text-align: center; }
.sub .price-card li { padding: 10px 0; border-top: 0; border-bottom: 1px solid rgba(9, 9, 9, .04); font-size: 14px; line-height: 24.75px; color: #6d6d6d; }

/* voice */
.sub .grid.voices { gap: 20px; align-items: start; }
.sub .voice { background: transparent; border: 0; padding: 0 26px 10px; height: auto; }
.sub .voice blockquote { padding: 48px; background: #fff; border-radius: 30px; box-shadow: 0 0 10px rgba(0, 0, 0, .5); font-size: 18px; line-height: 39px; color: #2f2f2f; }
.sub .voice blockquote p + p { margin-top: 0; }
.sub .voice figcaption { gap: 25px; margin-top: 20px; padding-top: 0; border-top: 0; font-size: 16px; line-height: 1.6; color: #8c8c8c; }
.sub .voice figcaption strong { font-size: 18px; color: var(--main); }
.sub .voice-img { width: 87px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }

/* faq */
.sub .faq { max-width: none; }
.sub .faq details { margin: 0; background: transparent; border: 0; border-bottom: 1px solid #d5d8dc; }
.sub .faq summary { padding: 15px 15px 15px 38px; font-size: 15px; font-weight: 700; line-height: 20px; color: #4b4f58; }
.sub .faq details summary::after { content: none; }
.sub .faq summary::before {
  content: ""; position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent #2f2f2f;
}
.sub .faq details[open] summary::before { border-width: 6px 4px 0; border-color: #2f2f2f transparent transparent; }
.sub .faq details p { padding: 0 15px 15px 38px; font-size: 15px; line-height: 24.75px; color: #7a7a7a; }

/* image + text (seminar) */
.sub .grid.media-text { grid-template-columns: repeat(2, minmax(0, 540px)); justify-content: center; gap: 40px; align-items: center; }
.sub .media-text .card { background: transparent; border: 0; padding: 0; text-align: left; }
.sub .media-text .prose { font-size: 18px; line-height: 2.5; }
.sub .media-text .btn-wrap { margin-top: 30px; }
.sub .media-text .btn { width: auto; }
.sub .section--red .prose { color: #fff; }
.sub .section--red .media-text .prose { max-width: 486px; margin: 0 auto; }

/* course card (movie) */
.sub .grid.courses { gap: 10px; align-items: stretch; }
.sub .course { display: flex; flex-direction: column; background: transparent; border: 1px solid #7a1414; padding: 30px 25px; }
.sub .course .card-ttl { font-size: 26px; font-weight: 600; line-height: 1.3; color: #641515; }
.sub .course--set .card-ttl { font-size: 19px; }
.sub .course .divider { width: 104px; margin: 20px auto; border-top-color: #000; }
.sub .course .card-price { margin-top: 0; font-size: 32px; font-weight: 600; line-height: 1.3; color: #7a7a7a; }
.sub .course .card-sub { margin-top: 18px; font-size: 16px; font-weight: 600; line-height: 1.3; color: #641515; }
.sub .course .prose { margin-top: 30px; padding: 0 20px; font-size: 18px; line-height: 33px; }
.sub .course .btn-wrap { margin-top: auto; padding-top: 30px; }
.sub .course .btn { width: 100%; max-width: 312px; }

/* bordered box (tentoku) */
.sub .box { border: 1px solid var(--main); padding: 30px 55px 35px; }
.sub .box-ttl { margin-bottom: 20px; font-size: 24px; font-weight: 500; letter-spacing: .08em; line-height: 1.2; color: var(--main); text-align: center; }
.sub .box .prose { max-width: none; font-size: 15px; line-height: 24.75px; color: #7a7a7a; }
.sub .box .prose p + p { margin-top: 1.2em; }
.sub .prose--center { text-align: center; }
.sub .section--red .prose--center { line-height: 24.75px; }
.sub .section--red .prose--center p + p { margin-top: 30px; }

/* profile */
.sub .grid.profile-detail { grid-template-columns: repeat(2, minmax(0, 540px)); justify-content: center; gap: 40px; align-items: start; }
.sub .profile-detail .card { background: transparent; border: 0; padding: 0; }
.sub .profile-detail .card-ttl { font-size: 30px; font-weight: 600; line-height: 1.3; color: #4a4a4a; }
.sub .profile-detail .card-sub { font-size: 15px; font-weight: 600; color: #4a4a4a; }
.sub .profile-detail .social + .prose { margin-top: 20px; }
.sub .profile-detail .prose { margin-top: 20px; font-size: 16px; line-height: 28px; }
.sub .profile-detail .prose p + p { margin-top: 1.2em; }
.sub .profile-detail .prose + .card-sub { margin-top: 30px; }
.page-profile .sec-head--profile { margin-bottom: 80px; }
.sub .social { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.sub .social a { display: block; padding: 6px 4px; text-align: center; color: #fff; font-size: 14px; line-height: 1.6; text-decoration: none; background: #3b5998; }
.sub .social li:nth-child(2) a { background: #000; }
.sub .social li:nth-child(3) a { background: #3ec034; }

/* forms (reserve / contact) */
.page-reserve .prose--sm, .page-contact .prose--sm { max-width: 760px; }
.sub .btn-line { display: block; width: 760px; max-width: 100%; min-height: 60px; margin: 0 auto; padding-top: 13px; padding-bottom: 13px; }
.sub .form {
  max-width: 760px; margin: 0 auto; padding: 48px 56px; background: #fff;
  border: 1px solid #e3dada; border-radius: 6px; box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
}
.sub .form p, .sub .form fieldset { margin: 0 0 24px; }
.sub .form label, .sub .form legend { font-size: 15px; font-weight: 600; line-height: 1.7; color: #222; }
.sub .form p > label { display: block; }
.sub .form label br { display: none; }
.sub .form legend { display: block; padding: 0; margin-bottom: 10px; }
.sub .form .req {
  display: inline-block; margin-left: 8px; padding: 1px 8px; font-size: 11px; font-weight: 600; line-height: 1.6;
  color: #fff; background: #680002; border-radius: 3px; vertical-align: 2px;
}
.sub .form input[type="text"], .sub .form input[type="email"], .sub .form input[type="tel"], .sub .form select, .sub .form textarea {
  display: block; width: 100%; max-width: 100%; height: 48px; margin: 8px 0 0; padding: 0 14px; font-size: 15px; font-weight: 400; line-height: 1.6;
  color: #333; background: #fff; border: 1px solid #cfc4c4; border-radius: 6px; transition: border-color .2s, box-shadow .2s;
}
.sub .form textarea { height: 200px; min-height: 0; padding: 12px 14px; resize: vertical; }
.sub .form input:focus, .sub .form select:focus, .sub .form textarea:focus {
  outline: none; border-color: var(--main); box-shadow: 0 0 0 3px rgba(104, 0, 2, .12);
}
.sub .form .form-note { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; line-height: 1.6; color: #777; }
.sub .form .radio, .sub .form .checkbox {
  display: inline-flex; align-items: center; margin: 0 10px 10px 0; padding: 10px 16px; font-weight: 400;
  border: 1px solid #cfc4c4; border-radius: 6px; cursor: pointer; transition: border-color .2s, background .2s;
}
.sub .form .radio:hover, .sub .form .checkbox:hover { border-color: var(--main); }
.sub .form .radio:has(input:checked), .sub .form .checkbox:has(input:checked) { border-color: var(--main); background: #fff5f5; }
.sub .form .radio input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0 8px 0 0; border-radius: 50%; background: #ddd; cursor: pointer; }
.sub .form .radio input:checked { background: radial-gradient(circle, var(--main) 0 4px, #ddd 5px); }
.sub .form .radio input:focus-visible { outline: 2px solid var(--main); outline-offset: 2px; }
.sub .form .checkbox input { flex: none; width: 20px; height: 20px; margin: 0 8px 0 0; accent-color: var(--main); cursor: pointer; }
.sub .form p:has(> .btn) { margin: 32px 0 0; text-align: center; }
.sub main .form .btn { width: 300px; max-width: 100%; min-width: 0; height: 62px; padding: 0 20px; font-size: 20px; background: #fff; }
.sub main .form .btn:hover { background: var(--main); }
.sub .form .form-demo { margin: 16px 0 0 !important; }
.sub .form .form-errors { margin: 0 0 28px; padding: 14px 18px; border: 1px solid var(--main); border-radius: 6px; background: #fff5f5; color: var(--main); font-size: 15px; line-height: 1.7; }
.sub .form .form-errors ul { list-style: disc; padding-left: 1.4em; }
.form-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* reserve flow arrows */
.sub .steps .col { position: relative; }
.sub .steps .col + .col::before { content: ""; position: absolute; top: 77px; left: calc(-50% + 45px); width: calc(100% - 120px); border-top: 1px solid var(--main); }
.sub .steps .col + .col::after { content: ""; position: absolute; top: 73px; left: calc(50% - 84px); width: 8px; height: 8px; border-top: 1px solid var(--main); border-right: 1px solid var(--main); transform: rotate(45deg); }

/* tables */
.sub .prose table { background: transparent; }
.sub .prose td { padding: 10.5px 15px; border: 1px solid #ddd; font-size: 15px; line-height: 24.75px; color: #7a7a7a; }
.sub .prose table td:first-child { background: transparent; }
.page-about .prose--table { max-width: 992px; }
.page-about .prose--table tr:first-child td { background: var(--main); color: #fff; }
.page-about .prose--table + .prose { max-width: 992px; font-size: 16px; line-height: 45px; }
.page-tokutei .prose { max-width: none; }
.page-tokutei .prose td { width: 50%; text-align: left; color: #3a3a3a; }

/* privacy policy */
.page-privacypolicy .section { padding-top: 50px; }
.page-privacypolicy .page-hero + .section { padding-top: 60px; }
.page-privacypolicy .sec-head { margin-bottom: 20px; }
.page-privacypolicy .prose { max-width: none; font-size: 15px; line-height: 24.75px; color: #313131; }
.page-privacypolicy .prose p + p { margin-top: 1.2em; }
.page-privacypolicy .prose ol { margin: 1em 0; padding-left: 20px; }
.page-privacypolicy .prose li + li { margin-top: 0; }

/* payment */
.page-payment .section { padding-top: 50px; }
.page-payment .page-hero + .section { padding-top: 60px; }
.page-payment .prose { max-width: 1008px; font-size: 15px; line-height: 24.75px; color: #7a7a7a; }
.sub .grid.pay { gap: 11px; align-items: stretch; }
.sub .pay-card { background: transparent; border: 1px solid var(--main); padding: 15px; text-align: center; }
.sub .pay-card .card-ttl { font-size: 24px; font-weight: 600; line-height: 1.3; color: var(--main); }
.sub .pay-card .card-price { margin-top: 10px; font-size: 30px; font-weight: 600; line-height: 1.2; color: #383838; }
.sub .pay-card .btn-wrap { margin-top: 15px; }
.sub main .pay-card .btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 60px; padding: 0 10px; }

/* post body（見出し・太字・リンク） */
.sub .post-body h3 { margin: 2em 0 .9em; padding-bottom: .4em; font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--main); border-bottom: 1px solid var(--main); }
.sub .post-body h3:first-child { margin-top: 0; }
.sub .post-body h3 + p { margin-top: 0; }
.sub .post-body strong { font-weight: 700; color: #3a3a3a; }
.sub .post-body a { color: var(--main); text-decoration: underline; text-underline-offset: 3px; }
.sub .post-body a strong { color: inherit; }

/* post: 前後の記事 */
.sub .post-nav { max-width: 990px; margin-left: auto; margin-right: auto; padding-top: 28px; border-top: 1px solid #ddd; }
.post-nav ul { list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.post-nav li { flex: 0 1 calc(50% - 10px); min-width: 0; }
.post-nav .post-nav-next { margin-left: auto; text-align: right; }
.post-nav a { display: block; color: var(--main); text-decoration: none; }
.post-nav a:hover { opacity: .75; }
.post-nav-label { display: block; font-size: 14px; font-weight: 600; line-height: 1.6; }
.post-nav-title { display: block; margin-top: 4px; font-size: 15px; line-height: 1.6; color: #565656; }

/* news archive: ページ送り */
.page-news .page-hero + .section--news { margin-top: 60px; padding-top: 40px; }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .6); font-size: 15px; line-height: 1; text-decoration: none; }
.pagination a:hover { background: #fff; color: var(--main); opacity: 1; }
.pagination .pagination-current { background: #fff; color: var(--main); font-weight: 700; border-color: #fff; }

@media (max-width: 768px) {
  .sub .breadcrumb { font-size: 13px; }
  .sub .breadcrumb .container { padding: 0 16px; }
  .sub .breadcrumb ol { padding: 8px 0; }
  .sub .page-hero { height: 240px; }
  .sub .page-hero--short { height: 160px; }
  .sub .page-hero h1 { font-size: 26px; padding: 0 16px; }
  .sub .section { padding-top: 56px; }
  .sub .page-hero + .section { padding-top: 44px; }
  .sub .section > .container > * + * { margin-top: 32px; }
  .sub .section > .container > * + .sec-head { margin-top: 52px; }
  .sub .section--red, .sub .section--news { padding: 36px 0 40px; margin-top: 44px; }
  .sub .sec-ttl, .sub .sec-ttl--sm, .sub .sec-ttl--lg { font-size: 22px; }
  .sub .sub-ttl, .sub .box-ttl { font-size: 18px; }
  .sub .prose { font-size: 16px; line-height: 2.1; }
  .sub .prose--md, .sub .prose--profile { font-size: 15px; line-height: 2; }
  .sub .grid.tiles, .sub .grid.tiles.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .sub .grid.tiles.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .sub .grid.media-text, .sub .grid.profile-detail { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sub .grid.icons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .sub .iconbox .icon { width: 56px; height: 56px; margin-bottom: 12px; }
  .sub .iconbox h3 { font-size: 19px; }
  .sub .icons--method .iconbox h3 { font-size: 16px; }
  .sub .iconbox p { font-size: 14px; line-height: 26px; }
  .sub .price-box { padding: 30px 20px 24px; }
  .sub .price-box .card-price { font-size: 40px; }
  .sub .price-box .prose { margin-top: 24px; }
  .sub .price-card h3 { font-size: 26px; }
  .sub .voice { padding: 0 6px 6px; }
  .sub .voice blockquote { padding: 28px 22px; font-size: 16px; line-height: 32px; }
  .sub .box { padding: 24px 18px; }
  .sub .course .prose { padding: 0; font-size: 16px; line-height: 30px; }
  .sub .course .card-price { font-size: 24px; }
  .sub .steps .col + .col::before, .sub .steps .col + .col::after { content: none; }
  .sub .form { padding: 28px 18px; }
  .sub main .btn.btn-kantei { padding: 0 12px; }
  .page-about .prose--table + .prose { font-size: 15px; line-height: 2.2; }
  .page-tokutei .prose td { width: auto; }
  .sub .post-body h3 { font-size: 18px; }
  .post-nav ul { flex-direction: column; gap: 16px; }
  .post-nav li { flex-basis: auto; }
  .page-news .page-hero + .section--news { margin-top: 44px; padding-top: 36px; }
}
