/*
Theme Name: Oltana 002 Child
Template: oltana-002
Version: 1.0.0
*/

/* ============================================================
   Site-wide base styles (restored from customizer CSS)
   ============================================================ */

/* === スクロールバー幅によるレイアウトずれ防止 === */
html {
	scrollbar-gutter: stable;
}

/* === Header === */
.ol-header {
	padding: 0 20px 0 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	position: relative !important;
	width: 100% !important;
	height: 80px;
	box-sizing: border-box !important;
}

/* 下層ページ: ヘッダー背景透過 */
body:not(.home) .ol-header {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
}
/* 下層ページ: ナビのピル型白背景を解除 */
body:not(.home) .custom-global-nav .custom-global-nav-list {
	background: transparent !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

.ol-header__title-anchor {
	height: 80px;
	flex-shrink: 0;
}
.ol-header__title-logo {
	position: absolute;
	top: 20px;
	left: 20px;
	max-width: 190px;
	margin: 0;
}
/* === Header Nav: リンクスタイル（menu.css のフォールバック） === */
.custom-global-nav .custom-global-nav-list a {
	text-decoration: none;
	color: #000 !important;
}
.custom-global-nav .custom-global-nav-list a:hover,
.custom-global-nav .custom-global-nav-list a:visited,
.custom-global-nav .custom-global-nav-list a:active {
	text-decoration: none;
	color: #000 !important;
}
/* PCだけ（1024px～） */
@media (min-width: 1024px) {
    .ol-header__menu-area {
        display: flex;
        align-items: center;
        margin-left: auto;
        flex-shrink: 0;
    }
    .custom-global-nav {
        position: static !important;
    }
    .custom-global-nav .custom-global-nav-list {
        display: flex;
        gap: 24px;
        list-style: none;
        margin: 0 !important;
        padding: 12px 32px !important;
        background: rgba(255, 255, 255, 0.88) !important;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-radius: 40px !important;
    }
}

/* === PC: ドロップダウンメニュー === */
@media (min-width: 1024px) {
  /* ヘッダーの contain: paint がドロップダウンを切る → 解除 */
  .ol-header {
    contain: style !important;
    overflow: visible !important;
  }

  /* サブメニューを非表示 */
  .custom-global-nav .custom-global-nav-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 100;
  }

  /* ホバーで表示 */
  .custom-global-nav .custom-global-nav-list > li:hover > .sub-menu {
    display: block;
  }

  /* サブメニューリンク */
  .custom-global-nav .custom-global-nav-list .sub-menu li a {
    display: block;
    padding: 8px 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background-color 0.15s;
  }

  .custom-global-nav .custom-global-nav-list .sub-menu li a:hover {
    background-color: #f5f5f5;
  }
}

.ol-header__title-logo {
}
/* スマホだけ（～767px） */
@media screen and (max-width: 767px) {
.ol-header {
		width: 100%;
}
		.ol-header__title-logo {
				max-width: 190px;
        display: flex;
        justify-content: space-evenly;
}
}
/* スマホ～タブレットだけ（767px～） */
@media screen and (min-width: 767px) {
.ol-header {
		width: 100%;
}
		.ol-header__title-logo {
		max-width:190px;
}
}

@media screen and (min-width: 767px) {
    .ol-header {

    }
}
@media (max-width: 1023px) {
    .um-hamburger-wrap {
        position: relative;
        z-index: 1001;
    }
}

/*ハンバーガーメニュー*/
.um-hamburger {
    position: relative;
    top: -10px;
    right: 30px;
}
/*パンくず*/


/*TOPページお知らせ欄*/

@media (max-width: 767px) {
    .ol-news__meta {
        margin-bottom: 1rem;
    }
}


/* === Compare table additions === */
/* 横スクロールの包み枠 */
.um-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.um-table--compare {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 720px;
  margin: 1rem 0;
}

/* セル共通：必ず折り返す（英数や長文も） */
.um-table--compare th,
.um-table--compare td {
  padding: .6rem .75rem;
  vertical-align: top;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* ヘッダー行もsticky */
.um-table--compare thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  font-weight: 700;
  text-align: center;
}

/* 左列固定（全ブレイクポイント） */
.um-table--compare tbody th[scope="row"],
.um-table--compare tbody td[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 2;
  /*background: #f99500; */
  color:#454545;
  box-shadow: 1px 0 0 #e5e5e5 inset;
}

.um-table--compare tbody tr:nth-child(odd) {
  background-color: #fff;
}

/* === スマホ表示改善（v1.7.7追加） === */
/* スマホ時も左列固定とセル内改行を両立 */
@media (max-width: 768px) {
  .um-table--compare tbody th[scope="row"],
  .um-table--compare tbody td[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 2;
    /*background: #f99500;*/
			color:#454545;
    white-space: normal;
    word-break: break-word;
    max-width: 140px;
    overflow-wrap: anywhere;
  }
}


/* === 恒久対応：比較表＆入力UI＆診断結果強調＆デバッグ行非表示 === */

/* 比較表のPC横スクロール＋左列sticky＋長文折返し（全ブレイクポイントで有効） */
.um-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.um-table--compare {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;   /* 固定幅で潰れない */
  min-width: 720px;     /* 多列でも横スクロール */
}

.um-table--compare th,
.um-table--compare td {
  min-width: 160px;
  vertical-align: top;
  white-space: normal;     /* 折返し許可 */
  word-break: break-word;  /* 長い語も折返し */
  overflow-wrap: anywhere; /* どこでも折返し */
  padding: .5rem .75rem;
  border: 1px solid #e5e5e5;
}

.um-table--compare thead th {
  position: sticky; top: 0; z-index: 3;
  background: #ffb74c;
  color: #454545;
  text-align: center;
}

.um-table--compare [scope="row"] {
  position: sticky; left: 0; z-index: 2;
  background: #ffb74c;
  color: #454545;
  box-shadow: 1px 0 0 #e5e5e5 inset;
}

.um-table--compare tbody tr:nth-child(odd){ background:#fff; }


/* ===== Chart & Table ===== */
.um-chart canvas{
  width:100%;
  height:320px;
  display:block;
  }
.um-table{
  width:100%;
  border-collapse:collapse
  }
.um-table th,.um-table td{
  border:1px solid #e5e5e5;
  padding:.5rem .5rem;
  text-align:left;
  }
.um-table th{
  /*background:#F99500;*/
cursor:pointer;
}
.um-table th[aria-sort="ascending"]::after{content:" \25B2";font-size:.85em}
.um-table th[aria-sort="descending"]::after{content:" \25BC";font-size:.85em}


/* 比較表（全ブレイクポイントで左列固定＋横スクロール） */
.um-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.um-table--compare {
  border-collapse: separate;     /* sticky安定化 */
  border-spacing: 0;
  table-layout: auto;            /* 可読性優先（固定幅での潰れを回避） */
  min-width: 720px;              /* 列が多くても横スクロール */
}

.um-table--compare th,
.um-table--compare td {
  min-width: 160px;
  vertical-align: top;
  white-space: normal;          /* 必ず折り返す */
  word-break: break-word;       /* 長文を折り返す */
  overflow-wrap: anywhere;      /* 英数も折り返す */
  padding: .5rem .75rem;
}

/* 見出し行：常に上に固定 */
.um-table--compare thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  /*background: #F99500; */
  text-align: center;
}

