@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
:root {
  --site-bg: #f4efe6;
  --surface: #fffdf9;
  --surface-muted: #f7f1e7;
  --text-main: #24303a;
  --text-sub: #5f6b76;
  --line-soft: rgba(36, 48, 58, 0.1);
  --line-strong: rgba(36, 48, 58, 0.18);
  --accent: #1a2a3a;
  --accent-deep: #152231;
  --accent-soft: #fff0f5;
  --highlight: #ffb7c5;
  --shadow-soft: 0 18px 40px rgba(24, 42, 54, 0.08);
  --shadow-card: 0 10px 30px rgba(24, 42, 54, 0.06);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: 1240px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(255, 183, 197, 0.16), transparent 30%),
    linear-gradient(180deg, #faf7f8 0%, var(--site-bg) 100%);
  color: var(--text-main);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

body::selection {
  background: rgba(29, 92, 99, 0.16);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--accent-deep);
  opacity: 0.9;
}

.wrap,
#header-container-in,
#navi-in,
#body-in,
#footer-in {
  max-width: var(--content-width);
}

#header-container {
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(36, 48, 58, 0.08);
  box-shadow: 0 8px 26px rgba(24, 42, 54, 0.05);
}

#header-container-in {
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-name-text,
.site-name-text-link {
  color: var(--accent-deep);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.tagline {
  color: var(--text-sub);
  font-size: 0.92rem;
}

#navi {
  background: transparent;
  margin-top: 6px;
}

#navi .navi-in > ul {
  gap: 8px;
}

#navi .navi-in a {
  border-radius: 999px;
  color: var(--text-main);
  font-weight: 500;
  padding: 12px 18px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

#navi .navi-in a:hover,
#navi .navi-in .current-menu-item > a,
#navi .navi-in .current-menu-parent > a {
  background: var(--accent-soft);
  color: var(--accent-deep);
  transform: translateY(-1px);
}

#body {
  margin-top: 28px;
}

#main,
#sidebar {
  margin-top: 0;
}

#main {
  background: rgba(255, 253, 249, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  padding: 34px 34px 42px;
}

#sidebar {
  gap: 22px;
}

.main,
.content,
.article,
.entry-content,
.entry-card-content,
.widget-entry-card-content {
  color: var(--text-main);
}

.article h1,
.article h2,
.article h3,
.article h4,
.entry-title,
.archive-title {
  color: var(--accent-deep);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

.entry-title,
.archive-title {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  margin-bottom: 22px;
}

.article h2 {
  background: #fff0f5;
  border: 0;
  border-left: 6px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: none;
  color: var(--accent-deep);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin: 56px 0 24px;
  padding: 16px 20px;
}

.article h3 {
  background: #fff0f5;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.35rem;
  margin: 42px 0 18px;
  padding: 12px 16px;
}

.article h4 {
  font-size: 1.08rem;
  margin: 28px 0 12px;
}

p,
li {
  color: var(--text-main);
}

blockquote {
  background: var(--surface-muted);
  border-left: 4px solid var(--highlight);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-sub);
  padding: 20px 22px;
}

table {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

th {
  background: var(--surface-muted);
  color: var(--accent-deep);
}

td,
th {
  border-color: var(--line-soft);
  padding: 14px 16px;
}

input,
textarea,
select {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text-main);
  padding: 12px 14px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(29, 92, 99, 0.45);
  box-shadow: 0 0 0 4px rgba(29, 92, 99, 0.12);
  outline: none;
}

