@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==========================================================================
   ライフログ デザインシステム
   コンセプト：新聞編集×あたたかさ
   参照：dev/my_lifelog/jibunshi_designsheet.md
   値は初期デザイン（ライフログ_サイト/）の実測値に合わせている
   ========================================================================== */

:root {
  --ll-bg: #FAF8F3;              /* rgb(250,248,243) ベース背景 */
  --ll-bg-sub: #F0EDE6;          /* rgb(240,237,230) サブ背景（ベージュ） */
  --ll-bg-dark: #1C1A17;         /* rgb(28,26,23) ダーク背景／見出し文字 */
  --ll-accent: #A8402F;          /* rgb(168,64,47) アクセント（朱） */
  --ll-accent-soft: #E8B7AB;     /* rgb(232,183,171) ヒーローのVOLラベル */
  --ll-text: #1C1A17;            /* 見出し・強調テキスト */
  --ll-text-body: #4A4844;       /* rgb(74,72,68) 本文（セカンダリ） */
  --ll-text-mid: #2B2A28;        /* rgb(43,42,40) ナビ通常色・引用者名など */
  --ll-text-inverse: #FAF8F3;
  --ll-border: rgba(28, 26, 23, 0.14);
  --ll-border-soft: rgba(28, 26, 23, 0.12);
  --ll-font-mincho: "Shippori Mincho", serif;
  --ll-font-sans: "Noto Sans JP", sans-serif;
  --ll-font-mono: "Roboto Mono", monospace;
}

/* サイドバー表示時、コンテンツ列とサイドバー列の背景色に差が出ないよう全体の背景をベースカラーに統一 */
body { background-color: var(--ll-bg); }

.ll-page { color: var(--ll-text-body); font-family: var(--ll-font-sans); font-weight: 400; }
.ll-page * { box-sizing: border-box; }

/* ==========================================================================
   ヘッダー（全ページ共通：初期デザインのスティッキー・半透明ヘッダーを再現）
   ========================================================================== */
#header {
  position: sticky !important;
  top: 0 !important;
  z-index: 50;
  background: rgba(250, 248, 243, 0.92) !important;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(28, 26, 23, 0.12) !important;
  box-shadow: none !important;
}
#header .l-header__inner {
  padding: 20px clamp(20px, 4vw, 56px) !important;
}
#header .c-headLogo,
#header .c-headLogo__link {
  font-family: var(--ll-font-mincho) !important;
  font-weight: 600 !important;
  font-size: clamp(18px, 2.2vw, 24px) !important;
  letter-spacing: 0.1em !important;
  color: var(--ll-text) !important;
  text-decoration: none;
}
#header .c-gnav { gap: clamp(14px, 2.4vw, 40px); }
#header .c-gnav > .menu-item > a {
  font-size: 13px !important;
  letter-spacing: 0.02em !important;
  color: var(--ll-text-mid) !important;
  font-weight: 400 !important;
}
#header .c-gnav > .menu-item.current-menu-item > a {
  color: var(--ll-accent) !important;
}
/* ナビのホバー下線を固定色ではなく文字色に自動追従させる */
#header .c-gnav > .menu-item > a:after {
  background-color: currentColor !important;
}
/* お問い合わせ：枠線ボタン表示（メニュー項目に ll-btn-nav クラスを付与） */
#header .menu-item.ll-btn-nav {
  display: flex;
  align-items: center;
  height: 100%;
}
#header .menu-item.ll-btn-nav > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px clamp(16px, 2vw, 24px) !important;
  border: 1px solid var(--ll-text);
  font-size: 12.5px !important;
  letter-spacing: 0.06em !important;
  color: var(--ll-text) !important;
  height: auto !important;
}
#header .menu-item.ll-btn-nav > a:after { display: none; }

/* ==========================================================================
   セクション共通
   ========================================================================== */
.ll-section {
  padding: clamp(80px, 12vw, 150px) clamp(20px, 5vw, 56px);
  background: var(--ll-bg);
  /* フルブリード：SWELLの#content(.l-container)のmax-widthを無視して背景をビューポート全幅に広げる */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.ll-section--sub { background: var(--ll-bg-sub); }

/* --- 固定ページ用タイトルエリア（画像背景＋オーバーレイ） --- */
.ll-page-title {
  position: relative;
  padding: 110px clamp(20px, 5vw, 56px);
  color: var(--ll-text-inverse);
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.ll-page-title-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ll-page-title-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(28,26,23,0.78) 0%, rgba(28,26,23,0.6) 100%);
}
.ll-page-title-inner { position: relative; z-index: 1; }
.ll-page-title-inner .ll-lead { color: var(--ll-text-inverse); }
.ll-section--dark { background: var(--ll-bg-dark); color: var(--ll-text-inverse); }
.ll-section-inner { max-width: 1180px; margin: 0 auto; }

