/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block; /* 画像下の余白対策 */
  vertical-align: middle; /* 微調整 */
}

/* --- Utility --- */
.section-mb {
  margin-bottom: 80px; /* 主要セクション間のマージン統一 */
}
.section-mb-small {
  margin-bottom: 60px; /* やや小さいセクション間のマージン */
}
/* PCのみ表示、SPのみ表示 */
.pc-only { display: block; } /* デフォルト表示 */
.sp-only { display: none; } /* デフォルト非表示 */
/* Flexアイテム用の SP表示クラス */
.sp-only-flex { display: none; }


/* Header */
header {
padding: 15px 25px;
background-color: #f8f0e3;
border-bottom: 1px solid #ffe4c4;
}
.header-left {
display: flex; /* フレキシブルボックスを使用 */
align-items: center; /* 縦方向中央揃え */
}
.logo-container {
margin-right: 20px; /* ロゴとテキストの間隔を調整 */
}
.logo {
height: 40px;
width: auto;
}
.header-text {
font-size: 1rem; /* フォントサイズを調整 */
color: #333; /* テキストの色を調整 */
font-weight: bold; /* 必要であれば太字に */
}

/* Hero Section */
.hero-section {
  position: relative; /* スタンプを使う場合の基準位置 */
  display: flex;
  flex-direction: column; /* ← 縦積みに変更 */
  align-items: center; /* ← 中央揃えに変更 */
  padding: 5px 16px 15px;  margin-bottom: 60px; /* ← 下のマージン調整 (少し詰める) */
  gap: 15px; /* ← 縦積み要素間のギャップ */
  background-color: #f8f0e3;
}

/* ヒーローコンテンツ用ラッパー */
.hero-content-wrapper {
    position: relative; /* スタンプを使う場合の基準 */
    display: flex;
    flex-direction: column;
    align-items: center; /* 中身を中央揃え */
    width: 100%; /* 幅いっぱい */
    max-width: 600px; /* ← コンテンツの最大幅を少し広げる */
}

.illustration-container {
  width: 100%; /* ラッパー内で幅100% */
  max-width: 500px; /* イラストの最大幅 */
  margin-bottom: 10px;
}

.clinic-illustration {
  width: 100%;
  mix-blend-mode: multiply;
}

.main-text {
  text-align: center;
  margin-right: 0;
  position: static;
  z-index: 2;
  width: 100%;
}

.main-text h1 { /* h1にテキストをまとめる場合 */
  font-weight: normal;
  font-size: 1.5rem; /* テキストサイズ調整 */
  line-height: 1.7; /* 行間調整 */
  color: #333;
  margin: 0; /* ←重要：上/下どちらも0に */
}
/* 元のh1, h2を使う場合は調整 */
/*
.main-text h1, .main-text h2 {
  font-weight: normal;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #333;
}
*/

/* スタンプを使う場合の位置調整 (現在はコメントアウト中) */
.veterinarian-stamp {
  position: absolute;
  right: 10px;  /* 右からの位置 */
  bottom: -10px; /* 下からの位置 (少しはみ出す) */
  width: 70px;
  z-index: 1;
}

.stamp {
  width: 100%;
  mix-blend-mode: multiply;
}


/* --- Pickup Products Container (Hero Section内) --- */
.pickup-products-container {
  display: flex;
  gap: 12px; /* ← アイテム間の隙間調整 */
  width: 100%; /* 幅いっぱい */
  max-width: 700px; /* ← 製品コンテナの最大幅 */
  justify-content: center; /* ← 中身を中央揃え */
  align-items: stretch; /* カードの高さを揃える */
  /* flex-basis は不要 */
}

.pickup-product-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05); /* ← 影も少し弱く */
  padding: 18px 15px; /* ← パディング狭める */
  width: calc(50% - 7.5px); /* ← gap 15px / 2 = 7.5px */
  max-width: 320px; /* ← カード最大幅をさらに狭める */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-grow: 0;
  flex-shrink: 0;
}
.pickup-product-item:hover {
  transform: translateY(-4px); /* ← ホバー効果少し抑える */
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
}