button,
input[type="submit"],
.button,
.btn,
.wp-block-button__link,
.pagination-next-link,
.comment-btn {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(20, 59, 66, 0.18);
  color: #fff;
  font-weight: 700;
  padding: 14px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

button:hover,
input[type="submit"]:hover,
.button:hover,
.btn:hover,
.wp-block-button__link:hover,
.pagination-next-link:hover,
.comment-btn:hover {
  box-shadow: 0 16px 28px rgba(20, 59, 66, 0.24);
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}

.article .wp-block-button {
  margin-top: 24px;
  margin-bottom: 24px;
}

.widget,
.author-box,
.box-menu,
.speech-wrap,
.ranking-item,
.pagination,
.pager-post-navi,
.comment-box,
.sns-follow,
.related-entry-card-wrap,
.entry-card-wrap,
.blogcard-wrap,
.notice-area {
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(36, 48, 58, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.widget {
  padding: 24px;
}

.widget-title,
.sidebar h3 {
  color: var(--accent-deep);
  font-family: "Noto Serif JP", serif;
  font-size: 1.08rem;
  margin-bottom: 16px;
}

.entry-card-wrap,
.related-entry-card-wrap {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.entry-card-wrap:hover,
.related-entry-card-wrap:hover {
  box-shadow: 0 18px 30px rgba(20, 59, 66, 0.12);
  transform: translateY(-4px);
}

.entry-card-title,
.related-entry-card-title {
  color: var(--accent-deep);
  font-weight: 700;
  line-height: 1.6;
}

.entry-card-snippet,
.related-entry-card-snippet,
.entry-card-date,
.post-date,
.post-update {
  color: var(--text-sub);
}

.cat-label,
.pagination .current,
.tagcloud a,
.widget_tag_cloud a,
.sns-share.ss-colormode a {
  border-radius: 999px;
}

.cat-label {
  background: var(--accent-deep);
}

.tagcloud a,
.widget_tag_cloud a {
  background: var(--surface-muted);
  border: 1px solid transparent;
  color: var(--accent-deep);
  padding: 0.5em 0.9em;
}

.tagcloud a:hover,
.widget_tag_cloud a:hover {
  background: var(--accent-soft);
  border-color: rgba(29, 92, 99, 0.12);
  text-decoration: none;
}

.breadcrumb {
  color: var(--text-sub);
  margin-bottom: 16px;
}

.pager-post-navi a,
.pagination a,
.pagination span {
  border-radius: 999px;
}

.pager-post-navi,
.pagination {
  padding: 16px;
}

.toc {
  background: linear-gradient(180deg, rgba(216, 235, 230, 0.55), rgba(255, 253, 249, 0.9));
  border: 1px solid rgba(29, 92, 99, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
}

.toc-title {
  color: var(--accent-deep);
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
}

.home #main {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding-top: 0;
}

.home .entry-content > *:first-child,
.home .article > *:first-child {
  margin-top: 0;
}

.home .entry-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.28;
  margin-bottom: 26px;
}

.home .entry-content {
  font-size: 1.05rem;
}

.home .entry-title,
.home .archive-title,
.home .breadcrumb,
.home .breadcrumbs {
  display: none;
}

.home #body {
  margin-top: 0;
}

.home #main {
  padding-right: 0;
  padding-left: 0;
}

body.haru-front-page {
  background: #ffffff;
}

.haru-front-page #header-container {
  display: none;
}

.haru-front-page #body {
  margin-top: 0;
}

.haru-front-page #content,
.haru-front-page #content-in {
  background: transparent;
}

.haru-front-page #content-in {
  display: block;
  max-width: none;
  width: 100%;
}

.haru-front-page #main {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.haru-front-page .entry-header,
.haru-front-page .entry-title,
.haru-front-page .archive-title,
.haru-front-page .breadcrumb,
.haru-front-page .breadcrumbs {
  display: none;
}

.haru-front-page #sidebar {
  display: none;
}

.haru-front-page .footer {
  margin-top: 0;
}

.home .entry-content > p:first-of-type {
  color: var(--text-sub);
  font-size: 1.08rem;
  line-height: 2;
}

.home .wp-block-group,
.home .wp-block-columns,
.home .wp-block-cover,
.home .wp-block-media-text,
.home .wp-block-query,
.home .wp-block-cocoon-blocks-box-menu-1 {
  margin-bottom: 28px;
}

.home .wp-block-group:not(.is-layout-flex):not(.has-background),
.home .wp-block-columns:not(.is-not-stacked-on-mobile) {
  background: rgba(255, 253, 249, 0.7);
  border-radius: var(--radius-lg);
}

