/* Flowers-Do メッセージ・立て札ページ（/message/）003（SEO課の確定した原稿と仕様）
   すべて .ms の中だけに効く。スマホ375px基準、768px以上でPC。
   色：お祝い＝ピンク #b5628a、お供え＝緑 #5f9078、共通部分＝トップと同じ薄い紫 */
.ms{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}
.ms *{box-sizing:border-box;letter-spacing:0}
.ms a{text-decoration:none}
.ms img{max-width:100%;height:auto;border:0}
:where(.ms) p,:where(.ms) ul,:where(.ms) ol,:where(.ms) h2,:where(.ms) h3,:where(.ms) h4{margin:0;padding:0;border:0;background:none}
.ms ul,.ms ol{list-style:none}
#category .ms p,#category .ms ul,#category .ms ol,#category .ms div,#category .ms h2,#category .ms h3,#category .ms h4,#category .ms li,#category .ms section,#category .ms table,#category .ms figure{float:none;clear:none;width:auto;max-width:none}
#category .ms table.ms-spec{width:100%}
.ms:after{content:"";display:block;clear:both}

.ms-title{margin:6px 0 8px;font-size:22px;font-weight:bold;line-height:1.35;color:#5b4a8a;background:none}
.ms-lead{margin:0 0 12px;font-size:14px;line-height:1.75;color:#444}
.ms-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 6px}
.ms-chips li{padding:8px 4px;border:1px solid #e3d6ee;border-radius:10px;background:#faf7fd;text-align:center;font-size:12px;font-weight:bold;line-height:1.45;color:#5b4a8a}
.ms-chips li b{display:block;margin-bottom:2px;font-size:10px;font-weight:normal;color:#8a7aa8}
.ms-h{margin:26px 0 10px;padding:0 0 0 10px;border-left:6px solid #7a62b0;font-size:17px;font-weight:bold;line-height:1.35;color:#333;background:none}
.ms-sub{margin:-4px 0 10px;font-size:12px;color:#777}

/* どちらを付ける？ */
.ms-pick{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.ms-pick li{padding:12px 14px;border:1px solid #e3d6ee;border-radius:10px;background:#faf7fd;font-size:13px;line-height:1.65;color:#444}
.ms-pick li b{display:block;margin-bottom:2px;font-size:15px;color:#5b4a8a}
.ms-pick li span{display:inline-block;margin-bottom:3px;padding:1px 9px;border-radius:999px;background:#7a62b0;color:#fff;font-size:11px;font-weight:bold}

/* 用途別の文例 */
.ms-grp{margin:18px 0 8px;padding:10px 14px;border-radius:10px;font-size:16px;font-weight:bold;line-height:1.3;color:#fff}
.ms-grp.p{background:linear-gradient(150deg,#e07aa6,#b5628a 70%)}
.ms-grp.g{background:linear-gradient(150deg,#8fbba6,#5f9078 70%)}
.ms-use{margin:0 0 8px;border:1px solid #e3d6ee;border-radius:12px;background:#fff}
.ms-use.p{border-color:#f0d9e5}.ms-use.g{border-color:#d3e3d9}
.ms-use>summary{display:block;position:relative;min-height:52px;padding:14px 44px 14px 14px;font-size:15px;font-weight:bold;line-height:1.4;color:#333;cursor:pointer;list-style:none}
.ms-use>summary::-webkit-details-marker{display:none}
.ms-use>summary:after{content:"+";position:absolute;right:16px;top:50%;margin-top:-13px;font-size:24px;line-height:26px}
.ms-use.p>summary:after{color:#b5628a}.ms-use.g>summary:after{color:#5f9078}
.ms-use[open]>summary:after{content:"-"}
.ms-use[open]>summary{border-bottom:1px solid #eee}
.ms-use .ms-body{padding:10px 14px 14px}
.ms-ex{margin:0 0 10px}
.ms-ex dt{margin:0 0 3px;font-size:12px;font-weight:bold;color:#8a7aa8}
.ms-ex dd{margin:0;padding:10px 12px;border:1px dashed #cfc5dc;border-radius:8px;background:#f8f6fb;font-size:14px;line-height:1.7;color:#333;-webkit-user-select:all;user-select:all}
.ms-ex dd small{display:block;margin-top:2px;font-size:11px;color:#888}
.ms-go{display:block;min-height:48px;padding:13px 10px;border-radius:10px;text-align:center;font-size:14px;font-weight:bold;line-height:1.3;color:#fff!important}
.ms-use.p .ms-go{background:#b5628a}.ms-use.g .ms-go{background:#5f9078}
.ms-note{margin:6px 0 0;font-size:11px;line-height:1.6;color:#888}

/* 当店の仕様 */
.ms-spec{border-collapse:collapse;border:0;margin:0}
.ms-spec th,.ms-spec td{padding:9px 8px;border:0;border-bottom:1px solid #e6e0ee;font-size:13px;line-height:1.6;text-align:left;vertical-align:top}
.ms-spec th{width:34%;background:#f1ecfa;color:#5b4a8a;font-weight:bold}
.ms-spec td em{font-style:normal;color:#999}
.ms-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 0}
.ms-photos figure{margin:0;padding:0;float:none;width:auto;line-height:0}
.ms-photos img{display:block;width:100%;height:auto;border-radius:8px;background:#f4f4f4}
.ms-photos figcaption{padding:6px 2px 0;font-size:11px;line-height:1.5;color:#666}

/* よくある質問 */
.ms-faq details{margin:0 0 8px;border:1px solid #e3d6ee;border-radius:10px;background:#fff}
.ms-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}
.ms-faq summary::-webkit-details-marker{display:none}
.ms-faq summary:after{content:"+";position:absolute;right:14px;top:50%;margin-top:-11px;font-size:20px;line-height:22px;color:#7a62b0}
.ms-faq details[open] summary:after{content:"-"}
.ms-faq details[open] summary{border-bottom:1px solid #eee}
.ms-faq .ms-a{padding:10px 14px 12px;font-size:13px;color:#444}

/* 関連 */
.ms-rel{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.ms-rel a{display:flex;align-items:center;min-height:48px;padding:8px 14px;border:1px solid #e3d6ee;border-radius:10px;background:#faf7fd;font-size:14px;font-weight:bold;line-height:1.4;color:#5b4a8a}
.ms-rel a small{display:block;font-size:11px;font-weight:normal;color:#777}
.ms-tel{margin:10px 0 0;font-size:13px;color:#444}
.ms-tel a{display:inline-block;padding:11px 4px;color:#5b4a8a;font-weight:bold;text-decoration:underline}

@media (min-width:768px){
  .ms{padding:0 16px 40px;font-size:15px}
  .ms-title{font-size:28px}
  .ms-lead{font-size:15px}
  .ms-chips{gap:12px;max-width:760px;margin-bottom:10px}
  .ms-chips li{padding:12px 8px;font-size:15px}
  .ms-chips li b{font-size:12px}
  .ms-h{margin-top:40px;font-size:21px}
  .ms-pick{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .ms-grp{font-size:18px}
  .ms-use .ms-body{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;align-items:start}
  .ms-use .ms-body .ms-go{grid-column:1 / -1;max-width:380px}
  .ms-photos{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .ms-rel{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.ms-lead b{color:#5b4a8a}
.ms-ex dd .ms-alt{display:block;margin-top:6px;padding-top:6px;border-top:1px dotted #d8d0e2}
.ms-point{margin:2px 0 10px;font-size:12px;line-height:1.65;color:#666}
.ms-use .ms-body .ms-point{grid-column:1 / -1}
.ms-stand{margin:14px 0 0;padding:12px 14px;border:1px dashed #cfc5dc;border-radius:10px;background:#faf9fc}
.ms-stand h4{margin:0 0 4px;font-size:14px;font-weight:bold;color:#5b4a8a}
.ms-stand p{font-size:13px;color:#666}

.ms-jump{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 0}
.ms-jump a{display:flex;align-items:center;justify-content:center;min-height:54px;padding:8px 6px;border-radius:12px;text-align:center;font-size:15px;font-weight:bold;line-height:1.3;color:#fff!important}
.ms-jump a.p{background:linear-gradient(150deg,#e07aa6,#b5628a 70%)}
.ms-jump a.g{background:linear-gradient(150deg,#8fbba6,#5f9078 70%)}
.ms-phh{margin:16px 0 8px;padding:6px 12px;border-radius:8px;font-size:14px;font-weight:bold;line-height:1.3;color:#fff}
.ms-phh.p{background:#b5628a}.ms-phh.g{background:#5f9078}
.ms-photos{margin-top:0}
.ms-photos figcaption{padding:6px 2px 0;font-size:12px;font-weight:bold;line-height:1.5;color:#444}
.ms-photos figcaption small{font-weight:normal;color:#777;font-size:11px}
@media (min-width:768px){.ms-jump{max-width:560px;gap:14px}.ms-jump a{min-height:60px;font-size:17px}}
