@charset "utf-8";
/* CSS Document */
/*
Theme Name:shiobei
Description:shiobeiテーマ
Version:1.0
Author:k
*/
*{margin : 0px;padding: 0px;}
html {
	display: flex;
flex-flow: column;
min-height: 100vh;
  }
html {
    scroll-behavior: smooth;
}
body{
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", Century Gothic, serif;
	color:#777777;
font-size:16px;
	overflow-x: hidden;
}
h1{margin:1em 0 1.5em 0;}
h2{margin:1em 0 1em 0;}
h1 {font-size:250%;
	line-height:1.8;
	font-family:"游明朝", YuMincho, "Hiragino Mincho ProN", Century Gothic, serif;
}
h2 {
  font-size: 28px;
  position: relative;
  text-align: center;
	line-height:1.5;
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", Century Gothic, serif;
}

h2 span {
  font-size: 14px;
  font-size: 1.4rem;
  display: block;
}

.line:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 30px);
  width: 60px;
  height: 1px;
  content: '';
  border-radius: 1px;
  background: #91241D;
}
h3 {font-size:150%;
 margin:1em 0 1em 0;
line-height:1.8;}
h4{line-height:1.5;}
p,li,dt,dl {
	line-height:1.6;
}
p {
	margin:0 0 1em 0;
}
hr{margin:2.5em 0 2.5em 0;border-top: 0.3px solid #ccc;}
img {width: auto; height: auto;border:0;}
a{text-decoration: none;color: #c2924b;}
a:hover{opacity: 0.6;}
a img:hover{opacity: 0.6;}
.fadein {
  opacity : 0;
  transform: translateY(20px);
  transition: all 1s;
}
.center{display:flex;
justify-content:center;}
* {
    overflow-wrap: break-word;
    word-wrap: break-word;
}
@media screen and (max-width: 900px) {
	main {
    margin: 0 auto;
  }
}
/*表*/
figure.wp-block-table table th{
	padding:0 10px;
	font-weight:normal;
}
/*ボタン1*/
.btn01 {
  display: inline-block;
  width: 300px;
  height: 54px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  outline: none;
	font-size:150%;
	font-weight: bolder;
	margin:0 15px;
}
.btn01::before,
.btn01::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.btn01,
.btn01::before,
.btn01::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.btn01 {
  background-color: #d1d1d1;
  border: 2px solid #d1d1d1;
  color: #fff;
  line-height: 50px;
}
.btn01:hover {
  background-color: #F1EDE4;
  border-color: #91241D;
  color: #91241D;
}
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
.pc { display: none !important; }
.sp { display: block !important; }
}
/*------------スマホここから-----------------*/
@media screen and (max-width: 1024px) {
	body{font-size:14px;}
img {
	max-width: 100%;
	height: auto;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
}
	h1{font-size:25px;}
h2 {
 font-size: 20px;
 font-size: 2.0rem;
  position: relative;
  text-align: center;
}

h2 span {
 font-size: 12px;
 font-size: 1.2rem;
  display: block;
}
}
@media screen and (max-width: 1040px) {
iframe{width:100%;}}	
/*------------スマホここまで-----------------*/

/*------------------------------------------------
 * ヘッダー
 * -----------------------------------------------*/
header {
  width: 100%;
	
   } 
/*スライダー*/
.hero-slider-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1; /* 一番奥の背景にする */
}

.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 12s ease;
}

.swiper-slide-active img,
.swiper-slide-duplicate-active img {
  transform: scale(1.1);
}

/* スライドの上に重ねるロゴのスタイル */
.hero-logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  pointer-events: none;
}
.hero-logo-overlay img {
  max-width: 100%;
  height: auto;
}


.content-scroll-wrapper {
  position: relative;
  z-index: 10; 
  background-color: #ffffff; 
  min-height: 100vh;
}

body.is-top-page .content-scroll-wrapper {
  margin-top: 100vh;
}

