@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/


#container {
  background-color: #fff;
}

@media screen and (min-width: 769px) {
  #container {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #fff !important; /* 念のため */
  }

  html {
    background-color: #fff !important;
  }
}




/************************************
** モバイル固定ヘッダー
************************************/


div.header-container{
display: none;
}

/* ▼ モバイルヘッダー（ロゴとハンバーガー） */
.custom-mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #fff;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.mobile-logo img {
  height: 35px;
  width: auto;
  display: block;
}

/* ▼ ハンバーガーアイコン */
#hamburger-toggle {
  position: fixed;
  top: 15px;
  right: 35px;
  width: 15px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

#hamburger-toggle .bar {
  position: absolute;
  left: 0;
  width: 32px;
  height: 1px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#hamburger-toggle .top {
  top: 8px;
}

#hamburger-toggle .bottom {
  top: 18px;
}

#hamburger-toggle.open .top {
  transform: rotate(25deg);
  top: 13px;
}

#hamburger-toggle.open .bottom {
  transform: rotate(-25deg);
  top: 13px;
}

/* 画像タイトル用の調整（中央揃え＋幅調整など） */
.category-title-img {
  display: block;
  max-width: 60%;
  height: auto;
  margin: 0 auto 20px;
  padding: 40px 0;
}



/* ▼ メニュー本体 */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff; /* ← シンプル白背景 */
  z-index: 999;
  padding: 80px 24px 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}



.mobile-nav.menu-open {
  opacity: 1;
  visibility: visible;
}

/* ▼ メニューリスト */
.simple-menu {
  list-style: none;
  padding: 30px 10px 0 10px;
  margin: 0 0 40px;
}

.simple-menu li {
  margin-bottom: 24px;
}

.simple-menu li a {
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  color: #111;
}

/* ▼ CTAボタン（大きめ・角丸） */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cta-button {
  position: relative;
  display: block;
  padding: 16px 60px 16px 20px; /* ← 右に余白広めにして矢印スペースを作る */
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease;
}

/* CTAボタン内の矢印アイコンを右端に配置 */
.cta-button::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background: #fff;
  color: #000;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 色バリエーション */
.cta-button.blue {
  background: #000;
}

.cta-button.dark {
  background: #00B900;
}



/* ▼ オーバーレイ背景 */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  z-index: 900;
}

.menu-overlay.active {
  display: block;
}


/* ▼ アニメーション定義 */
@keyframes textRevealUp {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

/* ▼ 初期状態：アニメ前は見えない */
.simple-menu li,
.cta-button {
  overflow: hidden;
  display: block;
  opacity: 1; /* ← li自体は表示してOK */
}

.simple-menu li span,
.cta-button span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

/* ▼ メニューが開いたらアニメ発動 */
.mobile-nav.menu-open .simple-menu li span,
.mobile-nav.menu-open .cta-button span {
  animation: textRevealUp 0.5s ease forwards;
}

.mobile-nav.menu-open .simple-menu li:nth-child(1) span { animation-delay: 0.1s; }
.mobile-nav.menu-open .simple-menu li:nth-child(2) span { animation-delay: 0.1s; }
.mobile-nav.menu-open .simple-menu li:nth-child(3) span { animation-delay: 0.1s; }
.mobile-nav.menu-open .simple-menu li:nth-child(4) span { animation-delay: 0.1s; }
.mobile-nav.menu-open .simple-menu li:nth-child(5) span { animation-delay: 0.1s; }
.mobile-nav.menu-open .simple-menu li:nth-child(6) span { animation-delay: 0.1s; }

.mobile-nav.menu-open .cta-button:nth-child(1) span { animation-delay: 0.1s; }
.mobile-nav.menu-open .cta-button:nth-child(2) span { animation-delay: 0.1s; }


/* PC画面用に中央寄せ・最大幅を設定 */
@media screen and (min-width: 769px) {
  .custom-mobile-header {
    width: 100%;
    display: flex;
    justify-content: center;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
  }

  .custom-mobile-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px; /* ← コンテンツ幅に制限 */
    height: 60px;
    background: #fff;
    z-index: -1;
    border-left: 1px solid transparent;  /* Firefox対策 */
  }

  .custom-mobile-header .header-left {
    max-width: 1000px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    align-items: center;
  }



  .mobile-nav {
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;         /* ← ここを変更！ */
    max-width: 90%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
  }


  #hamburger-toggle {
    right: calc(5vw + 180px); /* ロゴとのバランス調整 */
  }
}