.ll-label {
  display: inline-block;
  font-family: var(--ll-font-sans);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--ll-accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.ll-heading {
  font-family: var(--ll-font-mincho);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.6;
  color: var(--ll-text);
  margin: 0 0 26px;
  text-wrap: balance;
}
.ll-heading .ll-tsume {
  margin-right: -0.4em;
}
.ll-section--dark .ll-heading,
.ll-section--dark .ll-label { color: inherit; }

/* 見出し下の短いアクセントバー（初期デザイン：44px×2pxの罫線＋見出しとの間隔を少し広めに） */
.ll-heading-underline {
  position: relative;
}
.ll-heading-underline::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--ll-accent);
  margin: 10px 0 34px;
}
.ll-center .ll-heading-underline::after,
.ll-heading-underline.ll-center::after {
  margin-left: auto;
  margin-right: auto;
}

.ll-lead { font-size: 15px; line-height: 2; color: var(--ll-text-body); max-width: 640px; }
.ll-center { text-align: center; margin-left: auto; margin-right: auto; }

.ll-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 13px clamp(20px, 2vw, 28px);
  border: 1px solid currentColor;
  font-family: var(--ll-font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: inherit;
  text-decoration: none;
  background: transparent;
}
.ll-btn:hover { opacity: 0.7; }
.ll-btn--lg {
  padding: 19px clamp(28px, 3vw, 40px);
  font-size: 15px;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */
.ll-hero {
  position: relative;
  min-height: 620px;
  height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ll-text-inverse);
  background: var(--ll-bg-dark);
  overflow: hidden;
  /* フルブリード：SWELLの.l-containerのmax-width/paddingを無視してビューポート全幅に広げる */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* #content(.l-content) に予約されている上下の余白（padding-top:4em／margin-bottom:6em）が、
   パンくずとタイトルエリアの間、および本文とフッターの間の余分な空白の原因なので全ページで打ち消す */
#content {
  padding-top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* --- ヘッダーをヒーローに重ねる（フロントページのみ／.ll-has-heroは functions.php で body_class に付与） --- */
.ll-has-hero { padding-top: 0 !important; }
.ll-has-hero #header {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.ll-has-hero #header .c-headLogo,
.ll-has-hero #header .c-headLogo__link,
.ll-has-hero #header .c-gnav > .menu-item > a {
  color: var(--ll-text-inverse) !important;
  transition: color 0.3s ease;
}
.ll-has-hero #header .menu-item.ll-btn-nav > a {
  border-color: var(--ll-text-inverse);
}
.ll-has-hero #header.ll-scrolled {
  background: rgba(250, 248, 243, 0.92) !important;
  backdrop-filter: blur(6px) !important;
  border-bottom-color: rgba(28, 26, 23, 0.12) !important;
}
.ll-has-hero #header.ll-scrolled .c-headLogo,
.ll-has-hero #header.ll-scrolled .c-headLogo__link,
.ll-has-hero #header.ll-scrolled .c-gnav > .menu-item > a {
  color: var(--ll-text-mid) !important;
}
.ll-has-hero #header.ll-scrolled .c-headLogo { color: var(--ll-text) !important; }
.ll-has-hero #header.ll-scrolled .c-gnav > .menu-item.current-menu-item > a {
  color: var(--ll-accent) !important;
}
.ll-has-hero #header.ll-scrolled .menu-item.ll-btn-nav > a {
  border-color: var(--ll-text);
}
/* ヘッダーが position:fixed で浮くため、ヒーローは通常フローの先頭（画面最上部）から開始してヘッダーの背後に回り込む */
.ll-has-hero .ll-hero { margin-top: 0; }

/* ログイン中は管理バー（32px/モバイル46px）の分だけヘッダー位置をずらし、隙間を作らない */
.ll-has-hero.admin-bar #header { top: 32px !important; }
@media screen and (max-width: 782px) {
  .ll-has-hero.admin-bar #header { top: 46px !important; }
}

