
:root{--ink:#26383d;--muted:#718187;--bg:#f4f8f9;--white:#fff;--line:#d7e4e8;--soft:#e9f3f5;--dark:#20343a;--accent:#527b84;--shadow:0 12px 30px rgba(32,52,58,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.7}a{text-decoration:none;color:inherit}.wrap{max-width:1280px;margin:auto;padding:0 28px}
.header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line)}.head{height:82px;display:flex;align-items:center;gap:24px}.brand{font-family:serif;font-size:28px;font-weight:800}.brand small{display:block;font:600 10px Arial;letter-spacing:.18em;color:var(--muted)}
nav{display:flex;gap:3px;margin-left:auto}nav a{padding:10px 11px;border-radius:10px;font-size:14px;font-weight:700}nav a:hover{background:var(--soft)}.lang{border:1px solid var(--line);background:white;border-radius:999px;padding:7px 13px;font-weight:800}
.hero{padding:58px 0;background:radial-gradient(circle at 85% 15%,#d5e9ed 0,transparent 28%),linear-gradient(120deg,#fbfefe,#eaf4f6)}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:42px;align-items:center}.hero h1{font-family:serif;font-size:48px;line-height:1.35;margin:10px 0}.hero p{color:#53676f}.eyebrow{font-weight:800;color:var(--accent);letter-spacing:.12em}
.searchbox{display:flex;gap:8px;background:white;border:1px solid var(--line);padding:7px;border-radius:16px;box-shadow:var(--shadow);margin-top:25px}.searchbox input{flex:1;border:0;outline:0;padding:12px}.btn{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:11px;background:var(--dark);color:white;padding:11px 17px;font-weight:800;cursor:pointer}.btn.light{background:white;color:var(--ink);border:1px solid var(--line)}
.hero-rotator{position:relative;width:100%;aspect-ratio:16/9;background:#fff;border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}.hero-rotator img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity .35s ease}.hero-rotator .slide-btn{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.88);color:var(--dark);font-size:25px;line-height:1;cursor:pointer;box-shadow:0 3px 12px rgba(0,0,0,.14);z-index:2}.hero-rotator .slide-btn:hover{background:#fff}.hero-rotator .prev{left:12px}.hero-rotator .next{right:12px}.hero-dots{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:7px;z-index:2}.hero-dot{width:9px;height:9px;border:0;border-radius:50%;padding:0;background:rgba(255,255,255,.58);cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.25)}.hero-dot.active{background:#fff;transform:scale(1.22)}
.section{padding:46px 0}.section.white{background:white}.section h2{font-family:serif;font-size:30px;margin:0 0 20px}.route-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.route{
background:linear-gradient(180deg,#34464d 0%,#26383f 100%);
border:1px solid #22343b;
border-radius:14px;
padding:20px 18px;
box-shadow:0 7px 0 #1b2c32,0 13px 22px rgba(31,52,58,.18);
text-align:left;
display:flex;
align-items:center;
justify-content:space-between;
min-height:86px;
color:#fff;
position:relative;
transition:transform .16s ease,box-shadow .16s ease,background .16s ease;
}
.route h3{font-size:16px;margin:0;color:#fff;font-weight:800;letter-spacing:.02em}
.route::after{
content:"›";
font-size:27px;
font-weight:400;
line-height:1;
color:rgba(255,255,255,.8);
margin-left:12px;
}
.route:hover{
transform:translateY(-3px);
background:linear-gradient(180deg,#415861 0%,#30464e 100%);
box-shadow:0 9px 0 #1b2c32,0 17px 28px rgba(31,52,58,.22);
}
.route:active{
transform:translateY(4px);
box-shadow:0 3px 0 #1b2c32,0 7px 12px rgba(31,52,58,.14);
}
.card:hover,.monkcard:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:21px;box-shadow:0 7px 20px rgba(31,52,58,.05)}.card h3{font-family:serif;font-size:23px;margin:10px 0 0}.reading,.muted{font-size:13px;color:var(--muted)}.quote{border-top:1px dashed var(--line);padding-top:12px;margin-top:12px;font-size:14px}
.tagrow{display:flex;gap:8px;flex-wrap:wrap}.tag{font-size:11px;background:var(--soft);padding:3px 8px;border-radius:999px}.monkline{display:flex;align-items:center;gap:9px;margin-top:14px;font-size:13px;font-weight:700}.monkline img{width:42px;height:42px;object-fit:contain;border-radius:50%;background:#f6fafa}
.pagehero{padding:36px 0;background:linear-gradient(120deg,#edf7f8,#fff);border-bottom:1px solid var(--line)}.pagehero h1{font-family:serif;font-size:40px;margin:0}.monks{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.monkcard{background:white;border:1px solid var(--line);border-radius:20px;padding:20px;display:grid;grid-template-columns:110px 1fr;gap:15px;align-items:center}.monkcard img{width:110px;height:110px;object-fit:contain;background:#f7fbfc;border-radius:14px}.monkcard h3{margin:0}.monkcard p{font-size:13px;color:var(--muted);margin:4px 0}
.detailgrid{display:grid;grid-template-columns:1.2fr .8fr;gap:28px}.panel{background:white;border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:0 7px 20px rgba(31,52,58,.05)}.detailtitle{font-family:serif;font-size:43px;margin:6px 0}.meaning{font-size:17px}.message{background:var(--soft);border-left:4px solid var(--accent);padding:17px 19px;border-radius:0 12px 12px 0;margin:18px 0}.message b{display:block;font-size:12px;color:var(--accent);margin-bottom:4px}.profile{text-align:center}.profile img{width:220px;height:220px;object-fit:contain}.actions{display:grid;gap:9px;margin-top:16px}.video{margin:0;border-radius:16px;background:transparent;overflow:visible}.video iframe{border:0;display:block}.video-local-link{position:relative;display:block;width:60%;margin:0 auto;background:transparent;overflow:hidden;line-height:0}.video-local-link img{display:block;width:166.6667%;height:auto;max-width:none;transform:translateX(-20%)}.video-local-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.12)}.video-local-play span{width:66px;height:46px;border-radius:14px;background:rgba(255,0,0,.92);position:relative}.video-local-play span:after{content:"";position:absolute;left:27px;top:13px;border-left:16px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}.video-empty{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#dcecef,#b7d4da);text-align:center;padding:30px}
.footer{background:var(--dark);color:#dbe6e9;padding:36px 0;margin-top:44px}.socials{display:flex;gap:10px;flex-wrap:wrap}.socials a{background:#314a52;color:white;padding:10px 14px;border-radius:10px;font-weight:700;font-size:13px}.visitor-counter{display:inline-flex;align-items:center;gap:10px;margin-top:18px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.82);font-size:13px;color:var(--muted)}.visitor-counter strong{font-size:17px;color:var(--ink)}.breadcrumb{font-size:13px;color:var(--muted);margin-bottom:12px}.breadcrumb a{color:var(--accent)}.index-list{columns:3;column-gap:28px}.index-list a{display:block;padding:5px 0;border-bottom:1px dotted var(--line)}
@media(max-width:900px){nav{display:none}.hero-grid,.detailgrid{grid-template-columns:1fr}.route-grid{grid-template-columns:repeat(5,minmax(150px,1fr));overflow-x:auto;padding-bottom:8px}.cards,.monks{grid-template-columns:repeat(2,1fr)}.index-list{columns:2}}
@media(max-width:600px){.cards,.monks{grid-template-columns:1fr}.hero h1{font-size:36px}.wrap{padding:0 18px}.index-list{columns:1}}

/* ===== 円相固定背景＋立体ボタン ===== */
body{
  position:relative;
  background:#f7f7f4 !important;
}
.enso-fixed{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.enso-fixed svg{
  width:min(78vw,980px);
  height:min(78vw,980px);
  min-width:620px;
  min-height:620px;
}
.header,main,.footer{
  position:relative;
  z-index:1;
}
.section{
  background:rgba(247,247,244,.82) !important;
}
.section.white{
  background:rgba(255,255,255,.88) !important;
}
.hero{
  background:rgba(239,246,248,.87) !important;
}

/* 「探し方」：色を塗った箱ではなく、厚みのある押しボタン */
.route{
  min-height:96px !important;
  padding:18px 20px !important;
  border-radius:18px !important;
  border:1px solid #c6d1d5 !important;
  border-bottom:5px solid #91a4ab !important;
  background:
    linear-gradient(180deg,#ffffff 0%,#f5f9fa 46%,#dce7ea 100%) !important;
  color:#263a42 !important;
  text-align:center !important;
  justify-content:center !important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.95),
    inset 0 -2px 3px rgba(84,109,118,.10),
    0 8px 0 #aab9be,
    0 13px 20px rgba(38,58,66,.18) !important;
  transform:translateY(0) !important;
  transition:transform .10s ease,box-shadow .10s ease,filter .15s ease !important;
  cursor:pointer;
}
.route h3{
  color:#263a42 !important;
  font-size:16px !important;
  font-weight:800 !important;
  text-shadow:0 1px 0 #fff !important;
}
.route::after{
  content:"" !important;
  position:absolute;
  right:17px;
  width:9px;
  height:9px;
  border-top:2px solid #718990;
  border-right:2px solid #718990;
  transform:rotate(45deg);
}
.route:hover{
  filter:brightness(1.025);
  transform:translateY(-2px) !important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.95),
    inset 0 -2px 3px rgba(84,109,118,.10),
    0 10px 0 #aab9be,
    0 16px 24px rgba(38,58,66,.20) !important;
}
.route:active{
  transform:translateY(7px) !important;
  border-bottom-width:2px !important;
  box-shadow:
    inset 0 2px 5px rgba(48,70,78,.13),
    0 2px 0 #aab9be,
    0 5px 8px rgba(38,58,66,.14) !important;
}
@media(max-width:700px){
  .enso-fixed svg{
    width:135vw;
    height:135vw;
    min-width:0;
    min-height:0;
  }
}


/* ===== 円相＋「禅」墨書：固定背景 ===== */
.enso-fixed{
  position:fixed !important;
  inset:0 !important;
  z-index:0 !important;
  pointer-events:none !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.enso-fixed img{
  width:min(78vw,1050px) !important;
  height:auto !important;
  opacity:1 !important;
  object-fit:contain !important;
}
.header,main,.footer{
  position:relative !important;
  z-index:1 !important;
}
.section{
  background:rgba(247,247,244,.72) !important;
}
.section.white{
  background:rgba(255,255,255,.78) !important;
}
.hero{
  background:rgba(239,246,248,.74) !important;
}
@media(max-width:700px){
  .enso-fixed img{
    width:125vw !important;
    max-width:none !important;
  }
}


/* ===== 枠そのものをリンク化：見た目は変えず、枠内すべてがクリック領域 ===== */
.route,
.card.card-link,
.monkcard.monkcard-link{
  display:flex !important;
  box-sizing:border-box !important;
  width:100% !important;
  height:100% !important;
  text-decoration:none !important;
  color:inherit !important;
  cursor:pointer !important;
}
.card.card-link{
  flex-direction:column !important;
}
.monkcard.monkcard-link{
  flex-direction:column !important;
}
.route > *,
.card.card-link > *,
.monkcard.monkcard-link > *{
  pointer-events:none !important;
}


/* ===== 探し方：4条件プルダウン＋選択ボタン ===== */
.filter-panel{
  display:flex;
  gap:14px;
  align-items:flex-end;
  padding:22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 8px 24px rgba(31,52,58,.06);
}
.filter-grid{
  flex:1;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.filter-grid label{display:block}
.filter-grid label span{
  display:block;
  margin:0 0 7px;
  font-size:13px;
  font-weight:800;
  color:var(--ink);
}
.filter-grid select{
  width:100%;
  height:46px;
  padding:0 38px 0 13px;
  border:1px solid #c9d4d8;
  border-radius:10px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  cursor:pointer;
}
.filter-submit{
  height:46px;
  min-width:92px;
  padding:0 22px;
  border:0;
  border-radius:10px;
  background:var(--dark);
  color:#fff;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 4px 0 #14282e;
}
.filter-submit:active{transform:translateY(3px);box-shadow:0 1px 0 #14282e}
.filter-results{scroll-margin-top:90px;margin-top:24px}
.result-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.empty-result{padding:28px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:14px}
@media(max-width:900px){
  .filter-panel{display:block}
  .filter-grid{grid-template-columns:1fr 1fr}
  .filter-submit{width:100%;margin-top:14px}
}
@media(max-width:560px){
  .filter-grid{grid-template-columns:1fr}
}


.single-filter-note{
  margin:0 0 12px;
  color:var(--muted);
  font-size:13px;
}


/* 各プルダウン横の個別検索ボタン */
.filter-panel{display:block !important;}
.filter-control{
  display:flex;
  align-items:stretch;
  gap:7px;
}
.filter-control select{
  flex:1;
  min-width:0;
}
.filter-control .filter-submit{
  flex:0 0 auto;
  min-width:64px;
  height:46px;
  padding:0 12px;
  margin:0 !important;
}
@media(max-width:900px){
  .filter-control .filter-submit{width:auto !important;margin:0 !important;}
}


.search-video-result{margin-bottom:26px}
.search-video-result .video{width:min(100%,360px);aspect-ratio:9/16;margin:18px auto 0;overflow:hidden;background:#000}
.search-video-result .video iframe{display:block;width:100%;height:100%;border:0}
.video-result-meaning{
  background:var(--soft);
  border-left:4px solid var(--accent);
  padding:17px 19px;
  border-radius:0 12px 12px 0;
  margin:18px 0;
  line-height:1.8;
}

.latest-video-link{cursor:pointer!important}
.latest-video-link>*{pointer-events:none!important}


.footer-social-counter{
  max-width:1280px;margin:34px auto 0;padding:28px;
  text-align:center;border-top:1px solid rgba(255,255,255,.22);
}
.footer-social-title{font-weight:800;font-size:18px;margin-bottom:16px}
.footer-social-buttons{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}
.footer-social-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:150px;padding:13px 22px;border-radius:999px;
  background:#fff;color:#222;text-decoration:none;font-weight:800;
  box-shadow:0 5px 0 rgba(0,0,0,.28),0 8px 18px rgba(0,0,0,.18);
  transition:.15s ease;
}
.footer-social-btn:hover{transform:translateY(-2px);box-shadow:0 7px 0 rgba(0,0,0,.28),0 11px 22px rgba(0,0,0,.2)}
.footer-social-btn:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(0,0,0,.28)}
.footer-counter{
  margin:26px auto 0;display:inline-block;padding:13px 24px 15px;
  border:2px solid rgba(255,255,255,.72);border-radius:14px;
  background:rgba(0,0,0,.28);box-shadow:0 8px 24px rgba(0,0,0,.22);
}
.footer-counter-label{font-size:12px;letter-spacing:.18em;font-weight:800;opacity:.9}
.footer-counter-number{
  margin-top:5px;font-family:Consolas,monospace;font-size:30px;
  font-weight:900;letter-spacing:.12em;line-height:1;
}
.footer-counter-note{font-size:10px;margin-top:7px;opacity:.7}
@media(max-width:640px){
 .footer-social-counter{padding:24px 16px}
 .footer-social-btn{min-width:120px;padding:12px 16px}
 .footer-counter-number{font-size:25px}
}


/* ===== スマホ専用表示：PC版を維持し、画面幅700px以下だけ切替 ===== */
@media (max-width:700px){

  html,body{width:100%;max-width:100%;overflow-x:hidden}
  body{font-size:16px}
  .wrap{width:100%;max-width:none;padding-left:16px!important;padding-right:16px!important}

  /* ヘッダー */
  header .wrap{min-height:58px}
  header nav{display:none!important}
  .brand{font-size:18px}
  .lang{font-size:13px}

  /* TOP：PCの左右2列 → スマホでは縦並び */
  .hero{padding:24px 0 30px!important}
  .hero-grid{
    display:flex!important;
    flex-direction:column!important;
    gap:22px!important;
    align-items:stretch!important
  }
  .hero-grid>div:first-child{width:100%}
  .eyebrow{font-size:11px;line-height:1.5;letter-spacing:.08em}
  .hero h1{
    font-size:34px!important;
    line-height:1.35!important;
    margin:8px 0 10px!important
  }
  .hero p{font-size:14px;line-height:1.75;margin:0}

  /* TOP画像はスマホ幅いっぱい */
  .hero-rotator{
    width:100%!important;
    border-radius:16px!important;
    order:2
  }
  .hero-rotator .slide-btn{width:36px;height:36px;font-size:22px}
  .hero-dots{bottom:9px}

  /* カウンター */
  .visitor-counter{
    margin-top:14px!important;
    width:max-content;
    max-width:100%
  }

  /* TOP検索 */
  .searchbox{
    width:100%;
    margin-top:18px!important;
    padding:6px!important;
    border-radius:14px!important
  }
  .searchbox input{
    min-width:0;
    width:100%;
    font-size:16px; /* iPhoneの入力時自動ズーム防止 */
    padding:11px 9px!important
  }
  .searchbox .btn{
    flex:0 0 auto;
    padding:11px 14px!important;
    white-space:nowrap
  }

  /* 各セクション */
  .section{padding:34px 0!important}
  .section h2{font-size:25px!important;line-height:1.35;margin-bottom:18px!important}

  /* 探し方：横並びをスマホ用2列へ */
  .route-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    overflow:visible!important;
    padding-bottom:0!important
  }
  .route-card,.route-box{min-width:0!important;width:100%!important}
  .route-grid select,.route-grid input,.route-grid button{max-width:100%}

  /* 最新禅語：1列カード */
  .cards{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important
  }
  .card{
    width:100%!important;
    min-width:0!important;
    border-radius:16px!important;
    padding:18px!important
  }
  .card h3{font-size:22px!important}
  .reading{font-size:13px}
  .quote{font-size:15px;line-height:1.65}

  /* AI坊主：スマホでは1列 */
  .monks{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important
  }
  .monkcard{
    grid-template-columns:82px 1fr!important;
    gap:14px!important;
    padding:14px!important
  }
  .monkcard img{width:82px!important;height:82px!important}

  /* 下層ページ */
  .pagehero{padding:24px 0!important}
  .pagehero h1{font-size:30px!important;line-height:1.35}
  .detailgrid{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}
  .panel{border-radius:16px!important;padding:16px!important}
  .index-list{columns:1!important}

  /* YouTube動画：スマホ画面からはみ出さない */
  .video,.search-video-result .video{width:100%!important;max-width:100%!important}
  iframe{
    max-width:100%!important;
  }
  .video iframe,.search-video-result iframe{
    display:block;
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important
  }

  /* ボタンは指で押しやすく */
  .btn{min-height:44px}
  .actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .actions .btn{width:100%}

  /* SNS：スマホでは縦3段 */
  .footer-social-counter{padding:26px 16px!important;margin-top:24px!important}
  .footer-social-buttons{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    width:100%
  }
  .footer-social-btn{
    width:100%!important;
    min-width:0!important;
    min-height:48px;
    padding:13px 16px!important
  }
  .footer-counter{
    display:block!important;
    width:100%;
    max-width:320px;
    margin:24px auto 0!important
  }

  footer{overflow:hidden}
}

/* 小型スマホ */
@media (max-width:390px){
  .hero h1{font-size:30px!important}
  .route-grid{grid-template-columns:1fr!important}
  .section h2{font-size:23px!important}
}


@media (max-width:700px){
  /* 最新の15秒禅語：1段2件 × 3段 */
  .cards{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .card{
    width:100%!important;
    min-width:0!important;
    padding:12px 10px!important;
    border-radius:13px!important;
  }
  .card h3{
    font-size:17px!important;
    line-height:1.35!important;
    margin-bottom:4px!important;
  }
  .card .reading{font-size:11px!important}
  .card .quote{
    font-size:12px!important;
    line-height:1.45!important;
    margin-top:7px!important;
  }

  /* 6人のAI坊主：1段2人 × 3段 */
  .monks{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .monkcard{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    padding:11px!important;
    text-align:center!important;
    border-radius:13px!important;
  }
  .monkcard img{
    width:68px!important;
    height:68px!important;
    margin:0 auto 8px!important;
    object-fit:contain!important;
  }
  .monkcard h3,.monkcard h4{
    font-size:15px!important;
    line-height:1.35!important;
    margin:3px 0!important;
  }
  .monkcard p{
    font-size:11px!important;
    line-height:1.4!important;
    margin:4px 0!important;
  }
}

/* 小型スマホでも最新禅語・AI坊主は2列を維持 */
@media (max-width:390px){
  .cards,.monks{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* 統一コンテンツカード（動画は個別画面でのみ読み込む） */
.content-results{display:grid;gap:22px}
.content-card{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:24px;
  align-items:start;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  box-shadow:0 7px 20px rgba(31,52,58,.05);
  color:inherit;
  transition:transform .18s ease,box-shadow .18s ease
}
.content-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(31,52,58,.11)}
.content-thumb{
  display:block;
  width:100%;
  aspect-ratio:9/16;
  object-fit:cover;
  border-radius:14px;
  background:var(--soft)
}
.content-card h2,.content-card h3{font-family:serif;margin:5px 0 2px;line-height:1.35}
.content-card h2{font-size:30px}.content-card h3{font-size:25px}
.content-meaning{margin:17px 0;font-size:16px;line-height:1.8}
.content-message{background:var(--soft);border-left:4px solid var(--accent);padding:13px 15px;border-radius:0 10px 10px 0;margin:11px 0;line-height:1.7}
.content-message b{display:block;font-size:12px;color:var(--accent);margin-bottom:3px}
.featured-latest{margin-bottom:26px}
.featured-latest .content-card{grid-template-columns:280px minmax(0,1fr);padding:26px}
.featured-video{width:100%;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:#000}
.featured-video iframe{display:block;width:100%;height:100%;border:0}
.featured-video .video-empty{aspect-ratio:9/16}
.latest-more-title{font-size:18px!important;margin:28px 0 14px!important;color:var(--muted)}
.browse-intro{max-width:900px;font-size:20px;line-height:1.9;font-weight:700;margin:0 0 34px;color:#30474f}
.browse-intro p{margin:0 0 18px}
.browse-intro p:last-child{margin-bottom:0}
.word-index{columns:3;column-gap:34px}
.word-index a{display:block;padding:8px 5px;border-bottom:1px dotted var(--line);break-inside:avoid}
.word-group{margin-bottom:34px;break-inside:avoid}
.word-group h2{font-family:serif;font-size:28px;margin:0 0 10px;padding-bottom:8px;border-bottom:2px solid var(--accent)}
.word-group .word-index{margin-top:0}
.consult-btn{font-size:19px!important;min-height:58px!important;padding:16px 28px!important}

/* 感情・悩みの選択項目を、押せるボタンとして明示 */
.choice-buttons a{
  display:block;
  margin:0 0 10px;
  padding:12px 15px;
  border:1px solid #b7c8ce;
  border-bottom:4px solid #8fa5ad;
  border-radius:12px;
  background:linear-gradient(180deg,#fff 0%,#eef5f6 100%);
  box-shadow:0 4px 10px rgba(31,52,58,.10);
  font-weight:700;
  break-inside:avoid;
}
.choice-buttons a:hover{background:#fff;transform:translateY(-1px)}
.choice-buttons a:active{transform:translateY(3px);border-bottom-width:1px}

/* スマホにもPC版と同じ主要メニューを表示 */
@media(max-width:900px){
  .head{height:auto;min-height:82px;flex-wrap:wrap;gap:8px 14px;padding-top:10px;padding-bottom:10px}
  header nav{display:flex!important;order:3;flex:0 0 100%;margin:0;gap:6px;overflow-x:auto;padding:2px 0 4px}
  header nav a{flex:0 0 auto;padding:9px 11px;border:1px solid var(--line);background:#fff;font-size:13px;white-space:nowrap}
  .lang{margin-left:auto}
}
@media(max-width:700px){
  header nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
  header nav a{width:100%;text-align:center;white-space:normal}
}

.word-pager,.search-back{display:flex;justify-content:center;gap:12px;margin-top:26px}
.word-pager .btn,.search-back .btn{min-width:120px}
.word-pager .btn.is-disabled{opacity:.38;pointer-events:none}

@media(max-width:900px){
  .content-card,.featured-latest .content-card{grid-template-columns:150px minmax(0,1fr);gap:16px;padding:16px}
  .content-card h2,.content-card h3{font-size:22px}
  .content-meaning{font-size:14px;line-height:1.7;margin:12px 0}
  .content-message{font-size:13px;padding:10px 12px}
  .word-index{columns:2}
}
@media(max-width:600px){
  .content-card{grid-template-columns:105px minmax(0,1fr);gap:12px;padding:12px;border-radius:14px}
  .featured-latest .content-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:12px;border-radius:14px;align-items:start}
  .featured-latest .content-body{min-width:0}
  .content-thumb{border-radius:10px}
  .content-card h2,.content-card h3{font-size:19px}
  .content-meaning{font-size:13px;line-height:1.6;margin:9px 0}
  .content-message{font-size:12px;line-height:1.55;margin:8px 0;padding:8px 9px}
  .content-message b{font-size:11px}
  .word-index{columns:1}
  .browse-intro{font-size:17px;line-height:1.8}
  .browse-intro p{margin-bottom:16px}
  .word-group h2{font-size:24px!important}
  .consult-btn{font-size:18px!important;min-height:60px!important}
}


/* 個別動画ページ：PCではYouTube Shortsと同等の縦長サイズで表示 */
@media (min-width: 901px) {
  .detailgrid .video iframe {
    width: 360px;
    height: 640px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 900px) {
  .detailgrid .video iframe {
    width: min(360px, 100%) !important;
    height: auto !important;
    aspect-ratio: 9 / 16;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