/* 左端列：常に固定（全ブレイクポイント） */
.um-table--compare [scope="row"] {
  position: sticky;
  left: 0;
  z-index: 2;          /* ヘッダ(3)より低く、他セルより高く */
  background: #fff;
  box-shadow: 1px 0 0 #e5e5e5 inset; /* 視認性の縁 */
}

/* ゼブラ行（プロンプトのdeltaと重複可・後勝ちで調整） */
.um-table--compare tbody tr:nth-child(odd){
  background:#F0F0F0;
  }

/* === スマホ表示改善（v1.7.7追加） === */
/* スマホ時に比較表の左列固定とセル内改行を両立 */
@media (max-width: 768px) {
  .um-table--compare th[scope="row"],
  .um-table--compare td[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 2;
    /*background: #fff;*/
    white-space: normal; /* 改行を許可 */
    word-break: break-word; /* 長文を折り返す */
    max-width: 140px; /* 左列の最大幅を制限 */
    overflow-wrap: anywhere;
  }
}

/* === UM delta overrides === */
.um-box{
  margin:.75rem 0;
  padding:.5rem 0;      /* 最小限 */
  border:none;
  background:transparent;
  line-height:1.7;
}
.um-title{
  margin:0 0 .5rem;
  font-size:1.05rem;
  font-weight:700;
  }

/* テーブル基本スタイル */
.um-table{
  width:100%;
  border-collapse:collapse; }
.um-table th,.um-table td{
padding:.5rem .5rem;
}
.um-table th{
  text-align:center;
  cursor:default;
}

/* 項目列（1列目）のみオレンジで色分け、ゼブラ行は廃止 */
.um-table tbody td:first-child{
  /*background:#f99500;*/
  color:#454545;
  font-weight:600;
  }
.um-table tbody td:not(:first-child){
  /*background:#fff;*/
  }


