/* Flowers-Do お供え花ページ（/osonae/）「用途タイル＋売れ筋」 002（お祝い花ページの型をお供えの落ち着いた色に）
   すべて .os の中だけに効く（他のページに影響しない）。スマホ375px基準、768px以上でPC。
   色：お供え＝緑 #5f9078（背景 #eef6f1）／部品はトップの案Cと同じ（3つの約束・2列カード・薄い紫） */

.os{box-sizing:border-box;max-width:1000px;margin:0 auto;padding:0 12px 24px;color:#333;font-size:14px;line-height:1.7;letter-spacing:0;white-space:normal}
.os *{box-sizing:border-box;letter-spacing:0}
.os a{text-decoration:none}
.os img{max-width:100%;height:auto;border:0}
:where(.os) p,:where(.os) ul,:where(.os) ol,:where(.os) h2,:where(.os) h3,:where(.os) h4{margin:0;padding:0;border:0;background:none}
.os ul,.os ol{list-style:none}
/* サイト共通のCSSが #category 内の p・ul・div・h2・h3 を左に回り込ませたり、幅を決めたりするのを打ち消す */
#category .os p,#category .os ul,#category .os ol,#category .os div,#category .os h2,#category .os h3,#category .os h4,#category .os li,#category .os section{float:none;clear:none;width:auto;max-width:none}
.os:after{content:"";display:block;clear:both}

/* 1. 見出し・導入・3つの約束 */
.os-title{margin:6px 0 8px;padding:0;font-size:24px;font-weight:bold;line-height:1.3;color:#3f6e57;background:none}
.os-lead{margin:0 0 12px;font-size:14px;line-height:1.75;color:#444}
.os-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 6px}
.os-chips li{padding:8px 4px;border:1px solid #e3d6ee;border-radius:10px;background:#faf7fd;text-align:center;font-size:11px;font-weight:bold;line-height:1.45;color:#5b4a8a}
.os-chips li b{display:block;margin-bottom:2px;font-size:10px;font-weight:normal;color:#8a7aa8}

/* 見出し（トップと同じ型） */
.os-h{margin:26px 0 10px;padding:0 0 0 10px;border-left:6px solid #5f9078;font-size:17px;font-weight:bold;line-height:1.35;color:#333;background:none}
.os-sub{margin:-4px 0 10px;font-size:12px;color:#777}

/* 2. 主な用途の写真タイル（2列×4段） */
.os-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.os-tile{display:block;overflow:hidden;border:1px solid #d3e3d9;border-radius:12px;background:#fff;color:#333}
.os-tile figure{margin:0;padding:0;float:none;width:auto;height:auto;line-height:0;background:#f4f4f4}
.os-tile img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.os-tile span{display:block;padding:8px 10px 10px;font-size:15px;font-weight:bold;line-height:1.35;color:#3f6e57}
.os-tile em{display:block;margin-top:1px;font-size:12px;font-style:normal;font-weight:normal;color:#777}

/* 3. 予算から選ぶ（帯ボタン3つ） */
.os-budget{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.os-budget a{display:block;min-height:88px;padding:12px 6px 10px;border:2px solid #bcd6c8;border-radius:12px;background:#fff;text-align:center;color:#3f6e57}
.os-budget b{display:block;font-size:16px;line-height:1.3}
.os-budget b i{font-size:13px;font-style:normal}
.os-budget span{display:block;margin-top:3px;font-size:11px;line-height:1.45;color:#666}

/* 4. すべて見るボタン */
.os-all{display:block;margin:16px 0 0;min-height:52px;padding:14px 10px;border-radius:12px;background:linear-gradient(150deg,#8fbba6,#5f9078 70%);text-align:center;font-size:16px;font-weight:bold;line-height:1.3;color:#fff!important}

/* 5. おすすめ4点（2列カード） */
.os-pick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
.os-pick a{display:block;color:#333}
.os-pick figure{margin:0;padding:0;float:none;width:auto;height:auto;line-height:0}
.os-pick img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:8px;background:#f4f4f4}
.os-pick h3{margin:6px 0 0;font-size:13px;font-weight:bold;line-height:1.4;color:#333;background:none}
.os-pick p{margin:2px 0 0;font-size:11px;line-height:1.4;color:#777}
.os-pick p b{font-size:16px;color:#5f9078}
.os-pick p small{display:block;font-size:10px;color:#888}

/* 6. 細かい用途から探す（開閉式） */
.os-more{margin:0;border:1px solid #d3e3d9;border-radius:12px;background:#fff}
.os-more>summary{display:block;position:relative;min-height:52px;padding:14px 44px 14px 14px;font-size:15px;font-weight:bold;line-height:1.4;color:#3f6e57;cursor:pointer;list-style:none}
.os-more>summary::-webkit-details-marker{display:none}
.os-more>summary:after{content:"+";position:absolute;right:16px;top:50%;margin-top:-13px;font-size:24px;line-height:26px;color:#5f9078}
.os-more[open]>summary:after{content:"-"}
.os-more[open]>summary{border-bottom:1px solid #d3e3d9}
.os-more .os-body{padding:4px 12px 14px}
.os-grp{margin:14px 0 6px;padding:0;font-size:13px;font-weight:bold;line-height:1.4;color:#8a7aa8;background:none}
.os-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.os-links a{display:flex;align-items:center;min-height:46px;padding:6px 10px;border:1px solid #e9dff0;border-radius:10px;background:#faf7fd;font-size:13px;font-weight:bold;line-height:1.35;color:#5b4a8a}

/* 7. 選び方ガイド・よくある質問 */
.os-guide{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.os-guide li{padding:12px 14px;border:1px solid #e3d6ee;border-radius:10px;background:#faf7fd;font-size:13px;line-height:1.7;color:#444}
.os-guide li b{display:block;margin-bottom:2px;font-size:14px;color:#5b4a8a}
.os-faq details{margin:0 0 8px;border:1px solid #e3d6ee;border-radius:10px;background:#fff}
.os-faq summary{display:block;position:relative;min-height:48px;padding:13px 38px 13px 14px;font-size:14px;font-weight:bold;line-height:1.5;color:#333;cursor:pointer;list-style:none}
.os-faq summary::-webkit-details-marker{display:none}
.os-faq summary:after{content:"+";position:absolute;right:14px;top:50%;margin-top:-11px;font-size:20px;line-height:22px;color:#7a62b0}
.os-faq details[open] summary:after{content:"-"}
.os-faq details[open] summary{border-bottom:1px solid #eee}
.os-faq .os-a{padding:10px 14px 12px;font-size:13px;color:#444}

/* PC（768px以上） */
@media (min-width:768px){
  .os{padding:0 16px 40px;font-size:15px}
  .os-title{font-size:30px}
  .os-lead{font-size:15px}
  .os-chips{gap:12px;max-width:760px;margin-bottom:10px}
  .os-chips li{padding:12px 8px;font-size:15px}
  .os-chips li b{font-size:12px}
  .os-h{margin-top:40px;font-size:21px}
  .os-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .os-tile span{font-size:16px}
  .os-budget{gap:16px;max-width:760px}
  .os-budget a{padding:20px 8px 14px}
  .os-budget b{font-size:22px}
  .os-budget span{font-size:13px}
  .os-all{max-width:560px;margin-left:auto;margin-right:auto}
  .os-pick{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 14px}
  .os-pick h3{font-size:14px}
  .os-pick p b{font-size:18px}
  .os-links{grid-template-columns:repeat(4,minmax(0,1fr))}
  .os-links a{font-size:14px}
  .os-guide{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
}

.os-note{margin:10px 0 0;font-size:12px;line-height:1.6;color:#666}
.os-intro-links{margin:8px 0 0;font-size:13px;line-height:1.7}
.os-intro-links a{display:inline-block;padding:12px 2px;color:#3f6e57;font-weight:bold;text-decoration:underline}