body.is-subpage .content-scroll-wrapper {
  margin-top: 0; 
}


/* ---  メニュー（共通の基本設定） --- */
.globalheader {
  width: 100%;
  z-index: 100;
  background-color: #ffffff; /* 固定されたときに背景が透けないようにする */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* 影 */
}

/* ▼【トップページ】のとき：スライドと一緒に上がってきて、上端でピタッと固定（スティッキー） */
body.is-top-page .globalheader {
  position: sticky;
  top: 0;
  left: 0;
}

/* ▼【下層ページ】のとき：最初から画面の一番上に固定 */
body.is-subpage .globalheader {
  position: fixed;
  top: 0;
  left: 0;
}


/* ---  メインコンテンツ --- */
.main-content {
  padding: 40px 0;
}
.main-content p{margin:0 0 1em 0;}
/* --- スライドの上に重ねるロゴのコンテナ --- */
.hero-logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  z-index: 5;
  text-align: center;
  pointer-events: none; 
}

/* ロゴ画像のサイズ調整などが必要であれば */
.hero-logo-overlay img {
  max-width: 390px;
  height: auto;
}
/* 通常時（未選択）のドット：半透明の白にする */
.swiper-pagination-bullet {
  background: #ffffff !important;
  opacity: 0.5 !important;
  width: 10px;  
  height: 10px; 
  margin: 0 6px; 
}

/* 選択中（アクティブ）のドット */
.swiper-pagination-bullet-active {
  opacity: 1 !important;
}
/*グローバルナビ*/
#menu{margin:0;font-size: 20px!important;font-weight: 500;
}
.menu-item{margin:0 10px;}
/* スマホ表示（768px以下） */
@media screen and (max-width: 768px) {
.main-content {
  padding: 0;
}}
/*-------------------*/
.global-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-nav{
	list-style: none;}
.header-nav li{
	display: inline-block;}
.header-nav li a{
  color: #2A2825;
  text-transform: uppercase;	
  text-align: center!important;
  position: relative;
  text-decoration: none; 
	font-size:14px;
	font-family:"游明朝", YuMincho, "Hiragino Mincho ProN", Century Gothic, serif;
}
.header-nav span{font-size:8px; text-align: center!important; display: block;font-weight: normal;}
.header-nav span a:hover{opacity:0.6;}
/*ul*/
.header-nav ul {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.hea{
	display: flex;
	justify-content: center;
	align-items:center;
background-color: rgba(255, 255, 255, 0.8);}
.hea img{width:50px;height:auto;margin-top:10px;}
/* デフォルト（PC表示） */
.sp-only {
  display: none !important;
}

.pc-only {
  display: block;
}

/* スマホ表示（768px以下） */
@media screen and (max-width: 768px) {
  .sp-only {
    display: block !important;
  }
  
  .pc-only {
    display: none !important;
  }
}
/* ==========================================
   共通・PC向け表示設定 (769px以上)
   ========================================== */
.sp-only,
.sp-only-nav,
.hamburger-btn {
  display: none !important;
}

.pc-only {
  display: block;
}

/* PC用メニューの横並び設定例 */
.pc-only-nav .header-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}


/* ==========================================
   スマホ向け表示設定 (768px以下)
   ========================================== */