.pickup-product-image-container {
  width: 70%;
  max-width: 140px; /* ← 画像サイズさらに小さく */
  margin-bottom: 15px; /* ← 間隔狭める */
}

.pickup-product-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
}


.pickup-product-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}


.pickup-product-name {
  font-size: 1.1rem; /* ← さらに小さく */
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.pickup-product-desc {
  font-size: 0.85rem; /* ← さらに小さく */
  color: #555;
  line-height: 1.4;
  margin-bottom: 15px;
  flex-grow: 1;
}

.pickup-product-btn {
  background-color: #e67e22;
  color: white;
  text-decoration: none;
  padding: 9px 20px; /* ← パディング調整 */
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.85rem; /* ← さらに小さく */
  font-weight: bold;
  border: none;
  width: 90%;
  max-width: 240px; /* ← ボタン最大幅調整 */
  margin-top: auto;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08); /* 影調整 */
}

.pickup-product-btn:hover {
  background-color: #d35400;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

.pickup-product-btn .arrow-icon {
  margin-left: 6px; /* 微調整 */
  font-weight: normal;
}


/* Philosophy Section (共通スタイル) */
.philosophy-section {
  padding: 40px 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px; /* section-mb 適用 */
}

/* メッセージ用セクション */
.philosophy-section.message-section {
  padding-top: 0; /* 上のセクションとの間隔調整 */
  padding-bottom: 20px; /* 次のセクションとの間隔 */
  margin-bottom: 0; /* 次の中央イメージとのマージンはcenter-image-sectionで */
}

.message-container {
  width: 100%;
  text-align: center;
}

.message-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* 中央イメージエリア */
.center-image-section {
  padding: 0 20px;
  margin: 10px 0;
  text-align: center;
  margin-bottom: 0px; /* 次のテキストセクションとの間隔調整 */
}

.center-image-container {
  max-width: 800px;
  margin: 0 auto;
}

.center-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  box-shadow: none;
}

/* テキスト用セクション (PC: 縦書き + イラスト) */
.philosophy-section.text-section {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* イラストとテキスト上端揃え */
  position: relative; /* SP用 */
  gap: 20px; /* テキストとイラストの間隔 */
  padding-top: 20px; /* 上の画像との間隔 */
}

.vertical-text {
  display: flex;
  flex-direction: row-reverse; /* PC: 右から左へ */
  justify-content: center;
  gap: 30px;
  padding: 20px 0;
  flex-grow: 1; /* 残りスペースを埋める */
}

.vertical-column {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 2;
  max-height: 300px;
  font-size: 0.9rem;
  display: flex; /* SP用準備 */
  flex-direction: column; /* 縦書き */
  gap: 10px; /* span間のギャップ */
  order: 0; /* 表示順デフォルト */
}

.vertical-column span {
  display: block;
  margin-bottom: 0; /* gapで調整 */
}

.dog-illustration {
  width: 130px;
  flex-shrink: 0; /* 縮まない */
  align-self: flex-end; /* 下揃え */
}

.dog-image {
  width: 100%;
  opacity: 0.8;
  mix-blend-mode: multiply;
}

/* SP用画像コンテナ（デフォルト非表示） */
.vertical-image-sp {
  /* display: none; は .sp-only で指定済み */
  width: 100%; /* SP表示時の幅 */
  text-align: center;
  margin: 20px 0; /* 上下の間隔 */
  order: 3; /* SPでの表示順序 */
}

.center-image-sp {
  max-width: 80%; /* 画像の最大幅 */
  height: auto;
  display: inline-block; /* 中央揃えのため */
}

/* Natural Ingredients Section */
.natural-ingredients-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #fff;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 80px; /* section-mb 適用 */
}

.ingredients-container {
  flex-basis: 350px;
  max-width: 380px;
  flex-grow: 1;
}

.ingredients-image {
  width: 100%;
  border-radius: 50%;
}

.ingredients-text {
  flex-basis: 400px;
  padding-right: 0;
  flex-grow: 1;
  max-width: 500px;
}

.ingredients-text h2 {
  color: #c94a37;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: normal;
}

