/*
Theme Name: Yorisoibito Demo
Author: you
Version: 0.1
Description: Canva設計のデモ落とし込み。header/footer最小、indexのみ実装。
*/

/* ========== ベース ========== */
:root{
  --bg-accent: #f6f4f2;
  --ink: #222;
  --muted: #666;
  --white: #fff;
  --container: 1100px;
  --jp-head: "Zen Old Mincho", "Shippori Mincho B1", "Noto Serif JP",
             "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  --jp-body: "Zen Old Mincho", "Noto Serif JP", "Shippori Mincho B1",
             "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;

}
html{ box-sizing:border-box; }
*,*::before,*::after{ box-sizing:inherit; }
body{
  margin:0;
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
font-family: var(--jp-body); font-weight: 400;  line-height:1.7;
}

h1,h2,h3,h4 { font-family: var(--jp-head); font-weight: 700; }
img{ max-width:100%; height:auto; display:block; }

/* コンテナ */
.content-wrap{
  background:var(--bg-accent);
  padding: clamp(28px, 4vw, 56px) 16px;
}

/* ========== MV ========== */
.mv{
  position:relative;
  min-height: min(86vh, 900px);
  isolation:isolate;
}
.mv__bg{
  position:absolute; inset:0;
  background-image: url('http://marriage.sabo-ten.net/wp-content/uploads/2025/10/marriage.png'); /* 差し替え */
  background-size: cover;            /* 横幅が狭い時は自動縮小・中央を維持 */
  background-position: center center;/* 画像の中央を常に基準 */
  background-repeat:no-repeat;
  transform: translateZ(0); /* Safariでも滑らかに */
}
.mv::after{
  /* うっすら被せて文字のコントラスト確保 */
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.01), rgba(0,0,0,.01));
  z-index:0;
}
.mv__inner{
  position:relative; z-index:1;
  min-height: inherit;
  display:flex; align-items:center; justify-content:center;
  padding: clamp(24px, 5vw, 64px) 16px;
  text-align:center;
  color: var(--black);
  flex-direction: column;
  gap: clamp(8px, 1.8vh, 18px);
}
.mv__line{
  margin:0;
  letter-spacing:.02em;
  text-wrap: balance;
}