@media screen and (max-width: 768px) {

  /* 表示切り替え */
  .pc-only,
  .pc-only-nav {
    display: none !important;
  }

  .sp-only {
    display: block !important;
  }

  /* --- ハンバーガーボタン --- */
  .hamburger-btn {
    display: flex !important;
    flex-direction: column;
    justify-content: space-around;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 60px;
    height: 60px;
    padding: 10px;
    background: #d1d1d1; /* ボタン背景色 */
    border: none;
    cursor: pointer;
  }

  /* ボタンの3本線 */
  .hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff; /* 線 das 色 */
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* 開いた時の「×」アニメーション */
  .hamburger-btn.is-active span:nth-child(1) {
    transform: translateY(13.5px) rotate(45deg);
  }
  .hamburger-btn.is-active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.is-active span:nth-child(3) {
    transform: translateY(-13.5px) rotate(-45deg);
  }

  /* --- スマホ用全画面メニュー --- */
  .sp-only-nav {
    display: block !important;
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態は画面の外 */
    width: 100%;
    height: 100vh;
    background-color: #fff;
  backdrop-filter: blur(8px); 
    z-index: 999;
    transition: right 0.3s ease;
    
    /* 画面中央に配置するためのFlexbox設定 */
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
  /* JSでクラスが付与されたらスライドイン */
  .sp-only-nav.is-active {
    right: 0;
  }

  /* --- 縦並びのメニュー装飾 --- */
  .header-nav-sp ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    width: 100%;
  }

  .header-nav-sp li {
    margin: 10px 0; /* 各メニュー同士の間隔 */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08); 
    padding-bottom: 5px;
  }
	.header-nav-sp li span {display:none;}
  .header-nav-sp a {
    color:  #c2924b;/* 文字色 */
    font-size: 1rem; /* 文字サイズ */
    font-weight: bold;
    text-decoration: none;
    display: block; /* タップ領域を広げる */
    width: 100%;
  }
}
.post_title{font-size:180%;word-break: break-all;margin: 0.5em 0 1.5em 0;color:#000;}
/*------------ヘッダースマホここから-----------------*/
@media screen and (max-width: 1024px) {
	.hea{
	display: flex;
	justify-content: left;
	  	}
	.hea img{margin:5px;width:50px;}
.post_title{font-size:24px;font-weight:400;}
 }
/*------------ヘッダースマホここまで-----------------*/

/*------------------------------------------------
 * HOME/TOP
 * -----------------------------------------------*/
/* --- 3カラムセクション全体（横幅いっぱいに広げる） --- */
.three-column-section {
  width: 100%;
  box-sizing: border-box;
}

/* 3カラムを並べるグリッドレイアウト */
.column-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  width: 100%;
  margin: 0 auto;
}

