/* ========================================
   ブログ共通：パンくず・見出し
======================================== */
.oim-breadcrumb {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
}

.oim-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #8a7664;
  font-size: 12px;
}

.oim-breadcrumb__list li + li::before {
  content: "/";
  margin-right: 10px;
  color: #c5b7aa;
}

.oim-breadcrumb a {
  text-decoration: none;
}

/* ========================================
   ブログトップ：タイトルエリア
======================================== */
.oim-blog-masthead {
  border-bottom: 1px solid #f0e7de;
  background: #fff;
}

.oim-blog-masthead__inner {
  padding-top: 58px;
  padding-bottom: 52px;
  text-align: center;
}

.oim-blog-masthead h1 {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.35;
  letter-spacing: .04em;
}

.oim-blog-masthead__description {
  max-width: 720px;
  margin: 14px auto 0;
  color: #756255;
  font-size: 15px;
  line-height: 1.8;
}

.oim-front-container {
  padding-top: 54px;
  padding-bottom: 88px;
}

.oim-front-featured {
  padding-bottom: 56px;
  border-bottom: 1px solid #f2ebe4;
}

.oim-section-heading--compact {
  margin-bottom: 26px;
}

.oim-post-grid--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.oim-content-layout--front {
  padding-top: 56px;
  padding-bottom: 0;
}

.oim-post-grid--front {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oim-front-more {
  margin-top: 36px;
  text-align: center;
}

.oim-button--outline {
  border: 1px solid var(--oim-brown);
  background: #fff;
  color: var(--oim-brown);
}

.oim-button--outline:hover {
  background: var(--oim-brown);
  color: #fff;
}

/* ========================================
   記事カード
======================================== */
.oim-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.oim-post-grid--related {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oim-post-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #eee4da;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(90, 61, 43, .045);
  transition: transform .25s ease, box-shadow .25s ease;
}

.oim-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(90, 61, 43, .09);
}

.oim-post-card__image-link {
  display: block;
  text-decoration: none;
}

.oim-post-card__image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f5f1ed;
}

.oim-post-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.oim-post-card:hover .oim-post-card__image {
  transform: scale(1.035);
}

.oim-post-card__noimage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #aa998d;
  font-size: 13px;
}

.oim-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.oim-post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
}

.oim-post-categories a {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff1e7;
  color: var(--oim-orange);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
}

.oim-post-card__title {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.55;
}

.oim-post-card__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  color: #9b887a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.oim-post-card__date svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.oim-post-card__title a {
  color: inherit;
  text-decoration: none;
}

.oim-post-card__title a:hover {
  color: var(--oim-orange);
}

.oim-post-card__excerpt {
  margin: 0;
  color: #746255;
  font-size: 13px;
  line-height: 1.72;
}

/* ========================================
   カテゴリー一覧
======================================== */
.oim-category-section {
  padding-top: 60px;
}

.oim-category-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.oim-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border: 1px solid var(--oim-line);
  border-radius: 14px;
  text-decoration: none;
}

.oim-category-list small {
  color: #9d8b7e;
}

/* ========================================
   2カラム本文＋サイドバー
======================================== */
.oim-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 52px;
  align-items: start;
  padding-top: 54px;
  padding-bottom: 80px;
}

.oim-content-main {
  min-width: 0;
}

.oim-sidebar {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.oim-sidebar-box {
  padding: 22px;
  border: 1px solid var(--oim-line);
  border-radius: 14px;
  background: #fff;
}

.oim-sidebar-box h2 {
  margin: 0 0 16px;
  padding-bottom: 11px;
  border-bottom: 2px solid #f0e6dc;
  font-size: 19px;
  line-height: 1.4;
}

.oim-sidebar-search__row {
  position: relative;
}

.oim-sidebar-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 46px 10px 13px;
  border: 1px solid #d9cec4;
  border-radius: 8px;
  background: #fff;
  color: var(--oim-brown);
  outline: none;
}

.oim-sidebar-search input:focus {
  border-color: var(--oim-orange);
  box-shadow: 0 0 0 3px rgba(235, 97, 0, .09);
}

.oim-sidebar-search button {
  position: absolute;
  top: 50%;
  right: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: var(--oim-brown);
  color: #fff;
  transform: translateY(-50%);
  cursor: pointer;
}