.ll-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ll-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(28,26,23,0.55) 0%, rgba(28,26,23,0.1) 45%, rgba(28,26,23,0.35) 100%);
}
.ll-hero-content { position: relative; z-index: 1; padding: 0 24px; max-width: 760px; }
.ll-hero-vol { font-size: 11px; letter-spacing: 0.35em; color: var(--ll-accent-soft); font-weight: 500; display: block; margin-bottom: 22px; }
.ll-hero-title { font-family: var(--ll-font-mincho); font-weight: 600; font-size: clamp(34px, 5vw, 64px); line-height: 1.5; margin: 0 0 28px; color: var(--ll-text-inverse); }
.ll-hero-lead { font-size: 15px; line-height: 1.9; margin: 0 0 32px; color: rgba(250,248,243,0.85); }

/* ==========================================================================
   写真枠（picsum差し替え用）
   ========================================================================== */
.ll-photo-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ll-bg-sub);
  border: 1px solid var(--ll-border);
}
.ll-photo-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ll-photo-box--portrait { aspect-ratio: 4 / 5; }
.ll-photo-box--landscape { aspect-ratio: 16 / 10; }

/* ==========================================================================
   3カラムグリッド
   ll-grid-3--divided：カード間を1pxの罫線で区切る（初期デザインの「活用例」等）
   ll-grid-3：通常のガター（写真カード等）
   ========================================================================== */
.ll-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.ll-grid-3--divided {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ll-border);
  border: 1px solid var(--ll-border);
}
@media (max-width: 860px) {
  .ll-grid-3, .ll-grid-3--divided { grid-template-columns: 1fr; }
}
.ll-card { display: flex; flex-direction: column; gap: 18px; }
.ll-grid-3--divided .ll-card { background: var(--ll-grid-card-bg, var(--ll-bg)); padding: 56px 40px; gap: 18px; }
.ll-section--sub .ll-grid-3--divided .ll-card,
.ll-section--sub { --ll-grid-card-bg: var(--ll-bg-sub); }

.ll-card-num {
  font-family: var(--ll-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ll-accent);
  line-height: 1;
}
.ll-card-title { font-family: var(--ll-font-mincho); font-weight: 600; font-size: 21px; color: var(--ll-text); margin: 0; }
.ll-card-body { font-size: 14px; line-height: 1.95; color: var(--ll-text-body); margin: 0; }
.ll-card-examples-wrap {
  flex: 1;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--ll-border-soft);
}
.ll-card-examples-label { font-size: 11px; letter-spacing: 0.1em; color: var(--ll-text-body); margin-bottom: 10px; }
.ll-card-examples { font-size: 13px; line-height: 1.9; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; color: var(--ll-text-mid); }
.ll-card-examples li::before { content: "・"; }
.ll-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.04em; color: var(--ll-text);
  text-decoration: none;
  margin-top: 14px;
}

/* ==========================================================================
   左右分割
   ========================================================================== */
.ll-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .ll-split { grid-template-columns: 1fr; } }

/* ==========================================================================
   紙面サンプルスライダー（ドット付き・vanilla JS）
   ========================================================================== */
.ll-slider-wrap { position: relative; }
.ll-slider {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(24px, calc(50% - 590px)) 20px;
  scrollbar-width: none;
  margin: 0 calc(-1 * clamp(20px, 5vw, 56px));
}
.ll-slider::-webkit-scrollbar { display: none; }
.ll-slider-item {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(78vw, 460px);
}
.ll-slider-caption { font-family: var(--ll-font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ll-text-body); margin-top: 12px; }
.ll-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.ll-slider-dots button {
  width: 8px; height: 8px; border-radius: 4px; border: none; padding: 0; cursor: pointer;
  background: rgba(28,26,23,0.22);
  transition: all 0.25s ease;
}
.ll-slider-dots button.is-active { width: 22px; background: var(--ll-accent); }

/* ==========================================================================
   証言カード
   ========================================================================== */
.ll-quote-mark { font-family: var(--ll-font-mincho); font-size: 36px; color: var(--ll-accent); line-height: 0.3; display: block; margin-bottom: 14px; }
.ll-quote-body { font-size: 14.5px; line-height: 1.95; color: var(--ll-text-mid); margin: 0 0 16px; }
.ll-quote-name { font-size: 13px; letter-spacing: 0.03em; color: var(--ll-text); }
.ll-quote-meta { font-size: 12px; color: var(--ll-text-body); margin-top: 2px; }

/* ==========================================================================
   料金カード（初期デザイン：左寄せ・上部罫線リンク）
   ========================================================================== */
