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

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

/* PC用：横並び4カラム＋縦長統一 */
.equal-columns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap; /* 幅が狭くても折り返し可能 */
}

.equal-columns > * {
  flex: 1 1 calc(25% - 0.75rem); /* 4カラム固定 */
  position: relative;
}

.equal-columns img {
  width: 100%;
  aspect-ratio: 3 / 4;  /* 縦長比率 */
  object-fit: cover;     /* 中央トリミング */
  border-radius: 10px;   /* optional：角丸 */
}

/* 文字を重ねたバナー対応 */
.equal-columns .banner-text {
  position: absolute;
  top: 10px;
  left: 10px;
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* モバイル対応：横並び2カラム＋縦長維持 */
@media (max-width: 768px) {
  .equal-columns > * {
    flex: 1 1 calc(50% - 0.5rem); /* 2カラム */
  }

  .equal-columns img {
    width: 100%;
    height: auto;  /* 縦横比を保つ */
    object-fit: cover;
  }
}


/* === kurataga design v2 === */

.l-topTitleArea {
  min-height: 200px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}
.l-topTitleArea::before {
  background: linear-gradient(160deg, #2e4a35 0%, #4a7c59 50%, #6b9c72 100%) !important;
}
.c-pageTitle {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif !important;
  font-weight: 600 !important;
  font-size: 2.4rem !important;
  color: #fff !important;
  letter-spacing: 0.25em !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25) !important;
  position: relative !important;
  z-index: 1 !important;
}
.l-mainContent {
  background: #faf8f3 !important;
}
.post_content {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', serif !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 3rem 2rem 4rem !important;
  color: #2c2c2c !important;
  line-height: 2.0 !important;
}

.post_content > p:not(:first-child) {
  font-size: 1.0rem !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 1.8rem !important;
}
.post_content > p:last-of-type {
  font-size: 0.92rem !important;
  color: #5a7a60 !important;
  background: #eef4ec !important;
  border-left: 3px solid #7aad84 !important;
  padding: 0.9rem 1.2rem !important;
  border-radius: 0 6px 6px 0 !important;
  margin-top: 2.5rem !important;
}
.post_content .wp-block-image {
  margin: 2.5rem auto !important;
  box-shadow: 0 8px 32px rgba(46,74,53,0.15), 0 2px 8px rgba(0,0,0,0.08) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}
.post_content .wp-block-image img {
  border-radius: 8px !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
}
.post_content a {
  color: #3a6645 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #8ab894 !important;
  padding-bottom: 1px !important;
  transition: color 0.2s, border-color 0.2s !important;
}
.post_content a:hover {
  color: #1e3a26 !important;
  border-color: #1e3a26 !important;
}
.p-breadcrumb {
  background: transparent !important;
  color: #6a8a6e !important;
  font-family: 'Noto Serif JP', serif !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.06em !important;
}

/* 山椒の栽培ページ：ヒーロー画像の高さ */
.page-id-112 .l-topTitleArea {
  min-height: 33vh !important;
  height: 33vh !important;
}

/* カスタマイザーの追加CSS（WAF回避のため移行） */
#body_wrap::before {
  opacity: 0.25;
}

@media screen and (min-width: 960px) {
  #header {
    background: none;
  }
}