.oim-sidebar-search button svg {
  width: 18px;
  height: 18px;
}

.oim-sidebar-box ul,
.oim-sidebar-box ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.oim-sidebar-category-list li,
.oim-sidebar-archive-list li {
  border-bottom: 1px solid #f2ebe4;
}

.oim-sidebar-category-list li:last-child,
.oim-sidebar-archive-list li:last-child {
  border-bottom: 0;
}

.oim-sidebar-category-list a,
.oim-sidebar-archive-list a {
  display: inline-block;
  padding: 9px 0;
  text-decoration: none;
}

.oim-sidebar-category-list a:hover,
.oim-sidebar-archive-list a:hover {
  color: var(--oim-orange);
}

.oim-sidebar-ranking {
  counter-reset: oim-ranking;
}

.oim-sidebar-ranking li {
  position: relative;
  counter-increment: oim-ranking;
  padding: 0 0 13px 34px;
  border-bottom: 1px solid #f2ebe4;
}

.oim-sidebar-ranking li + li {
  margin-top: 13px;
}

.oim-sidebar-ranking li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.oim-sidebar-ranking li::before {
  content: counter(oim-ranking);
  position: absolute;
  top: 1px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff1e7;
  color: var(--oim-orange);
  font-size: 11px;
  font-weight: 900;
}

.oim-sidebar-ranking a {
  display: block;
  text-decoration: none;
}

.oim-sidebar-ranking__title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.oim-sidebar-ranking time {
  display: block;
  margin-top: 3px;
  color: #9b887a;
  font-size: 10px;
}

/* ========================================
   記事詳細
======================================== */
.oim-article {
  max-width: 780px;
  margin: 0 auto;
}

.oim-article__header {
  margin-bottom: 28px;
}

.oim-article__header h1 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.45;
}

.oim-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #8d7a6d;
  font-size: 12px;
}

.oim-article__hero {
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 16px;
}

.oim-article__hero img {
  display: block;
  width: 100%;
}

/* ========================================
  ブログ・レシピ記事共通 SNSシェア
======================================== */

.oim-share-section,
.oim-share-section * {
  box-sizing: border-box;
}

.oim-share-section {
  width: 100%;
  margin: 56px 0 42px;
  padding: 28px;
  border-top: 1px solid #dce3e8;
  border-bottom: 1px solid #dce3e8;
  background: #ffffff;
}

.oim-share-section__title {
  margin: 0 0 18px;
  color: #222222;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.oim-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.oim-share__button {
  display: inline-flex;
  min-width: 0;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 calc(25% - 8px);
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.oim-share__button:link,
.oim-share__button:visited {
  color: #ffffff;
}

.oim-share__button:hover {
  color: #ffffff;
  opacity: 0.86;
  transform: translateY(-1px);
}

.oim-share__button:focus-visible {
  outline: 3px solid rgba(23, 111, 168, 0.3);
  outline-offset: 3px;
}

.oim-share__icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.oim-share__button--x {
  background: #111111;
}

.oim-share__button--facebook {
  background: #1877f2;
}

.oim-share__button--line {
  background: #06c755;
}

.oim-share__button--copy {
  border-color: #607d8b;
  background: #607d8b;
}

.oim-share__button--copy.is-copied {
  border-color: #176fa8;
  background: #176fa8;
}

.oim-share-section__message {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: #176fa8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .oim-share-section {
    margin: 46px 0 34px;
    padding: 23px 0;
  }

  .oim-share-section__title {
    margin-bottom: 15px;
    text-align: left;
  }

  .oim-share {
    gap: 8px;
  }

  .oim-share__button {
    min-height: 45px;
    padding: 9px 10px;
    font-size: 12px;
    flex-basis: calc(50% - 4px);
  }

  .oim-share-section__message {
    text-align: left;
  }
}

.oim-article__content {
  font-size: 17px;
  line-height: 1.95;
}

.oim-article__content > *:first-child {
  margin-top: 0;
}

.oim-article__content h2 {
  margin: 2.5em 0 1em;
  padding: 14px 18px;
  border-left: 5px solid var(--oim-orange);
  background: #fff9ee;
  font-size: 28px;
  line-height: 1.55;
}