/************************************
** フロントページ
************************************/
.top-main {
  width: 100%;
  overflow: hidden;
  background: #fff;
}


/* トップヒーロー全体 */
.top-hero {
  width: 100%;
  padding-top: 60px; /* ヘッダー分 */
  padding-bottom: 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

@media screen and (min-width: 769px) {
.top-hero {
margin-top: -40px;
}
}

/* 画像とキャッチまとめ */
.hero-inner {
  position: relative;
  width: 100%; /* 画面幅の90%だけ使用（右側に少し余白） */
  aspect-ratio: 4 / 5; /* ← ここで正しく高さも制御する */
  background: #fff;
  overflow: hidden;
}

@media screen and (min-width: 769px) {
  .hero-inner {
    aspect-ratio: 4 / 3;
  }
}

/* 最初に両方非表示にしておく（JSのスライド用） */
.slide-pc,
.slide-sp {
  display: none;
}

/* スマホではスマホ用画像だけ表示 */
@media screen and (max-width: 768px) {
  .slide-sp {
    display: block;
  }
}

/* PCではPC用画像だけ表示 */
@media screen and (min-width: 769px) {
  .slide-pc {
    display: block;
  }
}



/* 画像本体 */
.hero-inner img {
  width: 100%;
  height: 100%; /* ← 高さを必ず合わせる */
  object-fit: cover; /* ここは cover にして自然な5:4表示に */
  display: block;
}



/* キャッチコピー */
.hero-overlay {
  position: absolute;
  bottom: 5%;
  left: 5%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  z-index: 2; /* ← ★画像より前面に表示させる */
}

/* テキスト本体 */
/* アニメーションは初回のみ発動するように1回制限 */
.catch-line {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #FA9D72, #F9B976, #F7CD6B);
  padding: 3px 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  width: 0%;
  max-width: max-content;
  animation: expandFromLeft 1s ease forwards;
  animation-fill-mode: forwards; /* ← 完了後はそのまま状態を保持 */
  animation-iteration-count: 1;   /* ← 1回だけ実行 */
}


.catch-line:nth-child(1) {
  animation-delay: 0s;
}

.catch-line:nth-child(2) {
  animation-delay: 0.5s;
}

.catch-line span {
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  display: inline-block;
  line-height: 1; /* ← 文字上下の隙間も完全に詰める！ */
}


.break-line {
  font-family: 'Noto Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.05em;
}



/* 幅を0%→100%に広げるだけのアニメーション */
@keyframes expandFromLeft {
  0% {
    width: 0%;

  }
  100% {
    width: 100%;

  }
}

/* フェード用の共通クラス */
.fade-slideshow {
  position: relative;
}

.fade-slideshow img.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}

/* 最初に表示される画像 */
.fade-slideshow img.slide.active {
  opacity: 1;
  z-index: 1;
}


/************************************
** NEWSセクション
************************************/
/* POPEYE風NEWSセクション */
.popeye-news {
  width: 90%;
  max-width: 800px;
  margin: 40px auto 0;
  padding-bottom: 20px;
  font-family: "Helvetica Neue", "Hiragino Sans", sans-serif;
  color: #111;
}

.popeye-news-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid #111;
  padding-bottom: 6px;
  margin-bottom: 24px;
}

/* リスト構造 */
.popeye-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 各行 */
.popeye-news-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid #eee;
  padding: 12px 0;
  font-size: 13px;
}

/* 日付 */
.popeye-news-date {
  color: #888;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* タイトルリンク */
.popeye-news-link {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
  font-weight: 500;
  line-height: 1.6;
  flex-grow: 1;
}

.popeye-news-link:hover {
  color: #000;
}





/************************************
** 子テーマ用のスタイルを書く
************************************/

/*見出し*/
.article h2,
.article h3,
.article h4,
.article h6 {
	background-color:initial;/*背景色リセット*/
	border:initial;/*上下左右の枠線リセット*/
	border-radius:initial;/*角の丸みリセット*/
}

.article h2 {
  font-size: 14px!important;
  background: #000;/*背景色*/
  padding: 20px 20px;/*余白*/
  color: #FFF;
  margin-bottom: 15px;
  margin-top: 40px;
  border-top: none;
  border-bottom: none;
  letter-spacing: 1px!important;
}

.article h3 {
  font-size: 14px !important;/*文字のサイズ*/
  border-top: none;/*上線*/
  border-bottom: 1px dashed #d3d3d3;/*下線*/
  color: #000;
  padding: 10px 0;
  margin-bottom: 15px;
  margin-top: 25px;
}

/** カスタム目次（H2 + H3） **/
.toc-003 {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 16px;
  font-family: sans-serif;
  margin-bottom: 30px;
}

.toc-003 .toc-title {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 2px 20px;
  margin-bottom: 12px;
  font-size: 12px;
  border-radius: 6px;
}

.toc-003 .toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- H2項目 --- */
.toc-003 .toc-list > li {
  margin-bottom: 2px;
  line-height: 1.3;
}

.toc-003 .toc-list > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #111;
  font-size: 11px;
  padding: 4px 0;
  position: relative;
}