.ingredients-text p {
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Vet Supervision Section */
.vet-supervision-section {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 20px;
  position: relative;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 80px; /* section-mb 適用 */
}

.vet-text {
  flex-basis: 400px;
  padding: 0;
  flex-grow: 1;
  max-width: 450px;
  order: 1; /* PC: 文章が先 */
}

.vet-text h2 {
  color: #c94a37;
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: normal;
}

.vet-text p {
  line-height: 1.8;
  font-size: 0.95rem;
}

.dog-photos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-basis: 400px;
  flex-grow: 1;
  max-width: 400px;
  order: 2; /* PC: 画像が後 */
}

.dog-photo {
  width: 100%;
  max-width: 350px;
  margin-bottom: 20px;
  border-radius: 8px; /* 画像角丸 */
}

.pet-illustrations {
  position: static;
  width: 120px;
  margin: 20px auto 0;
  order: 3; /* テキスト、写真の後 */
}

.pet-illustration {
  width: 100%;
  opacity: 0.9;
  mix-blend-mode: multiply;
}


/* 紙のような見た目のラッパー */
.paper-features-wrapper {
  max-width: 900px;
  margin: 0 auto 80px; /* section-mb 適用 */
  padding: 0 20px;
}

/* 特徴紹介セクション (紙のようなデザイン) */
.features-redesign-section {
  position: relative;
  padding: 50px 40px 60px;
  background-color: #f5f2ee;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e0dbd6;
  border-radius: 4px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08), 0 0 40px rgba(0, 0, 0, 0.03);
}

.features-redesign-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.features-redesign-header {
  margin-bottom: 50px;
}

.features-redesign-header h2,
.features-redesign-header h3 {
  color: #c94a37;
  font-weight: normal;
  margin: 0 0 5px;
  line-height: 1.4;
}

.features-redesign-header h2 {
  font-size: 2.2rem;
}

.features-redesign-header h3 {
  font-size: 1.8rem;
}

.features-redesign-header p {
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 25px;
  color: #333;
}

.feature-redesign-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.feature-redesign-icon {
  width: 80px; /* アイコン画像のコンテナ幅 */
  margin-right: 30px;
  flex-shrink: 0;
  display: flex; /* アイコン画像を中央揃えにする場合 */
  justify-content: center;
  align-items: center;
}

.feature-redesign-icon-img {
  width: 60px; /* アイコン画像のサイズ指定 */
  height: auto;
  mix-blend-mode: multiply;
}

.feature-redesign-content {
  flex: 1;
}

.feature-redesign-content h4 {
  font-size: 1.3rem;
  margin: 0 0 10px;
  font-weight: bold; /* 見出しを少し強調 */
}

.feature-redesign-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.feature-redesign-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #e0dbd6, transparent);
  margin: 25px 0;
  opacity: 0.8;
}

.cat-illustration-features {
  position: absolute;
  bottom: 50px;
  left: 30px;
  width: 160px;
  z-index: 1;
  opacity: 0.9;
}

.cat-image-features {
  width: 100%;
  mix-blend-mode: multiply;
}

.dog-illustration-features {
  position: absolute;
  top: 120px; /* 位置調整 */
  right: 30px;
  width: 180px;
  z-index: 1;
}

.dog-image-features {
  width: 100%;
   mix-blend-mode: multiply;
}

.flower-pattern-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/flower-pattern.webp');
  background-size: 300px;
  background-repeat: repeat;
  opacity: 0.07;
  z-index: 0;
}


/* 製品ラインナップセクション */
.product-lineup-section {
  padding: 60px 20px;
  background-color: #fff;
  margin-bottom: 80px; /* section-mb 適用 */
}

.product-lineup-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 50px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
  font-weight: normal;
  text-align: center; /* 中央揃え */
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.product-card {
  width: calc(50% - 20px);
  max-width: 500px;
  display: flex;
  margin-bottom: 40px;
  gap: 20px;
  background-color: #f9f9f9; /* 背景色追加 */
  padding: 20px; /* 内側余白 */
  border-radius: 8px; /* 角丸 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* 軽い影 */
}

.product-image-container {
  flex-basis: 45%;
  padding-right: 0;
  flex-shrink: 0;
  display: flex; /* 中央揃えのため */
  align-items: center; /* 中央揃えのため */
}