.footer {
  background: linear-gradient(180deg, #152231 0%, #0f1822 100%);
  color: rgba(255, 255, 255, 0.86);
  margin-top: 42px;
}

.footer,
.footer a,
#footer,
#footer a {
  color: rgba(255, 255, 255, 0.86);
}

.footer .widget-title,
#footer .widget-title {
  color: #fff;
}

.go-to-top-button {
  background: linear-gradient(135deg, var(--highlight), #c89c6b);
  border-radius: 50%;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.haru-home {
  background: #ffffff;
  display: grid;
  gap: 28px;
  padding: 0 0 0;
}

.haru-home__hero {
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(255, 183, 197, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(26, 42, 58, 0.98), rgba(26, 42, 58, 0.9));
  border-radius: 0;
  box-shadow: 0 24px 46px rgba(18, 31, 43, 0.18);
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.7fr);
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 42px;
  position: relative;
  width: 100vw;
}

.haru-home__hero::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.haru-home__hero-copy,
.haru-home__hero-card {
  margin: 0 auto;
  max-width: 1240px;
  width: 100%;
}

.haru-home__hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.haru-home__eyebrow,
.haru-home__section-label,
.haru-cta-box__label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.haru-home__title {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 14px;
}

.haru-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.haru-home__primary,
.haru-cta-box__button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 62px;
  padding: 0 30px;
  text-decoration: none;
}