.toc-003 .toc-list > li > a:hover {
  background-color: #eee;
}

.toc-003 .toc-text {
  flex: 1;
  position: relative;
  text-align: left;
  padding-right: 8px;
  text-decoration: underline;
  text-underline-offset: 2px;
  line-height: 1.3;
}

.toc-003 .toc-num {
  min-width: 2em;
  font-family: monospace;
  color: #000;
  background-color: #f8f8f8;
  padding-left: 6px;
  position: relative;
  z-index: 1;
}

.toc-003 .toc-text::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-bottom: 1px dotted #aaa;
  z-index: 0;
}

.toc-003 .toc-text span {
  position: relative;
  background-color: #f8f8f8;
  padding-right: 4px;
  z-index: 1;
}

/* --- H3項目 --- */
.toc-003 .toc-sublist {
  list-style: none;
  padding-left: 0; /* 左寄せ */
  margin: 0 0 6px 0;
}

.toc-003 .toc-sublist li {
  font-size: 11.5px;
  line-height: 1.3;
  margin-left: 0;
  padding-left: 0;
  padding: 2px 0;
}

.toc-003 .toc-sublist a {
  color: #444;
  text-decoration: none;
  padding-left: 0;
  display: inline-block;
}

.toc-003 .toc-sublist .toc-text {
  text-decoration: none;
  position: relative;
}

.toc-003 .toc-sublist .toc-text::after {
  display: none !important;
}

/* --- 表示制御 --- */
.toc-003.device-only {
  display: none;
}
@media screen and (max-width: 1024px) {
  .toc-003.device-only {
    display: block;
  }
}
.toc-003.pc-only {
  display: none;
}
@media screen and (min-width: 1025px) {
  .toc-003.pc-only {
    display: block;
  }
}





/************************************
** 投稿ページ
************************************/
@media screen and (max-width: 768px) {
    .main.main, div.sidebar {
        padding: 10px 0px!important;
    }
	
	.content {
        margin-top: -20px!important;
    }
	}
	div.entry-content.cf{
		padding: 0px 25px!important;
		letter-spacing: -0.05em!important;
	}
	
	.entry-header {
    margin-top: 55px;
  }

	.article .entry-header .entry-title {
  font-size: 20px !important;
  line-height: 1.5 !important;
  letter-spacing: -0.05em !important;
  padding:10px 30px!important;
}



.date-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}






.post-category {
  background: #000;
  color: #fff;
  padding: 12px 8px;
  font-size: 12px;
  border-radius: 0;
  display: inline-block;
  margin: 0;
  line-height: 1;
}

.post-category a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
}


.updated {
  font-size: 12px;
  color: #000;
  font-weight: bold;
}

.entry-content {
  letter-spacing: -0.03em; /* ← お好みで調整OK！ */
}
}



 /* テーブルデザイン */
table.nomad_table {
  max-width: 900px !important;
  width: 100%;
  margin: 15px auto !important;
  background: #FFF;
  text-align: center !important;
  font-size: 14px !important;
  display: block !important;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch !important;
  color: #333 !important;
  border: none !important;
  border-collapse: collapse !important;
}

table.nomad_table a {
  color: #333 !important;
  text-decoration: none !important;
  transition: .2s;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.25em !important;
  font-size: 13px !important;
  display: block !important;
  position: relative !important;
  text-align: center !important;
}

table.nomad_table a:hover {
  opacity: .8;
}

table.nomad_table tr td,
table.nomad_table tr th {
  padding: 1.5em 2.2em !important;
  line-height: 1.25em !important;
  font-size: 14px !important;
  border: none !important;
  position: relative !important;
  text-align: center !important;
  vertical-align: middle !important;
}

table.nomad_table tr td {
  font-size: 13px !important;
}

table.nomad_table tr td:first-child {
  position: static !important;
  left: 0 !important;
  background: #FFF !important;
  z-index: 2;
}

table.nomad_table tr th:first-child {
  position: static !important;
  left: 0 !important;
  z-index: 2;
}