.product-detail-image {
  width: 100%;
  height: auto;
  border-radius: 4px; /* 画像角丸 */
}

.product-info {
  flex-basis: 55%;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: bold; /* 少し強調 */
  color: #333;
}

.product-category {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 12px;
}

.product-price {
  font-size: 1.1rem;
  font-weight: bold; /* 価格強調 */
  margin-bottom: 3px;
}

.tax-included {
  font-size: 0.8rem;
  color: #666;
}

.product-discount {
  font-size: 0.9rem;
  color: #c94a37;
  margin-top: 5px;
  margin-bottom: 15px;
  font-weight: bold; /* 割引強調 */
}

.product-details-btn {
  background-color: #c94a37;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto; /* ボタンを下に配置 */
  transition: all 0.3s ease;
  width: fit-content;
  font-size: 0.9rem;
  border: none; /* ボタン枠線なし */
}

.product-details-btn:hover {
  background-color: #a73a2a;
  transform: translateY(-2px); /* ホバー時少し浮く */
}

.arrow-icon {
  margin-left: 10px;
}

/* お知らせセクション */
.news-section {
  padding: 40px 20px 60px;
  background-color: #fff;
  margin-bottom: 0; /* お知らせ一覧リンクがあるのでリセット */
}

.news-container {
  max-width: 1000px;
  margin: 0 auto;
}

.news-header {
  position: relative;
  margin-bottom: 30px;
}

.news-dog-illustration {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 130px;
  z-index: 1; /* section-titleより手前に */
}

.news-dog-image {
  width: 100%;
  opacity: 0.8;
  mix-blend-mode: multiply;
}

.news-list {
  padding-top: 20px;
}

.news-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
  display: flex;
  align-items: center;
  transition: background-color 0.2s ease; /* ホバー効果 */
}
.news-item:hover {
    background-color: #fafafa;
}
.news-item:last-child {
    border-bottom: none; /* 最後の項目は下線なし */
}

.news-date-container {
  display: flex;
  align-items: center;
  margin-right: 30px;
  min-width: 180px;
  flex-shrink: 0;
}

.news-date {
  font-size: 0.9rem;
  color: #666;
  margin-right: 15px;
}

.news-label {
  font-size: 0.8rem;
  color: #fff; /* 文字色白 */
  background-color: #c94a37; /* 背景赤 */
  padding: 2px 8px; /* パディング */
  border-radius: 4px; /* 角丸 */
}

.news-title-link {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
  font-size: 1rem;
  flex-grow: 1; /* 残りのスペースを埋める */
}

.news-title-link:hover {
  color: #c94a37;
}


/* お知らせ一覧リンク */
.news-all-link-container {
  text-align: right;
  max-width: 1000px;
  margin: 20px auto 60px; /* 上下マージン調整 */
  padding: 0 20px;
}

.news-all-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #666;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.news-all-link:hover {
  color: #c94a37;
}

.news-all-link .arrow-icon {
  margin-left: 5px;
}

/* ページトップボタン */
.page-top-container {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.page-top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: #222;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.2;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* 影追加 */
}

.page-top-btn:hover {
  background-color: #444;
  transform: translateY(-3px); /* ホバー時少し浮く */
}

.page-top-text {
  text-align: center;
}

.footer-dog-image {
  width: 80px;
  margin-top: -15px;
  margin-right: -10px;
  mix-blend-mode: multiply;
}

/* フッター */
.site-footer {
  background-color: #f5f5f5;
  padding: 60px 20px 20px;
  margin-top: 40px; /* 上の要素との間隔 */
  border-top: 1px solid #ddd; /* 区切り線 */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 0; /* 列間のgap調整 */
}

.footer-logo-section {
  width: 20%;
  position: relative;
  min-width: 180px; /* ロゴが潰れないように */
  padding-right: 20px; /* 右ナビとの間隔 */
}

.footer-logo-link { /* ロゴリンク */
    display: inline-block;
}

.footer-logo {
  width: 150px;
  margin-bottom: 20px;
  mix-blend-mode: multiply;
}