/* ─────────────────────────────────
   目次（ez-toc）
────────────────────────────────── */
#ez-toc-container {
  border-top: 5px solid #666;
  border-bottom: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-right: 1px solid #DDD;
}
#ez-toc-container ul ul,
.ez-toc div.ez-toc-widget-container ul ul{
  margin-left: 1em;
  margin-bottom: 1rem;
}
.ez-toc-wrap-left  {
		margin: 3rem auto 3rem 0 !important;/* 目次のプラグイン */
}
#ez-toc-container li {
    margin: 0 0 0.4rem 0.4rem!important;
}
/* ─────────────────────────────────
   記事見出し
────────────────────────────────── */
h2.wp-block-heading {
margin:2rem 0;
}
/* ─────────────────────────────────
   記事CODE部分
────────────────────────────────── */
.wp-block-code {
   padding: 1rem!important;
}
/* ─────────────────────────────────
   記事上 SNS/著者ブロック
────────────────────────────────── */
.c-btn--sns{
  gap: 0 3px;
  margin: 16px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.l-container__col_2{
  overflow: hidden;
  line-break: strict;
  box-sizing: border-box;
  padding-top: 3rem;
  max-width: 980px;
  display: block;
  justify-content: center;
  margin: 0 auto;
}
.c-btn--sns{
  width: 100%;
  margin: 0 auto 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.c-btn--sns__author a{
  color:#1a1a1a;
  display:flex;
  align-items:center;
  gap:4px;
  text-decoration:none;
  font-size:14px;
}
.c-btn--sns__author img{
  border-radius:50%;
  width:44px;
  height:44px;
  aspect-ratio:1/1;
  object-fit:cover;
  margin-right:10px;
}
*, :after, :before{ box-sizing:border-box; }
.c-btn--sns .share-pc{ display:flex; gap:0 3px; justify-content:flex-end; }
@media (min-width:768px){ .c-btn--sns__item{ margin:.8rem; } }
/* ─────────────────────────────────
   記事診断ツール装飾
────────────────────────────────── */
.um-box{
border:10px solid #F99500;
padding:1rem;
}
/* ─────────────────────────────────
   パンくず下の余白調整・見出し余白調整
────────────────────────────────── */
body:not(.home) .ol-breadcrumb__wrapper{
  margin-top:0px !important;
  padding-top:4px !important;
}
@media (max-width:1080px){
  body:not(.home) .ol-breadcrumb__wrapper{ margin-top:0px !important; }
}
body:not(.home) .ol-breadcrumb__wrapper + main{
  padding-top:40px !important;
  margin-top:0 !important;
}
body:not(.home) main .ol-archive__title,
body:not(.home) main .ol-archive__title *,
body:not(.home) main .ol-article__title{
  margin-top:0 !important; padding-top:0 !important;
}
body:not(.home) main .ol-article__inner,
body:not(.home) main .ol-article__body,
body:not(.home) main .ol-content-frame{
		padding-top:0 !important;
				padding-left:10px !important;
				padding-right:10px !important;
		margin-top:0 !important;
}
body.archive main .ol-archive__title,
body.blog    main .ol-archive__title,
body.category main .ol-archive__title{
  padding-top:0 !important; margin-top:0 !important;
}
body.page .tab{ margin-top:12px !important; }
/* ─────────────────────────────────
   記事タイトル（H1）サイズ調整
────────────────────────────────── */
body.single .ol-article__title {
  font-size: clamp(22px, 1.125rem + 0.8vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
/* 記事ヘッダーメタ（テンプレート側でum-article-header-metaに変更済み） */
.um-article-header-meta .ol-article-time {
  display: inline !important;
}
body.single .ol-article__tag {
  text-align: center;
}
body.single .ol-article__tag-list {
  justify-content: center;
}

/* ─────────────────────────────────
   記事本文：白背景+可読性改善（GLOSSARY_DESIGN_RULES準拠）
────────────────────────────────── */
/* 上部スペース */
.ol-article__body {
  padding-top: 24px;
}
.ol-article__inner {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
/* H2がはみ出さないようにマージン調整 */
.ol-article__content h2 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.ol-article__content {
  font-size: 15px;
  line-height: 1.7;
  color: #1a1a1a;
  padding: 48px 52px;
}
@media (max-width: 1023px) {
  .ol-article__content {
    padding: 40px 36px;
  }
}
@media (max-width: 540px) {
  .ol-article__content {
    padding: 32px 24px;
  }
}
.ol-article__content p {
  line-height: 1.7;
  margin: 0 0 34px;
}
.ol-article__content a {
  color: #1a6fb5;
  text-decoration: underline;
  text-decoration-color: #999;
  text-underline-offset: 3px;
  font-weight: 500;
}
.ol-article__content a:hover {
  color: #0d4f8b;
}
.ol-article__content h2 {
  color: #0a1628;
}
h2.wp-block-heading {
  background-color: #37357a !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 12px 20px !important;
  border: none !important;
  margin-left: 0 !important;
  font-size: clamp(18px, 0.9rem + 0.5vw, 24px) !important;
  margin-right: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
h3.wp-block-heading {
  border-bottom-width: 3px !important;
  font-size: 19px !important;
}
@media (max-width: 540px) {
  h2.wp-block-heading {
    margin-bottom: 24px !important;
  }
}

/* ─────────────────────────────────
   本文内リスト：丸点/番号 復活
────────────────────────────────── */
.ol-article__content ul,
.ol-article__content .wp-block-list{
/*  list-style: disc outside !important;*/
    margin: 0 1rem 1rem 1.4rem;
   /*line-height: 1.8rem;*/
		padding:0 !important;
}
.ol-article__content ol{
/*  list-style: decimal outside !important;*/
  margin:0em 0 1em 1em !important;
}
.ol-article__content li{ margin:0 0 1rem 0 !important; }
.ol-article__content ul.oltana-list.is-style-oltana-checkmark,
.ol-article__content ul.oltana-list.is-style-oltana-checkmark-square{
  list-style:none !important;
}
@media (max-width:540px){
  .ol-article__content,
  .ol-article__content p,
  .ol-article__content li{ line-height:1.8 !important; }
  html{ -webkit-text-size-adjust:100%; }
}
.ol-article__content ul ul,
.ol-article__content ol ol{ margin-left:1rem !important; }
.ol-article__content ol{ list-style-position: outside !important;}
/*.ol-article__content li::marker{ display:none;}*/
.ol-article__content p + ul,
.ol-article__content p + ol{ margin-top:.5em !important; }
/* ─────────────────────────────────
   カード型一覧（/column/ 等）※ Hypothesis 除外
────────────────────────────────── */
body:not(.post-type-archive-hypothesis) .ol-card-item-info{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:flex-start;
  gap:0.75rem;
		margin: 0.5rem 0;
}
body:not(.post-type-archive-hypothesis) .ol-card-item-info .ol-card-item-dates{
  order:unset;
  width:auto;
  margin:0;
  display:inline-flex;
  align-items:center;
  /*gap:0.5rem;*/
  white-space:nowrap;
}
body:not(.post-type-archive-hypothesis) .ol-card-item-info .ol-separator{
  display:none;
  width:1px;
  height:14px;
  background:rgba(51,51,51,.3);
  /*margin:0 .4rem;*/
  border:0;
}
body:not(.post-type-archive-hypothesis) .ol-card-item-info .ol-card-item-category{
  order:unset;
  float:none !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 6px !important;
  border-radius:999px !important;
  line-height:1 !important;
  white-space:nowrap !important;
  background-color:#333 !important;
  color:#fff !important;
  border:none !important;
}
body:not(.post-type-archive-hypothesis) .ol-card-item-info .ol-card-item-category a{
  color:#fff !important;
  text-decoration:none !important;
}
/* ─────────────────────────────────
   記事詳細のメタ（/single/）
────────────────────────────────── */
.ol-article__meta{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  column-gap:1rem !important;
  row-gap:.25rem !important;
  flex-wrap:wrap !important;
}
.ol-article__meta .ol-article-dates{
  display:inline-flex !important;
  align-items:center !important;
  gap:.5rem !important;
  white-space:nowrap !important;
}
.ol-article__category{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  float:none !important;
  padding:4px 12px !important;
  border-radius:999px !important;
  line-height:1 !important;
  white-space:nowrap !important;
  background-color:#333 !important;
  color:#fff !important;
  border:none !important;
}
.ol-article__category a{
  color:#fff !important;
  text-decoration:none !important;
}
/* single-hypothesis のメタ横並び */
body.single-hypothesis .ol-article__meta {
  display:flex !important;
  flex-direction:row !important;
  align-items:center;
  justify-content:center !important;
  column-gap:1rem; row-gap:.25rem; flex-wrap:wrap;
}

/* single-post(column) のメタ縦並び (投稿日→改行→カテゴリー) */
body.single-post .ol-article__meta,
body.single-column .ol-article__meta {
  display:flex !important;
  flex-direction:column !important;
  align-items:center;
  justify-content:center !important;
  gap: 16px; 
}
body.single-hypothesis .ol-article__meta .ol-article-dates,
body.single-post .ol-article__meta .ol-article-dates,
body.single-column .ol-article__meta .ol-article-dates {
  display:inline-flex !important; align-items:center; gap:0; white-space:nowrap;
}
body.single-post .ol-article__header,
body.single-column .ol-article__header {
  text-align: center !important;
}
/* タグリストの中央寄せ (コラム等) */
body.single-post .ol-article__tag,
body.single-column .ol-article__tag {
  display:flex !important;
  flex-wrap:wrap;
  justify-content:center !important;
}
/* === /hypothesis/ をコラムTOPと同じカードグリッド(3カラム)に === */
body.post-type-archive-hypothesis .ol-card-list{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0,1fr)) !important;
  gap:40px 32px !important;
}
@media (max-width:1024px){
  body.post-type-archive-hypothesis .ol-card-list{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }
}
@media (max-width:540px){
  body.post-type-archive-hypothesis .ol-card-list{
    grid-template-columns:1fr !important;
  }
}
/* 各カードは"縦積み"：画像→メタ→タイトル */
body.post-type-archive-hypothesis .ol-card-item-link{
  display:block !important;               /* ← 2カラム化をリセット */
}
body.post-type-archive-hypothesis .ol-card-item-image{
  width:100% !important;
  aspect-ratio:16 / 9 !important;
  overflow:hidden !important;
  margin:0 0 12px !important;
  padding-top:0 !important;
  border-radius: 8px;
}
body.post-type-archive-hypothesis .ol-card-item-image img{
  width:100% !important; height:100% !important; object-fit:cover !important;
}
body.post-type-archive-hypothesis .ol-card-item-info{
  display:inline-flex !important;
  align-items:center !important;
  gap:.75rem !important;
  flex-wrap:wrap !important;
  margin:0 0 6px !important;
}
/* タイトルは横書き・装飾オフ（縦線/縦書きを殺す） */
body.post-type-archive-hypothesis .ol-card-item-title,
body.post-type-archive-hypothesis .ol-card-item-title *{
  writing-mode:horizontal-tb !important;
}
body.post-type-archive-hypothesis .ol-card-item-title{
  border:0 !important; padding:0 !important; margin:0 !important;
}
/* ====== /hypothesis/ 一覧：カードを完全に横書き＆縦線装飾OFF ====== */
/* 1) カード全体と子孫の縦書き・回転を完全リセット */
body.post-type-archive-hypothesis .ol-card-item,
body.post-type-archive-hypothesis .ol-card-item *{
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  transform: none !important;
  rotate: 0 !important;
}
/* 2) 左の縦線など、カードレベルの疑似要素装飾を無効化 */
body.post-type-archive-hypothesis .ol-card-item::before,
body.post-type-archive-hypothesis .ol-card-item::after,
body.post-type-archive-hypothesis .ol-card-item-link::before,
body.post-type-archive-hypothesis .ol-card-item-link::after{
  content: none !important;
  display: none !important;
  border: 0 !important;
}
/* 3) カードが固定px幅で狭くならないよう保険 */
body.post-type-archive-hypothesis .ol-card-item{
  width: auto !important;
  max-width: none !important;
}
/* 4) グリッドは3→2→1カラム（コラムTOPと同じ構成） */
body.post-type-archive-hypothesis .ol-card-list{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: 40px 32px !important;
}
@media (max-width:1024px){
  body.post-type-archive-hypothesis .ol-card-list{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}
@media (max-width:540px){
  body.post-type-archive-hypothesis .ol-card-list{
    grid-template-columns: 1fr !important;
  }
}
/* 5) カードの中身は縦積み：画像 → メタ → タイトル */
body.post-type-archive-hypothesis .ol-card-item-link{
  display: block !important;
}
body.post-type-archive-hypothesis .ol-card-item-image{
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  margin: 0 0 12px !important;
  padding-top: 0 !important;
  border-radius: 8px;
}
body.post-type-archive-hypothesis .ol-card-item-image img{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
/* メタ行は横並び（足りなければ折返し） */
body.post-type-archive-hypothesis .ol-card-item-info{
  display: inline-flex !important;
  align-items: center !important;
  gap: .75rem !important;
  flex-wrap: wrap !important;
  margin: 0 0 6px !important;
}
body.post-type-archive-hypothesis .ol-card-item-info .ol-separator{
  display: inline-block !important;
  width: 1px !important;
  height: 14px !important;
  background: rgba(51,51,51,.3) !important;
  border: 0 !important;
}
/* タイトルは横書き・装飾OFF（縦線/縦書きを殺す） */
body.post-type-archive-hypothesis .ol-card-item-title,
body.post-type-archive-hypothesis .ol-card-item-title *{
  writing-mode: horizontal-tb !important;
}
body.post-type-archive-hypothesis .ol-card-item-title{
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
body:not(.post-type-archive-hypothesis) .ol-card-item-info .ol-card-item-category,
body:not(.post-type-archive-hypothesis) .ol-card-item-info .ol-card-item-category a,
body.post-type-archive-hypothesis .ol-card-item-info .ol-card-item-category,
body.post-type-archive-hypothesis .ol-card-item-info .ol-card-item-category a,
.ol-card-item-category,
.ol-card-item-category a,
.ol-article__category,
.ol-article__category a,
.ol-blog-category,
.ol-blog-category a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:4px 12px !important;
  border-radius:999px !important;
  line-height:1 !important;
  white-space:nowrap !important;
  background-color:#333 !important;
  color:#fff !important;
  border:none !important;
  font-size: clamp(12px, 0.75rem + 0vw, 12px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  text-decoration:none !important;
}
/* === パンくず：はみ出す時は横スクロール／常に1行（サイト全体） === */
/* 包む箱は高さを固定せず、横だけ隠し・子のスクロールを許可 */
body .ol-breadcrumb__wrapper{
  overflow: hidden;           /* 擬似要素のグラデ演出入れるなら必要。なくてもOK */
}
/* リストを1行・横スクロールに */
body .ol-breadcrumb__wrapper .ol-breadcrumb__list{
  display: flex !important;
  flex-wrap: nowrap !important;
  /*gap: .4rem !important;       区切りが擬似要素なら残してOK */
  white-space: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;  /* スマホでスッとスクロール */
  max-width: 110%;
  padding-bottom: .25rem;      /* スクロールバーが被らない微調整 */
  margin-bottom: -.25rem;
  scrollbar-width: thin;       /* Firefox */
  scrollbar-color: rgba(0,0,0,.25) transparent;
		height: 2rem;
}
/* WebKit スクロールバー（お好みで） */
body .ol-breadcrumb__wrapper .ol-breadcrumb__list::-webkit-scrollbar{
  height: 8px;
}
body .ol-breadcrumb__wrapper .ol-breadcrumb__list::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.25);
  border-radius: 4px;
}
/* アイテムは折り返さず"横に流す" */
body .ol-breadcrumb__wrapper .ol-breadcrumb__item{
  flex: 0 0 auto !important;
  min-width: 0;               /* 長いタイトルでも親を押し広げない */
}
/* アンカーも必ず1行 */
body .ol-breadcrumb__wrapper .ol-breadcrumb__anchor{
  display: inline-block !important;
  white-space: nowrap !important;
  max-width: none !important; /* テーマ側でのmax-width制限を解除 */
}
/* 参考サイトのような .breadcrumb__list を使うページが将来混在しても効くように薄くカバー */
body .breadcrumb .breadcrumb__list{
  display:flex; flex-wrap:nowrap; white-space:nowrap;
  overflow-x:auto; overflow-y:hidden; -webkit-overflow-scrolling:touch;
}
body .breadcrumb .breadcrumb__item{ flex:0 0 auto; min-width:0; }
/* ───────────────────────────────
   パンくず：全ページ共通
   ・1行固定＋横スクロール
   ・右端までギリギリ表示（右余白をカット）
   ─────────────────────────────── */
.ol-breadcrumb__wrapper.ol-content-frame{
  padding: 0 !important;
}
/* 横スクロール＆1行固定（矢印/区切りも横並び維持） */
.ol-breadcrumb__list{
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap !important;
  gap: 0 !important;
  /* iOS のセーフエリアに配慮して、右端だけ安全パディングを給付 */
  padding-right: env(safe-area-inset-right, 0px);
}
/* スクロールバー非表示（必要なら外してください） */
.ol-breadcrumb__list::-webkit-scrollbar{ display:none; }
.ol-breadcrumb__list{ scrollbar-width: none; }
/* 最後の項目の余白／区切りを消して、右端まで詰める */
.ol-breadcrumb__item:last-child{
  margin-right: 0 !important;
  padding-right: 0 !important;
}
.ol-breadcrumb__item:last-child::after{
  content: none !important;
}
/* ───────── パンくず：横スクロール＋「>」区切り（全体適用） ───────── */
/* 1) 外枠に横スクロールを付与 */
.ol-breadcrumb__wrapper{
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
}
/* 2) 中身は横一列に */
.ol-breadcrumb__list{
  display: inline-flex !important;
  white-space: nowrap !important;
  align-items: center;
  gap: 4 !important;
  padding-bottom: 12px;
}
/* 3) テーマ既定の区切りや縦線・擬似要素は無効化（干渉対策） */
.ol-breadcrumb__item::after,
.ol-breadcrumb__item .ol-separator{
  content: none !important;
  display: none !important;
}
/* 4) アイテムは行内フレックスで揃える */
.ol-breadcrumb__item{
  display: inline-flex !important;
  align-items: center;
			position: relative!important;
  left: 20px!important;
   z-index: 10!important;
}
/* 5) 2つ目以降のアイテムの手前に「>」を描画（疑似要素で） */
.ol-breadcrumb__item:not(:first-child)::before{
  content: "";
  display: inline-block;
  width: .5em;
  height: .5em;
  border-top: 1px solid #666666;
  border-right: 1px solid #666666;
  transform: rotate(45deg);
  margin: 0 .7rem 0 -.7rem ; /* 「>」の前後スペース */
  flex: 0 0 auto;
}
/* PCだけ（1024px～） */
@media screen and (min-width: 1024px) {
.ol-breadcrumb__item:not(:first-child)::before{
  content: "";
  display: inline-block;
  width: .5em;
  height: .5em;
  border-top: 1px solid #666666;
  border-right: 1px solid #666666;
  transform: rotate(45deg);
  margin: 0 1rem 0 1rem ; /* 「>」の前後スペース */
  flex: 0 0 auto;
}
}
/* 6) アンカーは1行内に収める（折返し抑止） */
.ol-breadcrumb__anchor{
  display: inline-block !important;
  white-space: nowrap !important;
    display: inline;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
/* 7) スクロールバーの見た目（WebKit系 / 任意） */
.ol-breadcrumb__wrapper::-webkit-scrollbar{ height: 6px; }
.ol-breadcrumb__wrapper::-webkit-scrollbar-track{ background:#eee; }
.ol-breadcrumb__wrapper::-webkit-scrollbar-thumb{
  background:#cfcfcf; border-radius: 999px;
}
/* 9) スマホで"常時横スクロール"をより確実に */
@media (max-width: 768px){
  .ol-breadcrumb__wrapper{
    overflow-x: auto !important;
  }
}
/* スマホだけ（～767px） */
@media screen and (max-width: 767px) {
.ol-breadcrumb__item:nth-child(n+2){
  margin: 0 22px 0 0px;
}
		.ol-breadcrumb__item{
				height:2rem;
  position: relative;
  display: inline-flex !important;
  align-items: center;
			position: relative!important;
  left: 20px!important;
   z-index: 10!important;
}
}
/* iOSブラウザだけに適用（iPhone/iPad 両方）*/
@supports (-webkit-touch-callout: none) and (-webkit-overflow-scrolling: touch) {
  .ol-breadcrumb__item:nth-child(1)
		{
				margin:0 0 0 2rem;
		}
.ol-breadcrumb__item{
  display: inline-flex !important;
  align-items: center;
			position: relative!important;
  left: -15px!important;
   z-index: 10!important;
}
		.ol-breadcrumb__item:nth-child(n+2){
  margin: 0 2px 0 22px;
}
}
/* === Footer: 背景色（menu.css のフォールバック） === */
.ol-footer {
	background-color: #333 !important;
}
.ol-footer__section{
}
.ol-footer__nav-row {
margin-bottom:1rem;
}
/* リストの初期化と横並び */
.ol-footer__nav {
margin-bottom:2rem;
}
.ol-footer__nav-list,
.ol-footer__nav-list li{
  margin:0; padding:0;
		list-style:none;
}
.ol-footer__nav-list{
		display:flex;
		flex-wrap:wrap;
		gap: 12px 35px;
		font-size: 0.8rem;
		font-weight: lighter;
}
/* サブメニューは常に表示（フッターはアコーディオンにしない） */
.ol-footer__nav .sub-menu{
  display:block; margin:.25rem 0 0 0; padding:0;
}
.ol-footer__nav .sub-menu li{ margin-top:.25rem; }
/* === Footer: リンク色（新実装 .ol-footer__nav） === */
.ol-footer__nav a,
.ol-footer__nav a:link,
.ol-footer__nav a:visited{
  color:#fff;                   /* 白文字 */
  text-decoration:none;
}
.ol-footer__nav a:hover,
.ol-footer__nav a:focus-visible{
  color:#FFD18D;                /* 既存トーンに合わせたホバー色 */
  text-decoration:underline;
}
/* spanに色を継承させる（link_before/link_afterの対策） */
.ol-footer__nav .ol-footer__nav-text{ color:inherit; }
/* === Footer: リンク色（旧実装 .ol-footer__links もケア） === */
.ol-footer__links a,
.ol-footer__links a:link,
.ol-footer__links a:visited{
  color:#fff;
}
.ol-footer__links a:hover,
.ol-footer__links a:focus-visible{
  color:#FFD18D;
  text-decoration:underline;
}
/* === ホーム専用の強制リセット === */
.home .ol-footer__nav a,
.home .ol-footer__nav a:link,
.home .ol-footer__nav a:visited,
.home .ol-footer__links a,
.home .ol-footer__links a:link,
.home .ol-footer__links a:visited{
  color:#fff !important;
}
/* コピーライトの可読性も明示 */
.ol-footer__copyright-text{ color:#fff; opacity:.9; }
body:not(.post-type-archive-hypothesis) .ol-card-item-image,
body.home .ol-card-item-image,
body.blog .ol-card-item-image,
body.archive .ol-card-item-image,
body.category .ol-card-item-image,
body.tag .ol-card-item-image,
body.search .ol-card-item-image{
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden;
  border-radius: 8px;
}
body:not(.post-type-archive-hypothesis) .ol-card-item-image img,
body.home .ol-card-item-image img,
body.blog .ol-card-item-image img,
body.archive .ol-card-item-image img,
body.category .ol-card-item-image img,
body.tag .ol-card-item-image img,
body.search .ol-card-item-image img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
/* TOPページの考察ラボカード画像を16:9で固定 */
body.home #ol-section-hypothesis .ol-card-item-image {
  aspect-ratio: 16 / 9 !important;
  overflow: hidden;
  border-radius: 8px;
}
body.home #ol-section-hypothesis .ol-card-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.um-supervisor{margin:18px 0}
.um-supervisor__wrap{display:flex;align-items:flex-start;gap:14px}
.um-supervisor__avatar img{width:48px;height:48px;border-radius:50%;object-fit:cover;display:block}
.um-supervisor__title{margin:0 0 4px 0;font-size:14px;font-weight:700;color:#1a1a1a}
.um-supervisor__comment{margin:0;font-size:14px;line-height:1.7;color:#333;background:#fafafa;border:1px solid #efefef;padding:10px 12px;border-radius:8px}
@media (max-width:680px){.um-supervisor__avatar img{width:44px;height:44px}.um-supervisor__title{font-size:13px}.um-supervisor__comment{font-size:13.5px}}
/* 投稿の冒頭にある想定読者 */
.target {
background-color: #f8f9fa;
padding: 1.5rem;
border-left: 4px solid #f99500;
margin-bottom: 2rem;
}
.target p {
margin:0;
}
/* ===== 比較テーブル（.um-table--compare）用：重なり順と背景の調整 ===== */
.um-table--compare thead th:first-child {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 7;
  background: #ffb74c;
  color: #454545;
  box-shadow: 1px 0 0 #e5e5e5 inset, 0 1px 0 #e5e5e5 inset;
}
.um-table--compare thead th {
  z-index: 5;
}
.um-table--compare [scope="row"] {
  z-index: 4;
  background: #ffb74c;
  box-shadow: 1px 0 0 #e5e5e5 inset;
}
/* ===== WordPress標準テーブル（.wp-block-table）にも同仕様を適用 ===== */
.wp-block-table thead th:first-child {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 7;
  background: #ffb74c;
  color: #454545
}
.wp-block-table thead th { z-index: 5; }
.wp-block-table tbody th:first-child,
.wp-block-table tbody td:first-child {
  z-index: 4;
  background: #ffb74c;
}
.wp-block-table thead {
    border-bottom: 4px solid #FFF;
}
.wp-block-table th {
		border: 4px solid #FFF;
		background:#ffb74c;
}
.wp-block-table td {
		border: 4px solid #FFF;
		background:#F0F0F0;
}
/* 投稿画面のcodeのpadding */
.um-codecopy-wrap pre {
padding:1rem;
}

/* 投稿画面の本文にある1枚目の画像が小さくなる現象を防ぐ */
.wp-block-image { width: 100%; }

/*問い合わせフォームの入力欄の背景*/
.um-simple-form input[type="text"] {
background:#f2f2f2;
}
.um-simple-form input[type="email"] {
background:#f2f2f2;
}
 .um-simple-form input[type="tel"]{
background:#f2f2f2;
}
.um-simple-form textarea{
background:#f2f2f2;
}

/* プライバシー行：縦並び＆中央寄せ＆黒系統一 */
.um-simple-form .um-field--privacy {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  text-align: center !important;
}
.um-simple-form .um-field--privacy .um-privacy-link {
  width: 100% !important;
  text-align: center !important;
}
.um-simple-form .um-field--privacy .um-privacy-link a {
  color: #1a1a1a !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
}
.um-simple-form .um-field--privacy .um-privacy-check {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  color: #1a1a1a !important;
}
.um-simple-form .um-field--privacy .um-privacy-check span {
  color: #1a1a1a !important;
}

/* サンクス画面 */
.um-thanks-wrap {
  text-align: center;
  padding: 80px 20px 100px;
}
.um-thanks-main {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.45;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.um-thanks-sub {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
  margin: 0;
}
.um-thanks-booking {
  margin-top: 48px;
  padding: 32px 28px;
  background: #f5f5f5;
  border-radius: 12px;
  display: inline-block;
  max-width: 600px;
}
.um-thanks-booking p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
  margin: 0 0 12px;
}
.um-thanks-booking-btn {
  display: inline-block;
  background: #1a1a1a;
  color: #fff !important;
  padding: 18px 56px;
  border-radius: 60px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none !important;
}
.um-thanks-booking-btn:hover {
  background: #333;
  color: #fff !important;
}
@media (max-width: 768px) {
  .um-thanks-wrap { padding: 60px 16px 80px; }
  .um-thanks-main { font-size: 1.9rem; }
  .um-thanks-booking { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .um-thanks-main { font-size: 1.6rem; }
}


/* ============================================================
   Child theme specific styles
   ============================================================ */

/* /column/ (固定ページ表示) のカテゴリだけ横並び+中央寄せ */
body.page .ol-archive__template .ol-archive__category .ol-category__list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: clamp(12px, 2vw, 21px);
	margin-top: clamp(32px, 0.5454545455rem + 2.2727272727vw, 48px);
	padding: 0;
}

body.page .ol-archive__template .ol-archive__category .ol-category__item-anchor {
	margin-bottom: 0;
}

/* 固定ページ: H1 とサブタイトルのフォントサイズを入れ替える（位置はそのまま） */
body.page .ol-dual-heading__title.ol-heading-sub.ol-heading-large {
	font-size: clamp(22.5px, 0.7244318182rem + 1.0653409091vw, 30px);
	line-height: 1.4;
}
body.page .ol-dual-heading__subtitle.ol-heading.ol-heading-large {
	font-size: clamp(16px, 0.6363636364rem + 0.5681818182vw, 20px);
}
body.page .ol-dual-heading__title.ol-heading-sub.ol-heading-medium {
	font-size: clamp(45px, 1.9943181818rem + 1.2784090909vw, 54px);
}
body.page .ol-dual-heading__subtitle.ol-heading.ol-heading-medium {
	font-size: clamp(16px, 0.8181818182rem + 0.2840909091vw, 18px);
}
body.page .ol-dual-heading__title.ol-heading-sub.ol-heading-mini {
	font-size: clamp(35px, 1.2784090909rem + 1.4204545455vw, 45px);
}
body.page .ol-dual-heading__subtitle.ol-heading.ol-heading-mini {
	font-size: clamp(14px, 0.75rem + 0.2840909091vw, 16px);
}

@media (min-width: 1728px) {
	body.page .ol-dual-heading__title.ol-heading-sub.ol-heading-large {
		font-size: clamp(30px, -0.9538612565rem + 2.6178010471vw, 35px);
	}
	body.page .ol-dual-heading__subtitle.ol-heading.ol-heading-large {
		font-size: clamp(20px, -0.4473167539rem + 1.5706806283vw, 23px);
	}
	body.page .ol-dual-heading__title.ol-heading-sub.ol-heading-medium {
		font-size: clamp(60px, -1.9077225131rem + 5.2356020942vw, 70px);
	}
	body.page .ol-dual-heading__subtitle.ol-heading.ol-heading-medium {
		font-size: clamp(20px, -0.4473167539rem + 1.5706806283vw, 23px);
	}
	body.page .ol-dual-heading__title.ol-heading-sub.ol-heading-mini {
		font-size: clamp(30px, -6.6115837696rem + 7.8534031414vw, 45px);
	}
	body.page .ol-dual-heading__subtitle.ol-heading.ol-heading-mini {
		font-size: clamp(16px, 0.8181818182rem + 0.2840909091vw, 18px);
	}
}

@media (max-width: 767px) {
	body.page .ol-dual-heading__title.ol-heading-sub.ol-heading-large {
		font-size: clamp(21px, 1.2072743776rem + 0.3112033195vw, 22.5px);
	}
	body.page .ol-dual-heading__subtitle.ol-heading.ol-heading-large {
		font-size: clamp(14px, 0.8048495851rem + 0.2074688797vw, 15px);
	}
	body.page .ol-dual-heading__title.ol-heading-sub.ol-heading-medium {
		font-size: clamp(36px, 1.125rem + 5vw, 45px);
	}
	body.page .ol-dual-heading__subtitle.ol-heading.ol-heading-medium {
		font-size: clamp(14px, 0.8048495851rem + 0.2074688797vw, 15px);
	}
	body.page .ol-dual-heading__title.ol-heading-sub.ol-heading-mini {
		font-size: clamp(32px, 0.375rem + 7.2222222222vw, 45px);
	}
	body.page .ol-dual-heading__subtitle.ol-heading.ol-heading-mini {
		font-size: clamp(14px, 0.8048495851rem + 0.2074688797vw, 15px);
	}
}

@media (max-width: 540px) {
	body.page .ol-dual-heading__subtitle.ol-heading.ol-heading-large {
		font-size: clamp(14px, 0.875rem + 0vw, 14px);
	}
}

/* 固定ページの日付まわり微調整 */
body.page .ol-article__meta {
	margin-top: calc(clamp(32px, 0.5454545455rem + 2.2727272727vw, 48px) - 1rem);
	row-gap: 1rem;
	margin-bottom: 1rem;
}
@media (max-width: 540px) {
	body.page .ol-article__meta {
		margin-top: calc(clamp(16px, -1rem + 8.8888888889vw, 32px) - 1rem);
	}
}
/* LP テンプレートの日付中央寄せ */
.ol-lp__template .ol-article__meta {
	justify-content: center;
}

.um-author-box-heading {
	margin: 3rem 91px 1rem;
	font-size: clamp(20px, 1rem + 0.8vw, 28px);
	line-height: 1.4;
}

.ol-article__writer {
	margin-top: calc(clamp(60px, 3.2307692308rem + 2.3076923077vw, 96px) - 3rem);
	padding-left: 100px;
	padding-right: 100px;
}
@media (max-width: 540px) {
  .ol-article__writer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* 診断ページ: ラジオボタン表示を標準に戻す */
#diagnosis-app {
	font-size: 16px !important;
	line-height: 1.8;
}

#diagnosis-app .question-title {
	font-size: 1rem !important;
}

#diagnosis-app .question-desc {
	font-size: 0.9rem !important;
}

#diagnosis-app .radio-options {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 1rem !important;
}

#diagnosis-app .question-item label.radio-label {
	display: flex !important;
	width: 100%;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 1rem !important;
	line-height: 1.3 !important;
	margin-bottom: 8px !important;
}

#diagnosis-app .question-item .radio-options label.radio-label {
	display: inline-flex !important;
	width: auto;
	margin-bottom: 0 !important;
}

#diagnosis-app .radio-label input[type="radio"] {
	display: inline-block !important;
	appearance: auto !important;
	-webkit-appearance: radio !important;
	-moz-appearance: radio !important;
	opacity: 1 !important;
	position: static !important;
	visibility: visible !important;
	margin: 0 !important;
	width: 18px !important;
	height: 18px !important;
	accent-color: #2563eb;
	cursor: pointer;
}

#diagnosis-app input[type="checkbox"] {
	display: inline-block !important;
	appearance: auto !important;
	-webkit-appearance: checkbox !important;
	-moz-appearance: checkbox !important;
	opacity: 1 !important;
	position: static !important;
	visibility: visible !important;
	margin: 0 8px 0 0 !important;
	width: 18px !important;
	height: 18px !important;
	accent-color: #2563eb;
	vertical-align: middle;
	cursor: pointer;
}

/* ==============================================
   サイト全体: 背景色 + プレクサス（ネットワーク模様）
   SVG内にopacityを含めることでpseudo-element不要
   ============================================== */
body {
	scrollbar-gutter: stable;
	background-color: #f7f7f7;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'%3E%3Cg opacity='.08'%3E%3Cg stroke='%23555' stroke-width='1' fill='none'%3E%3Cpath d='M100 80L250 150L420 100L600 170L780 80L950 150L1100 100L1280 180L1450 120'/%3E%3Cpath d='M250 150L180 280L380 250L250 150'/%3E%3Cpath d='M420 100L380 250L550 320L600 170'/%3E%3Cpath d='M780 80L800 230L600 170'/%3E%3Cpath d='M950 150L800 230L1050 260L950 150'/%3E%3Cpath d='M1100 100L1050 260L1200 300L1280 180'/%3E%3Cpath d='M1450 120L1500 280L1280 180'/%3E%3Cpath d='M80 450L200 380L350 420L500 480L680 400L850 480L950 350L1120 420L1300 480L1480 450'/%3E%3Cpath d='M200 380L180 280'/%3E%3Cpath d='M350 420L380 250'/%3E%3Cpath d='M500 480L550 320'/%3E%3Cpath d='M680 400L800 230'/%3E%3Cpath d='M850 480L1050 260'/%3E%3Cpath d='M1120 420L1200 300'/%3E%3Cpath d='M1300 480L1500 280'/%3E%3Cpath d='M150 600L300 680L480 620L650 700L820 650L1000 720L1180 680L1380 620L1520 700'/%3E%3Cpath d='M80 450L150 600'/%3E%3Cpath d='M300 680L350 420'/%3E%3Cpath d='M480 620L500 480'/%3E%3Cpath d='M650 700L680 400'/%3E%3Cpath d='M820 650L850 480'/%3E%3Cpath d='M1000 720L1120 420'/%3E%3Cpath d='M1180 680L1300 480'/%3E%3Cpath d='M1380 620L1480 450'/%3E%3C/g%3E%3Cg fill='%23555'%3E%3Ccircle cx='100' cy='80' r='3.5'/%3E%3Ccircle cx='250' cy='150' r='4'/%3E%3Ccircle cx='180' cy='280' r='3'/%3E%3Ccircle cx='420' cy='100' r='3.5'/%3E%3Ccircle cx='380' cy='250' r='3'/%3E%3Ccircle cx='600' cy='170' r='4'/%3E%3Ccircle cx='550' cy='320' r='3'/%3E%3Ccircle cx='780' cy='80' r='3.5'/%3E%3Ccircle cx='800' cy='230' r='3'/%3E%3Ccircle cx='950' cy='150' r='4'/%3E%3Ccircle cx='1100' cy='100' r='3.5'/%3E%3Ccircle cx='1050' cy='260' r='3'/%3E%3Ccircle cx='1280' cy='180' r='4'/%3E%3Ccircle cx='1200' cy='300' r='3'/%3E%3Ccircle cx='1450' cy='120' r='3.5'/%3E%3Ccircle cx='1500' cy='280' r='3'/%3E%3Ccircle cx='80' cy='450' r='3'/%3E%3Ccircle cx='200' cy='380' r='3.5'/%3E%3Ccircle cx='350' cy='420' r='4'/%3E%3Ccircle cx='500' cy='480' r='3'/%3E%3Ccircle cx='680' cy='400' r='3.5'/%3E%3Ccircle cx='850' cy='480' r='3'/%3E%3Ccircle cx='950' cy='350' r='4'/%3E%3Ccircle cx='1120' cy='420' r='3.5'/%3E%3Ccircle cx='1300' cy='480' r='3'/%3E%3Ccircle cx='1480' cy='450' r='3.5'/%3E%3Ccircle cx='150' cy='600' r='3'/%3E%3Ccircle cx='300' cy='680' r='4'/%3E%3Ccircle cx='480' cy='620' r='3'/%3E%3Ccircle cx='650' cy='700' r='3.5'/%3E%3Ccircle cx='820' cy='650' r='3'/%3E%3Ccircle cx='1000' cy='720' r='4'/%3E%3Ccircle cx='1180' cy='680' r='3'/%3E%3Ccircle cx='1380' cy='620' r='3.5'/%3E%3Ccircle cx='1520' cy='700' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	background-size: 1600px 900px;
	background-position: center top;
	background-attachment: fixed;
}

@media (max-width: 768px) {
	body {
		background-attachment: scroll;
	}
}

/* ============================================================
   トップページ — カスタムコンテンツ用CSS
   プレフィックス: um-top-
   ============================================================ */

/* --- ヘッダー: 背景透過 + ピル型ナビ --- */
body.home .ol-header {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* ピルスタイルはベースのPC media queryに統合済み */

/* --- 見出し --- */
/* テーマの ol-heading-small はサイズ修飾クラスなしでは font-size 未定義。
   カスタムコンテンツ内のセクション見出しに明示的にサイズを指定する。
   ol-heading-medium 相当: clamp(45px, ..., 48px) */
body.home .um-top-wrapper .ol-heading-small {
  font-size: clamp(45px, 2.5397727273rem + 0.4261363636vw, 48px);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.65;
}
body.home .um-top-wrapper .ol-heading-sub {
  font-size: clamp(16px, 0.8181818182rem + 0.2840909091vw, 18px);
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: 0.02em;
}

/* 見出し下のborder-bottom線を削除 */
body.home .um-top-wrapper .ol-heading__container {
  border-bottom: none !important;
}

/* --- ベース --- */
body.home .um-top-wrapper {
  color: #1a1a1a;
  line-height: 1.8;
  font-feature-settings: "palt";
}

/* --- カードサムネイル（16:9） --- */
body.home .um-top-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}

body.home .um-top-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- セクション末尾リンク --- */
body.home .um-top-section-link {
  margin-top: 36px;
  text-align: center;
}

/* --- カードリンク（a タグのリセット） --- */
body.home a.um-top-area-card,
body.home a.um-top-tool-card {
  color: inherit;
  text-decoration: none;
  display: block;
}

body.home a.um-top-area-card:hover,
body.home a.um-top-tool-card:hover {
  color: inherit;
  text-decoration: none;
}

body.home a.um-top-area-card:visited,
body.home a.um-top-tool-card:visited {
  color: inherit;
}

/* ===== 01. 事業領域 — エリアカード ===== */
body.home .um-top-area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

body.home .um-top-area-card {
  background: transparent;
  border-radius: 0;
  padding: 36px 32px;
}

body.home .um-top-area-label {
  font-size: clamp(13px, 0.7215909091rem + 0.1420454545vw, 14px);
  font-weight: 700;
  color: #666;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

body.home .um-top-area-title {
  font-size: clamp(20px, 0.3092277487rem + 0.5235602094vw, 23px);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.4;
}

body.home .um-top-area-desc {
  font-size: clamp(15px, 0.8465909091rem + 0.1420454545vw, 16px);
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}

body.home .um-top-area-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.home .um-top-area-list li {
  font-size: clamp(15px, 0.8465909091rem + 0.1420454545vw, 16px);
  color: #1a1a1a;
  font-weight: 600;
  padding: 8px 0;
  background-image: linear-gradient(#e8e8e8, #e8e8e8);
  background-size: 100% 1px;
  background-position: bottom;
  background-repeat: no-repeat;
}

body.home .um-top-area-list li:last-child {
  background-image: none;
  padding-bottom: 0;
}

/* ===== 03. プロダクト ===== */
body.home .um-top-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

body.home .um-top-tool-card {
  background: transparent;
  border-radius: 0;
  padding: 36px 32px;
}

body.home .um-top-tool-label {
  font-size: clamp(13px, 0.7215909091rem + 0.1420454545vw, 14px);
  font-weight: 700;
  color: #666;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

body.home .um-top-tool-title {
  font-size: clamp(16px, 0.6363636364rem + 0.5681818182vw, 20px);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.4;
}

body.home .um-top-tool-desc {
  font-size: clamp(15px, 0.8465909091rem + 0.1420454545vw, 16px);
  color: #333;
  line-height: 1.8;
  margin-bottom: 16px;
}

body.home .um-top-tool-note {
  display: inline-block;
  font-size: clamp(13px, 0.7215909091rem + 0.1420454545vw, 14px);
  font-weight: 600;
  color: #1a1a1a;
  background: #f5f5f5;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 0;
}

/* ===== 02. 会社情報 ===== */
body.home .um-top-company {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

body.home .um-top-company-philosophy {
  background: transparent;
  border-radius: 0;
  padding: 36px 32px;
}

body.home .um-top-company-label {
  font-size: clamp(13px, 0.7215909091rem + 0.1420454545vw, 14px);
  font-weight: 700;
  color: #666;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

body.home .um-top-company-statement {
  font-size: clamp(16px, 0.6363636364rem + 0.5681818182vw, 20px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 0;
}

body.home .um-top-company-dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0;
  font-size: clamp(15px, 0.8465909091rem + 0.1420454545vw, 16px);
  padding: 0 32px;
}

body.home .um-top-company-dl dt {
  color: #666;
  font-weight: 600;
  padding: 12px 0;
  background-image: linear-gradient(#e8e8e8, #e8e8e8);
  background-size: 100% 1px;
  background-position: bottom;
  background-repeat: no-repeat;
}

body.home .um-top-company-dl dd {
  margin: 0;
  padding: 12px 0;
  background-image: linear-gradient(#e8e8e8, #e8e8e8);
  background-size: 100% 1px;
  background-position: bottom;
  background-repeat: no-repeat;
}

body.home .um-top-company-dl dt:last-of-type,
body.home .um-top-company-dl dd:last-of-type {
  background-image: none;
}

/* ===== CTA ===== */
body.home .um-top-cta {
  text-align: center;
}

body.home .um-top-cta-title {
  font-size: clamp(23px, 0.6193181818rem + 1.2784090909vw, 32px);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
}

body.home .um-top-cta-desc {
  font-size: clamp(15px, 0.8465909091rem + 0.1420454545vw, 16px);
  color: #444;
  line-height: 1.9;
  margin-bottom: 36px;
}

body.home .um-top-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== ピル型ボタン ===== */
body.home .um-top-btn-pill {
  display: inline-block;
  background-color: #1a1a1a;
  color: #fff;
  padding: 18px 56px;
  border-radius: 60px;
  text-decoration: none;
  font-size: clamp(15px, 0.8465909091rem + 0.1420454545vw, 16px);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background-color 0.2s;
}

body.home .um-top-btn-pill:hover,
body.home .um-top-btn-pill:visited {
  color: #fff;
  text-decoration: none;
}

body.home .um-top-btn-pill:hover {
  background-color: #333;
}

body.home .um-top-btn-pill-inv {
  background-color: #fff;
  color: #1a1a1a;
}

body.home .um-top-btn-pill-inv:hover {
  background-color: #f5f5f5;
}

body.home .um-top-btn-pill-inv:hover,
body.home .um-top-btn-pill-inv:visited {
  color: #1a1a1a;
}

/* ===== トップページ レスポンシブ ===== */
@media (max-width: 768px) {
  body.home .um-top-btn-pill {
    padding: 16px 40px;
  }

  body.home .um-top-area-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body.home .um-top-area-card {
    padding: 28px 24px;
  }

  body.home .um-top-tool-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body.home .um-top-tool-card {
    padding: 28px 24px;
  }

  body.home .um-top-wrapper .ol-heading-small {
    font-size: clamp(30px, 0.8227437759rem + 3.112033195vw, 45px);
    letter-spacing: 0.08em;
  }

  body.home .um-top-company {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body.home .um-top-company-philosophy {
    padding: 28px 24px;
  }
}