table.nomad_table tr td:nth-child(even) {
  background: #FAFAFA !important;
}

table.nomad_table tr th {
  padding: .8em 2em !important;
  background: #505050 !important;
  color: #fff !important;
  width: 100% !important;
  position: relative !important;
}

table.nomad_table tr th:nth-child(even):after {
  content: "";
  display: block !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .05);
  position: absolute;
}

table.nomad_table tr:nth-child(even) td:nth-child(even):after {
  content: "";
  display: block !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .03);
  position: absolute;
}

table.nomad_table::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
}

table.nomad_table::-webkit-scrollbar-track {
  background: #FAFAFA !important;
}

table.nomad_table::-webkit-scrollbar-thumb {
  border-radius: 5px !important;
  background: #505050 !important;
}

@media(max-width:480px) {

  table.nomad_table tr td,
  table.nomad_table tr th {
    padding: 2em !important;
    font-size: 12px !important;
  }

table.nomad_table tr th {
    padding: .8em 2em !important;
    font-size: 13px !important;
  }

table.nomad_table a {
    font-size: 10px !important;
  }

}

div.footer-meta{
display: none;
}


/* ========== カスタムカテゴリーウィジェット ========== */
.custom-category-widget {
  font-family: sans-serif;
  border: 1px solid #ccc;
  background-color: #fff;
  margin-bottom: 20px;
  margin: 0px 15px;
}

@media screen and (min-width: 769px) {
.custom-category-widget {
  margin-top: 50px;
}
}

.custom-category-widget .category-title {
  background-color: #000;
  color: #fff;
  padding: 16px 10px; /* ← 上下の余白を広げる */
  font-weight: bold;
  font-size: 14px;
  text-transform: lowercase;
  text-align: center; /* ← 中央揃え */
}

/* カテゴリーリスト */
.custom-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-category-list > li {
  border-bottom: 1px solid #ccc;
  position: relative;
}

/* カテゴリー名（クリックで展開） */
.custom-category-list .category-toggle {
  background: #fafafa;
  padding: 15px 12px 14px 36px; /* ← 上下を広げる */
  cursor: pointer;
  position: relative;
  font-size: 14px; /* ← カテゴリー文字サイズを小さく */
  font-weight: 600;
}

/* ▶ アイコン */
.custom-category-list .category-toggle::before {
  content: "▶";
  background: #000;
  color: #fff;
  font-size: 8px; /* ← 三角形を少し小さく */
  border-radius: 50%;
  width: 18px;
  height: 18px;
  text-align: center;
  line-height: 18px;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;           /* ← アニメーション設定 */
}

/* アコーディオンが開いたとき（下向きに回転） */
.custom-category-list li.open > .category-toggle::before {
  content: "▼";
}

/* ホバー */
.custom-category-list .category-toggle:hover {
  background-color: #f4f4f4;
}

/* 開いた時のアイコン */
.custom-category-list li.open > .category-toggle::before {
  content: "▼";
}

/* 投稿リスト（記事タイトル） */
.custom-category-list .post-list {
  display: none;
  padding: 8px 0 8px 32px;
  margin: 0;
  list-style: none;
}

/* 記事タイトル項目 */
.custom-category-list .post-list li {
  position: relative;
  padding: 0px 6px 6px 0px;
  font-size: 13px;
}

.custom-category-list .post-list li::before {
  content: "＞";
  position: absolute;
  margin-left: -20px;
  color: #999;
  font-size: 12px;
}

.custom-category-list .post-list li a {
  color: #333;
  text-decoration: none;
}

.custom-category-list .post-list li a:hover {
  text-decoration: underline;
}


/* アニメーション定義 */
@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 投稿リスト（記事タイトル） */
.custom-category-list .post-list {
  display: none;
  padding: 8px 0 8px 32px;
  margin: 0;
  list-style: none;
  animation: slideFadeIn 0.3s ease forwards;
  opacity: 0;
}

/* 表示時のアニメーション適用 */
.custom-category-list li.open > .post-list {
  display: block;
  animation: slideFadeIn 0.3s ease forwards;
  opacity: 1;
}

/************************************
** 人気記事
************************************/
.custom-popular-posts .popular-post-card {
  position: relative;
  overflow: visible; 
  background: #fff;
  border-radius: 0px;
  margin-bottom: 20px;
  margin-top: 10px;
  transition: transform 0.2s;
}
.custom-popular-posts .popular-post-card:hover {
  transform: translateY(-3px);
}
.custom-popular-posts .popular-post-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}
/* アイキャッチ画像だけカード化 */
.custom-popular-posts .post-thumb {
  position: relative;
  border-radius: 0px;
}
.custom-popular-posts .post-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0px;
  object-fit: cover;
}

