@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
*/

.home .l-sidebar { display: none !important; }
.home .l-mainContent,
.home .l-mainContent__inner { width: 100% !important; max-width: 100% !important; }
.home .l-content { max-width: 1200px; margin-inline: auto; }

@media (min-width: 960px) {
  
  
  
  
  
  
  
  
  
  
  
  /* スクロールバー控えめ */
}
/* SP/tablet: そのまま縦並び (gridを発動しない) */

@media (min-width: 960px) {
  
  
  
  /* Followボタンを画面下に配置 */
  
  /* サイド内の埋め込み動画/画像が幅に収まるように */
  
}

@media (min-width: 960px) {
  
  /* 1個目の h2 のトップマージンを抑える */
  
}
/* =========================================================
   outdoor.iroirorakko.com — Minimal Modern: Quiet Lift
   ホバー磨き上げ + 見出しタイポ強化 (SWELL child / CSS only)
   中年キャンパー層向け / 穏当・上品・モダン
   ========================================================= */

:root{
  --c-ink:        #0a1929;
  --c-forest:     #15805a;
  --c-cyan:       #0bb3d6;
  --c-lime:       #3ee87f;
  --c-paper:      #ffffff;
  --c-mute:       #f3f6f4;
  --c-line:       rgba(10,25,41,.12);
  --c-line-soft:  rgba(10,25,41,.06);
  --ease-out:     cubic-bezier(.2,.7,.2,1);
  --t-fast:       150ms;
  --t-base:       220ms;
  --t-card:       280ms;
  --t-img:        500ms;
}

/* ---------- 1. 共通: フォーカスリング(a11y) ---------- */
a:focus-visible,
button:focus-visible,
.swell-block-button a:focus-visible,
.wp-block-button__link:focus-visible,
.c-postCard:focus-visible,
.p-postList__link:focus-visible{
  outline: 2px solid var(--c-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 2. 記事カード (穏当な浮き＋影深化) ---------- */
.p-postList__link,
.c-postCard,
.p-postList .p-postList__link{
  transition:
    transform var(--t-card) var(--ease-out),
    box-shadow var(--t-card) var(--ease-out);
  will-change: transform;
  box-shadow: 0 1px 3px rgba(10,25,41,.06);
}
.p-postList__link:hover,
.c-postCard:hover,
.p-postList .p-postList__link:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -12px rgba(10,25,41,.18);
}

/* ---------- 3. サムネ: クロップ + ズーム + 微発色 ---------- */
.c-postCard__thumb,
.p-postList__thumb,
.post_thumbnail{
  overflow: hidden;
  position: relative;
  border-radius: inherit;
}
.c-postCard__thumb img,
.p-postList__thumb img,
.post_thumbnail img{
  transition:
    transform var(--t-img) ease-out,
    filter var(--t-img) ease-out;
  will-change: transform;
}
.p-postList__link:hover .c-postCard__thumb img,
.c-postCard:hover .c-postCard__thumb img,
.p-postList__link:hover .p-postList__thumb img,
.c-postCard:hover .p-postList__thumb img,
.p-postList__link:hover .post_thumbnail img,
.c-postCard:hover .post_thumbnail img{
  transform: scale(1.04);
  filter: brightness(1.03) saturate(1.05);
}

/* シアン薄膜オーバーレイ(奥行き) */
.c-postCard__thumb::after,
.p-postList__thumb::after{
  content: "";
  position: absolute; inset: 0;
  background: var(--c-cyan);
  opacity: 0;
  transition: opacity var(--t-card) var(--ease-out);
  pointer-events: none;
}
.p-postList__link:hover .c-postCard__thumb::after,
.c-postCard:hover .c-postCard__thumb::after,
.p-postList__link:hover .p-postList__thumb::after,
.c-postCard:hover .p-postList__thumb::after{
  opacity: .12;
}

/* ---------- 4. カテゴリチップ / タグ ---------- */
.c-postCard__cat,
.p-postList__cat,
.c-tagList__link,
.cat-item > a{
  display: inline-flex; align-items: center;
  padding: .25em .8em;
  border-radius: 999px;
  background: var(--c-mute);
  color: var(--c-forest);
  border: 1px solid transparent;
  transition:
    background var(--t-fast) ease,
    color var(--t-fast) ease,
    border-color var(--t-fast) ease;
  text-decoration: none;
}
.c-postCard__cat:hover,
.p-postList__cat:hover,
.c-tagList__link:hover,
.cat-item > a:hover{
  background: var(--c-forest);
  color: #fff;
  border-color: var(--c-forest);
}

/* ---------- 5. ボタン / CTA (既存グラデを尊重) ---------- */
.swell-block-button a,
.wp-block-button__link,
.p-fixBtn__btn{
  transition:
    transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    filter var(--t-base) ease;
}
.swell-block-button a:hover,
.wp-block-button__link:hover,
.p-fixBtn__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(21,128,90,.55);
  filter: saturate(1.05);
}
.swell-block-button a:active,
.wp-block-button__link:active,
.p-fixBtn__btn:active{
  transform: translateY(0);
  box-shadow: 0 4px 10px -6px rgba(21,128,90,.5);
  filter: saturate(1);
}

/* ---------- 6. グローバルメニュー: 下線アニメ ---------- */
.c-gnav a,
.l-header__menu a{
  position: relative;
  transition: color var(--t-base) ease;
}
.c-gnav > ul > li > a::after,
.l-header__menu > ul > li > a::after,
.c-gnav .menu-item:not(.sub-menu .menu-item) > a::after{
  content: "";
  position: absolute;
  left: 50%; bottom: -4px;
  width: 0; height: 2px;
  background: var(--c-forest);
  transition:
    width var(--t-base) var(--ease-out),
    left var(--t-base) var(--ease-out);
}
.c-gnav a:hover,
.l-header__menu a:hover{ color: var(--c-forest); }
.c-gnav > ul > li > a:hover::after,
.l-header__menu > ul > li > a:hover::after{
  left: 0; width: 100%;
}
/* サブメニュー内は下線アニメを抑制 */
.c-gnav .sub-menu a::after,
.l-header__menu .sub-menu a::after{
  display: none;
}

