/* LINE の画像内余白を補正し、電話・フォームと見える大きさを揃える */ .oh-home-scope img.oh-cta-icon-line{transform:scale(1.25);transform-origin:center} /* お知らせは管理画面の公開投稿から新着3件を表示 */ .oh-home-scope .oh-news-query .wp-block-post-template{list-style:none;margin:0!important;padding:0;border-top:1px solid var(--oh-line)} .oh-home-scope .oh-news-query .wp-block-post-template>li{margin:0!important;padding:0} .oh-home-scope .oh-news-query .oh-news-row{position:relative;display:grid;grid-template-columns:100px minmax(0,1fr) 20px;align-items:baseline;gap:16px;margin:0!important;padding:16px 0;border-bottom:1px solid var(--oh-line);color:var(--oh-navy);font-size:15px;font-weight:600} .oh-home-scope .oh-news-query .oh-news-row .wp-block-post-date{margin:0;font-size:12px;font-weight:400;color:var(--oh-muted);font-variant-numeric:tabular-nums} .oh-home-scope .oh-news-query .oh-news-row p.wp-block-post-title{margin:0!important;font:inherit;line-height:inherit} .oh-home-scope .oh-news-query .oh-news-row p.wp-block-post-title a{color:inherit;text-decoration:none} .oh-home-scope .oh-news-query .oh-news-row p.wp-block-post-title a::after{content:'';position:absolute;inset:0} .oh-home-scope .oh-news-query .oh-news-row:hover p.wp-block-post-title a{text-decoration:underline;text-underline-offset:4px} .oh-home-scope .oh-news-query .oh-news-row>span{text-align:right} .oh-home-scope .oh-news-query .oh-news-row:focus-within{outline:3px solid #a6760d;outline-offset:5px} @media(max-width:600px){.oh-home-scope .oh-news-query .oh-news-row{grid-template-columns:82px minmax(0,1fr) 16px;gap:8px;padding:14px 0;font-size:14px}.oh-home-scope .oh-news-query .oh-news-row .wp-block-post-date{font-size:11px}} /* トップに重複する空の案内枠を表示しない */ body.page-id-154 #content-bottom{display:none!important} body.page-id-154 #footer{margin-top:0!important} body.page-id-154 .oh-home-scope{margin-bottom:0!important} /* トップの最新コラム：PC４件横並び、スマートフォン２列 */ @media(min-width:901px){body.page-id-154 .oh-home-scope .oh-home-column-cards{grid-template-columns:repeat(4,minmax(0,1fr))}} @media(max-width:900px){body.page-id-154 .oh-home-scope .oh-home-column-cards{grid-template-columns:repeat(2,minmax(0,1fr))}} @media(max-width:600px){body.page-id-154 .oh-home-scope .oh-home-column-cards{gap:10px}body.page-id-154 .oh-home-scope .oh-home-column-cards .oh-case{padding:12px}body.page-id-154 .oh-home-scope .oh-home-column-cards .oh-column-thumb{margin-bottom:12px}body.page-id-154 .oh-home-scope .oh-home-column-cards h3{font-size:14px;line-height:1.6}body.page-id-154 .oh-home-scope .oh-home-column-cards .oh-case>p{font-size:12px;line-height:1.75}body.page-id-154 .oh-home-scope .oh-home-column-cards time{font-size:11px}body.page-id-154 .oh-home-scope .oh-home-column-cards .oh-text-link{font-size:12px;margin-top:16px}} /* 最新コラム4件は投稿から自動表示 */ body.page-id-154 .oh-home-scope .oh-column-query{display:block!important} body.page-id-154 .oh-home-scope .oh-column-query > .wp-block-post-template{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;list-style:none;margin:0;padding:0} body.page-id-154 .oh-home-scope .oh-column-query > .wp-block-post-template > li{display:flex;min-width:0;margin:0;padding:0} body.page-id-154 .oh-home-scope .oh-column-query .oh-case{width:100%;margin:0!important} body.page-id-154 .oh-home-scope .oh-column-query .oh-column-thumb{margin:0 0 18px} body.page-id-154 .oh-home-scope .oh-column-query .wp-block-post-excerpt{flex:1} body.page-id-154 .oh-home-scope .oh-column-query .wp-block-post-excerpt p{font-size:14px;color:var(--oh-muted);line-height:2;margin:0} @media(max-width:900px){body.page-id-154 .oh-home-scope .oh-column-query > .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}} @media(max-width:600px){body.page-id-154 .oh-home-scope .oh-column-query > .wp-block-post-template{gap:10px}body.page-id-154 .oh-home-scope .oh-column-query .oh-column-thumb{margin-bottom:12px}body.page-id-154 .oh-home-scope .oh-column-query .wp-block-post-excerpt p{font-size:12px;line-height:1.75}} .oh-home-scope .oh-memorial-guide { padding: 16px 12px 18px; background: #f8f5ee; } .oh-home-scope .oh-memorial-guide > p { margin: 0; color: #082b63; font-size: 14px; line-height: 1.4; } .oh-home-scope .oh-memorial-guide .wp-block-buttons { margin-block: 4px 0; } .oh-home-scope .oh-memorial-guide .wp-block-button__link { box-sizing: border-box; min-height: 44px; max-width: 100%; padding: 10px 15px; border: 1px solid #082b63; border-radius: 6px; background: #fff; color: #082b63; font-size: 15px; font-weight: 600; line-height: 22px; text-decoration: none; } .oh-home-scope .oh-memorial-guide .wp-block-button__link:hover, .oh-home-scope .oh-memorial-guide .wp-block-button__link:focus-visible { background: #082b63; color: #fff; }