/* 画像の下の情報ブロック */
.custom-popular-posts .post-info {
  margin-top: 12px;
  padding: 0 4px;
}
.custom-popular-posts .post-title {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.6;
  color: #222;
}
.custom-popular-posts .post-date {
  font-size: 11px;
  color: #4d4d4d;
  margin-top: 4px;
}

.custom-popular-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 16px!important;
  color: #fff;
  position: relative;
  display: block;
  padding: 16px 10px!important;
  background-color: #000!important; /* ← 白背景 */
  text-align: center;
}



/************************************
** ブログカード
************************************/
.simple-blog-card {
  display: block;
  border: 1.5px solid #000;
  background: #fafafa;
  border-radius: 0;
  padding: 15px;
  margin: 24px 0;
  position: relative;
  text-decoration: none;
  color: #222;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25); /* ← 追加 */
  transition: box-shadow 0.2s;
}

.simple-blog-card:hover {
  box-shadow: 0 3px 7px rgba(0,0,0,0.25);
}

.simple-blog-card .card-label {
  position: absolute;
  top: 0px;
  left: 0;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 400;
  padding: 4px 10px;
  border-radius: 0px;
}

.simple-blog-card .card-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.simple-blog-card .card-thumb {
  flex-shrink: 0;
  width: 100px;
  height: 80px;
  overflow: hidden;
}

.simple-blog-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.simple-blog-card .card-title {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
}





/************************************
** ロゴ
************************************/
/* ロゴ画像のサイズ調整 */
.site-logo {
  max-height: 50px;  /* ← 高さをお好みで調整 */
  height: auto;
  width: auto;
  display: block;
  margin: 0 auto; /* 中央揃え */
}

/* ロゴ全体を中央寄せ（親要素のaタグ） */
.site-logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}



.marker-under {
background: linear-gradient(transparent 60%, #F7CD6B 60%);
}


/************************************
**新着記事
************************************/
/* =======================
   POPEYE風サイドウィジェットCSS
   ======================= */

/* 全体ブロック */
.pt-career-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 0;
  padding-right: 0;
  font-family: "Helvetica Neue", "Hiragino Sans", sans-serif;
  color: #111;
}

/* 見出し部分 */
.pt-career-heading {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: -8px;
  margin-top: 12px;
  letter-spacing: 0.05em;
}

.pt-career-heading .pt-num {
  font-size: 12px;
  margin-right: 6px;
}

.pt-career-heading .pt-line {
  flex-grow: 1;
  height: 1px;
  background: #000;
  margin-right: 6px;
  max-width: 60px;
}

.pt-career-heading .pt-title {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: #111;
}

/* 新着・人気切り替え */
.pt-toggle-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.pt-toggle-btn {
  font-size: 12px;
  padding: 5px 12px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.pt-toggle-btn.active,
.pt-toggle-btn:hover {
  background: #111;
  color: #fff;
}

/* 各記事アイテム */
.pt-career-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  text-align: left;
}

.pt-thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
}

.pt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(10%);
  transition: filter 0.3s;
}

.pt-career-item:hover .pt-thumb img {
  filter: grayscale(0%);
}

.pt-text {
  flex: 1;
}

.pt-post-title {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 4px;
  line-height: 1.5;
}

.pt-post-title a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.pt-post-title a:hover {
  color: #111;
}

.pt-date {
  font-size: 12px;
  color: #666;
}

@media screen and (max-width: 768px) {
  .pt-career-block {
    padding-left: 25px;
    padding-right: 25px;
  }
  .pt-career-item {
    flex-direction: row;
  }
}


/************************************
** アーカイブページ
************************************/
.archive-main {
  padding: 60px 5%;
  background: #fff;
  color: #333;
  font-family: 'Helvetica Neue', sans-serif;
}

.tag-title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  font-family: 'Helvetica Neue', sans-serif;
  border-left: 5px solid #000;
  padding-left: 10px;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}


.archive-description {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.archive-post-list {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .archive-post-list {
    grid-template-columns: 1fr 1fr;
  }
}

.archive-post-item {
  background: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.archive-post-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.post-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9比率 */
  overflow: hidden;
  background-color: #eee;
}

.post-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

.post-title {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 10px;
}

.post-date {
  font-size: 0.8rem;
  color: #999;
}

.archive-post-list {
  padding-left: 0 !important;
}