.haru-home__primary,
.haru-cta-box__button {
  background: linear-gradient(135deg, #ff6b81, #ff8ea1);
  box-shadow: 0 14px 28px rgba(255, 107, 129, 0.28);
  color: #fff;
  font-size: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.haru-home__primary:hover,
.haru-cta-box__button:hover {
  box-shadow: 0 18px 34px rgba(255, 107, 129, 0.34);
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.haru-home__hero-card {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 1;
}

.haru-home__avatar-wrap {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 8px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  display: flex;
  height: 280px;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  width: 280px;
}

.haru-home__avatar {
  border-radius: 999px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.haru-home__section-label {
  color: #b8667c;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.haru-home__section-title {
  align-items: center;
  background: linear-gradient(180deg, transparent 58%, rgba(255, 183, 197, 0.45) 58%);
  color: var(--accent-deep);
  display: inline-flex;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.08em;
  margin: 0;
  padding-right: 0.2em;
}

.haru-home__section {
  background: #ffffff;
  border: 1px solid rgba(26, 42, 58, 0.1);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  margin: 0 auto;
  max-width: min(var(--content-width), calc(100% - 32px));
  padding: 26px;
  width: 100%;
}

.haru-home__section-head {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.haru-post-grid,
.haru-category-grid {
  display: grid;
  gap: 18px;
}

.haru-post-featured {
  margin-bottom: 22px;
}

.haru-post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.haru-post-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.haru-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.haru-post-card,
.haru-category-card {
  background: #ffffff;
  border: 1px solid rgba(26, 42, 58, 0.08);
  border-radius: 24px;
  box-shadow: 0 16px 28px rgba(26, 42, 58, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.haru-post-card:hover,
.haru-category-card:hover {
  box-shadow: 0 20px 36px rgba(26, 42, 58, 0.13);
  text-decoration: none;
  transform: translateY(-5px);
}

.haru-post-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.haru-post-card__thumb {
  background: linear-gradient(135deg, rgba(26, 42, 58, 0.95), rgba(255, 183, 197, 0.92));
  display: block;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.haru-post-card__thumb::after {
  background: linear-gradient(180deg, transparent 45%, rgba(16, 34, 49, 0.12) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.haru-post-card__thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  width: 100%;
}

.haru-post-card:hover .haru-post-card__thumb img {
  transform: scale(1.03);
}

.haru-post-card__thumb-fallback {
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
  height: 190px;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.haru-post-card__flag {
  background: linear-gradient(135deg, #4978ff, #2f63f2);
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  left: 18px;
  letter-spacing: 0.14em;
  padding: 0.5em 0.9em;
  position: absolute;
  text-transform: uppercase;
  top: 18px;
  z-index: 2;
}

.haru-post-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.haru-post-card__meta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.haru-post-card__category {
  background: #eaf1ff;
  border-radius: 999px;
  color: #3266e7;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.55em 0.9em;
}

.haru-post-card__meta {
  color: var(--text-sub);
  font-size: 0.85rem;
}

.haru-post-card__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.28rem;
  line-height: 1.45;
  margin: 0;
}

.haru-post-card__title a,
.haru-category-card__title {
  color: var(--accent-deep);
  text-decoration: none;
}

.haru-post-card__excerpt,
.haru-category-card__text {
  color: var(--text-sub);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.haru-post-card__link {
  color: #3266e7;
  font-size: 0.92rem;
  font-weight: 700;
  margin-top: auto;
  text-decoration: none;
}

.haru-post-card__link:hover,
.haru-post-card__title a:hover {
  color: #214dc0;
}

.haru-post-card--featured .haru-post-card__thumb,
.haru-post-card--featured .haru-post-card__thumb-fallback {
  min-height: 360px;
}

.haru-post-card--featured .haru-post-card__body {
  justify-content: center;
  padding: 30px 32px;
}

.haru-post-card--featured .haru-post-card__title {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.34;
}

.haru-post-card--featured .haru-post-card__excerpt {
  font-size: 1rem;
  line-height: 1.9;
}

.haru-post-card--compact {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1fr);
}

.haru-post-card--compact .haru-post-card__thumb,
.haru-post-card--compact .haru-post-card__thumb-fallback {
  height: 100%;
  min-height: 180px;
}

.haru-post-card--compact .haru-post-card__body {
  padding: 18px 20px;
}

.haru-post-card--compact .haru-post-card__title {
  font-size: 1.12rem;
}

.haru-category-card {
  display: block;
  padding: 22px;
}

.haru-category-card__badge {
  background: rgba(255, 183, 197, 0.2);
  border-radius: 999px;
  color: #b15a72;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding: 0.45em 0.8em;
}

.haru-category-card__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.haru-cta-box {
  background:
    radial-gradient(circle at top right, rgba(255, 183, 197, 0.26), transparent 24%),
    linear-gradient(135deg, #102231, #20384d);
  border-radius: 28px;
  box-shadow: 0 24px 42px rgba(14, 27, 38, 0.2);
  color: #fff;
  padding: 28px;
}

.home .content {
  margin-top: 0;
}

.haru-front-page .content {
  background: #ffffff;
}

.mobile-menu-buttons {
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(26, 42, 58, 0.08);
}

.mobile-menu-buttons .menu-button > a,
.mobile-menu-buttons .menu-button > a .fa {
  color: var(--accent-deep);
}

.haru-cta-box__title {
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.45;
  margin: 0 0 14px;
}

.haru-cta-box__text {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 22px;
}

.haru-cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.haru-sidebar-card {
  overflow: hidden;
}

.haru-sidebar-profile__image-wrap {
  margin: -24px -24px 18px;
}

.haru-sidebar-profile__image {
  display: block;
  height: auto;
  width: 100%;
}

.haru-sidebar-line {
  background: linear-gradient(135deg, #102231, #20384d);
  color: rgba(255, 255, 255, 0.84);
}

.haru-sidebar-line .widget-title,
.haru-sidebar-line p {
  color: inherit;
}

.haru-sidebar-line__label {
  color: rgba(255, 183, 197, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.haru-sidebar-line__button {
  align-items: center;
  background: linear-gradient(135deg, #ff6b81, #ff8ea1);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(255, 107, 129, 0.24);
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  margin-top: 10px;
  min-height: 50px;
  padding: 0 18px;
  text-decoration: none;
  width: 100%;
}

.haru-sidebar-line__button:hover {
  color: #fff;
  filter: brightness(1.06);
}

.haru-footer-bottom {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding-top: 10px;
}

.haru-footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.haru-footer-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.haru-footer-links a:hover {
  color: #ffb7c5;
}

.haru-footer-bottom .copyright {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  #body {
    margin-top: 20px;
  }

  #main {
    border-radius: 26px;
    padding: 28px 22px 34px;
  }

  .site-name-text,
  .site-name-text-link {
    font-size: 1.6rem;
  }

  .haru-home__hero {
    grid-template-columns: 1fr;
    padding: 34px 28px;
  }

  .haru-home__hero-copy,
  .haru-home__hero-card {
    max-width: 100%;
  }

  .haru-post-card--featured {
    grid-template-columns: 1fr;
  }

  .haru-post-card--featured .haru-post-card__thumb,
  .haru-post-card--featured .haru-post-card__thumb-fallback {
    min-height: 300px;
  }

  .haru-post-grid--compact {
    grid-template-columns: 1fr;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  #header-container-in {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  #main {
    border-radius: 22px;
    padding: 24px 18px 30px;
  }

  .article h2 {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 18px;
  }

  .widget {
    padding: 20px;
  }

  .haru-sidebar-profile__image-wrap {
    margin: -20px -20px 16px;
  }

  .haru-home__section {
    padding: 24px 20px;
  }

  .haru-category-grid,
  .haru-post-grid {
    grid-template-columns: 1fr;
  }

  .haru-post-card--compact {
    grid-template-columns: 1fr;
  }

  .haru-post-card--compact .haru-post-card__thumb,
  .haru-post-card--compact .haru-post-card__thumb-fallback {
    min-height: 220px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  #body {
    margin-top: 16px;
  }

  #main {
    border-radius: 18px;
    padding: 20px 14px 24px;
  }

  .entry-title,
  .archive-title,
  .home .entry-title {
    font-size: 2rem;
  }

  .article h2 {
    font-size: 1.2rem;
  }

  .article h3 {
    font-size: 1.08rem;
  }

  button,
  input[type="submit"],
  .button,
  .btn,
  .wp-block-button__link,
  .pagination-next-link,
  .comment-btn {
    padding: 13px 18px;
    width: 100%;
  }

  .haru-home__hero {
    gap: 18px;
    padding: 24px 18px;
  }

  .haru-home__actions,
  .haru-cta-box__actions {
    display: grid;
  }

  .haru-home__primary,
  .haru-cta-box__button {
    width: 100%;
  }

  .haru-home__section,
  .haru-cta-box {
    border-radius: 22px;
    padding: 22px 16px;
  }

  .haru-home__title {
    font-size: 2rem;
    line-height: 1.28;
  }

  .haru-home__eyebrow,
  .haru-home__section-label,
  .haru-cta-box__label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .haru-home__hero-card {
    padding: 0;
  }

  .haru-home__avatar-wrap {
    height: 190px;
    width: 190px;
  }

  .haru-post-card__excerpt,
  .haru-category-card__text,
  .haru-cta-box__text {
    font-size: 0.9rem;
  }

  .haru-post-card,
  .haru-category-card {
    border-radius: 20px;
  }

  .haru-post-card__thumb,
  .haru-post-card__thumb-fallback {
    min-height: 148px;
    height: 148px;
  }

  .haru-post-card--featured .haru-post-card__thumb,
  .haru-post-card--featured .haru-post-card__thumb-fallback,
  .haru-post-card--compact .haru-post-card__thumb,
  .haru-post-card--compact .haru-post-card__thumb-fallback {
    height: 180px;
    min-height: 180px;
  }

  .haru-post-card__body,
  .haru-category-card {
    padding: 16px;
  }

  .haru-category-card__title,
  .haru-post-card__title {
    font-size: 1.08rem;
  }

  .haru-post-card--featured .haru-post-card__body {
    padding: 18px 16px 20px;
  }

  .haru-post-card--featured .haru-post-card__title {
    font-size: 1.45rem;
  }

  .haru-sidebar-profile__image-wrap {
    margin: -16px -16px 14px;
  }

  .haru-footer-links {
    gap: 12px 16px;
  }
}