.tail-illustration {
  width: 80px;
  position: absolute;
  bottom: -40px;
  left: 0;
  mix-blend-mode: multiply;
}

.footer-nav-section {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
}

.footer-nav-column {
  width: 25%;
  padding: 0 15px;
  min-width: 180px; /* カラムが狭くなりすぎないように */
}

.footer-nav-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin-bottom: 15px;
}

.footer-nav-list a {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-nav-list a:hover {
  color: #c94a37;
  text-decoration: underline; /* ホバー時下線 */
}

.ec-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ec-link {
  display: block;
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee; /* 枠線 */
}

.ec-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* ホバー時影 */
}

.ec-logo {
  height: 25px;
  max-width: 100%;
  vertical-align: middle; /* ロゴ位置微調整 */
}

.copyright {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  font-size: 0.8rem;
  color: #666;
}

/* ▼▼▼ Company Page Specific Styles ▼▼▼ */
.company-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}
.page-header {
    text-align: center;
    margin-bottom: 50px;
}
.page-subtitle {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 5px;
    letter-spacing: 1px;
}
.page-title {
    font-size: 1.8em;
    color: #2c3e50; /* 濃い紺色 */
    font-weight: normal;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
/* h1::after のスタイル */
.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #2c3e50;
 }

.company-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd; /* 外枠 */
    margin-bottom: 40px;
    font-size: 0.95em;
}
.company-table th,
.company-table td {
    padding: 15px 20px;
    border: 1px solid #ddd; /* セルの境界線 */
    vertical-align: top; /* 上揃え */
    text-align: left; /* 基本は左揃え */
}
.company-table th {
    background-color: #2c3e50; /* 濃い紺色 */
    color: #fff;
    font-weight: bold;
    width: 25%; /* 左側セルの幅 */
    min-width: 120px; /* 最小幅 */
}
.company-table td {
    background-color: #fff;
    width: 75%;
}
.company-table td a {
     color: #3498db; /* リンク色 */
     text-decoration: none;
}
 .company-table td a:hover {
     text-decoration: underline;
}
/* ▲▲▲ Company Page Specific Styles ▲▲▲ */