/* 各カードのスタイル */
.column-card {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 画像部分 */
.card-image img {
  width: 100%;
  height: 410px; 
  object-fit: cover; 
  display: block;
}

/* テキスト・ボタンコンテンツ部分 */
.card-content {
  display: flex;
  flex-direction: column;
  flex: 1; 
}

.card-title {
	text-align:center;
  font-size: 1.2rem;
  margin-bottom: 12px;

}

.card-text {
	text-align:center;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1; }

/* ボタン */
.card-btn {
  display: block;
  width: 130px;
  margin: 0 auto; 
  box-sizing: border-box;
  text-align: center;
  background-color: transparent; 
  color: #777777;
  border: 1px solid #777777; 
  padding: 20px 0; 
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold;
  transition: all 0.3s ease;
}
.card-btn:hover {
   border: 1px solid #000;
}

/* --- レスポンシブ対応（スマホなどの画面が狭いときは1列にする） --- */
@media screen and (max-width: 768px) {
  .column-container {
    grid-template-columns: 1fr; 
    gap: 20px;
  }
  .three-column-section {
    padding: 40px 20px;
  }
	/* 画像部分 */
.card-image img {
  height: auto; 
}
}
/*about-section*/
.about-section{max-width: 1300px; 
    margin: 0 auto;
    padding: 80px 30px 10px;}
.about-section img{width:100%;}
.about-text{text-align:center;}
.about-text p{line-height: 2.5;}
.about-f{display:flex;flex-wrap: wrap;
  gap: 40px; 
  align-items: flex-start;}
.about-info {
  flex: 1;
  min-width: 300px;
}
.about-info h4{text-align:center;color: #333333; margin:1em 0 1em 0;font-size:22px;}
.about-map {
  flex: 1;
  min-width: 300px;
}
.about-map iframe {
  width: 100%;
  min-height: 400px;
  border-radius: 4px;
}
.about-map p{text-align:center;font-size:14px;margin:10px 0;}
.about-map p a{color: #c2924b;}
/* 会社概要テーブルのスタイル */
.company-table {
  width: 100%;        
  max-width: 450px;    
  margin: 0 auto;       
  border-collapse: collapse;
  border: none;
}

.company-table tr {
  border: none;
}

.company-table th,
.company-table td {
  padding: 10px 14px;
  border: none;
}

.company-table th {
  text-align: left;
  font-weight: normal;
  white-space: nowrap;
}

.company-table td {
  text-align: right;
}

.company-table a {
  text-decoration: none;
}

.company-table a:hover {
  text-decoration: underline;
}
.sns-f{display:flex;justify-content:center;}
.sns-f img{width:45px;}
.sns-l,.sns-i{width:350px;text-align:center;}
.sns-f h4{margin:15px;}
@media screen and (max-width: 768px) {
	.about-section{
    padding: 40px 30px 10px;}
	.sns-f{display:flex;justify-content:center;flex-direction:column;margin-bottom:50px;}
}
/*------------content-blog-----------------*/
/* 記事一覧：4列のグリッド */
.blog-postb {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 24px; 
}

/* 各記事カード */
.blog-postb article {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* -----------------------------------
 * 画像エリア（大きく上に配置）
 * ----------------------------------- */
.blog-postb .post-thumbb {
    width: 100%;
    order: -1; 
}

.blog-postb .post-thumbb a {
    display: block;
    width: 100%;
}

.blog-postb .post-thumbb img {
    width: 100%;
    height: 200px; 
    object-fit: cover;
    display: block;
}

/* -----------------------------------
 * テキストエリア（タイトルの幅を画像に合わせる）
 * ----------------------------------- */
.blog-postb .entry-headerb {
    padding: 16px; 
    display: flex;
    flex-direction: column;
}

/* タイトル */
.blog-postb .entry-headerb h3 {
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", Century Gothic, serif;
    font-size: 1rem;
    line-height: 1.5;
    margin: 5px 0;
    width: 100%; 
}

 .blog-postb .entry-headerb h3 a {
    color: #333;
    text-decoration: none;
    word-break: break-word; 
}
.blog-postb .entry-headerb .okome-icon-f h3{font-size:1.1rem;}

/* 投稿日時 */
 .blog-postb .post-dateb {
    font-size: 0.85rem;
    color: #888;
    margin-top: auto; 
}


/* -----------------------------------
 * レスポンシブ対応
 * ----------------------------------- */

/* タブレット（1024px以下）は2列 */
@media screen and (max-width: 1024px) {
    .c-news {
        padding: 30px 20px; 
    }
    
    .blog-postb {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* -----------------------------------
 * スマホ向け：横2列レイアウト設定
 * ----------------------------------- */
@media screen and (max-width: 600px) {
    /* 全体枠の余白を少し詰める */
    .c-news-inner {
        padding: 0;
    }

    /* 2列に変更 */
     .blog-postb {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* カード内の余白調整 */
    .blog-postb .entry-headerb {
        padding: 10px;
    }

    /* タイトルの文字サイズ調整 */
     .blog-postb .entry-headerb h3 {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 6px;
    }

    /* 日付の文字サイズ調整 */
     .blog-postb .post-dateb {
        font-size: 0.75rem;
    }

    /* 画像の高さ */
     .blog-postb .post-thumbb img {
        height: 120px;
    }
}

/*------------------------------------------------
 * 個別投稿ページ（投稿）
 * -----------------------------------------------*/
.post_title{text-align:center;margin:2em 0 1em 0;}
.post_content-s{max-width: 1000px; 
    margin: 0 auto; 
    padding: 80px 30px;}
/* ナビゲーション全体の枠組 */
.post-navigation-container {
    max-width: 1000px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 左右の枠組み（PC時は2列） */
.post-navigation-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

/* 各ナビゲーションブロック共通 */
.post-navigation-custom .nav-previous,
.post-navigation-custom .nav-next {
    width: 100%;
    box-sizing: border-box;
}

/* --- 左側（前の記事）：＜ ＋ サムネ ＋ タイトル --- */
.post-navigation-custom .nav-previous {
    justify-self: start;
}
.post-navigation-custom .nav-previous a {
    display: grid;
    grid-template-columns: auto 60px 1fr; /* 1:矢印, 2:サムネ, 3:タイトル */
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #c2924b;
    width: 100%;
    box-sizing: border-box;
}
.nav-previous .nav-arrow { grid-column: 1; text-align: left; }
.nav-previous .nav-thumb { grid-column: 2; }
.nav-previous .nav-title { grid-column: 3; text-align: left; }


/* --- 右側（次の記事）：タイトル ＋ サムネ ＋ ＞ --- */
.post-navigation-custom .nav-next {
    justify-self: end;
    text-align: right;
}
.post-navigation-custom .nav-next a {
    display: grid;
    grid-template-columns: 1fr 60px auto;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #c2924b;
    width: 100%;
    box-sizing: border-box;
}
.nav-next .nav-title { grid-column: 1; text-align: right; }
.nav-next .nav-thumb { grid-column: 2; }
.nav-next .nav-arrow { grid-column: 3; text-align: right; }


/* タイトル共通設定 */
.post-navigation-custom .nav-title {
    min-width: 0;
    overflow-wrap: break-word;
    line-height: 1.4;
    font-size: 12px;
}

/* サムネイルの固定（1:1を維持・絶対につぶれない） */
.nav-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    display: block;
}


/* ==========================================
   スマホ用レイアウト（画面幅768px以下の場合）
   ========================================== */
@media screen and (max-width: 768px) {
    /* グリッドを1列にして上下に並べる */
    .post-navigation-custom {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .post-navigation-custom .nav-previous,
    .post-navigation-custom .nav-next {
        width: 100%;
        justify-self: stretch;
        text-align: left;
    }

    /* スマホの下側（次の記事）も、PCのときと同じ「タイトル → サムネ → ＞」のままにする場合 */
    .post-navigation-custom .nav-next a {
        grid-template-columns: 1fr 60px auto;
        text-align: left;
    }
    .nav-next .nav-title { grid-column: 1; text-align: left; }
    .nav-next .nav-thumb { grid-column: 2; }
    .nav-next .nav-arrow { grid-column: 3; text-align: right; } /* 矢印だけ右端に置きたい場合は右寄せに */
}
/*パンクズ*/
.single-breadcrumb{margin-top:40px;padding:20px 0;border-bottom:0.5px solid #ccc;}
.single-breadcrumb ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
	margin-left: 15px;
		font-size:12px;
}
.single-breadcrumb li + li::before {
    content: ">";
    margin: 0 10px;
    color: #888;

}
/*こちらの記事も*/
.related-posts {
    max-width: 1000px;
    margin: 40px auto; 
    padding: 0 20px;}   

.related-title {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* 3カラムのグリッドレイアウト（PC用） */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* カード同士の間隔 */
}

.related-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* サムネイルを1:1（正方形）にする設定 */
.related-thumb {
    width: 100%;
    aspect-ratio: 1 / 1; /* 正方形にする */
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #f0f0f0; /* 画像がない場合の背景色 */
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 崩れを防いで画像を枠に合わせる */
    transition: transform 0.3s ease;
}

.related-item a:hover .related-thumb img {
    transform: scale(1.05); /* ホバー時に少し拡大 */
}

/* タイトル */
.related-post-title {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0 0 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2行以上は省略 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 日付 */
.related-date {
    font-size: 0.8rem;
    color: #777;
}

/* スマホ対応（画面幅768px以下は2カラム＆余白調整） */
@media screen and (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr); /* ★ スマホで2カラムに変更 */
        gap: 15px; /* スマホでは少し間隔を狭めるとスッキリします */
    }
    
    .related-posts {
        padding: 0 10px; /* スマホでは左右のパディングを少し狭く */
    }
.related-grid .related-item:nth-child(3) {
        display: none !important;
    }
    .post_content-s {
        max-width: 1000px;
        margin: 0 auto;
        padding: 10px 10px;
    }
}
/* 基本のカテゴリーバッジ設定 */
.category-badge {
    color: #fff;               /* 文字：白 */
    font-size: 0.85rem;        
    padding: 6px 14px;         
    text-decoration: none;     
    border-radius: 4px;        
    display: inline-block;
    transition: opacity 0.2s ease;
}

.category-badge:hover {
    opacity: 0.8;
    color: #fff;
}

/* --- カテゴリー「お知らせ (info)」 --- */
.category-badge.cat-info {
    background-color: #7c0000; 
}

/* --- カテゴリー「お米のコラム (rice-colmn)」 --- */
.category-badge.cat-rice-colmn {
    background-color: #d29900;
}

/* --- その他のカテゴリー（もし他にある場合のデフォルト色） --- */
.category-badge {
    background-color: #000; /* デフォルトは黒 */
}
/* 1. 日付の下に50pxあける */
.post_content-s time.meta-date {
    display: block;
    margin-bottom:80px;
}

/* 3. カテゴリーの上に50pxあける（すでに設定している場合は数値を変更） */
.post-categories {
    margin-top: 80px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
/*----------------投稿ページスマホ用----------------*/
@media screen and (max-width: 1024px) {
	.left{text-align: left!important;}
	.menu_title2 {font-size:180%;}
	.post_meta-s h1{font-size:180%;}
	.post_meta-a h1{font-size:180%;}}
/*------------投稿ページスマホ用ここまで--------------*/
/*------------------------------------------------
 * アーカイブ
 * -----------------------------------------------*/
.archive-c{max-width: 1300px; 
    margin: 0 auto; 
    padding: 80px 30px; }
/* 記事アイテム全体のレイアウト（横並び） */
.archive-post-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

/* 左側：画像コンテナ（200x200px固定） */
.archive-post-thumbnail {
    position: relative; /* カテゴリーバッジを重ねるための基準 */
    flex-shrink: 0;
    width: 200px;
    height: 200px;
}

.archive-post-thumbnail img {
    width: 200px;
    height: 200px;
    object-fit: cover; /* 画像が崩れないようにトリミング */
}

/* 右上に重ねるカテゴリー名 */
.archive-category-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #d29900;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    text-decoration: none;
    z-index: 2;
    transition: background-color 0.2s;
}

.archive-category-badge:hover {
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
}
/* --- デフォルト（どのカテゴリーにも当てはまらない場合の色） --- */
.archive-category-badge {
    background-color: rgba(0, 0, 0, 0.7);
}
.archive-post-meta .meta-category {
    color: #0073aa;
}

/* --- カテゴリー「お知らせ (info)」 --- */
.cat-info .archive-category-badge {
    background-color: #7c0000; /* 赤系 */
}
.cat-info .archive-post-meta .meta-category {
    color: #7c0000;
}
/* --- カテゴリー「お米のコラム (rice-colmn)」 --- */
.cat-rice-colmn .archive-category-badge {
    background-color: #d29900;
}
.cat-rice-colmn .archive-post-meta .meta-category {
    color: #d29900;
}
/* 右側：テキストコンテンツ */
.archive-post-content {
    flex-grow: 1;
}

/* タイトル */
.archive-post-title {
    font-size: 1.25rem;
    margin: 0 0 10px 0;
    line-height: 1.4;
text-align:left;
}

.archive-post-title a {
    color: #333;
    text-decoration: none;
}

.archive-post-title a:hover {
    color: #0073aa;
}

/* カテゴリー ｜ 日付 メタ情報 */
.archive-post-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.archive-post-meta .meta-category {
    color: #0073aa;
}

/* 抜粋 */
.archive-post-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}
@media screen and (max-width: 767px) {
	.archive-c{
    padding: 20px 20px; }
.archive-post-thumbnail {
    position: relative; /* カテゴリーバッジを重ねるための基準 */
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.archive-post-thumbnail img {
    width: 100px;
    height: 100px;
    object-fit: cover; /* 画像が崩れないようにトリミング */
}
	.archive-category-badge{display:none;}
	.archive-post-excerpt{display:none;}
	.archive-post-title {
		font-size: 1.0rem;}
	.archive-post-item {
    margin-bottom: 10px;
		padding-bottom:10px;
}
}
/* ---パンくず--- */
/* パンくずリスト全体 */
.archive-breadcrumb {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;margin-left:20px;
}

.archive-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.archive-breadcrumb li a {
    color: #c2924b;
    text-decoration: none;
}

.archive-breadcrumb li a:hover {
    text-decoration: underline;
}
.archive-breadcrumb li:not(:last-child)::after {
    content: ">";
    margin: 0 10px; /* 左右の余白はお好みで調整してください */
    color: #666;    /* 色もお好みで調整してください */
}
/* 区切り文字（>）の色や余白 */
.breadcrumb-separator {
    color: #999;
    font-size: 0.75rem;
}

/* 現在のページ（リンクなし） */
.archive-breadcrumb li span {
    color: #333;
}
/* ---パンくずおわり--- */
/*Pagenation*/
/* ページネーション全体 */
.pagenation {
    margin: 40px 0;
    text-align: center;
}

.pagenation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

/* 各ボタン・番号 */
.pagenation li a,
.pagenation li.active {
    display: block;
    padding: 8px 14px;
    font-size: 0.9rem;
    color: #333;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s;
}

/* ホバー時 */
.pagenation li a:hover {
    background: #666;
    color: #fff;
    border-color: #666;
}

/* 現在のページ */
.pagenation li.active {
    background: #666;
    color: #fff;
    border-color: #666;
}
/*------------------------------------------------
 *固定ページ（page)
 * -----------------------------------------------*/
.post_content{max-width: 1340px; 
    margin: 0 auto; 
    padding: 80px 30px;}
.page-breadcrumb{border-bottom:0.5px;}
.page-breadcrumb ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap; 
}

.page-breadcrumb li {
    display: flex;
    align-items: center;
}

/* 最後の項目以外に「>」を表示する */
.page-breadcrumb li:not(:last-child)::after {
    content: ">";
    margin: 0 10px;
    color: #666;
}
/*パンクズ*/
.page-breadcrumb{margin-top:40px;padding:20px 0;border-bottom:0.5px solid #ccc;}
.page-breadcrumb ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
	margin-left: 15px;
		font-size:12px;
}

@media screen and (max-width: 767px) {
	.post_content{padding:30px 15px;}
	}
/*------------------------------------------------
 * フッター
 * -----------------------------------------------*/
footer {
  width: 100%;
  color: #fff;
  background-image: url("images/sakado.jpg");
  background-size: cover;          /* 画像をキレイに引き伸ばして隙間をなくす */
  background-position: center top;
  background-repeat: no-repeat;    /* 画像が繰り返さないようにする */
  position: relative;
  z-index: 10;                     /* スライドより手前に配置する */
  padding: 5px 0;              /* フッターの中に十分な高さを出すための上下の余白（お好みで調整） */
  box-sizing: border-box;
}
footer hr {
    max-width: 1300px;
    margin: 0.5em auto; 
    border: none; 
    border-top: 0.3px solid #777;
    text-align: center;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(79, 79, 79, 0.7); /* ご希望の黒い半透明フィルター */
  z-index: -1; /* フッター内の文字や画像より「奥」に配置する */
}
.fo-text{text-align:center; }
.fo-text a{color:#fff;}
.fo-text img{width:240px;margin-top:50px;}
.page-footer{
	text-align: center;
	}
.menu-fo{display:flex;justify-content:center;}
.copyright{
  text-align: center;
  color:#FFF;
  margin: 0.3em 0;
  }

#footer-nav1 ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
	font-size:12px;
}

/* 各メニュー項目（リンク部分）のデザインとホバー設定 */
#footer-nav1 li a {
    display: block;
    padding: 8px 16px; /* 文字の周りの余白（クリックしやすくなります） */
    color: #fff; 
    text-decoration: none;
    transition: background-color 0.3s ease; 
}

/* ホバー時に背景を白っぽくする */
#footer-nav1 li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}
/*----------------フッタースマホ用----------------*/
@media screen and (max-width: 1024px) {
	 footer {
    width: 100%;
	}}
/*------------フッタースマホ用ここまで--------------*/
/* トップへ戻るボタン */
.to-top {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  right: 24px;   /* 画面端から少し離す */
  bottom: 24px;  /* 下から少し浮かせる */
  font-size: 18px; /* アイコンを上品なサイズに */
  color: #ffffff;
  background: #555;
  border-radius: 50%; /* まんまるにする */
  box-shadow: 0 4px 12px rgba(14, 37, 77, 0.25); /* 柔らかい影 */
  cursor: pointer;
  margin: 0;
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* なめらかな動き */
}

/* ホバー時の演出（少し上に持ち上がって拡大） */
.to-top:hover {
  transform: translateY(-4px) scale(1.05);
  background: #000; /* 気持ち明るく */
  box-shadow: 0 8px 20px rgba(14, 37, 77, 0.35);
}

/* スマホ表示時は少しだけ小さく＆端寄りに調整 */
@media screen and (max-width: 767px) {
  .to-top {
    width: 42px;
    height: 42px;
    right: 16px;
    bottom: 16px;
    font-size: 16px;
  }
}
/************************************
** お問い合わせフォームの入力
************************************/
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field {
  display: block;
  width: 95%;
  height: 30px;
  margin-bottom: 0;
  padding: 4px 6px;
  border: 1px dotted rgba(212, 212, 212, 1.00);
  border-radius: 3px;
  box-shadow: none;
  color: #5c6b80;
  font-size: 1em;
  vertical-align: middle;
  line-height: 45px;
  transition: background-color 0.24s ease-in-out;
}
textarea {
  max-width: 95%;
  min-height: 120px;
  line-height: 1.5em;
  padding: 0.5em;
  overflow: auto;
}
@media(max-width:500px) {
    .inquiry td,
    .inquiry th {
        display: block !important;
        width: 95% !important;
        border-top: none !important;
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important
    }
    .inquiry tr:first-child th {
        border-top: 1px solid #d7d7d7 !important
    }
    .inquiry .any,
    .inquiry .haveto {
        font-size: 10px
    }
}
.inquiry th {
    text-align: left;
    font-size: 14px;
    color: #444;
    padding-right: 5px;
    width: 30%;
    background: #f7f7f7;
    border: solid 1px #d7d7d7
}
.inquiry td {
    font-size: 13px;
    border: solid 1px #d7d7d7
}
.entry-content .inquiry tr,
.entry-content table {
    border: solid 1px #d7d7d7
}
.haveto {
    font-size: 7px;
    padding: 5px;
    background: #ff9393;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px
}
.any {
    font-size: 7px;
    padding: 5px;
    background: #93c9ff;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px
}
.verticallist .wpcf7-list-item {
    display: block
}
.wpcf7-submit {
    display: block;
    padding: 15px;
    width: 350px;background: #fff;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    border-radius: 2px;
    margin: 25px auto 0
}
.wpcf7-submit:hover{opacity: 0.6;}
input,
select,
textarea {
    border: 1px solid #dfdfdf;
    letter-spacing: 1px;
    margin: 0;
    max-width: 100%;
    resize: none
}
.cartjs_product_table table td, .cartjs_product_table table th{text-align:center;}
button,
input,
select,
textarea {
  font-family: inherit;
}