.oim-article__content h3 {
  margin: 2.1em 0 .8em;
  padding-bottom: 8px;
  border-bottom: 2px solid #eadfd4;
  font-size: 23px;
}

.oim-article__content h4 {
  margin: 1.8em 0 .6em;
  font-size: 20px;
}

.oim-article__content p {
  margin: 0 0 1.5em;
}

.oim-article__content img {
  border-radius: 10px;
}

.oim-article__content table {
  width: 100%;
  border-collapse: collapse;
}

.oim-article__content th,
.oim-article__content td {
  padding: 10px;
  border: 1px solid var(--oim-line);
}

.oim-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--oim-line);
}

.oim-post-navigation div:last-child {
  text-align: right;
}

.oim-post-navigation a {
  font-weight: 700;
  text-decoration: none;
}

.oim-page-container {
  max-width: 900px;
  padding-top: 54px;
  padding-bottom: 80px;
}

.oim-not-found {
  padding: 100px 0;
  text-align: center;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--oim-line);
  border-radius: 999px;
  text-decoration: none;
}

.nav-links .current {
  border-color: var(--oim-orange);
  background: var(--oim-orange);
  color: #fff;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1020px) {
  .oim-post-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oim-content-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 34px;
  }
}

@media (max-width: 860px) {
  .oim-content-layout {
    grid-template-columns: 1fr;
  }

  .oim-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .oim-breadcrumb {
    width: calc(100% - 24px);
  }

  .oim-blog-masthead__inner {
    padding-top: 38px;
    padding-bottom: 36px;
  }

  .oim-blog-masthead h1 {
    font-size: 30px;
  }

  .oim-blog-masthead__description {
    font-size: 13px;
  }

  .oim-front-container {
    padding-top: 38px;
    padding-bottom: 64px;
  }

  .oim-front-featured {
    padding-bottom: 42px;
  }

  .oim-content-layout--front {
    padding-top: 42px;
  }

  .oim-post-grid,
  .oim-post-grid--front,
  .oim-post-grid--featured,
  .oim-post-grid--related {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .oim-post-card__title {
    font-size: 18px;
  }

  .oim-sidebar {
    display: flex;
  }

  .oim-article__content {
    font-size: 16px;
  }

  .oim-article__content h2 {
    font-size: 23px;
  }

  .oim-post-navigation {
    grid-template-columns: 1fr;
  }

  .oim-post-navigation div:last-child {
    text-align: left;
  }
}

/* ========================================
   v1.2 サイドバー・記事一覧改善
======================================== */
.oim-sidebar-search-box {
  padding: 0;
}

.oim-sidebar-search input {
  min-height: 48px;
  padding: 11px 48px 11px 4px;
  border: 0;
  border-bottom: 1px solid #d9cec4;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
}

.oim-sidebar-search input:focus {
  border-color: var(--oim-orange);
  box-shadow: none;
}

.oim-sidebar-search button {
  right: 0;
  border-radius: 999px;
}

.oim-sidebar-ranking li {
  padding: 0;
}

.oim-sidebar-ranking li::before {
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  background: var(--oim-orange);
  color: #fff;
  box-shadow: 0 3px 8px rgba(90, 61, 43, .16);
}

.oim-sidebar-ranking li:nth-child(n + 4)::before {
  background: #8f8f8f;
  color: #fff;
}

.oim-sidebar-ranking a {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.oim-sidebar-ranking__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #f4efea;
}

.oim-sidebar-ranking__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oim-sidebar-ranking__noimage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #aa998d;
  font-size: 9px;
}

.oim-sidebar-ranking__content {
  min-width: 0;
}

.oim-sidebar-ranking__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 13px;
  line-height: 1.5;
}

.oim-sidebar-cta-area {
  display: grid;
  gap: 14px;
}

.oim-sidebar-widget {
  overflow: hidden;
}

.oim-sidebar-widget > *:first-child {
  margin-top: 0;
}

.oim-sidebar-widget img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.oim-sidebar-banner {
  display: flex;
  min-height: 145px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff7e8 0%, #f4dfbd 100%);
  color: var(--oim-brown);
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(90, 61, 43, .08);
}