/* Responsive adjustments */
@media (max-width: 768px) {
    /* --- Utility Responsive --- */
    .section-mb,
    .philosophy-section,
    .center-image-section,
    .natural-ingredients-section,
    .vet-supervision-section,
    .paper-features-wrapper,
    .product-lineup-section {
      margin-bottom: 60px;
    }
    .hero-section {
       flex-direction: column;
       align-items: center;
       padding: 5px 15px;
       gap: 12px;
       margin-bottom: 60px;
     }

    /* PC/SP表示切り替え */
    .pc-only { display: none !important; }
    .sp-only { display: block !important; }
    .sp-only-flex { display: flex !important; }

    /* SP Hero Content */
    .hero-content-wrapper {
      flex-basis: auto;
      width: 100%;
      max-width: 500px;
      align-items: center;
      position: relative;
      padding-bottom: 3px;
    }
    .illustration-container {
        max-width: 250px;
    }
    .main-text {
        margin-right: 0;
        text-align: center;
    }
     .main-text h1, .main-text h2 {
        font-size: 1.3rem;
     }
    .veterinarian-stamp {
         right: 5px;
         bottom: 0px;
         width: 60px;
     }

    /* SP Pickup Products */
    .pickup-products-container {
      flex-basis: auto;
      width: 100%;
      justify-content: center;
      gap: 8px;
      display: flex;
      flex-wrap: nowrap;
      align-items: stretch;
    }
    .pickup-product-item {
      width: calc(50% - 7.5px);
      padding: 15px 10px;
      flex-grow: 0;
      flex-shrink: 0;
    }
    .pickup-product-image-container {
        width: 70%;
        max-width: 150px;
        margin-bottom: 7px;
    }
    .pickup-product-name {
      font-size: 1rem;
    }
    .pickup-product-desc {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 3px;
        flex-grow: 1;
    }
    .pickup-product-btn {
        padding: 7px 12px;
        font-size: 0.8rem;
        width: 95%;
        margin-top: auto;
    }

    /* ▼▼▼ Company Page Responsive Styles ▼▼▼ */
    .company-content {
        margin: 30px auto;
        padding: 0 15px;
    }
    .page-header {
        margin-bottom: 40px;
    }
    .page-title {
        font-size: 1.6em;
    }
    /* Responsive Table for Company Info */
    .company-table thead {
        display: none; /* スマホでは thead を非表示 */
    }
    .company-table tbody,
    .company-table tr,
    .company-table th,
    .company-table td {
        display: block; /* 全てブロック要素に */
        width: 100%; /* 幅を100%に */
        box-sizing: border-box;
        text-align: left !important; /* 全て左揃え */
        border: none; /* 元のボーダーをリセット */
    }
    .company-table th {
        background-color: #f4f4f4; /* 背景を薄いグレーに */
        color: #333; /* 文字色を黒系に */
        font-weight: bold;
        padding: 12px 15px;
        border-top: 1px solid #ddd; /* 各項目の上に線 */
        margin-top: 10px; /* 各項目の間に少しマージン */
        /* 既存の幅指定を解除 */
        min-width: auto;
        width: auto;
    }
    .company-table tbody tr:first-child th {
         margin-top: 0;
         border-top: none; /* 最初の項目は上線なし */
    }
    .company-table td {
        background-color: #fff; /* 背景色を白に */
        padding: 8px 15px 15px 15px; /* 上を少し詰め、下は通常通り */
        border-bottom: 1px solid #ddd; /* 各内容の下に線 */
        line-height: 1.6; /* 行間調整 */
        /* 既存の幅指定を解除 */
        width: auto;
    }
    /* ▲▲▲ Company Page Responsive Styles ▲▲▲ */

    /* Philosophy Section SP */
    .philosophy-section.text-section {
        flex-direction: column;
        align-items: center;
    }

    .vertical-text {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 600px;
        padding: 0;
    }

    .vertical-column {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        line-height: 1.8;
        max-height: none;
        font-size: 1rem;
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }
    .philosophy-text-1 { order: 1; }
    .philosophy-text-2 { order: 2; }
    .philosophy-text-4 { order: 4; }
    .philosophy-text-5 { order: 5; }

    .natural-ingredients-section,
    .vet-supervision-section {
        flex-direction: column;
        max-width: 95%;
        gap: 30px;
    }

    .ingredients-container,
    .ingredients-text,
    .vet-text,
    .dog-photos-container {
        flex-basis: auto;
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .ingredients-container {
        max-width: 300px;
        order: 1;
    }
    .ingredients-text {
        order: 2;
        padding: 0;
    }

    .vet-text {
       padding: 0;
       order: 2;
    }

    .dog-photos-container {
        align-items: center;
        max-width: 400px;
        order: 1;
    }

    .dog-photo {
        max-width: 300px;
    }

    .pet-illustrations {
        order: 3;
        margin-top: 30px;
        width: 100px;
    }

    .features-redesign-section {
        padding: 40px 20px;
    }
    .features-redesign-header h2 { font-size: 1.8rem; }
    .features-redesign-header h3 { font-size: 1.5rem; }
    .features-redesign-header p br { display: none; }

    .feature-redesign-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .feature-redesign-icon {
        margin-right: 0;
        margin-bottom: 15px;
        width: auto;
    }
     .feature-redesign-icon-img {
         width: 50px;
     }

    .dog-illustration-features, .cat-illustration-features {
        width: 100px;
        opacity: 0.7;
    }
    .dog-illustration-features { top: 40px; right: 10px; }
    .cat-illustration-features { bottom: 20px; left: 10px; }

    .product-grid {
        gap: 20px;
    }
    .product-card {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .product-image-container, .product-info {
        width: 100%;
        flex-basis: auto;
        text-align: center;
    }

    .product-detail-image {
        max-width: 200px;
        margin: 0 auto;
    }
    .product-details-btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        text-align: center;
    }
    .news-dog-illustration {
        display: none;
    }
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 10px;
    }
    .news-date-container {
        margin-bottom: 10px;
        margin-right: 0;
        min-width: auto;
    }
    .news-all-link-container {
        margin-top: 20px;
        margin-bottom: 60px;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-logo-section {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
        min-width: auto;
        padding-right: 0;
    }
    .footer-logo {
        margin: 0 auto 20px;
    }
    .tail-illustration {
        display: none;
    }
    .footer-nav-section {
        width: 100%;
        justify-content: center;
    }
    .footer-nav-column {
        width: 50%;
        margin-bottom: 30px;
        min-width: auto;
        padding: 0 10px;
    }
    .ec-links {
        align-items: center;
    }
    .ec-link {
        max-width: 180px;
        margin: 0 auto;
    }
    .copyright {
        margin-top: 40px;
    }

    .page-top-container {
        bottom: 40px;
        right: 20px;
    }
    .page-top-btn {
        width: 60px;
        height: 60px;
        font-size: 0.8rem;
    }
    .footer-dog-image {
        width: 60px;
    }
}

@media (max-width: 480px) {
    /* --- Utility Responsive Small --- */
    .section-mb,
    .philosophy-section,
    .center-image-section,
    .natural-ingredients-section,
    .vet-supervision-section,
    .paper-features-wrapper,
    .product-lineup-section {
      margin-bottom: 50px;
    }
    .hero-section {
      padding: 5px 10px;
      gap: 10px;
      margin-bottom: 40px;
    }
    .philosophy-section.message-section { margin-bottom: 0; }
    .center-image-section { margin-bottom: 0; }
    .philosophy-section.text-section { padding-top: 15px; }

    body { font-size: 14px; }

    .hero-content-wrapper {
      padding-bottom: 3px;
    }
    .main-text h1, .main-text h2 {
      font-size: 1.2rem;
      line-height: 1.7; /* 行間調整 */
     }
    .veterinarian-stamp {
      width: 55px;
      right: 0px;
      bottom: -5px;
     }

    /* 480px Pickup Products */
     .pickup-products-container {
          gap: 8px;
          flex-wrap: wrap;
     }
     .pickup-product-item {
        width: calc(50% - 5px);
        min-width: 130px;
        padding: 14px 10px;
     }
      .pickup-product-name {
          font-size: 0.9rem;
      }
      .pickup-product-desc {
          font-size: 0.75rem;
          line-height: 1.2;
      }
      .pickup-product-btn {
          padding: 6px 10px;
          font-size: 0.7rem;
          width: 100%;
      }

    /* ▼▼▼ Company Page Responsive Small Styles ▼▼▼ */
     .company-content {
        margin: 20px auto;
        padding: 0 10px;
     }
    .page-title {
        font-size: 1.4em;
    }
    .company-table th {
        padding: 10px 12px;
        font-size: 0.9em; /* 少し小さく */
    }
     .company-table td {
        padding: 6px 12px 12px 12px;
        font-size: 0.9em; /* 少し小さく */
    }
    /* ▲▲▲ Company Page Responsive Small Styles ▲▲▲ */

    .ingredients-text h2, .vet-text h2 { font-size: 1.6rem; }
    .ingredients-text p, .vet-text p { font-size: 0.9rem; }

    .features-redesign-header h2 { font-size: 1.6rem; }
    .features-redesign-header h3 { font-size: 1.3rem; }
    .features-redesign-header p { font-size: 0.9rem; }
    .feature-redesign-content h4 { font-size: 1.1rem; }
    .feature-redesign-content p { font-size: 0.9rem; }

    .dog-illustration-features, .cat-illustration-features {
        width: 80px;
        opacity: 0.5;
    }
    .dog-illustration-features { right: 5px; top: 30px; }
    .cat-illustration-features { left: 5px; bottom: 15px; }

    .section-title { font-size: 1.4rem; margin-bottom: 30px; }
    .product-name { font-size: 1.1rem; } /* 製品ラインナップ */
    .product-category, .tax-included { font-size: 0.8rem; } /* 製品ラインナップ */
    .product-price { font-size: 1rem; } /* 製品ラインナップ */
    .product-details-btn { font-size: 0.8rem; padding: 8px 15px; } /* 製品ラインナップ */

    .news-date { font-size: 0.8rem; }
    .news-label { font-size: 0.7rem; padding: 2px 6px;}
    .news-title-link { font-size: 0.9rem; }

    .footer-nav-column {
        width: 100%;
        margin-bottom: 20px;
    }
    .footer-nav-list a { font-size: 0.85rem; }

    .page-top-container { bottom: 20px; right: 15px; }
    .page-top-btn { width: 50px; height: 50px; font-size: 0.7rem; }
    .footer-dog-image { width: 50px; margin-top: -10px; margin-right: -5px;}
    .donation-title {
    font-size: 1.0rem;
  }
  .donation-texts {
    font-size: 0.9rem;
    line-height: 1.8;
  }
  .donation-note{ font-size:13.5px; padding:5px 10px; }
}

/* ================================
   Donation / 保護犬支援セクション
   ================================ */
.donation-section {
  padding: 0 20px;
}

.donation-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 15px auto;
  padding: 62px 28px;
  background: #f5f2ee;                        /* 紙っぽい下地（featuresと統一） */
  border: 1px solid #e0dbd6;
  border-radius: 6px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08), 0 0 40px rgba(0,0,0,0.03);
  overflow: hidden;
}