/* 1：16.7px太字 → 可変 */
.mv__line--1{
  font-weight:700;
  font-size: clamp(13px, 1.5vw, 17px);
}
/* 2：73.3px太字 → 可変 */
.mv__line--2{
  font-weight:400;
  line-height:1.1;
  font-size: clamp(34px, 6vw, 74px);
}
/* 3：99.3px太字 + ルビ28px → 可変 */
.mv__line--3{
  font-weight:400;
  line-height:1.05;
  margin-top: clamp(2px, .8vh, 8px);
  font-size: clamp(42px, 8vw, 100px);
}
.mv__line--3 rt{
  /* ルビは独立可変。ベース比で小さめ */
  font-size: clamp(13px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing:.08em;
}
/* 2と3の間に余白 */
.mv__line--2{ margin-bottom: clamp(4px, 1.2vh, 16px); }

/* 4：32px太字 → 可変 */
.mv__line--4{
  font-weight:400;
  font-size: clamp(16px, 3vw, 32px);
}

/* ========== リード（説明） ========== */
.lead{
  max-width: var(--container);
  margin: 0 auto;
  text-align:center;
  color:#333;
}
.lead p{
  margin: 0 0 clamp(14px, 2.8vw, 22px) 0;
  font-size: clamp(15px, 2.1vw, 20px); /* Canva 19.7px相当を可変化 */
  line-height:1.9;
}

/* ========== セクション見出し（左右飾り） ========== */
.sec{
  max-width: var(--container);
  margin: clamp(24px, 4vw, 40px) auto 0;
  padding: 0 8px;
}
.sec-title{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  gap: 12px;
}
.sec-title__text{
  margin:0;
  text-align:center;
  font-weight:700;
  font-size: clamp(17px, 2.6vw, 26px); /* Canva 25.6px相当 */
}
.sec-title__dec{
  width: clamp(48px, 12vw, 160px);
  height: auto;
  opacity:.9;
}
.sec-title__dec--left{ order:1; }
.sec-title__text{ order:2; }
.sec-title__dec--right{ order:3; }

/* ========== カード群（Grid：01は2行スパン／テキストは自動伸長） ========== */
:root{
  --gap: clamp(12px, 2vw, 20px);
  --min-row: clamp(280px, 32vw, 420px); /* 1行の最小高さ。必要に応じて調整OK */
}

.cards{
  max-width: var(--container);
  margin: clamp(18px, 3.5vw, 28px) auto 0;
  padding: 0 8px;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  /* 各行は“最低高さ”を持ち、必要に応じて自動で伸びる → テキストは隠れない */
  grid-auto-rows: minmax(var(--min-row), auto);
  grid-auto-flow: dense;
}

/* カード見た目：白背景・枠・影は不要 */
.card{
  position: relative;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

/* 01だけ2行ぶんを占有（必ず 01 が縦2ブロック分）*/
.card--tall{
  grid-row: span 2;
}

/* 番号（画像） */
.card__num{
  
  width: clamp(36px, 6vw, 60px);
  pointer-events:none;
}
.card__num img{ width:100%; height:auto; }

/* ========== カード番号：画像→テキスト化 ========== */
.card__num{
  position:absolute;
  left:-10px;
  top:-10px;
  z-index:2;

  /* テキスト表示用 */
  width:auto;
  padding: 0;
  pointer-events:none;

  font-weight: 800;
  line-height: 1;
  letter-spacing: .04em;

  /* サイズ感：PC〜SPで自然に可変 */
  font-size: clamp(22px, 4.2vw, 44px);

  /* 白縁（アウトライン）＋ほんのり影 */
  color: #222;
  -webkit-text-stroke: 3px #fff;
  text-shadow:
    0 2px 10px rgba(0,0,0,.18);
}

/* 旧imgは念のため消しておく（混在事故防止） */
.card__num img{
  display:none !important;
}


/* 上部メディア */
.card__media{
  aspect-ratio: 16/10;
  background:#eee;
  position: relative;
  z-index:1;
  overflow: hidden;
}
.card__media img{
  width:100%; height:100%;
  object-fit: cover; object-position: center;
}

/* 本文（テキストは自然に増えてOK。隠しません） */
.card__body{
  padding: clamp(12px, 2.4vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card__title{
  margin:0;
  font-weight:700;
  font-size: clamp(20px, 2vw, 26px);
}
.card__price{
  margin:0;
  font-size: clamp(14px, 1.8vw, 17px);
  color:#444;
}
.card__text{
  font-size: clamp(14px, 1.8vw, 16px);
  color:#333;
}
.card__text ul{ margin:.2em 0em 1.2em;padding-inline-start:1em; }

/* タブレット：2カラム維持、01は2行スパンのまま */
@media (max-width: 1024px){
  .cards{
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

/* スマホ：1カラム。01は自動で縦長（span指定は無視でも破綻しない） */
@media (max-width: 768px){
  .cards{
    grid-template-columns: 1fr;
  }
}


/* ========== 下部センターテキスト（17px相当） ========== */
.closing-text{
  max-width: var(--container);
  margin: clamp(20px, 5vw, 40px) auto 0;
  text-align:center;
  padding: 8px 12px 0;
}
.closing-text p{
  margin:0;
  font-size: clamp(14px, 1.8vw, 16px);
  color:#333;
}




/* ========== Header（追従） ========== */
.ys-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.ys-header__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ（テキスト） */
.ys-header__logo a{
  font-family: var(--jp-head);
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 700;
  color: #222;
  text-decoration: none;
  letter-spacing: .08em;
}
.ys-header__logo span{
  margin-left: .2em;
}

/* ナビ（PC） */
.ys-nav--pc{
  display: flex;
  gap: 28px;
}
.ys-nav--pc a{
  font-family: var(--jp-head);
  font-size: 15px;
  color: #444;
  text-decoration: none;
  position: relative;
}
.ys-nav--pc a::after{
  content:"";
  position:absolute;
  left:0; bottom:-4px;
  width:0;
  height:1px;
  background:#444;
  transition: width .25s ease;
}
.ys-nav--pc a:hover::after{
  width:100%;
}

/* ハンバーガー */
.ys-menu-btn{
  display:none;
  background:none;
  border:0;
  width:28px;
  height:22px;
  position:relative;
}
.ys-menu-btn span{
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background:#222;
}
.ys-menu-btn span:nth-child(1){ top:0; }
.ys-menu-btn span:nth-child(2){ top:10px; }
.ys-menu-btn span:nth-child(3){ bottom:0; }

/* SPメニュー */
.ys-sp-menu{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.4);
  opacity:0;
  pointer-events:none;
  transition:.3s;
}
.ys-sp-menu.active{
  opacity:1;
  pointer-events:auto;
}
.ys-sp-menu__panel{
  background:#fff;
  width:80%;
  max-width:320px;
  height:100%;
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.ys-sp-menu__panel a{
  font-family: var(--jp-head);
  font-size:16px;
  color:#222;
  text-decoration:none;
}
.ys-sp-menu__close{
  align-self:flex-end;
  background:none;
  border:0;
  font-size:22px;
}

/* レスポンシブ */
@media (max-width: 768px){
  .ys-nav--pc{ display:none; }
  .ys-menu-btn{ display:block; }
}

/* ========== Footer ========== */
.ys-footer{
  background:#2a2a2a;
  color:#ddd;
  padding: clamp(40px, 6vw, 64px) 16px 24px;
}

.ys-footer__inner{
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, 1fr);
}

/* ブランド */
.ys-footer__brand h4{
  margin:0 0 12px;
  font-family: var(--jp-head);
  font-size: 18px;
  font-weight:700;
  color:#fff;
  letter-spacing:.08em;
}
.ys-footer__brand span{
  margin-left:.2em;
}
.ys-footer__brand p{
  font-size:14px;
  line-height:1.8;
  color:#ccc;
}

/* ナビ共通 */
.ys-footer h5{
  margin:0 0 12px;
  font-size:14px;
  font-weight:700;
  color:#fff;
}
.ys-footer ul{
  list-style:none;
  padding:0;
  margin:0;
}
.ys-footer li{
  margin-bottom:8px;
}
.ys-footer a{
  color:#ccc;
  text-decoration:none;
  font-size:14px;
}
.ys-footer a:hover{
  color:#fff;
  text-decoration:underline;
}

/* 認証リンク */
.ys-footer__auth{
  max-width: var(--container);
  margin: 32px auto 0;
  text-align:right;
  font-size:13px;
}
.ys-footer__auth a{
  margin-left:16px;
  color:#ccc;
}

/* コピーライト */
.ys-footer__copy{
  margin-top:32px;
  padding-top:16px;
  border-top:1px solid #444;
  text-align:center;
  font-size:12px;
  color:#aaa;
}

/* レスポンシブ */
@media (max-width: 768px){
  .ys-footer__inner{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .ys-footer__auth{
    text-align:center;
  }
}


/* ===== 検索ページ 全体 ===== */
.ys-page{ background:#f6f4f2; padding:32px 0; }
.ys-container{ max-width:1400px; margin:0 auto; padding:0 16px; }

.ys-layout{
  display:flex;
  gap:24px;
  align-items:flex-start;
}

/* ===== 左：検索パネル ===== */
.ys-left{
  width:320px;
  flex:0 0 320px;
  position: sticky;
  top: 88px; /* 追従ヘッダーがある前提。必要なら 72px / 96px に調整 */
}

.ys-filter{
  background:#fff;
  border-radius:16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding:20px;
}
.ys-filter__title{ margin:0 0 14px; font-size:18px; font-weight:700; color:#222; }
.ys-label{ display:block; font-size:13px; margin:0 0 6px; color:#444; }
.ys-input{
  width:100%;
  border:1px solid #e7e5e4;
  border-radius:12px;
  padding:10px 12px;
  outline:none;
  background:#fff;
}
.ys-input:focus{ border-color:#10b981; box-shadow:0 0 0 3px rgba(16,185,129,.15); }
.ys-filter__btn{
  width:100%;
  margin-top:12px;
  border:0;
  border-radius:12px;
  padding:10px 12px;
  background:#059669;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.ys-filter__btn:hover{ background:#047857; }

/* ===== 右：一覧 ===== */
.ys-right{ flex:1 1 auto; min-width:0; }
.ys-page__title{ margin:0 0 16px; font-size:22px; font-weight:700; color:#222; }
.ys-list{ display:grid; gap:18px; }

/* ===== カード ===== */
.ys-card{
  background:#fff;
  border-radius:16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding:20px;
}
.ys-card__inner{
  display:flex;
  gap:18px;
  align-items:flex-start;
}
.ys-card__img img{
  width:140px;
  height:140px;
  object-fit:cover;
  border-radius:16px;
  display:block;
}
.ys-card__body{ flex:1; min-width:0; }
.ys-name{ margin:0 0 4px; font-size:20px; font-weight:700; color:#222; }
.ys-affiliation{ margin:0 0 2px; font-weight:600; color:#444; }
.ys-area{ margin:0; color:#666; }
.ys-career{ margin-top:10px; color:#555; font-size:14px; line-height:1.75;word-break:break-all; }

/* 2行で省略 */
.ys-lineclamp-2{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ===== 右側：対応可能内容（縦リンク） ===== */
.ys-services{
  width:220px;
  flex:0 0 220px;
}
.ys-services__title{
  margin:0 0 8px;
  font-size:13px;
  font-weight:700;
  color:#333;
}
.ys-services__list{ list-style:none; padding:0; margin:0; }
.ys-services__item + .ys-services__item{ margin-top:8px; }
.ys-services__link{
  display:block;
  padding:8px 10px;
  border-radius:10px;

  background:#059669;
  color:#fff;

  text-decoration:none;
  font-size:13px;
  font-weight:700;
  letter-spacing:.02em;

  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 18px rgba(5,150,105,.16);
  transition: background-color .18s ease, transform .12s ease, box-shadow .18s ease;
}

.ys-services__link:hover{
  background:#047857;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(5,150,105,.20);
  text-decoration:none;
}

.ys-services__link:active{
  transform: translateY(0);
  box-shadow: 0 7px 16px rgba(5,150,105,.16);
}

.ys-services__link:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 4px rgba(16,185,129,.22),
    0 10px 22px rgba(5,150,105,.16);
}

/* ===== フッター（ボタン） ===== */
.ys-card__footer{ margin-top:14px; text-align:left; }
.ys-btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:12px;
  background: #f1f5f9;
    border: 1px solid #e2e8f0;
  color:#0f172a;
  font-weight:700;
  text-decoration:none;
}
.ys-btn:hover{ background:#e2e8f0; }

.ys-empty{
  padding:24px;
  text-align:center;
  color:#777;
  background:transparent;
}

/* ===== ページャ ===== */
.ys-pager{ margin-top:18px; }

/* ===== レスポンシブ ===== */
@media (max-width: 1024px){
  .ys-layout{ flex-direction:column; }
  .ys-left{ width:100%; flex:none; position:static; top:auto; }
}
@media (max-width: 768px){
  .ys-card__inner{ flex-direction:column; }
  .ys-card__img img{ width:100%; height:auto; aspect-ratio: 1/1; }
  .ys-services{ width:100%; flex:none; }
}


.ys-top-list{ background:#f6f4f2; margin:0 auto; padding:0 16px; }
.ys-top-list .container{max-width:1100px;margin:0 auto;}


/* ================================
   index.php 見栄え微調整（上書き）
   ※既存CSSは触らない
================================ */

/* --- MV直下リード：少し締める --- */
.lead{
  max-width: 920px; /* 横幅を少し絞る */
}
.lead p{
  line-height: 1.85;
  letter-spacing: .04em;
}
.lead p + p{
  margin-top: clamp(18px, 3vw, 26px);
}

/* --- セクション見出し：上下余白を安定 --- */
.sec{
  margin-top: clamp(40px, 6vw, 64px);
}

/* --- メニューカード全体：3枚用に余白最適化 --- */
.cards{
  margin-top: clamp(28px, 5vw, 48px);
}

/* 01（なんでも相談）が縦に重く見えすぎないように */
.card--tall .card__body{
  gap: 10px;
}
.card--tall .card__text ul{
  margin-bottom: .8em;
}

/* --- 告白／お別れカード：文章ブロックを整理 --- */
.card:not(.card--tall) .card__text{
  line-height: 1.75;
}
.card:not(.card--tall) .card__text + .card__text{
  margin-top: 10px;
}

/* --- 料金表示を少し強調 --- */
.card__price{
  font-weight: 600;
  letter-spacing: .02em;
}

/* --- 注意書き：視認性と締まり --- */
.closing-text{
  margin-top: clamp(40px, 7vw, 72px);
}
.closing-text h4{
  margin-bottom: 12px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
}
.closing-text p{
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

/* --- トップ寄添人一覧：セクション感を出す --- */
.ys-top-list{
  padding-top: clamp(48px, 8vw, 80px);
  padding-bottom: clamp(48px, 8vw, 80px);
}
.ys-top-list .sec-title{
  margin-bottom: 32px;
}

/* カード同士の余白を少しだけ詰める */
.ys-card{
  margin-bottom: 0;
}
.ys-card + .ys-card{
  margin-top: 18px;
}

/* --- SP時：文章の間延び防止 --- */
@media (max-width: 768px){
  .lead p{
    line-height: 1.8;
  }
  .card__text{
    line-height: 1.7;
  }
}

/* =========================================
   トップページ：メニューカード3枚用調整
   （card--tall 無効化 / 3枚に見せる）
========================================= */

/* トップページのみ card--tall を無効化 */
.home .cards .card--tall{
  grid-row: auto;           /* 2行スパン解除 */
}

/* Gridを「3枚＝1行完結」に見せる */
.home .cards{
  grid-auto-rows: auto;     /* 行高さの強制を解除 */
}

/* 高さ差で不自然にならないよう下揃え */
.home .cards .card{
  align-self: stretch;
}

/* SP時も自然な1枚流れに */
@media (max-width: 768px){
  .home .cards{
    grid-auto-rows: auto;
  }
}

/* =========================================
   見出し装飾：テキスト左右に画像を付与
   対象：.sec-title__text（寄添人が出来ること及び料金）
========================================= */

/* 既存の左右装飾imgは非表示 */
.sec-title__dec{
  display: none;
}

/* 見出しテキストを装飾コンテナ化 */
.sec-title__text{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6em; /* 文字と装飾の距離 */
}

/* 左右装飾 */
.sec-title__text::before,
.sec-title__text::after{
  content: "";
  display: inline-block;
  flex: 0 0 auto;

  /* 高さは文字サイズの1.5倍を上限 */
  height: 1.5em;

  /* 横幅は控えめに */
  width: clamp(42px, 10vw, 110px);

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .95;

  /* ベースライン微調整 */
  transform: translateY(.06em);
}

/* 左 */
.sec-title__text::before{
  background-image: url('http://marriage.sabo-ten.net/wp-content/uploads/2026/01/h-left.png');
}

/* 右 */
.sec-title__text::after{
  background-image: url('http://marriage.sabo-ten.net/wp-content/uploads/2026/01/h-right.png');
}


.card__num{
  position: absolute;
  left: -8px;
  top: -8px;
  z-index: 2;

  pointer-events: none;
  padding: 0;
  width: auto;

  /* ★ Lucien寄りフォントスタック（数字専用） */
  font-family:
    "Playfair Display",
    "Libre Baskerville",
    "Cormorant Garamond",
    "Didot",
    "Bodoni MT",
    "Times New Roman",
    serif;

  /* Canva文脈：大きく・軽く */
  font-size: clamp(44px, 9vw, 56px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: .02em;

  color: #222;

  /* 装飾は最小限 */
  -webkit-text-stroke: 1px #fff;
  
}

.card__price {color:inherit;}
.card__price span{font-size:80%;}
.card__title{line-height:1;}
.card__text{margin:0;}

/* =========================================
   注意書き 見出し：左右に直線装飾
   対象：.closing-text h4
========================================= */

.closing-text h4{
  position: relative;
  display: inline-block;
  padding: 0 1.2em; /* 線と文字の間隔 */
}

/* 左右の直線 */
.closing-text h4::before,
.closing-text h4::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 50%;              /* 文字幅の半分 */
  height: 1px;
  background: #666;        /* 主張しすぎない濃度 */
  transform: translateY(-50%);
}

/* 左線 */
.closing-text h4::before{
  right: 100%;
  margin-right: .6em;
}

/* 右線 */
.closing-text h4::after{
  left: 100%;
  margin-left: .2em;
}
@media (max-width: 768px){
	.closing-text h4::before,
.closing-text h4::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 25%;              /* 文字幅の半分 */
  height: 1px;
  background: #666;        /* 主張しすぎない濃度 */
  transform: translateY(-50%);
}
	.closing-text h4::before{
  right: 100%;
  margin-right: .2em;
}
}

/* =========================================
   トップページ：寄添人一覧（3カラム化）
   ※ HTMLはそのまま / CSS追記のみ
========================================= */

/* カード全体 */
.ys-card--top{
  background:#fff;
  border-radius:16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding:20px;
}

/* 内側3カラム */
.ys-card--top .ys-card__inner{
  display:grid;
  grid-template-columns: 180px 1fr 220px;
  gap:20px;
  align-items:flex-start;
}

/* 左：サムネ＋HP */
.ys-col--left{
  text-align:center;
}
.ys-col--left img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:14px;
}
.ys-home-link{
  display:inline-block;
  margin-top:10px;
  font-size:13px;
  color:#555;
  text-decoration:underline;
}

/* 中央：PR */
.ys-col--center .ys-name{
  margin:0 0 8px;
}
.ys-pr{
  font-size:14px;
  line-height:1.75;
  color:#555;
	word-break:break-all;
}

/* 右：対応メニュー＋星 */
.ys-col--right{
  border-left:1px solid #eee;
  padding-left:16px;
}
.ys-menu-title{
  margin:0 0 8px;
  font-size:13px;
  font-weight:700;
  color:#333;
}
.ys-menu-list{
  list-style:none;
  padding:0;
  margin:0 0 10px;
}
.ys-menu-list li + li{
  margin-top:6px;
}
.ys-menu-list a{
  font-size:13px;
  color:#0f172a;
  text-decoration:underline;
}

/* 星評価（仮：全員5） */
.ys-rating{
  margin-top:6px;
  font-size:16px;
  letter-spacing:.15em;
  color:#f59e0b; /* 金色 */
}

/* フッター */
.ys-card--top .ys-card__footer{
  margin-top:16px;
  text-align:left;
}

/* =========================================
   レスポンシブ
========================================= */
@media (max-width: 1024px){
  .ys-card--top .ys-card__inner{
    grid-template-columns: 160px 1fr;
  }
  .ys-col--right{
    grid-column: 1 / -1;
    border-left:0;
    padding-left:0;
    margin-top:14px;
  }
}

@media (max-width: 768px){
  .ys-card--top .ys-card__inner{
    grid-template-columns: 1fr;
  }
  .ys-col--left{
    max-width:200px;
    margin:0 auto;
  }
  .ys-col--right{
    margin-top:12px;
  }
}

/* =========================================
   トップ寄添人一覧 追加調整
   - メニューリンク：ボタン化
   - 「ホームページ」：アイコン化（テキストは残してOK）
========================================= */

/* --- ホームページリンク：アイコン化 --- */
.ys-home-link{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: 8px 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.ys-home-link:hover{
  background:#e2e8f0;
}

/* アイコン（地球っぽい簡易） */
.ys-home-link::before{
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 999px;
  border: 2px solid currentColor;
  box-sizing: border-box;
  position: relative;
  opacity: .9;
}
/* 経線っぽい線 */
.ys-home-link::after{
  content: "";
  width: 8px;
  height: 14px;
  display: inline-block;
  position: absolute;
  left: 14px; /* before の中心あたりに重ねる */
  top: 50%;
  transform: translate(-50%, -50%);
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: .45;
  pointer-events: none;
}

/* 左カラム内のリンク位置 */
.ys-col--left .ys-home-link{
  margin-top: 10px;
}

/* --- メニューリンク：ボタン化 --- */
.ys-menu-list a{
  display:block;
  padding:9px 10px;
  border-radius:12px;

  background:#059669;
  color:#fff;

  text-decoration:none;
  font-weight:700;
  font-size:13px;
  line-height:1.2;
  letter-spacing:.02em;

  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 22px rgba(5,150,105,.16);
  transition: background-color .18s ease, transform .12s ease, box-shadow .18s ease;
}

.ys-menu-list a:hover{
  background:#047857;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(5,150,105,.20);
  text-decoration:none;
}

.ys-menu-list a:active{
  transform: translateY(0);
  box-shadow: 0 9px 20px rgba(5,150,105,.16);
}

.ys-menu-list a:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 4px rgba(16,185,129,.22),
    0 12px 26px rgba(5,150,105,.16);
}

/* 右カラムのボタンが詰まって見えないように */
.ys-menu-list li + li{
  margin-top: 8px;
}

/* SP時：ボタンが横に広がりすぎないように自然に */
@media (max-width: 768px){
  .ys-col--right{
    border-left:0;
    padding-left:0;
  }
}

/* =========================================
   トップ：寄添人一覧を見る（ys-top-more）の位置調整
========================================= */

/* ys-top-more を「カード群の下で中央」に固定 */
.ys-top-list .ys-top-more{
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 28px auto 0;
  padding: 0 0 40px; /* 既存のpadding-bottomと統一 */
  text-align: center;
}

/* ボタンが勝手に伸びたりズレたりしないように */
.ys-top-list .ys-top-more .ys-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 念のため：カードリスト側の下余白を確保して被り防止 */
.ys-top-list .ys-card-list{
  margin-bottom: 0;
}

/* =========================================
   トップページ：中央検索ブロック
   （検索ページ ys-filter の流用）
========================================= */

.ys-top-search{
  background: transparent;
  padding: 32px 16px 48px;
}

.ys-top-search__inner{
  max-width: 720px;
  margin: 0 auto;
}

/* トップでは「左カラム感」を完全に消す */
.ys-top-search .ys-filter{
  width: 100%;
  position: static;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0,0,0,.10);
  padding: 24px 24px 26px;
}

/* 見出しは中央・やや強調 */
.ys-top-search .ys-filter__title{
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
}

/* 入力欄：トップ用に少し大きく */
.ys-top-search .ys-input{
  font-size: 16px;
  padding: 14px 16px;
}

/* ボタン：目立たせる */
.ys-top-search .ys-filter__btn{
  margin-top: 20px;
  font-size: 16px;
  padding: 14px;
  border-radius: 16px;
}

/* SP調整 */
@media (max-width: 768px){
  .ys-top-search{
    padding: 24px 12px 36px;
  }

  .ys-top-search .ys-filter{
    padding: 20px;
  }

  .ys-top-search .ys-filter__title{
    font-size: 20px;
  }
}

/* =========================================
   サポート例
========================================= */

.ys-support-examples{
  background:#f6f4f2;
  padding: 56px 0 72px;
}

.ys-support-examples__title{
  text-align:center;
  font-size: clamp(20px, 3vw, 28px);
  font-weight:700;
  margin: 0 0 36px;
}

/* リスト */
.ys-support-list{
  display: grid;
  gap: 28px;
}

/* カード */
.ys-support-card{
  background:#fff;
  border-radius:20px;
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
  padding: 24px;
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items:flex-start;
}

/* 左 */
.ys-support-card__left{
  text-align:center;
}
.ys-support-thumb img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  border-radius:16px;
}
.ys-support-menu{
  margin:12px 0 4px;
  font-weight:700;
  font-size:16px;
}
.ys-support-lead{
  margin:0;
  font-size:13px;
  color:#666;
}

/* 右 */
.ys-support-desc{
  margin:0 0 12px;
  font-size:15px;
  line-height:1.8;
  color:#333;
}
.ys-support-listtext{
  margin:0;
  padding-left:1.2em;
  color:#444;
  font-size:14px;
}
.ys-support-listtext li + li{
  margin-top:6px;
}

/* レスポンシブ */
@media (max-width: 768px){
  .ys-support-card{
    grid-template-columns: 1fr;
  }
  .ys-support-card__left{
    max-width:320px;
    margin:0 auto;
  }
}




/* 対応地域（アイコン表示） */
.ys-area-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ecfdf5; /* emerald-50 */
  border: 1px solid #a7f3d0;
  font-size: 12.5px;
  font-weight: 600;
  color: #065f46;
}

.ys-area-icon {
  font-size: 14px;
  line-height: 1;
  opacity: .9;
}

.ys-area-value {
  letter-spacing: .02em;
}
.subpage{max-width:1000px;margin:0 auto;padding:24px 12px 60px;width:100%;}