/* /guide/ only; common header/footer and article CSS are unaffected. */
#guide-design.gd-ocean{background:#d8edf8;position:relative;isolation:isolate;color:#1f2a30;min-height:100vh;padding-top:84px;font-family:system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;font-size:16px;line-height:1.6}
#guide-design.gd-ocean::before{content:"";position:absolute;z-index:-1;inset:0 0 auto;height:max(600px,56vw);background:linear-gradient(to bottom,transparent 35%,#d8edf8 100%),url("../images/guide-watercolor-20261106.png") top center/cover no-repeat;pointer-events:none}
#guide-design .gd-wrap{max-width:none;margin:0;padding:0} #guide-design .gd-wrap>nav{margin:0 5%}
#guide-design .sf-hero{display:grid;grid-template-columns:1fr 2fr;align-items:center;gap:48px;padding:64px 0 48px 5%}
#guide-design .sf-kicker{letter-spacing:.16em;color:#287188;font-weight:700} #guide-design .sf-hero h1{font-family:inherit;font-size:34px;letter-spacing:.12em;line-height:1.4} #guide-design .sf-intro{font-size:17.6px;line-height:1.8}
#guide-design .sf-panel{background:#fff;border-radius:36px 0 0 36px;padding:32px 5%;box-shadow:0 14px 36px #28495a16;min-width:0}
#guide-design .sf-panel label{display:block;font-weight:700;margin:0 0 11.2px} #guide-design .sf-row{display:flex;gap:9.6px;flex-wrap:wrap;margin-bottom:24px}
#guide-design .sf-input,#guide-design #sf-category summary{border:0;background:#e9edf2;border-radius:50px;padding:13.6px 16px;font:inherit} #guide-design .sf-input{flex:1;min-width:192px;max-width:100%}
#guide-design .sf-btn{cursor:pointer;border:2px solid #f3b04a;background:#f3b04a;color:#1f2a30;border-radius:50px;padding:10.4px 20.8px;font:inherit;font-weight:700} #guide-design .sf-outline{background:white} #guide-design .sf-btn:disabled{opacity:.5;cursor:default}
#guide-design #sf-category{position:relative;max-width:544px} #guide-design #sf-category summary{cursor:pointer;list-style:none} #guide-design #sf-category summary:after{content:'⌄';float:right}
#guide-design .sf-category__choices{display:flex;gap:8px;flex-wrap:wrap;padding:16px 0} #guide-design .sf-category__choices label{display:inline-flex;gap:5.6px;align-items:center;border-radius:30px;background:#eef1f4;padding:8.8px 12.8px;margin:0} #guide-design .sf-category__choices input{min-width:0;flex:none}
#guide-design .sf-results{max-width:1150px;margin:auto;padding:0 24px 64px} #guide-design .sf-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35.2px;list-style:none;margin:0;padding:0}
#guide-design .sf-item{min-width:0} #guide-design .sf-item__thumbnail{display:block;width:100%;height:180px;object-fit:cover;border-radius:15px} #guide-design .sf-item__title{display:block;color:inherit;font-size:18px;font-weight:700;line-height:1.5;margin:12px 0;text-decoration:none} #guide-design .sf-item__title:hover{text-decoration:underline}
#guide-design .sf-item__meta{display:flex;gap:4px;flex-wrap:wrap} #guide-design .sf-badge{display:inline-block;font-size:13px;background:#f3b04a;border-radius:25px;padding:3.2px 9.6px} #guide-design .sf-item__excerpt{font-size:14px;line-height:1.6} #guide-design .sf-empty{grid-column:1/-1}
#guide-design .sf-pager{display:flex;flex-wrap:wrap;gap:5.6px;margin-top:32px} #guide-design .sf-pg{padding:6.4px 11.2px;border-radius:5px;background:#fff;color:#1f2a30} #guide-design .sf-pg[aria-current]{background:#f3b04a;font-weight:bold}
@media(max-width:700px){#guide-design.gd-ocean{padding-top:64px} #guide-design .sf-hero h1{font-size:28px}#guide-design .sf-hero{grid-template-columns:1fr;padding:32px 0 32px 16px;gap:16px} #guide-design .sf-hero__copy{padding-right:16px} #guide-design .sf-panel{padding:24px} #guide-design .sf-list{grid-template-columns:1fr;gap:24px}}

/* 選択中のカテゴリと代替画像を明確にする */
#guide-design .sf-category__choices label:has(input:checked){background:#c9ccd0;color:#1f2a30}
#guide-design .sf-item__placeholder{object-fit:contain;background:#fff}
#guide-design a.sf-genre{color:#1f2a30;text-decoration:none;cursor:pointer}
#guide-design a.sf-genre:hover,#guide-design a.sf-genre:focus-visible{outline:2px solid #1f2a30;outline-offset:2px}

#guide-design .sf-item__credit{font-size:12px;line-height:1.5;margin:5px 0 0;overflow-wrap:anywhere}
#guide-design .sf-item__credit a{color:inherit;text-decoration:underline}

#guide-design .sf-item__thumbnail--contain{object-fit:contain;background:#fff}

/* 478: 既存画像の被写体がカード上端で切れないよう焦点を上げる。 */
#guide-design .sf-item__image-link[href="https://solboy-diving.com/mactan-ricos-lechon/"] > img.sf-item__thumbnail[src="https://solboy-diving.com/wp-content/uploads/2026/10/lechon-2-w1280.jpg"] {
  object-position: 50% 25%;
}