/* ほんのり花柄の控えめ背景（既存トーンと合わせる）
   画像が無くても表示は崩れないように透明度極小 */
.donation-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/content/images/flower-pattern.webp');
  background-size: 300px;
  background-repeat: repeat;
  opacity: 0.05;
  pointer-events: none;
}

/* 角のリボンバッジ */
.donation-badge {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-22px, 18px) rotate(-6deg);
  background: #c94a37;                         /* キーカラー */
  color: #fff;
  padding: 8px 28px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(201,74,55,0.25);
  z-index: 2;
}
.donation-badge-text {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

/* 見出し */
.donation-header {
  text-align: center;
  margin: 12px 0 22px 0;
  position: relative;
  z-index: 2;
}
.donation-title {
  font-weight: normal;
  color: #2c3e50;
  font-size: 1.3rem;
  line-height: 1.7;
}
.donation-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #2c3e50;
  margin: 12px auto 0;
  opacity: 0.9;
}

/* 本文とアイコン横並び */
.donation-content {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}


/* テキスト */
.donation-texts {
  flex: 1;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #333;
}
.donation-texts p + p {
  margin-top: 12px;
}

/* 軽いフェードアップ演出（初見時の印象を少しだけ） */
@keyframes donationFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.donation-wrapper { animation: donationFadeUp 0.6s ease-out both; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .donation-wrapper {
    padding: 60px 10px 20px;
  }
  .donation-badge {
    transform: translate(-18px, 14px) rotate(-6deg);
    padding: 10px 20px;
  }
  .donation-title {
    font-size: 1rem;
    line-height: 1.5;
  }
  .donation-content {
    flex-direction: column;
    gap: 16px;
  }
  .donation-title::after {
    width: 46px;
    margin-top: 10px;
  }
}

/* ===== Donation note (LPと同様) ===== */
.donation-note{
  width:calc(100% - 10px);
  max-width:720px;
  margin:10px auto 15px;
  padding:8px 5px;
  background:#fff;
  border:1px solid var(--rail-border, #CBEAFE);
  border-radius:12px;
  color:#1f2937;
  font-size:12px;
  line-height:1.5;
  text-align:center;
  box-shadow:0 8px 16px rgba(2,6,23,.06);
  position:relative;
}
.donation-note::before{
  content:"🐾";
  position:absolute; left:10px; top:-12px;
  font-size:20px;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.12));
}
.donation-note strong{ font-weight:900; color:#0f172a; }
.donation-note__link{
  color:#2563eb; font-weight:800; text-decoration:none; text-underline-offset:2px;
}
.donation-note__link:hover{ text-decoration:underline; }

/* ヒーロー内でのサイズ合わせ（見出しの直下に収まる） */
.donation-note--hero{
  max-width:600px;              /* hero-content-wrapperに合わせて少し狭める */
  margin-top:8px;
  background:linear-gradient(180deg,#f7fbff,#eef7ff); /* ヒーロー背景でも映える淡色 */
  border-color:#CBEAFE;
}