.ll-price-card {
  background: var(--ll-bg);
  border: 1px solid var(--ll-border);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ll-price-card--highlight { border: 1px solid var(--ll-text); }
.ll-price-name { font-size: 12px; letter-spacing: 0.12em; color: var(--ll-accent); }
.ll-price-value { font-family: var(--ll-font-mincho); font-size: 32px; color: var(--ll-text); margin: 0; }
.ll-price-value small { font-size: 13px; color: var(--ll-text-body); font-family: var(--ll-font-sans); }
.ll-price-desc { font-size: 13.5px; line-height: 1.9; color: var(--ll-text-body); margin: 0; flex: 1; }
.ll-price-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 0; font-size: 13px; color: var(--ll-text);
  border-top: 1px solid var(--ll-border);
  margin-top: 8px;
  text-decoration: none;
}

/* ==========================================================================
   CTAバナー（画像背景＋オーバーレイ）
   ========================================================================== */
.ll-cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.ll-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ll-cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(28,26,23,0.82) 0%, rgba(28,26,23,0.68) 100%);
}
.ll-cta .ll-section-inner { position: relative; z-index: 1; }
.ll-cta .ll-heading {
  color: inherit;
  max-width: 22em;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   コラム（ブログ）一覧・カード
   サイドバー併用のため、他ページの .ll-section とは違いフルブリード（100vw breakout）にしない
   ========================================================================== */
.ll-section--contained {
  width: auto;
  margin-left: 0;
  margin-right: 0;
  padding: clamp(48px, 6vw, 80px) 0;
}
.ll-section--contained .ll-section-inner { max-width: none; }

/* サイドバー幅に収まる、統一CTAの縮小版（背景色はサイドバーと揃えず単独の暗色ボックスにする） */
.ll-blog-cta {
  background: var(--ll-bg-dark);
  color: var(--ll-text-inverse);
  text-align: center;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px);
}
.ll-blog-cta .ll-heading { color: inherit; margin-bottom: 0; }
.ll-blog-cta .ll-btn { border-color: currentColor; color: inherit; }

.ll-blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
@media (max-width: 640px) { .ll-blog-grid { grid-template-columns: 1fr; } }

.ll-blog-card { display: flex; flex-direction: column; }
.ll-blog-card-thumb { display: block; text-decoration: none; }
.ll-blog-card-body { padding-top: 18px; }
.ll-blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ll-blog-date { font-family: var(--ll-font-mono); font-size: 11px; letter-spacing: 0.05em; color: var(--ll-text-body); }
.ll-cat-pill {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ll-accent);
  border: 1px solid var(--ll-accent);
  padding: 3px 10px;
  text-decoration: none;
}
.ll-blog-card-title {
  font-family: var(--ll-font-mincho);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ll-text);
  margin: 0 0 10px;
}
.ll-blog-card-title a { color: inherit; text-decoration: none; }
.ll-blog-card-title a:hover { opacity: 0.7; }
.ll-blog-card-excerpt { font-size: 13.5px; line-height: 1.85; color: var(--ll-text-body); margin: 0; }

/* --- ページネーション --- */
.ll-pagination { margin-top: 56px; display: flex; justify-content: center; }
.ll-pagination .nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.ll-pagination a,
.ll-pagination span.current {
  font-family: var(--ll-font-mono);
  font-size: 13px;
  color: var(--ll-text-mid);
  text-decoration: none;
  padding: 6px 4px;
}
.ll-pagination a:hover { color: var(--ll-accent); }
.ll-pagination span.current { color: var(--ll-accent); border-bottom: 1px solid var(--ll-accent); }

/* ==========================================================================
   記事本文タイポグラフィ
   ========================================================================== */
.ll-article-body { font-size: 15.5px; line-height: 2; color: var(--ll-text-body); }
.ll-article-body > * + * { margin-top: 1.6em; }
.ll-article-body h2 {
  font-family: var(--ll-font-mincho);
  font-weight: 600;
  font-size: 24px;
  color: var(--ll-text);
  line-height: 1.6;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ll-border);
  margin-top: 2.4em;
}
.ll-article-body h3 {
  font-family: var(--ll-font-mincho);
  font-weight: 600;
  font-size: 19px;
  color: var(--ll-text);
  line-height: 1.6;
  margin-top: 2em;
}
.ll-article-body a { color: var(--ll-accent); }
.ll-article-body ul,
.ll-article-body ol { padding-left: 1.4em; }
.ll-article-body li + li { margin-top: 0.5em; }
.ll-article-body blockquote {
  border-left: 3px solid var(--ll-accent);
  padding-left: 1.4em;
  color: var(--ll-text-mid);
}
.ll-article-body img { width: 100%; height: auto; display: block; }
.ll-article-body figcaption { font-size: 12px; color: var(--ll-text-body); text-align: center; margin-top: 0.6em; }