.oim-sidebar-banner--orange {
  background: linear-gradient(145deg, #ed7b2e 0%, #d95b11 100%);
  color: #fff;
}

.oim-sidebar-banner__eyebrow {
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.oim-sidebar-banner strong {
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  line-height: 1.45;
}

.oim-sidebar-banner > span:last-child {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
}

.oim-pagination {
  margin-top: 42px;
}

.oim-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oim-pagination a,
.oim-pagination span {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid var(--oim-line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
}

.oim-pagination .current {
  border-color: var(--oim-orange);
  background: var(--oim-orange);
  color: #fff;
}

/* ========================================
   v1.3 検索・正方形バナー・レシピ
======================================== */
.oim-sidebar-search-box {
  padding: 0;
}

.oim-sidebar-search__row {
  overflow: hidden;
  border: 1px solid #d9cec4;
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.oim-sidebar-search__row:focus-within {
  border-color: var(--oim-orange);
  box-shadow: 0 0 0 3px rgba(235, 97, 0, .09);
}

.oim-sidebar-search input {
  min-height: 48px;
  padding: 11px 50px 11px 14px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.oim-sidebar-search input:focus {
  border: 0;
  box-shadow: none;
}

.oim-sidebar-search button {
  right: 6px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.oim-sidebar-image-banner,
.oim-sidebar-widget .wp-block-image a {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: #f4efea;
  box-shadow: 0 7px 18px rgba(90, 61, 43, .08);
}

.oim-sidebar-image-banner img,
.oim-sidebar-widget .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform .35s ease;
}

.oim-sidebar-image-banner:hover img,
.oim-sidebar-widget .wp-block-image a:hover img {
  transform: scale(1.03);
}

.oim-sidebar-widget .wp-block-image {
  margin: 0;
}

.oim-archive-header--recipe {
  margin-bottom: 32px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--oim-line);
}

.oim-archive-header--recipe h1 {
  margin: 4px 0 12px;
}

.oim-archive-header--recipe p:last-child {
  margin: 0;
  color: #806b5d;
  line-height: 1.8;
}

.oim-recipe-article .oim-eyebrow {
  margin: 0 0 8px;
}

.oim-recipe-content h2 {
  border-left: 4px solid var(--oim-orange);
}


/* ========================================
   v1.4 一覧2カラム・独立トップ・バナーのみ追従
======================================== */

/* 記事・カテゴリー・検索・レシピの一覧はPCで2カラム */
.oim-post-grid--archive,
.oim-post-grid--front,
.oim-recipe-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* おすすめ記事のみ、トップ上部の3カラムを維持 */
.oim-post-grid--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* サイドバー全体は追従させない */
.oim-sidebar {
  position: static;
  align-self: stretch;
  height: 100%;
}

/* 正方形バナーだけを追従 */
.oim-sidebar-cta-area {
  position: sticky;
  top: 92px;
  z-index: 2;
}

.oim-recipe-masthead {
  margin-top: 22px;
}

.oim-recipe-archive-layout {
  padding-top: 54px;
}

@media (max-width: 1020px) {
  .oim-post-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .oim-sidebar {
    height: auto;
  }

  .oim-sidebar-cta-area {
    position: static;
  }
}

@media (max-width: 640px) {
  .oim-post-grid--archive,
  .oim-post-grid--front,
  .oim-post-grid--featured,
  .oim-recipe-grid {
    grid-template-columns: 1fr;
  }

  .oim-recipe-masthead {
    margin-top: 14px;
  }
}

/* ========================================
   v1.5 レシピ専用サイドバー・カテゴリー
======================================== */
.oim-sidebar--recipe .oim-sidebar-box h2 {
  border-bottom-color: #f6dccb;
}

.oim-sidebar--recipe .oim-sidebar-search button {
  background: var(--oim-orange);
}

.oim-recipe-archive-layout .oim-archive-description {
  margin-top: 12px;
  color: #806b5d;
  line-height: 1.8;
}

/* ========================================
  オイモール レシピ記事共通CSS
  読みやすさ優先・ブログ記事用
======================================== */

/* ----------------------------------------
  基本設定
---------------------------------------- */

.single-recipe .oim-recipe-body,
.single-recipe .oim-recipe-body * {
  box-sizing: border-box;
}

.single-recipe .oim-recipe-body {
  width: 100%;
  margin: 0;
  color: #333333;
  font-family:
    "Zen Kaku Gothic New",
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.01em;
}

.single-recipe .oim-recipe-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
  vertical-align: bottom;
}

.single-recipe .oim-recipe-body p {
  margin: 0 0 1.55em;
}

.single-recipe .oim-recipe-body strong {
  color: #d9480f;
  font-weight: 700;
}

.single-recipe .oim-recipe-body a {
  color: #1268a5;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.single-recipe .oim-recipe-body a:hover {
  color: #084d7c;
}


/* ----------------------------------------
  テーマ側の記事本文指定を整理
---------------------------------------- */

.single-recipe .oim-article__content {
  color: #333333;
  font-size: 17px;
  line-height: 1.95;
}

.single-recipe .oim-article__content h2,
.single-recipe .oim-article__content h3,
.single-recipe .oim-article__content h4 {
  font-family:
    "Zen Kaku Gothic New",
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif;
}


/* ----------------------------------------
  記事タイトル
---------------------------------------- */

.single-recipe .oim-article__header {
  margin-bottom: 26px;
}

.single-recipe .oim-article__header h1 {
  margin: 12px 0 17px;
  color: #222222;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.single-recipe .oim-article__meta {
  color: #666666;
  font-size: 12px;
}

.single-recipe .oim-article__hero {
  margin-bottom: 28px;
  border-radius: 6px;
}

.single-recipe .oim-article__hero img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}


/* ----------------------------------------
  H2・H3・H4
---------------------------------------- */

.single-recipe .oim-recipe-body h2 {
  position: relative;
  margin: 62px 0 25px;
  padding: 15px 18px;
  border: 0;
  border-left: 6px solid #ed5a19;
  border-radius: 3px;
  background: #fff2e8;
  color: #222222;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.single-recipe .oim-recipe-body h2::before,
.single-recipe .oim-recipe-body h2::after {
  display: none;
  content: none;
}

.single-recipe .oim-recipe-body h3 {
  position: relative;
  margin: 43px 0 19px;
  padding: 0 0 11px;
  border: 0;
  border-bottom: 3px solid #e2e7eb;
  background: transparent;
  color: #222222;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}

.single-recipe .oim-recipe-body h3::before {
  display: none;
  content: none;
}

.single-recipe .oim-recipe-body h3::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  display: block;
  width: 88px;
  height: 3px;
  background: #176fa8;
  content: "";
}

.single-recipe .oim-recipe-body h4 {
  margin: 34px 0 15px;
  padding: 0 0 0 12px;
  border: 0;
  border-left: 4px solid #176fa8;
  background: transparent;
  color: #222222;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}


/* ----------------------------------------
  導入
---------------------------------------- */

.single-recipe .oim-recipe-lead {
  margin: 0 0 34px;
  padding: 25px 27px;
  border: 1px solid #b9d6e8;
  border-top: 5px solid #176fa8;
  border-radius: 5px;
  background: #f4faff;
}

.single-recipe .oim-recipe-lead__label {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 11px;
  border-radius: 3px;
  background: #176fa8;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.single-recipe .oim-recipe-lead__title {
  margin: 0 0 13px;
  color: #222222;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.single-recipe .oim-recipe-lead__text {
  margin: 0;
  color: #333333;
}

.single-recipe .oim-recipe-intro {
  margin: 29px 0 0;
}


/* ----------------------------------------
  メイン画像
---------------------------------------- */

.single-recipe .oim-recipe-main-image {
  margin: 0 0 32px;
}

.single-recipe .oim-recipe-main-image img {
  width: 100%;
  border-radius: 6px;
}


/* ----------------------------------------
  目次
---------------------------------------- */

.single-recipe .oim-recipe-toc {
  margin: 39px 0 50px;
  padding: 25px 27px;
  border: 2px solid #bdd7e8;
  border-radius: 5px;
  background: #ffffff;
}

.single-recipe .oim-recipe-toc__title {
  margin: 0 0 15px;
  padding: 0 0 11px;
  border-bottom: 2px solid #176fa8;
  color: #222222;
  font-size: 18px;
  font-weight: 700;
}

.single-recipe .oim-recipe-toc ol,
.single-recipe .oim-recipe-toc ul {
  margin: 0;
  padding-left: 1.5em;
}

.single-recipe .oim-recipe-toc li {
  margin: 9px 0;
  padding-left: 3px;
  color: #333333;
}

.single-recipe .oim-recipe-toc li::marker {
  color: #176fa8;
  font-weight: 700;
}

.single-recipe .oim-recipe-toc a {
  color: #1268a5;
  font-weight: 500;
  text-decoration: none;
}

.single-recipe .oim-recipe-toc a:hover {
  color: #084d7c;
  text-decoration: underline;
}


/* ----------------------------------------
  ポイント
---------------------------------------- */

.single-recipe .oim-recipe-point {
  margin: 31px 0 41px;
  padding: 24px 26px;
  border: 2px solid #f3b56b;
  border-radius: 5px;
  background: #fff8ec;
}

.single-recipe .oim-recipe-point__title {
  margin: 0 0 14px;
  color: #c4410b;
  font-size: 20px;
  font-weight: 700;
}

.single-recipe .oim-recipe-point ul {
  margin: 0;
  padding-left: 1.4em;
}

.single-recipe .oim-recipe-point li {
  margin: 9px 0;
  color: #333333;
}

.single-recipe .oim-recipe-point li::marker {
  color: #ed5a19;
}


/* ----------------------------------------
  材料・準備物
---------------------------------------- */

.single-recipe .oim-recipe-items {
  margin: 23px 0 33px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cbd3d9;
  border-radius: 5px;
  background: #ffffff;
  list-style: none;
}

.single-recipe .oim-recipe-items li {
  position: relative;
  margin: 0;
  padding: 14px 16px 14px 40px;
  border-bottom: 1px solid #dbe1e5;
  color: #333333;
}

.single-recipe .oim-recipe-items li:last-child {
  border-bottom: 0;
}

.single-recipe .oim-recipe-items li::before {
  position: absolute;
  top: 22px;
  left: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #176fa8;
  content: "";
}


/* ----------------------------------------
  商品CTA
---------------------------------------- */

.single-recipe .oim-recipe-product {
  margin: 44px 0;
  padding: 27px;
  border: 1px solid #d7dde1;
  border-top: 5px solid #ed5a19;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 4px 13px rgba(0, 0, 0, 0.05);
}

.single-recipe .oim-recipe-product--sub {
  border-top-color: #455a64;
}

.single-recipe .oim-recipe-product__eyebrow {
  display: inline-block;
  margin: 0 0 9px;
  padding: 4px 10px;
  border-radius: 3px;
  background: #ed5a19;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.single-recipe .oim-recipe-product--sub
  .oim-recipe-product__eyebrow {
  background: #455a64;
}

.single-recipe .oim-recipe-product__title {
  margin: 0 0 13px;
  color: #222222;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.55;
}

.single-recipe .oim-recipe-product__description {
  margin: 0 0 23px;
  color: #333333;
}

.single-recipe .oim-recipe-product__body {
  display: flex;
  align-items: center;
  gap: 25px;
}

.single-recipe .oim-recipe-product__image {
  width: 39%;
  max-width: 280px;
  flex: 0 0 auto;
}

.single-recipe .oim-recipe-product__image img {
  width: 100%;
  border-radius: 5px;
}

.single-recipe .oim-recipe-product__content {
  min-width: 0;
  flex: 1;
}

.single-recipe .oim-recipe-product__point {
  margin: 0 0 19px;
  color: #222222;
  font-weight: 700;
}


/* ----------------------------------------
  ボタン
---------------------------------------- */

.single-recipe .oim-recipe-button {
  display: inline-flex;
  min-width: 235px;
  min-height: 51px;
  padding: 12px 25px;
  border: 2px solid #df4b12;
  border-radius: 4px;
  background: #df4b12;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none !important;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.single-recipe .oim-recipe-button:hover {
  border-color: #b73709;
  background: #b73709;
  color: #ffffff !important;
}

.single-recipe .oim-recipe-button--sub {
  border-color: #37474f;
  background: #37474f;
}

.single-recipe .oim-recipe-button--sub:hover {
  border-color: #263238;
  background: #263238;
}

.single-recipe .oim-recipe-note {
  margin: 11px 0 0;
  color: #666666;
  font-size: 12px;
  line-height: 1.75;
}


/* ----------------------------------------
  手順
---------------------------------------- */

.single-recipe .oim-recipe-steps {
  margin: 29px 0 0;
  border-top: 1px solid #cfd7dc;
}

.single-recipe .oim-recipe-step {
  padding: 34px 0 38px;
  border-bottom: 1px solid #cfd7dc;
}

.single-recipe .oim-recipe-step__label {
  display: inline-block;
  margin: 0 0 13px;
  padding: 6px 13px;
  border-radius: 3px;
  background: #176fa8;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.single-recipe .oim-recipe-step__title {
  margin: 0 0 15px;
  color: #222222;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.6;
}

.single-recipe .oim-recipe-step__text {
  margin: 0;
  color: #333333;
}

.single-recipe .oim-recipe-step__image {
  margin: 22px 0 0;
}

.single-recipe .oim-recipe-step__image img {
  width: 100%;
  border-radius: 5px;
}


/* ----------------------------------------
  注意事項
---------------------------------------- */

.single-recipe .oim-recipe-caution {
  margin: 33px 0;
  padding: 21px 23px;
  border: 1px solid #e69a9a;
  border-left: 7px solid #c62828;
  border-radius: 4px;
  background: #fff4f4;
}

.single-recipe .oim-recipe-caution__title {
  margin: 0 0 8px;
  color: #a71919;
  font-size: 18px;
  font-weight: 700;
}

.single-recipe .oim-recipe-caution p:last-child {
  margin-bottom: 0;
}


/* ----------------------------------------
  FAQ
---------------------------------------- */

.single-recipe .oim-recipe-faq-list {
  margin: 29px 0 0;
  border-top: 1px solid #cfd7dc;
}

.single-recipe .oim-recipe-faq {
  padding: 25px 0;
  border-bottom: 1px solid #cfd7dc;
}

.single-recipe .oim-recipe-faq__question {
  position: relative;
  margin: 0 0 13px;
  padding-left: 42px;
  color: #222222;
  font-size: 18px;
  font-weight: 700;
}

.single-recipe .oim-recipe-faq__question::before {
  position: absolute;
  top: -2px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: #176fa8;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  content: "Q";
}

.single-recipe .oim-recipe-faq__answer {
  position: relative;
  margin: 0;
  padding-left: 42px;
  color: #333333;
}

.single-recipe .oim-recipe-faq__answer::before {
  position: absolute;
  top: -2px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: #455a64;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  content: "A";
}


/* ----------------------------------------
  品種比較
---------------------------------------- */

.single-recipe .oim-recipe-varieties {
  margin: 29px 0 41px;
  overflow: hidden;
  border: 1px solid #cfd7dc;
  border-radius: 5px;
  background: #ffffff;
}

.single-recipe .oim-recipe-variety {
  display: flex;
  align-items: flex-start;
  gap: 23px;
  padding: 21px 23px;
  border-bottom: 1px solid #dbe1e5;
}

.single-recipe .oim-recipe-variety:last-child {
  border-bottom: 0;
}

.single-recipe .oim-recipe-variety__name {
  width: 150px;
  margin: 0;
  color: #d9480f;
  font-size: 18px;
  font-weight: 700;
  flex: 0 0 auto;
}

.single-recipe .oim-recipe-variety__text {
  margin: 0;
  color: #333333;
  flex: 1;
}


/* ----------------------------------------
  最終CTA
---------------------------------------- */

.single-recipe .oim-recipe-final-cta {
  margin: 55px 0 44px;
  padding: 32px 29px;
  border: 2px solid #ed5a19;
  border-radius: 6px;
  background: #ffffff;
}

.single-recipe .oim-recipe-final-cta__eyebrow {
  margin: 0 0 8px;
  color: #d9480f;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.07em;
}

.single-recipe .oim-recipe-final-cta__title {
  margin: 0 0 14px;
  color: #222222;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.single-recipe .oim-recipe-final-cta__lead {
  max-width: 680px;
  margin: 0 auto 27px;
  color: #333333;
}

.single-recipe .oim-recipe-final-cta__options {
  display: flex;
  align-items: stretch;
  gap: 19px;
}

.single-recipe .oim-recipe-final-cta__option {
  width: calc(50% - 9.5px);
  padding: 22px;
  border: 1px solid #cfd7dc;
  border-radius: 5px;
  background: #f8fafb;
}

.single-recipe .oim-recipe-final-cta__option-title {
  margin: 0 0 9px;
  color: #222222;
  font-size: 19px;
  font-weight: 700;
}

.single-recipe .oim-recipe-final-cta__option-text {
  margin: 0 0 18px;
  color: #333333;
  font-size: 14px;
  line-height: 1.85;
}


/* ----------------------------------------
  関連リンク
---------------------------------------- */

.single-recipe .oim-recipe-related {
  margin: 40px 0 0;
  padding: 23px 25px;
  border: 1px solid #bdd7e8;
  border-left: 5px solid #176fa8;
  border-radius: 5px;
  background: #f4faff;
}

.single-recipe .oim-recipe-related__title {
  margin: 0 0 12px;
  color: #222222;
  font-size: 18px;
  font-weight: 700;
}

.single-recipe .oim-recipe-related ul {
  margin: 0;
  padding-left: 1.4em;
}

.single-recipe .oim-recipe-related li {
  margin: 9px 0;
}

.single-recipe .oim-recipe-related li::marker {
  color: #176fa8;
}


/* ----------------------------------------
  スマートフォン
---------------------------------------- */

@media screen and (max-width: 767px) {
  .single-recipe .oim-recipe-body,
  .single-recipe .oim-article__content {
    font-size: 16px;
    line-height: 1.92;
  }

  .single-recipe .oim-article__header h1 {
    font-size: 27px;
    line-height: 1.5;
  }

  .single-recipe .oim-recipe-body h2 {
    margin-top: 50px;
    padding: 13px 14px;
    border-left-width: 5px;
    font-size: 22px;
  }

  .single-recipe .oim-recipe-body h3 {
    margin-top: 37px;
    font-size: 19px;
  }

  .single-recipe .oim-recipe-lead {
    padding: 20px 18px;
  }

  .single-recipe .oim-recipe-lead__title {
    font-size: 21px;
  }

  .single-recipe .oim-recipe-toc {
    margin: 31px 0 43px;
    padding: 20px 18px;
  }

  .single-recipe .oim-recipe-point {
    padding: 20px 18px;
  }

  .single-recipe .oim-recipe-product {
    padding: 21px 18px;
  }

  .single-recipe .oim-recipe-product__title {
    font-size: 20px;
  }

  .single-recipe .oim-recipe-product__body {
    display: block;
  }

  .single-recipe .oim-recipe-product__image {
    width: 100%;
    max-width: none;
    margin-bottom: 19px;
  }

  .single-recipe .oim-recipe-button {
    width: 100%;
    min-width: 0;
  }

  .single-recipe .oim-recipe-step {
    padding: 28px 0 32px;
  }

  .single-recipe .oim-recipe-step__label {
    font-size: 13px;
  }

  .single-recipe .oim-recipe-step__title {
    font-size: 18px;
  }

  .single-recipe .oim-recipe-faq__question,
  .single-recipe .oim-recipe-faq__answer {
    padding-left: 39px;
  }

  .single-recipe .oim-recipe-variety {
    display: block;
    padding: 18px;
  }

  .single-recipe .oim-recipe-variety__name {
    width: auto;
    margin-bottom: 8px;
    font-size: 17px;
  }

  .single-recipe .oim-recipe-final-cta {
    margin-top: 46px;
    padding: 26px 17px;
  }

  .single-recipe .oim-recipe-final-cta__title,
  .single-recipe .oim-recipe-final-cta__eyebrow {
    text-align: left;
  }

  .single-recipe .oim-recipe-final-cta__title {
    font-size: 21px;
  }

  .single-recipe .oim-recipe-final-cta__options {
    display: block;
  }

  .single-recipe .oim-recipe-final-cta__option {
    width: 100%;
  }

  .single-recipe .oim-recipe-final-cta__option
    + .oim-recipe-final-cta__option {
    margin-top: 15px;
  }

  .single-recipe .oim-recipe-related {
    padding: 20px 17px;
  }
}


/* ----------------------------------------
  動きを減らす設定
---------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .single-recipe .oim-recipe-button {
    transition: none;
  }
}