/* ---------- 7. 本文内リンク (穏当な下線) ---------- */
:where(.post_content, .l-mainContent) a:not(.swell-block-button a):not(.wp-block-button__link):not(.c-postCard__cat):not(.p-postList__cat):not(.p-postList__link):not(.c-postCard){
  color: var(--c-forest);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(21,128,90,.35);
  text-underline-offset: 3px;
  transition:
    text-decoration-color var(--t-base) ease,
    color var(--t-base) ease;
}
:where(.post_content, .l-mainContent) a:not(.swell-block-button a):not(.wp-block-button__link):not(.c-postCard__cat):not(.p-postList__cat):not(.p-postList__link):not(.c-postCard):hover{
  text-decoration-color: var(--c-forest);
}

/* ---------- 8. ウィジェット/アーカイブのリスト項目 ---------- */
.widget li a,
.p-archiveList a,
.widget_archive li a,
.widget_categories li a{
  position: relative;
  display: inline-block;
  padding-left: 0;
  transition:
    padding-left var(--t-base) var(--ease-out),
    color var(--t-base) ease;
}
.widget li a::before,
.p-archiveList a::before,
.widget_archive li a::before,
.widget_categories li a::before{
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 2px;
  background: var(--c-forest);
  transform: translateY(-50%);
  transition: width var(--t-base) var(--ease-out);
}
.widget li a:hover,
.p-archiveList a:hover,
.widget_archive li a:hover,
.widget_categories li a:hover{
  padding-left: 14px;
  color: var(--c-forest);
}
.widget li a:hover::before,
.p-archiveList a:hover::before,
.widget_archive li a:hover::before,
.widget_categories li a:hover::before{
  width: 8px;
}

/* =========================================================
   見出しタイポ強化 (H1 / H2 / H3)
   ========================================================= */

:where(.post_content, .l-mainContent) :is(h1, h2, h3){
  font-feature-settings: "palt" 1;
  text-wrap: balance;
}

/* ---------- H1: メディア紹介 (gradient text + 細バー) ---------- */
:where(.post_content, .l-mainContent) h1,
.p-articleTitle h1,
.l-mainContent .entry-title{
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--c-ink);
  margin: 0 0 .5em;

  background: linear-gradient(120deg, #0a1929 0%, #15805a 55%, #0bb3d6 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
/* H1: 古いブラウザ向けフォールバック */
@supports not ((-webkit-background-clip: text) or (background-clip: text)){
  :where(.post_content, .l-mainContent) h1,
  .p-articleTitle h1,
  .l-mainContent .entry-title{
    background: none;
    color: var(--c-ink);
    -webkit-text-fill-color: currentColor;
  }
}
:where(.post_content, .l-mainContent) h1::after,
.p-articleTitle h1::after{
  content: "";
  display: block;
  width: 56px; height: 3px;
  background: var(--c-forest);
  margin-top: .6em;
  border-radius: 2px;
}

/* ---------- H2: セクション見出し (縦バー + 極細アンダーライン) ---------- */
:where(.post_content, .l-mainContent) h2{
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--c-ink);
  padding: 0 0 .5em 14px;
  margin: 2.4em 0 1.2em;
  border-bottom: 1px solid var(--c-line);
}
/* ---------- H3: サブ見出し (アクセント色チップ) ---------- */
:where(.post_content, .l-mainContent) h3{
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-ink);
  margin: 2em 0 .8em;
  display: flex;
  align-items: center;
  gap: 10px;
}
:where(.post_content, .l-mainContent) h3::before{
  content: "";
  flex: 0 0 auto;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--c-cyan);
  transform: translateY(0);
}

/* =========================================================
   reduced motion: 動きを抑え、色/影だけ残す
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  .p-postList__link,
  .c-postCard,
  .c-postCard__thumb img,
  .p-postList__thumb img,
  .post_thumbnail img,
  .swell-block-button a,
  .wp-block-button__link,
  .p-fixBtn__btn,
  .c-gnav a::after,
  .l-header__menu a::after,
  .widget li a,
  .p-archiveList a{
    transition-duration: 0ms !important;
    transform: none !important;
  }
  .p-postList__link:hover,
  .c-postCard:hover{
    transform: none;
  }
  .c-postCard__thumb img,
  .p-postList__thumb img,
  .post_thumbnail img{
    filter: none !important;
  }
}

/* =========================================================
   タッチデバイス: ホバー演出を無効化(誤発火防止)
   ========================================================= */
@media (hover: none){
  .p-postList__link:hover,
  .c-postCard:hover,
  .p-postList .p-postList__link:hover{
    transform: none;
    box-shadow: 0 1px 3px rgba(10,25,41,.06);
  }
  .p-postList__link:hover .c-postCard__thumb img,
  .c-postCard:hover .c-postCard__thumb img,
  .p-postList__link:hover .p-postList__thumb img,
  .c-postCard:hover .p-postList__thumb img{
    transform: none;
    filter: none;
  }
  .p-postList__link:hover .c-postCard__thumb::after,
  .c-postCard:hover .c-postCard__thumb::after,
  .p-postList__link:hover .p-postList__thumb::after,
  .c-postCard:hover .p-postList__thumb::after{
    opacity: 0;
  }
  a{ -webkit-tap-highlight-color: rgba(21,128,90,.08); }
}
