/*
Theme Name: ここあるよ
Theme URI: https://starplanets.space/
Author: タヨマナ会
Description: 宮崎県北の学校以外の居場所・相談先を紹介するオリジナルWordPressテーマです。
Version: 2.1.3
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: kokoaruyo
*/

/* 公開デザインは assets/css/current-site.css に集約しています。 */
html { scroll-behavior: smooth; }
body.admin-bar .site-header { top: 32px; }
.place-grid { padding-left: max(4vw, calc(50vw - min(20vw, 260px))); }
.place-card:first-child { scroll-snap-align: center; }

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  .place-grid { padding-left: calc(1rem + 8vw); }
}

.place-reviews { margin-top: 22px; padding-top: 18px; border-top: 1px dashed #d7c8b6; }
.place-reviews h4 { margin: 0 0 10px; font-size: 1rem; }
.place-reviews blockquote { margin: 10px 0; padding: 12px 14px; background: #fffaf2; border-radius: 12px; }
.place-reviews blockquote p { margin: 0 0 4px; }
.place-reviews cite, .no-reviews { color: #74685d; font-size: .82rem; }
.review-link { display: inline-flex; margin-top: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.place-detail-page { margin: 0; background: #fffaf2; color: #3f352d; font-family: "Zen Kaku Gothic New", sans-serif; }
.place-detail-shell { width: min(820px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 90px; }
.place-back-link { display: inline-block; margin-bottom: 24px; color: inherit; }
.place-detail-card { padding: clamp(24px, 5vw, 56px); background: #fff; border: 1px solid #e4d9ca; border-radius: 28px; box-shadow: 0 20px 60px rgba(72, 54, 37, .08); }
.place-detail-card h1 { font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(1.7rem, 5vw, 2.8rem); }
.place-detail-content { margin: 24px 0 42px; line-height: 2; }
.reviews-page-section { padding-top: 32px; border-top: 1px solid #e4d9ca; }
.reviews-page-section h2, #reply-title { font-family: "Zen Maru Gothic", sans-serif; }
.reviews-guidance { padding: 14px 16px; background: #fff7e8; border-radius: 12px; font-size: .9rem; }
.review-list { padding-left: 0; list-style: none; }
.review-list .comment-body { margin: 14px 0; padding: 18px; background: #fffaf2; border-radius: 14px; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 700; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px; border: 1px solid #cfc1b0; border-radius: 10px; font: inherit; }
.comment-form input[type="submit"] { width: auto; border: 0; background: #5a4632; color: #fff; font-weight: 700; cursor: pointer; }
