@charset "UTF-8";
/* =========================================================
   文書ページ（company.html・privacy.html・sitemap.html）共通の指定。クラスは doc- 接頭辞
   ・kyotaku.css → sub.css のあとに読み込む。変数・部品（.sheet .idx .tlink .hand .ib）はそのまま使う
   ・3ページとも「読むための文書」。飾りは控えめに、行長と行間を整えるだけ
   ・CSSで初期状態を隠さない（出現は sub.js の data-reveal / data-draw）
   ・新しい色・グラデーション・filter: blur() は使わない。藍は使わない
   ・ブレークポイント: スマホを先に組み、768px・1024px・1200px で広げる
   ========================================================= */

/* ---------------------------------------------------------
   見出し部（.sub-head）の調整
   ・.doc-head--solo   絵を置かないページ（プライバシーポリシー・サイトマップ）。1列のまま
   ・.doc-head__title--long  長いページ名（プライバシーポリシー）をスマホで1行に収める
   ・.doc-head__art    小物の線画（item-house 400x329）を小さめに
   --------------------------------------------------------- */
@media (min-width:768px){
  .doc-head--solo .sub-head__inner{ grid-template-columns:minmax(0,1fr); }
}
.doc-head__title--long{ font-size:clamp(22px, 6.6vw, 46px); letter-spacing:.1em; } /* 320px幅でも10文字が1行に収まる */
@media (min-width:768px){
  .doc-head__title--long{ letter-spacing:.14em; }
}
.doc-head__art{ width:min(42%, 170px); }
@media (min-width:768px){
  .doc-head__art{ width:50%; max-width:240px; justify-self:center; }
}

/* =========================================================
   会社概要（company.html）
   ========================================================= */
/* 表と地図: スマホ〜1023px は縦に、1024px〜 は表の右に地図 */
.doc-co__grid{ display:grid; grid-template-columns:minmax(0,1fr); gap:40px; }
.doc-co__sheet{ margin-top:44px; } /* .idx（上にはみ出す）のぶん */
.doc-co__sheet dd{ font-weight:400; }
.doc-co__access{ display:block; color:var(--ink-sub); }
.doc-co__tel{
  font-weight:500;
  letter-spacing:.06em;
  white-space:nowrap;
  color:var(--ink);
  text-decoration:underline;
  text-decoration-color:var(--peach);
  text-underline-offset:5px;
  transition:color .4s;
}
.doc-co__tel:hover{ color:var(--peach-text); }
.doc-co__place-cap{ margin-bottom:8px; }

@media (min-width:1024px){
  .doc-co__grid{
    grid-template-columns:minmax(0,1fr) minmax(0,340px);
    column-gap:56px;
    align-items:start;
  }
  .doc-co__place{ margin-top:44px; }
}
@media (min-width:1200px){
  .doc-co__grid{ grid-template-columns:minmax(0,1fr) minmax(0,380px); column-gap:72px; }
}

/* 地図の置き場所（フッターの .ft__map と同じ見せ方。WP移植時に Googleマップの iframe へ差し替え）
   <div class="doc-mapbox" role="img" aria-label="…">
     <svg class="doc-mapbox__line" viewBox="0 0 100 100" preserveAspectRatio="none" aria-hidden="true" focusable="false"><path d="…"/></svg>
     <p>住所<br>（ここにGoogleマップを埋め込みます）</p>
   </div> */
