/*
Theme Name: Hanako Magazine
Description: ナンボ花子の独立ブロックテーマ。A案・花子控えめ。暮らしとお得のWebマガジン。
Version: 0.5.1
Requires at least: 6.7
Requires PHP: 8.2
Text Domain: hanako-magazine
*/
.wp-block-post-content{line-height:2.1}.wp-block-post-content a{ text-decoration:underline; text-underline-offset:.2em}.hanako-pr{border-left:3px solid #92515f;padding:1rem;background:#f8f5f0;font-size:.85rem}.hanako-placeholder{border:1px solid #dedbd5;padding:2rem}.wp-block-post-template .wp-block-post-featured-image img{aspect-ratio:1.5;object-fit:cover}
.hanako-masthead{padding:28px 0 0}.hanako-masthead>p:first-child{font-size:11px;letter-spacing:.1em;color:#777}.hanako-wordmark{margin:14px 0 28px!important;letter-spacing:-.07em;line-height:1.4;font-weight:600}.hanako-wordmark a{color:#243b50;text-decoration:none}.hanako-wordmark span{color:#e5b539;font-size:.65em;vertical-align:top}.hanako-section-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:28px;border-block:1px solid #dedbd5;padding:18px 0}.hanako-section-nav a{font-size:12px;color:#333;text-decoration:none}.hanako-feature{margin-top:35px}.hanako-feature .wp-block-columns{gap:35px;background:#eceee5;border-top:2px solid #e5b539}.hanako-feature .wp-block-column:last-child{padding:30px}.hanako-feature .wp-block-post-title{font-size:clamp(24px,3vw,42px)}.hanako-feature .wp-block-post-featured-image{margin:0}.hanako-feature .wp-block-post-title a,.wp-block-post-template .wp-block-post-title a{color:#243b50;text-decoration:none}.hanako-feature .wp-block-post-excerpt{font-size:14px}.hanako-intro{border-bottom:1px solid #dedbd5;padding-bottom:23px;color:#686c65}.wp-block-heading small{font:400 12px/1.8 'Yu Gothic',sans-serif;display:inline-block;margin-left:15px;color:#6c7168}.wp-block-group[id]{scroll-margin-top:24px;margin-top:60px}.wp-block-post-template .wp-block-post-title{font-size:19px;line-height:1.8}.wp-block-post-date{font-size:11px;color:#777}.hanako-soft-panel{background:#eeeee6;padding:32px}.hanako-lined-panel{border-block:1px solid #dedbd5;padding:25px 0}.hanako-quiet-profile{gap:25px!important;border-block:1px solid #dedbd5;padding:28px 0}.hanako-quiet-profile > .wp-block-image{flex:0 0 72px;margin:0}.hanako-quiet-profile > .wp-block-image img{border-radius:50%;object-fit:contain}.hanako-quiet-profile h3{font-size:21px}.hanako-comment{border-left:2px solid #e5b539;padding:20px;background:#f3f0e5}.hanako-comment p:first-child{color:#243b50}.wp-block-post-content table{border-collapse:collapse;width:100%;font-size:14px}.wp-block-post-content th,.wp-block-post-content td{border:1px solid #dedbd5;padding:12px}.wp-block-post-content th{background:#eeeee6}
@media(max-width:781px){.hanako-feature .wp-block-column:last-child{padding:24px}.hanako-section-nav{gap:15px}.hanako-section-nav a{font-size:11px}.wp-block-heading small{display:block;margin:8px 0}.hanako-soft-panel{padding:24px}.wp-block-post-template.is-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.wp-block-post-template.is-layout-grid{grid-template-columns:1fr}.hanako-quiet-profile{gap:16px!important;align-items:flex-start!important}.hanako-quiet-profile > .wp-block-image{flex-basis:52px}.hanako-quiet-profile > .wp-block-image img{width:52px!important;height:52px!important}.hanako-quiet-profile h3{font-size:18px}.hanako-wordmark{font-size:34px!important}}
.hanako-feature .wp-block-post-template .wp-block-post-title{font-size:clamp(25px,3vw,39px);line-height:1.65}.hanako-feature .wp-block-post-excerpt__excerpt{line-height:2.1}

.wpcf7 form{max-width:700px}.wpcf7 label{display:block;font-size:14px;line-height:1.9}.wpcf7 input:not([type=hidden]):not([type=checkbox]):not([type=radio]),.wpcf7 textarea,.wpcf7 select{box-sizing:border-box;display:block;width:100%;min-height:44px;padding:12px;border:1px solid #c8cec4;border-radius:3px;background:#fff;color:#333;font:inherit;margin-top:8px}.wpcf7 textarea{min-height:180px}.wpcf7 input[type=submit]{background:#243b50!important;color:#fff!important;cursor:pointer;width:auto!important;min-width:140px}.wpcf7 input:focus-visible,.wpcf7 textarea:focus-visible{outline:2px solid #899c88;outline-offset:3px}

.hanako-ranking-kicker{font-size:.75rem;letter-spacing:.16em;color:#546650}.hanako-ranking-note{font-size:.85rem;color:#666;line-height:1.8}.hanako-ranking h2{margin-top:.5rem}

/* Keep the book cover rectangular and separate from the profile avatar. */
.hanako-book-intro{gap:28px!important;align-items:center!important}.hanako-quiet-profile .hanako-book-cover{margin:0;max-width:180px}.hanako-quiet-profile .hanako-book-cover img{display:block;width:100%;height:auto;border-radius:0;object-fit:contain}.hanako-quiet-profile > .wp-block-group{min-width:0}
