/*
 Skin Name: IZUMI Royal Grace - 泉ひかり
 Description: 白・アンティークゴールド・ローズを基調とした人生研究室のオリジナルスキン。
 Skin URI: https://izumi-hikari.com/
 Author: 泉ひかり
 Author URI: https://izumi-hikari.com/
 Version: 1.0.0
 Priority: 10
*/
/* 01 | Palette — no external fonts, scripts or network requests */
:root {
  --ihg-paper: #fffefd;
  --ihg-bg: #f8f5f0;
  --ihg-ink: #3e3430;
  --ihg-muted: #71635b;
  --ihg-gold: #a68448;
  --ihg-gold-dark: #76551f;
  --ihg-line: #e6d8bf;
  --ihg-rose: #94566b;
  --ihg-blush: #fbf0f3;
  --ihg-cream: #faf5e9;
  --ihg-shadow: 0 5px 20px rgba(81, 57, 29, .055);
  --ihg-serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --ihg-sans: "Hiragino Sans", "Yu Gothic", Meiryo, "Noto Sans CJK JP", sans-serif;
}
body { background-color: var(--ihg-bg); color: var(--ihg-ink); font-family: var(--ihg-sans); }
a { color: var(--ihg-rose); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ihg-gold-dark); outline-offset: 3px; }
/* 02 | Header & global menu. Preserve site layout and image settings. */
.header-container { background-color: var(--ihg-paper); border-bottom: 1px solid var(--ihg-line); }
.header { background-color: var(--ihg-paper); color: var(--ihg-ink); }
.header .logo-text { font-family: var(--ihg-serif); font-weight: 600; letter-spacing: .06em; }
.header .logo-text a, .header .tagline { color: var(--ihg-ink); }
.header .tagline { font-size: .85em; letter-spacing: .045em; }
.navi { background-color: var(--ihg-paper); color: var(--ihg-ink); border-top: 1px solid var(--ihg-line); }
.navi-in > ul > li > a { color: var(--ihg-ink); font-weight: 600; letter-spacing: .035em; }
.navi-in > ul > li > a:hover, .navi-in > ul > li.current-menu-item > a, .navi-in > ul > li.current-menu-ancestor > a { color: var(--ihg-gold-dark); background: var(--ihg-cream); box-shadow: inset 0 -2px var(--ihg-gold); }
.navi-in .sub-menu { background-color: var(--ihg-paper); box-shadow: var(--ihg-shadow); }
.navi-in .sub-menu a { background-color: var(--ihg-paper); color: var(--ihg-ink); }
.navi-in .sub-menu a:hover { background-color: var(--ihg-cream); color: var(--ihg-gold-dark); }
/* 03 | Outer surfaces. Widths and sidebar placement belong to Cocoon. */
.main, .sidebar { background-color: var(--ihg-paper); border: 1px solid var(--ihg-line); border-radius: 12px; box-shadow: var(--ihg-shadow); min-width: 0; }
.home .main { box-shadow: none; }
.breadcrumb, .breadcrumb a { color: var(--ihg-muted); font-size: .84rem; }
/* 04 | Standard posts. Do not restyle bespoke static-page HTML or tools. */
.single .entry-title { font-family: var(--ihg-serif); font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 600; color: var(--ihg-ink); line-height: 1.55; letter-spacing: .025em; }
.single .entry-content { font-size: 1.0625rem; line-height: 1.95; overflow-wrap: anywhere; }
.single .entry-content > p { margin-block: 1.2em; }
.single .entry-content > h2 { color: var(--ihg-ink); background: linear-gradient(105deg, var(--ihg-cream), var(--ihg-paper) 88%); border: 0; border-left: 4px solid var(--ihg-gold); border-bottom: 1px solid var(--ihg-line); border-radius: 0 8px 8px 0; padding: .85em .95em; margin: 2.2em 0 1em; font-family: var(--ihg-serif); font-size: 1.42em; line-height: 1.55; }
.single .entry-content > h3 { background: transparent; color: var(--ihg-rose); border: 0; border-bottom: 1px solid var(--ihg-line); padding: .5em 0 .65em; margin: 1.8em 0 .8em; font-size: 1.2em; line-height: 1.6; }
.single .entry-content > h4 { background: transparent; color: var(--ihg-ink); border: 0; border-left: 3px solid var(--ihg-gold); padding: .4em .7em; margin: 1.6em 0 .8em; }
.single .entry-content > h5, .single .entry-content > h6 { background: transparent; color: var(--ihg-ink); border: 0; }
.single .entry-content > p a:not([class]), .single .entry-content > ul a:not([class]), .single .entry-content > ol a:not([class]) { text-decoration: underline; text-underline-offset: .2em; }
.single .entry-content > p a:not([class]):hover { color: var(--ihg-gold-dark); }
.single .entry-content > ul, .single .entry-content > ol { padding-inline-start: 1.7em; }
.single .entry-content > ul > li::marker, .single .entry-content > ol > li::marker { color: var(--ihg-gold-dark); }
.single .entry-content > blockquote { background: var(--ihg-blush); border: 0; border-left: 3px solid var(--ihg-rose); border-radius: 0 8px 8px 0; padding: 1.1em 1.3em; color: var(--ihg-ink); }
.single .entry-content > blockquote::before, .single .entry-content > blockquote::after { color: var(--ihg-rose); opacity: .35; }
.single .entry-content > figure.wp-block-image img, .single .eye-catch img { border-radius: 8px; }
.single .entry-content > figure.wp-block-image figcaption { color: var(--ihg-muted); font-size: .85em; }
.single .entry-content > hr { border: 0; border-top: 1px solid var(--ihg-line); margin: 2em 0; }
/* 05 | Table of contents and standard article tables. */
.single .toc { background: var(--ihg-cream); border: 1px solid var(--ihg-line); border-radius: 10px; padding: 1.2em 1.4em; max-width: 100%; box-sizing: border-box; }
.single .toc-title { font-family: var(--ihg-serif); color: var(--ihg-gold-dark); font-weight: 600; letter-spacing: .08em; }
.single .toc a { color: var(--ihg-ink); text-decoration: underline; text-underline-offset: .18em; }
.single .toc a:hover { color: var(--ihg-rose); }
.single .entry-content > .wp-block-table { overflow-x: auto; max-width: 100%; }
.single .entry-content > .wp-block-table table, .single .entry-content > table { border-collapse: collapse; color: var(--ihg-ink); }
.single .entry-content > .wp-block-table th, .single .entry-content > table th { background: var(--ihg-cream); color: var(--ihg-gold-dark); }
.single .entry-content > .wp-block-table :is(th,td), .single .entry-content > table :is(th,td) { border-color: var(--ihg-line); padding: .65em .8em; }
.single .entry-content > .wp-block-table tbody tr:nth-child(even), .single .entry-content > table tbody tr:nth-child(even) { background-color: #fdf9f6; }
/* 06 | Article index & related cards */
.entry-card-wrap, .related-entry-card-wrap, .blogcard-wrap { border: 1px solid var(--ihg-line); border-radius: 10px; background-color: var(--ihg-paper); color: var(--ihg-ink); box-shadow: var(--ihg-shadow); transition: border-color .18s ease, box-shadow .18s ease; }
.entry-card-wrap:hover, .related-entry-card-wrap:hover, .blogcard-wrap:hover { border-color: var(--ihg-gold); background-color: var(--ihg-paper); color: var(--ihg-ink); box-shadow: 0 6px 20px rgba(81, 57, 29, .10); }
.entry-card-title, .related-entry-card-title { color: var(--ihg-ink); font-weight: 600; line-height: 1.6; }
.entry-card-snippet, .related-entry-card-snippet, .entry-card-meta, .post-date, .post-update { color: var(--ihg-muted); }
.entry-card-thumb img, .related-entry-card-thumb img { border-radius: 6px; }
.cat-label { background-color: var(--ihg-gold-dark); color: #fff; border: 1px solid var(--ihg-gold-dark); }
.page-numbers, .pagination-next-link { border-color: var(--ihg-line); background: var(--ihg-paper); color: var(--ihg-ink); border-radius: 6px; }
.page-numbers.current, .page-numbers:hover, .pagination-next-link:hover { background: var(--ihg-gold-dark); color: #fff; }
/* 07 | Sidebar widgets and search */
.sidebar h2, .sidebar h3.widget-title, .sidebar .widget-sidebar-title { font-family: var(--ihg-serif); background: var(--ihg-cream); color: var(--ihg-gold-dark); border: 0; border-bottom: 1px solid var(--ihg-line); border-radius: 5px 5px 0 0; padding: .7em .85em; font-size: 1.08em; letter-spacing: .045em; }
.sidebar .widget a:not(.sns-follow-button):not(.sns-share-button) { color: var(--ihg-ink); }
.sidebar .widget a:not(.sns-follow-button):not(.sns-share-button):hover { color: var(--ihg-rose); }
.sidebar .widget ul li a { border-bottom-color: var(--ihg-line); }
.search-box input.search-edit { border: 1px solid var(--ihg-line); border-radius: 8px; background-color: #fff; color: var(--ihg-ink); }
.search-box .search-submit { color: var(--ihg-gold-dark); }
.tagcloud a, .tag-link, .cat-link { border: 1px solid var(--ihg-line); background-color: var(--ihg-cream); color: var(--ihg-gold-dark); border-radius: 5px; }
.tagcloud a:hover, .tag-link:hover, .cat-link:hover { background-color: var(--ihg-gold-dark); color: white; }
.author-box { background: var(--ihg-paper); border: 1px solid var(--ihg-line); border-radius: 10px; }
/* 08 | Standard WordPress buttons; preserve existing tool buttons and social colors. */
.single .entry-content .wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background):not(.has-text-color) { background: var(--ihg-gold-dark); color: #fff; border: 1px solid var(--ihg-gold-dark); border-radius: 7px; font-weight: 600; padding: .7em 1.3em; }
.single .entry-content .wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background):not(.has-text-color):hover { background: #5f4319; }
.comment-respond :is(input:not([type]),input[type=text],input[type=email],input[type=url],textarea) { background: #fff; border: 1px solid var(--ihg-line); border-radius: 6px; color: var(--ihg-ink); }
.comment-respond input[type=submit] { background: var(--ihg-gold-dark); color: #fff; border: 1px solid var(--ihg-gold-dark); border-radius: 6px; }
/* 09 | Footer and mobile menus */
.footer { background-color: var(--ihg-paper); color: var(--ihg-muted); border-top: 3px double var(--ihg-gold); }
.footer a, .footer .footer-bottom a { color: var(--ihg-ink); }
.footer a:hover { color: var(--ihg-rose); }
.footer .footer-widgets h2, .footer .footer-widgets h3 { color: var(--ihg-gold-dark); font-family: var(--ihg-serif); }
.mobile-menu-buttons { background-color: var(--ihg-paper); color: var(--ihg-ink); border-color: var(--ihg-line); }
.mobile-menu-buttons .menu-button, .mobile-menu-buttons a { color: var(--ihg-ink); }
.mobile-menu-buttons .menu-button:hover { background-color: var(--ihg-cream); color: var(--ihg-gold-dark); }
.go-to-top-button { background-color: var(--ihg-gold-dark); color: #fff; border-radius: 8px; }
/* 10 | Mobile, reduced motion, print. Do not hide notices or ads. */
@media (max-width: 834px) {
  .main, .sidebar { border-radius: 8px; box-shadow: none; }
  .single .entry-content { font-size: 1rem; line-height: 1.9; }
  .single .entry-content > h2 { font-size: 1.3em; padding: .7em .75em; }
  .single .entry-content > h3 { font-size: 1.15em; }
  .single .toc { padding: 1em; }
  .entry-card-wrap, .related-entry-card-wrap, .blogcard-wrap { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-card-wrap, .related-entry-card-wrap, .blogcard-wrap { transition: none; }
}
@media print {
  body, .main { background: white; color: black; box-shadow: none; }
  .main { border: 0; }
}