.doc-mapbox{
  position:relative;
  min-height:240px;
  display:flex; align-items:center; justify-content:center;
  padding:28px; text-align:center;
  background:var(--paper);
  color:var(--ink-sub);
}
.doc-mapbox__line{ position:absolute; left:0; top:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
.doc-mapbox__line path{ fill:none; stroke:var(--line-soft); stroke-width:1.3; stroke-dasharray:6 7; stroke-linecap:round; vector-effect:non-scaling-stroke; }
.doc-mapbox p{ position:relative; }
@media (min-width:768px){
  .doc-mapbox{ min-height:300px; }
}
@media (min-width:1024px){
  .doc-mapbox{ min-height:380px; }
}

/* =========================================================
   プライバシーポリシー（privacy.html）
   ・本文は .sub-prose（行長37em・行間2.15）。見出しの間隔だけ整える
   ・長い英単語・URL は折り返す（小さな画面ではみ出さない）
   ========================================================= */
.doc-policy{ overflow-wrap:anywhere; word-break:normal; }
.doc-policy a{
  overflow-wrap:anywhere;
  color:var(--peach-text);
  text-decoration:underline;
  text-decoration-color:var(--peach);
  text-underline-offset:4px;
}
.doc-policy a:hover{ text-decoration-thickness:2px; }

.doc-policy h2{
  margin:64px 0 18px;
  padding-top:40px;
  border-top:1px solid rgba(107,82,68,.18);
  font-size:clamp(20px, 5.4vw, 26px);
  line-height:1.6;
  letter-spacing:.08em;
}
.doc-policy > h2:first-child{ margin-top:0; padding-top:0; border-top:0; }
.doc-policy h3{
  position:relative;
  margin:40px 0 10px;
  padding-left:16px;
  font-size:clamp(18px, 4.6vw, 20px);
  line-height:1.7;
  letter-spacing:.06em;
}
.doc-policy h3::before{
  content:"";
  position:absolute; left:0; top:.35em; bottom:.35em;
  width:3px; border-radius:2px;
  background:var(--peach-pale);
}
.doc-policy h2 + h3{ margin-top:24px; }
.doc-policy p + p{ margin-top:1.1em; }

@media (min-width:1024px){
  .doc-policy h2{ margin-top:80px; padding-top:48px; }
  .doc-policy h3{ margin-top:48px; }
  .doc-policy h2 + h3{ margin-top:28px; }
}

/* ---------------------------------------------------------
   文書の下の小さな導線（.sub-more を左寄せで）
   --------------------------------------------------------- */
.doc-more{ justify-content:flex-start; text-align:left; margin-top:56px; }
@media (min-width:1024px){
  .doc-more{ margin-top:72px; }
}

/* =========================================================
   サイトマップ（sitemap.html）
   ・道しるべ: 左に手描きの縦の線（道）、各ページは線の上の小さな丸（立ち寄り先）
   ・ページ名の横（スマホは下）に、Klee One の小さな添え書き
   ・お知らせの記事は、道から枝分かれした点線の小道に
   <div class="doc-site-wrap">
     <p class="idx" aria-hidden="true">…</p>
     <div class="doc-site-sheet sheet">
       <ol class="doc-site">
         <svg class="doc-site__road" …><path pathLength="1" data-draw d="…"/></svg> は ol の外（.doc-site-sheet の中）に置く
         <li class="doc-site__item"><a class="doc-site__link" href="…">ページ名</a><span class="doc-site__note">添え書き</span></li>
       </ol>
     </div>
   </div>
   ========================================================= */
.doc-site-wrap{ position:relative; max-width:760px; margin-top:44px; } /* .idx のぶん */
.doc-site-sheet{ position:relative; padding:14px 20px 18px; }

/* 道（手描きの縦の線）: 丸の中心（左から --road-x）を通る */
.doc-site-sheet{ --road-x:34px; }
.doc-site__road{
  position:absolute;
  left:calc(var(--road-x) - 6px);
  top:32px;
  width:12px; height:calc(100% - 76px); /* 最初の丸のあたりから、最後の丸のあたりまで */
  overflow:visible;
  pointer-events:none;
}
.doc-site__road path{
  fill:none;
  stroke:var(--line);
  stroke-width:1.4;
  stroke-linecap:round;
  vector-effect:non-scaling-stroke;
  opacity:.5;
  stroke-dasharray:1;
  stroke-dashoffset:0;
}

.doc-site{
  position:relative;
  list-style:none;
  padding-left:calc(var(--road-x) - 20px + 26px); /* シートの左余白(20px)を引いて、丸の右に 26px */
}
.doc-site__item{
  position:relative;
  padding:14px 0 15px;
}
.doc-site__item + .doc-site__item{ border-top:1px dashed rgba(107,82,68,.16); }
/* 立ち寄り先の丸 */
.doc-site__item::before{
  content:"";
  position:absolute;
  left:calc(-26px - 6.5px);
  top:calc(14px + 2px + clamp(17px, 4.6vw, 20px) * .85 - 6.5px); /* ページ名の1行目の中ほど */
  width:13px; height:13px;
  border:1.5px solid var(--line);
  border-radius:50% 46% 52% 48%;
  background:var(--paper-light);
}
.doc-site__item--home::before{ background:var(--peach-pale); }

.doc-site__head{ display:block; } /* スマホ: ページ名の下に添え書き／768px〜: 横に並べる */
.doc-site__link{
  display:inline-block;
  padding:2px 0;
  font-weight:700;
  font-size:clamp(17px, 4.6vw, 20px);
  line-height:1.7;
  letter-spacing:.08em;
  color:var(--ink);
  text-decoration:underline;
  text-decoration-color:var(--peach);
  text-decoration-thickness:1.5px;
  text-underline-offset:6px;
  transition:color .4s;
}
.doc-site__link:hover{ color:var(--peach-text); }
.doc-site__ext{
  margin-left:.4em;
  font-weight:400;
  font-size:14px;
  letter-spacing:.04em;
  color:var(--ink-sub);
}
.doc-site__note{
  display:block;
  font-family:var(--f-hand);
  font-weight:600;
  font-size:15px;
  line-height:1.8;
  letter-spacing:.06em;
  color:var(--sage-ink);
}
.doc-site-sheet .hand{ color:var(--sage-ink); }

/* お知らせの記事（道から分かれた小道） */
.doc-site__sub{
  list-style:none;
  margin:10px 0 2px 2px;
  border-left:1px dashed var(--line-soft);
}
.doc-site__sub li{ position:relative; padding:5px 0 5px 22px; }
.doc-site__sub li::before{
  content:"";
  position:absolute; left:0; top:calc(5px + 1em);
  width:14px; height:1px;
  background:var(--line-soft);
}
.doc-site__sub a{
  display:grid; gap:0;
  padding:4px 0;
  text-decoration:none;
}
.doc-site__date{
  font-family:var(--f-hand); font-weight:600;
  font-size:15px; line-height:1.7; letter-spacing:.06em;
  color:var(--sage-ink);
}
.doc-site__title{
  font-weight:500;
  line-height:1.8;
  text-decoration:underline;
  text-decoration-color:rgba(243,183,155,.7);
  text-underline-offset:5px;
  transition:color .4s;
}
.doc-site__sub a:hover .doc-site__title{ color:var(--peach-text); text-decoration-color:var(--peach); }

@media (min-width:768px){
  .doc-site-sheet{ --road-x:56px; padding:22px 44px 26px; }
  .doc-site{ padding-left:calc(var(--road-x) - 44px + 32px); }
  .doc-site__item{ padding:16px 0 17px; }
  .doc-site__item::before{ left:calc(-32px - 6.5px); top:calc(16px + 2px + clamp(17px, 4.6vw, 20px) * .85 - 6.5px); }
  .doc-site__road{ top:40px; bottom:48px; height:calc(100% - 88px); }
  .doc-site__head{ display:flex; flex-wrap:wrap; align-items:baseline; gap:0 20px; }
  .doc-site__sub{ margin-top:8px; }
  .doc-site__sub a{ grid-template-columns:10.5em minmax(0,1fr); gap:12px; align-items:baseline; }
}
@media (min-width:1024px){
  .doc-site__note{ font-size:16px; }
}

/* Googleマップの埋め込み（2026-11-23。点線の枠はそのまま、内側に地図） */
.doc-mapbox--live{ padding:0; }
.doc-mapbox--live iframe{ position:absolute; left:8px; top:8px; width:calc(100% - 16px); height:calc(100% - 16px); border:0; }
