/*
Theme Name: SOONESS GREEN
Description: SOONESS GREENの固定ページと植物図鑑を編集するためのテーマ
Version: 1.1.0
Text Domain: sooness-green
*/
body{position:relative}
#wpadminbar img{width:auto}
img.sg-photo{object-fit:cover}
.sg-catalog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:1.35rem}
.sg-catalog-card{padding-bottom:1rem;background:white;border:1px solid var(--line)}
.sg-catalog-card img{width:100%;height:175px;object-fit:cover}
.sg-catalog-copy{padding:.85rem 1rem}.sg-catalog-copy :is(h3,h2){font-size:1.08rem;font-weight:600}.sg-catalog-copy p{font-size:.9rem}
.sg-catalog-copy a,.sg-entry a{text-decoration:underline;text-underline-offset:.2em}.sg-catalog-copy small{font-style:italic}
.sg-compare-links{margin-top:1rem}.sg-entry{width:min(90%,820px);margin:auto;padding:145px 0 60px}

.sg-journal-entry{max-width:48rem;padding:clamp(3.5rem,8vw,7rem) 0}
.sg-journal-entry h1{font-family:serif;font-size:clamp(1.65rem,3.3vw,2.7rem);line-height:1.45;margin:.65em 0;color:var(--green-dark);overflow-wrap:anywhere}
.sg-journal-meta{font-size:.85rem;letter-spacing:.04em}
.sg-journal-entry>p:not(.sg-journal-meta){line-height:1.9}
.sg-journal-entry nav{margin-top:2rem}
.skip-to-main:not(:focus){width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
@media(max-width:600px){body.admin-bar #wpadminbar{position:fixed;top:0}}
/* お問い合わせフォーム（Contact Form 7「SOONESS GREEN お問い合わせ」）
   項目の見た目は site.css の .contact-form / .form-row / .consent-row / .contact-submit をそのまま使い、
   ここでは CF7 が出力する要素（エラー表示・同意チェック・Turnstile・送信中表示・送信結果）と送信ボタンの矢印だけを合わせる */
.form-grid>.form-row{min-width:0}
.contact-form .wpcf7-not-valid{border-color:var(--red)}
.contact-form .wpcf7-not-valid-tip{margin-top:6px;color:var(--red);font-size:10px;line-height:1.6}
.consent-row .wpcf7-list-item{margin:0}
.consent-row label{display:flex;align-items:center;gap:10px;cursor:pointer}
.contact-turnstile{margin-bottom:24px}
.contact-turnstile .cf7-cf-turnstile{margin-bottom:0!important}
.contact-turnstile .cf-turnstile-br{display:none}
.wpcf7 .contact-submit:after{content:"";flex:none;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M14 7l5 5-5 5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M14 7l5 5-5 5'/%3E%3C/svg%3E") center/contain no-repeat}
.contact-submit-wrap .wpcf7-spinner{display:block;margin:14px auto 0}
.wpcf7 form.contact-form .wpcf7-response-output{margin:22px 0 0;padding:13px 15px;border-width:1px;font-size:11px;line-height:1.7}
@media (width<=680px){.consent-row label{align-items:flex-start}}
