/*---------------------------------------------------------
Theme Name: omoshiro-ai-theme
Description: Theme for omoshiro-ai-theme
Author: omoshiro-ai
---------------------------------------------------------*/
:root {
  --main-color: #FC3290;
  /* --main-color: #ff4fbb; */
  --main-light-color: #ff7fb3;
  --accent-color: #0da2f2;
  --text-color: #333;
  --link-color: #48a4ff;

  --book-color: #ff9900;
  --booth-color: #ff6c6f;
}

body {
  font-family:
    "LINE Seed JP", "Noto Sans JP", "Helvetica Neue", Arial,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-color);
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  font-size: 15px;
}

img {
  max-width: 100%;
  height: auto;
}

p {
  line-height: 1.7;
}

a {
  transition: all 0.3s;
}

a[href*="tel:"] {
  pointer-events: none;
}

p a,
table a,
.text-link {
  color: var(--link-color);
  text-decoration: underline;
}

@media (any-hover: hover) {
  p a:hover,
  table a:hover,
  .text-link:hover {
    text-decoration: none;
  }
}

.pc {
  display: block;
}

.sp {
  display: none;
}

iframe {
  width: 100%;
}

.youtube {
  width: 100%;
  margin-bottom: 0.5em;
}

.youtube > iframe {
  aspect-ratio: 16/9;
  width: 100%;
  height: 100%;
}

input[type="text"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="email"],
select {
  width: 380px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background-color: #fff;
  letter-spacing: 0.05em;
}

textarea {
  width: 100%;
  height: 200px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  resize: both;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.label {
  background-color: var(--bg-light-color);
  color: var(--text-color);
  padding: 0.3em;
  border-radius: 4px;
  display: inline-block;
  font-size: 0.8em;
  font-weight: bold;
  width: fit-content;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.age-gate {
  border-radius: 8px;
  padding: 2.5em;
}

.age-gate-heading-title,
.age-gate__heading-title {
  width: 120px;
  height: auto;
  margin-bottom: 0 !important;
}

.age-gate__challenge {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.age-gate-fields,
.age-gate__fields {
  margin-bottom: 0;
}

.age-gate-buttons,
.age-gate__buttons {
  display: flex;
  align-items: stretch;
}

button.age-gate-button,
button.age-gate-submit-no,
button.age-gate-submit-yes,
button.age-gate__button,
button.age-gate__submit--no,
button.age-gate__submit--yes {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  min-width: 140px;
  padding: 1em;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.4;
  font-weight: bold;
  transition: all 0.3s;
  word-break: auto-phrase;
}

@media (any-hover: hover) {
  button.age-gate-button:hover,
  button.age-gate-submit-no:hover,
  button.age-gate-submit-yes:hover,
  button.age-gate__button:hover,
  button.age-gate__submit--no:hover,
  button.age-gate__submit--yes:hover {
    background-color: var(--main-light-color);
  }
}

.age-gate-error,
.age-gate__error {
  display: none;
  color: var(--main-color);
  margin-top: 0.3em;
}

.adult-gate {
  border-radius: 8px;
  padding: 2.5em;
  background-color: #f7f7f7;
}

.adult-gate__icon {
  width: 120px;
  height: auto;
  margin-inline: auto;
}

.adult-gate__btn {
  text-align: center;
  margin-top: 24px;
}

.age-gate button.age-gate__submit--no::after {
  content: "\A(ホームへ)";
  display: block;
  font-size: 0.7em;
}

/*--------------------------------
レイアウト
---------------------------------*/
.container {
  max-width: 1440px;
  margin-inline: auto;
  padding: 0 40px;
}

.col2 {
  display: flex;
  column-gap: 40px;
}

.main-contents {
  flex: 1;
}

.sidebar {
  width: 300px;
}

.contents {
  padding: 16px 0 48px;
}

/*--------------------------------
セクション
---------------------------------*/
.section {
  padding: 16px 0;
}

.section:first-child {
  padding-top: 0;
}

.section ~ .col2 {
  padding-top: 8px;
}

.section__heading {
  margin-bottom: 0.8em;
  display: flex;
  align-items: center;
  column-gap: 1em;
  flex-wrap: wrap;
}

.section-heading__title {
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  font-weight: bold;
  position: relative;
  padding-left: 1.4em;
}

.section-heading__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 32px;
  height: 32px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
}

.section-heading__title--blog::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4fbb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='16' y1='13' x2='8' y2='13'/><line x1='16' y1='17' x2='8' y2='17'/><line x1='10' y1='9' x2='8' y2='9'/></svg>");
}

.section-heading__title--book::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4fbb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20V3H6.5A2.5 2.5 0 0 0 4 5.5z'/><path d='M4 19.5A2.5 2.5 0 0 0 6.5 22H20v-5'/></svg>");
}

.section-heading__title--game::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4fbb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='6' width='20' height='12' rx='3'/><path d='M6 12h4'/><path d='M8 10v4'/><circle cx='16' cy='11' r='1'/><circle cx='18' cy='13' r='1'/></svg>");
}

.section-heading__title--tool::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4fbb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='2' width='14' height='20' rx='2'/><line x1='12' y1='18' x2='12.01' y2='18'/></svg>");
}

.section-heading__title--site::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4fbb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='16' rx='2'/><line x1='3' y1='9' x2='21' y2='9'/><line x1='7' y1='6.5' x2='7.01' y2='6.5'/><line x1='10' y1='6.5' x2='10.01' y2='6.5'/></svg>");
}

.section-heading__title--pickup::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff4fbb'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/></svg>");
}

.section-heading__desc {
  margin-top: 0.3em;
  line-height: 1.4;
}

.section__btn {
  text-align: center;
  margin-top: 24px;
}

.archive-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.2em;
}

.archive-category-list__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.3;
  color: var(--text-color);
  background-color: #f5f5f5;
  border: 1px solid #ececec;
  border-radius: 6px;
  text-decoration: none;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

@media (any-hover: hover) {
  .archive-category-list__item:hover {
    color: var(--main-color);
    background-color: rgba(255, 79, 187, 0.06);
    border-color: rgba(255, 79, 187, 0.3);
  }
}

.archive-category-list__item.current {
  color: var(--main-color);
  background-color: rgba(255, 79, 187, 0.08);
  border-color: rgba(255, 79, 187, 0.4);
}

/*--------------------------------
ボタン
---------------------------------*/
.btn {
  display: inline-block;
  min-width: 220px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2;
  vertical-align: middle;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  padding: 1em 2em 1em 2em;
  border-radius: 100px;
  cursor: pointer;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  background: #fff;
  position: relative;
}

.btn::after {
  position: absolute;
  top: 50%;
  right: 1.5em;
  content: "";
  width: 6px;
  height: 10px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: contain;
  transition: all 0.3s;
}

@media (any-hover: hover) {
  .btn:hover {
    color: #fff;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
  }

  .btn:hover::after {
    right: 1.3em;
  }
}

.btn-post-cta {
  display: inline-block;
  min-width: 220px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2;
  vertical-align: middle;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  padding: 1em 2em 1em 2em;
  color: #fff;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 3px 0 #c8c8c8;
}

.btn-post-cta--book {
  background: linear-gradient(180deg, #ffb84d 0%, #ff9900 60%, #f08804 100%);
  border: 1px solid #d57500;
  border-radius: 999px;
  color: #1a1a1a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  box-shadow:
    0 3px 0 #b66200,
    0 6px 14px rgba(214, 120, 0, 0.28);
}

@media (any-hover: hover) {
  .btn-post-cta--book:hover {
    background: linear-gradient(180deg, #ffc266 0%, #ffa31a 60%, #f29107 100%);
    box-shadow:
      0 1px 0 #b66200,
      0 4px 10px rgba(214, 120, 0, 0.28);
  }
}

.btn-post-cta--book:active {
  box-shadow:
    0 1px 0 #b66200,
    0 2px 6px rgba(214, 120, 0, 0.28);
  transform: translateY(2px);
}

.btn-post-cta__desc {
  font-size: 12px;
  line-height: 1.2;
}

@media (any-hover: hover) {
  .btn-post-cta:hover {
    box-shadow: 0 1px 0 #c8c8c8;
    transform: translateY(2px);
  }
}

/* ゲーム・ツール・サイト記事：アイキャッチ下CTA */
.post-game-cta,
.post-tool-cta,
.post-site-cta {
  margin: 0 0 32px;
  text-align: center;
  background-color: #f3f3f3;
  border-radius: 8px;
  padding: 2em;
}

.post__body > img,
.post__body > .wp-post-image {
  display: block;
  border-radius: 8px;
}

.single-game .post__body > img,
.single-game .post__body > .wp-post-image,
.single-tool .post__body > img,
.single-tool .post__body > .wp-post-image,
.single-site .post__body > img,
.single-site .post__body > .wp-post-image {
  margin: 0;
  border-radius: 8px 8px 0 0;
}

.single-game .post-game-cta,
.single-tool .post-tool-cta,
.single-site .post-site-cta {
  margin-top: 0;
  border-radius: 0 0 8px 8px;
}

.btn-play-browser,
.btn-use-webapp,
.btn-visit-site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  min-width: 280px;
  padding: 18px 32px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #ff4fbb, #ff7fb3);
  border-radius: 999px;
  text-decoration: none;
  box-shadow:
    0 6px 0 rgba(200, 60, 150, 0.55),
    0 12px 24px rgba(255, 79, 187, 0.32);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.2s ease;
}

.btn-play-browser__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-play-browser__icon svg {
  display: block;
}

@media (any-hover: hover) {
  .btn-play-browser:hover,
  .btn-use-webapp:hover,
  .btn-visit-site:hover {
    transform: translateY(2px);
    box-shadow:
      0 4px 0 rgba(200, 60, 150, 0.55),
      0 8px 18px rgba(255, 79, 187, 0.32);
    filter: brightness(1.05);
  }
}

.btn-play-browser:active,
.btn-use-webapp:active,
.btn-visit-site:active {
  transform: translateY(4px);
  box-shadow:
    0 2px 0 rgba(200, 60, 150, 0.55),
    0 4px 10px rgba(255, 79, 187, 0.28);
}

.back-link {
  margin-top: 40px;
}

.back-link__inner {
  text-align: center;
}

/*--------------------------------
カード
---------------------------------*/
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 8px;
  row-gap: 16px;
}

.cards--book {
  grid-template-columns: repeat(5, 1fr);
}

.cards--pickup {
  grid-template-columns: repeat(4, 1fr);
}

.cards--featured {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cards--site {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  display: block;
  border: 1px solid #ececec;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition:
    box-shadow 0.25s,
    transform 0.2s,
    border-color 0.25s;
}

@media (any-hover: hover) {
  .card:hover {
    border-color: #e0e0e0;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
  }
  .card:hover .card__title {
    color: var(--accent-color);
  }
}

/* ブログ記事カード */
.card__img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* 書影はKindle標準比（1:1.6）。比率違いでも切れないようcontainで収める */
.card__img--book {
  aspect-ratio: 1 / 1.6;
  object-fit: contain;
}

.card__img--works {
  aspect-ratio: 9 / 7;
}

.card__content {
  padding: 10px 12px 12px;
}

.card__title {
  font-size: 15px;
  line-height: 1.4;
  font-weight: bold;
  transition: color 0.25s;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  /* border-top: 4px solid;
  border-image: linear-gradient(to right, #ff4fbb, #29b4ff) 1; */
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 0;
}

.header-logo {
  display: flex;
  align-items: center;
  column-gap: 32px;
}

.header-logo__figure-img {
  width: 320px;
  height: auto;
}

.header-logo__link {
  display: flex;
  align-items: center;
  column-gap: 16px;
}

.header-logo__tagline {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  padding-top: 1em;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  margin-left: 24px;
}

.header-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-left: auto;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--main-color);
  position: relative;
  z-index: 125;
}

.header-mobile-actions {
  display: none;
}

.header-nav__toggle-bar {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.2s,
    top 0.3s;
}

.header-nav__toggle-bar:nth-child(1) {
  top: 13px;
}

.header-nav__toggle-bar:nth-child(2) {
  top: 19px;
}

.header-nav__toggle-bar:nth-child(3) {
  top: 25px;
}

.header-nav__toggle.is-open .header-nav__toggle-bar:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.header-nav__toggle.is-open .header-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.header-nav__toggle.is-open .header-nav__toggle-bar:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

.header-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  column-gap: 2px;
  row-gap: 4px;
}

.header-nav__item {
  display: flex;
  align-items: center;
}

.header-nav__link {
  display: inline-flex;
  align-items: center;
  column-gap: 4px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.25;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--text-color);
  transition:
    color 0.25s,
    background-color 0.25s,
    transform 0.2s;
}

.header-nav__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color);
  transition:
    color 0.25s,
    transform 0.2s;
}

.header-nav__icon svg {
  display: block;
}

@media (any-hover: hover) {
  .header-nav__link:hover {
    color: var(--main-color);
    background-color: rgba(255, 79, 187, 0.08);
  }

  .header-nav__link:hover .header-nav__icon {
    transform: scale(1.1);
  }
}

/* ヘッダー：成果物ブロック（ゲーム・電子書籍・サイト） */
.header-nav__item--works {
  align-self: center;
  margin-left: 12px;
}

.header-nav__works {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px 2px;
  padding: 5px 8px;
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    rgba(255, 79, 187, 0.11),
    rgba(41, 180, 255, 0.07)
  );
  border: 1px solid rgba(255, 79, 187, 0.28);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.header-nav__works-heading {
  margin: 0;
  padding: 0 4px 0 2px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  color: #666;
  letter-spacing: 0.02em;
  text-align: left;
  flex-shrink: 0;
}

.header-nav__works-links {
  display: flex;
  align-items: stretch;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}

.header-nav__link--works {
  padding: 6px 10px;
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid rgba(255, 79, 187, 0.14);
  box-shadow: 0 1px 2px rgba(41, 180, 255, 0.05);
}

@media (any-hover: hover) {
  .header-nav__link--works:hover {
    color: var(--main-color);
    background-color: #fff;
    border-color: rgba(255, 79, 187, 0.42);
    box-shadow: 0 2px 8px rgba(255, 79, 187, 0.12);
  }

  .header-nav__link--works:hover .header-nav__icon {
    transform: scale(1.08);
  }
}

/*--------------------------------
カテゴリーナビ
---------------------------------*/
.cat-nav {
  padding: 12px 0;
}

.cat-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
}

.cat-nav__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
}

.cat-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  width: 100%;
  padding: 16px 12px;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.3;
  color: var(--text-color);
  background-color: #f5f5f5;
  border: 1px solid #ececec;
  border-radius: 8px;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.cat-nav__text {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
}

.cat-nav__item.is-current .cat-nav__link {
  color: var(--main-color);
  background-color: rgba(255, 79, 187, 0.08);
  border-color: rgba(255, 79, 187, 0.4);
}

@media (any-hover: hover) {
  .cat-nav__link:hover {
    color: var(--main-color);
    background-color: rgba(255, 79, 187, 0.06);
    border-color: rgba(255, 79, 187, 0.3);
  }
}

/*--------------------------------
サイドバー
---------------------------------*/
.side-section {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
}

.side-section__title {
  margin: 0;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: bold;
  color: #fff;
  background-color: var(--main-color);
  display: flex;
  align-items: center;
  column-gap: 8px;
}

.side-section__title-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.side-section__title-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.side-section__title-text {
  flex: 1;
}

.side-section__inner {
  padding: 16px;
}

.side-section__body {
  margin: 0;
}

.side-section__body p {
  margin-bottom: 1em;
}

.side-section__body p:last-child {
  margin-bottom: 0;
}

.side-profile {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.side-profile__avatar {
  display: block;
  width: 120px;
  height: auto;
}

.side-product__item {
  border-top: 1px solid rgba(255, 79, 187, 0.35);
  padding-top: 16px;
  margin-top: 16px;
}

.side-product__title {
  display: flex;
  align-items: center;
  column-gap: 6px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 0.5em;
}

.side-product__title-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color);
}

.side-product__title-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.side-product__thumb {
  margin-bottom: 0.5em;
}

.side-product__img {
  border-radius: 4px;
  display: block;
  max-width: 100%;
  height: auto;
}

/* 書影は縦長なので幅を抑えて中央寄せ */
.side-product__img--book {
  width: 62%;
  margin-inline: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.side-product__desc {
  font-size: 14px;
  line-height: 1.4;
}

.side-product__desc p {
  margin-bottom: 1em;
}

.side-product__desc p:last-child {
  margin-bottom: 0;
}

.side-product__link {
  margin-top: 0.75em;
}

.side-product__link-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--link-color);
  text-decoration: none;
}

.side-product__link-arrow {
  flex-shrink: 0;
  display: inline-block;
  transition: transform 0.2s ease;
}

.side-product__link-label {
  text-decoration: underline;
}

@media (any-hover: hover) {
  .side-product__link-text:hover .side-product__link-arrow {
    transform: translateX(3px);
  }

  .side-product__link-text:hover .side-product__link-label {
    text-decoration: none;
  }
}

/*--------------------------------
フッター
---------------------------------*/
.footer__inner {
  padding: 48px 0 32px;
  border-top: 1px solid #ccc;
  position: relative;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  column-gap: 120px;
}

.footer-logo {
  flex: 0 0 200px;
}

.footer-logo__figure-img {
  width: 200px;
  height: auto;
}

.footer-logo__tagline {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
}

.footer__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.footer-main-nav {
  position: static;
  inset: auto;
  z-index: auto;
  margin: 0;
  padding: 0;
  background: none;
  overflow: visible;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
  display: block;
}

.footer-main-nav .header-nav__list {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  column-gap: 4px;
  row-gap: 4px;
}

.footer-main-nav .header-nav__item {
  width: auto;
  border: none;
}

.footer-main-nav .header-nav__link {
  width: auto;
  font-size: 14px;
  padding: 6px 8px;
  column-gap: 4px;
  border-radius: 6px;
}

.footer-main-nav .header-nav__link::after {
  content: none;
}

.footer-cat-nav {
  padding: 0;
}

.footer-cat-nav .cat-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.footer-cat-nav .cat-nav__item {
  flex: 0 0 auto;
  display: inline-flex;
}

.footer-cat-nav .cat-nav__link {
  display: inline-block;
  width: auto;
  padding: 0;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.5;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--text-color);
}

.footer-cat-nav .cat-nav__item.is-current .cat-nav__link {
  background: none;
  border: none;
  color: var(--main-color);
  font-weight: bold;
}

@media (any-hover: hover) {
  .footer-cat-nav .cat-nav__link:hover {
    background: none;
    border: none;
    color: var(--main-color);
  }
}

.footer-nav-wrapper {
  display: flex;
  column-gap: 80px;
}

.footer-nav__title {
  font-size: 16px;
  line-height: 1.4;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 0.5em;
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.footer-nav__link {
  font-size: 14px;
  line-height: 1.4;
}

.footer-nav__link--external {
  background-image: url(img/icon_external-link.svg);
  background-repeat: no-repeat;
  background-position: 100% center;
  background-size: 14px;
  padding-right: 1.2em;
}

@media (any-hover: hover) {
  .footer-nav__link:hover {
    color: var(--accent-color);
  }
}

.footer-sub-nav {
  margin-top: 48px;
}

.footer-sub-nav__link {
  font-size: 13px;
  color: #a2a2a2;
}

@media (any-hover: hover) {
  .footer-sub-nav__link:hover {
    color: var(--accent-color);
  }
}

.footer__copyright {
  margin-top: 56px;
  font-size: 12px;
  line-height: 1;
  color: #a2a2a2;
}

.footer-sub-nav + .footer__copyright {
  margin-top: 16px;
}

.scroll-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 4px;
  position: fixed;
  right: 24px;
  bottom: 6%;
  width: 80px;
  height: 80px;
  padding: 10px 6px;
  border-radius: 50%;
  background: rgba(256, 256, 256, 0.9);
  border: 1px solid var(--accent-color);
  box-shadow: 0 0 6px rgb(0 0 0 / 20%);
  cursor: pointer;
  z-index: 10;
}

.scroll-top__icon {
  width: 24px;
  display: block;
  margin: 0;
}

.scroll-top__text {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  margin: 0;
  color: var(--accent-color);
  text-align: center;
}

/*--------------------------------
投稿
---------------------------------*/
.post {
  padding: 32px 0 56px;
}

.post-wrapper {
  padding-left: 22%;
}

.post__header {
  margin-bottom: 16px;
}

.post__title-date {
  display: flex;
  align-items: center;
  column-gap: 16px;
}

.post__title {
  font-size: 32px;
  line-height: 1.4;
  font-weight: bold;
}

.post__subtitle {
  font-size: 13px;
  line-height: 1.4;
  margin-top: 0.3em;
}

.post__modified-date {
  font-size: 16px;
  font-weight: bold;
  color: var(--main-color);
}
.post__desc {
  margin-top: 1em;
  margin-bottom: 1.2em;
  font-size: 14px;
  line-height: 1.6;
}

.post__date {
  display: block;
  margin-top: 1em;
  font-size: 14px;
}

.post__tags {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #ececec;
}

.post__tags-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #666;
}

.post__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post__tags-item {
  margin: 0;
}

.post__tags-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-color);
  background-color: #f5f5f5;
  border: 1px solid #ececec;
  border-radius: 6px;
  text-decoration: none;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

@media (any-hover: hover) {
  .post__tags-link:hover {
    color: var(--main-color);
    background-color: rgba(255, 79, 187, 0.06);
    border-color: rgba(255, 79, 187, 0.3);
  }
}

.author-profile {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 32px;
  padding: 20px;
  background-color: #fafafa;
  border: 1px solid #ececec;
  border-radius: 10px;
}

.author-profile__avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #ececec;
  background-color: #fff;
}

.author-profile__avatar-img {
  display: block;
  width: 100px;
}

.author-profile__body {
  flex: 1;
  min-width: 0;
}

.author-profile__head {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}

.author-profile__label {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  background-color: var(--main-color);
  border-radius: 4px;
}

.author-profile__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-color);
  text-decoration: none;
}

@media (any-hover: hover) {
  a.author-profile__name:hover {
    color: var(--main-color);
    text-decoration: underline;
  }
}

.author-profile p.author-profile__desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  word-wrap: break-word;
}

@media screen and (max-width: 800px) {
  .author-profile {
    gap: 14px;
    padding: 16px;
  }

 .author-profile__avatar{
    width:64px;
    height:64px;
 }

  .author-profile__name {
    font-size: 15px;
  }

  .author-profile p.author-profile__desc {
    font-size: 12px;
  }
}

.post__body:last-child {
  padding-bottom: 0;
}

.post__body p {
  font-size: 16px;
  line-height: 1.8;
  word-wrap: break-word;
}

.post__body p:not(:last-child) {
  margin-bottom: 1.6em;
}

.post__body p > a,
.post__body li > a {
  color: var(--link-color);
  text-decoration: underline;
}

.post__body p > img {
  margin-bottom: 1em;
}

.post__body h2 {
  position: relative;
  font-size: 32px;
  line-height: 1.3;
  font-weight: bold;
  margin-bottom: 0.8em;
  border-radius: 6px;
  margin-top: 1.5em;
  padding-left: 1em;
  position: relative;
}

.post__body h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 100%;
  border-radius: 8px;
  background-color: var(--main-color);
}

.post__body h2:first-child {
  margin-top: 0;
}

.post__body h3 {
  font-size: 24px;
  line-height: 1.5;
  font-weight: bold;
  padding-top: 0.3em;
  margin-bottom: 0.8em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid #ccc;
}

.post__body h4 {
  margin-top: 2em;
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 1em;
}

.post__body img {
  max-width: 100%;
  height: auto !important;
}

.post__body .wp-post-image {
  margin-bottom: 2em;
}

.post__body ul,
.post__body ol {
  list-style: decimal;
  margin-bottom: 1.8em;
}

.post__body ul:last-child,
.post__body ol:last-child {
  margin-bottom: 0;
  padding-left: 0;
  padding-top: 0.3em;
  padding-bottom: 0;
}

.post__body ul {
  list-style: disc;
}

.post__body ol {
  list-style: decimal;
}

.post__body ul li,
.post__body ol li {
  line-height: 1.7;
  margin-bottom: 0.2em;
  margin-left: 2em;
}

.post__body iframe {
  width: 100%;
  margin-bottom: 0.8em;
}

.post__body iframe:last-child {
  margin-bottom: 0;
}

.post__body table th,
.post__body table td {
  line-height: 1.5;
}

.post__body .omoshiro-ai-gpt-image-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  margin: 1.5em 0;
  padding: 16px 18px;
  border-radius: 8px;
  background: #fff8ed;
}

.post__body .omoshiro-ai-gpt-image-note::before {
  content: "i";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f0b36a;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
}

.post__body .omoshiro-ai-gpt-image-note p {
  margin: 0 !important;
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.7;
}

.post-back-link {
  text-align: center;
  margin-top: 32px;
}

.wp-block-group-is-layout-flex > p {
  margin-bottom: 0 !important;
}

.wp-block-flexible-table-block-table {
  margin-bottom: 1.5em;
}

:where(.is-layout-flex) {
  gap: 1em;
}

.wp-block-columns .wp-block-image {
  margin-bottom: 0 !important;
}

:where(.wp-block-columns) {
  margin-bottom: 1em;
}

.wp-block-button__link {
  text-decoration: none !important;
}

.wp-block-image figcaption {
  font-size: 14px;
}

.wp-block-media-text {
  margin-bottom: 1.5em;
}

.wp-block-embed {
  margin-bottom: 1em;
}

hr {
  border: 0;
}

.post__body .wp-block-image {
  margin: 0 auto 1rem;
}

.post__body .wp-block-image img {
  display: block;
  margin-inline: auto;
}

.post__body .wp-block-image.no-border img {
  border: none;
}

.wp-block-flexible-table-block-table:last-child {
  margin-bottom: 0;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.list[class*="category-"] .post_links {
  margin-bottom: 2rem;
  border-bottom: none;
}

.wp-block-table td,
.wp-block-table th {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.wp-block-table tr,
.wp-block-table td {
  font-size: 16px;
  line-height: 2;
  border: 1px solid #000;
}

.wp-block-button.aligncenter,
.wp-block-buttons.aligncenter,
.wp-block-calendar {
  margin-top: 16px;
  text-align: center;
  display: block;
}

.wp-block-button__link {
  background-color: var(--main-color);
}

.wp-block-quote {
  background-color: #f1f1f1;
  padding: 1.4em;
  border-radius: 8px;
  margin-bottom: 1em;
}

.wp-block-quote p {
  font-size: 0.9em;
}

.wp-block-video {
  margin-bottom: 1em;
}

.wp-block-buttons:not(:last-child) {
  margin-bottom: 1em;
}

.nocomments {
  display: none;
}

.post-work {
  display: flex;
  column-gap: 32px;
}

.post-work__thumb {
  flex: 0 1 34%;
}

.post-work__thumb img {
  border-radius: 8px;
  margin-bottom: 0 !important;
}

.post-work__body {
  flex: 1;
}

.post-work__title {
  font-size: 28px;
  line-height: 1.4;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
}

.post-work__btn--2col {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 8px;
}

/*--------------------------------
その他の投稿一覧
---------------------------------*/
.other-posts {
  margin-top: 64px;
}

.other-posts__title {
  font-size: 24px;
  line-height: 1.4;
  font-weight: bold;
  margin-bottom: 1em;
  padding-left: 1em;
  position: relative;
}

.other-posts__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  border-radius: 4px;
  background-color: var(--main-color);
}

/*--------------------------------
パンくずリスト
---------------------------------*/
.breadcrumb-wrapper {
  padding: 6px 0;
  background-color: var(--bg-color);
}

.breadcrumb-wrapper--footer {
  padding-top: 12px;
  padding-bottom: 28px;
}

.breadcrumb {
  font-size: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  word-break: keep-all;
}

.breadcrumb__inner {
  line-height: 1.2;
}

.breadcrumb__list a {
  text-decoration: underline;
}

.breadcrumb__list span:first-child a {
  margin-right: 0;
}

.breadcrumb__list span:nth-child(n + 2) span {
  margin-left: 1.3em;
}

.breadcrumb__list span:nth-child(n + 2) {
  position: relative;
}

.breadcrumb__list span:nth-child(n + 2):before {
  position: absolute;
  top: 3px;
  left: 3px;
  content: "";
  border-style: solid;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
  width: 5px;
  height: 5px;
  margin: 0.1em;
}

/*--------------------------------
ページネーション
---------------------------------*/
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  text-align: center;
  column-gap: 10px;
  row-gap: 10px;
}

.pagination .page-numbers {
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 40px;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  background-color: #fff;
}

.pagination .current {
  font-weight: bold;
  font-weight: normal;
  color: #fff;
  border: 1px solid var(--accent-color);
  background-color: var(--accent-color);
}

@media (any-hover: hover) {
  .pagination .page-numbers:hover {
    color: var(--accent-color);
  }
  .pagination .current:hover {
    color: #fff;
  }
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  font-size: 13px;
  width: 60px;
}

/*--------------------------------
 404
---------------------------------*/
.not-found {
  padding: 100px 0;
}

.not-found__body {
  text-align: center;
}

.not-found__text {
  font-size: 24px;
  line-height: 1.5;
}

.not-found__btn {
  margin-top: 24px;
  text-align: center;
}

.not-found__btn > .btn {
  width: 200px;
}

/*--------------------------------
ヘッダーナビ：ハンバーガー切替（1100px以下）
---------------------------------*/
@media screen and (max-width: 1100px) {
  .header-mobile-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: 8px;
  }

  .header-quicknav {
    flex: 1;
    min-width: 0;
  }

  .header-quicknav__list {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .header-quicknav__item {
    flex: 1 1 0;
    min-width: 0;
  }

  .header-quicknav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    padding: 6px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition:
      background-color 0.2s,
      color 0.2s;
  }

  .header-quicknav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--main-color);
  }

  .header-quicknav__icon svg {
    display: block;
    width: 22px;
    height: 22px;
  }

  .header-quicknav__text {
    display: block;
    white-space: nowrap;
  }

  @media (any-hover: hover) {
    .header-quicknav__link:hover {
      color: var(--main-color);
      background-color: rgba(255, 79, 187, 0.08);
    }
  }

  body.is-nav-open .header .header-quicknav {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .header .header-nav__toggle {
    display: flex;
    flex-shrink: 0;
    margin-left: 0;
    background-color: var(--main-color);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(255, 79, 187, 0.45);
    transition:
      background-color 0.2s,
      box-shadow 0.2s,
      transform 0.15s;
  }

  @media (any-hover: hover) {
    .header .header-nav__toggle:hover {
      background-color: #e843a8;
      box-shadow: 0 2px 8px rgba(255, 79, 187, 0.55);
    }

    .header .header-nav__toggle:active {
      transform: scale(0.96);
    }
  }

  .header .header-nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 115;
    margin: 0;
    padding: 80px 24px calc(48px + env(safe-area-inset-bottom, 0px));
    background-color: #fff;
    overflow-y: auto;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 0.25s ease,
      transform 0.3s ease,
      visibility 0.25s ease;
  }

  .header .header-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header .header-nav__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 420px;
    column-gap: 0;
    row-gap: 0;
  }

  .header .header-nav__item {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .header .header-nav__item:last-child {
    border-bottom: none;
  }

  .header .header-nav__link {
    width: 100%;
    font-size: 16px;
    padding: 14px 8px;
    column-gap: 12px;
    border-radius: 8px;
  }

  .header .header-nav__link::after {
    content: "";
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-left: auto;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4fbb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.2s;
  }

  .header .header-nav__link:hover::after,
  .header .header-nav__link:active::after {
    transform: translateX(2px);
  }

  .header .header-nav__item--works {
    display: block;
    border-bottom: none;
    margin-left: 0;
  }

  .header .header-nav__works {
    display: block;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .header .header-nav__works-heading {
    /* 上のメニュー群と区切るため見出しの上に余白を取る */
    margin: 24px 0 0;
    padding: 12px 8px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-color);
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    white-space: normal;
  }

  .header .header-nav__works-heading br {
    display: none;
  }

  .header .header-nav__works-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    flex: none;
    min-width: 0;
    justify-content: flex-start;
  }

  .header .header-nav__link--works {
    display: flex;
    width: 100%;
    border-radius: 8px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: none;
    padding: 14px 8px;
  }

  .header .header-nav__link--works:last-child {
    border-bottom: none;
  }

  .header .header-nav__icon svg {
    width: 20px;
    height: 20px;
  }

  .is-nav-open {
    overflow: hidden;
  }
}

/*--------------------------------
以下からSP 960px以下
---------------------------------*/
@media screen and (max-width: 960px) {
  /* レイアウト */
  .container {
    padding: 0 16px;
  }

  /* カード */
  .cards {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 8px;
    row-gap: 16px;
  }

  .cards--book {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 8px;
    row-gap: 16px;
  }

  .cards--pickup {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 8px;
    row-gap: 16px;
  }

  .cards--featured {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 投稿 */
  .post-wrapper {
    padding-left: 0;
  }
}

/*--------------------------------
以下からSP 800px以下
---------------------------------*/
@media screen and (max-width: 800px) {
  body {
    font-size: 14px;
  }

  .pc {
    display: none;
  }
  .sp {
    display: block;
  }

  /* フィーチャー枠：1つ目を全幅、残り2つを2カラム */
  .cards--featured {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards--featured .card:first-child {
    grid-column: 1 / -1;
  }

  /* 電子書籍は書影が縦長なので2カラム */
  .cards--book {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards--site {
    grid-template-columns: 1fr;
  }

  /* レイアウト */
  .container {
    padding: 0 12px;
  }

  .col2 {
    flex-direction: column;
    row-gap: 24px;
  }

  .contents {
    padding: 8px 0 24px;
  }

  .home .contents {
    padding: 16px 0 24px;
  }

  .sidebar {
    width: 100%;
  }

  .card__title {
    font-size: 12px;
  }

  /* セクション */
  .section {
    padding: 8px 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading__title {
    font-size: 20px;
    line-height: 1.3;
  }

  .section-heading__title::before {
    width: 22px;
    height: 22px;
  }

  .section-heading__desc {
    font-size: 13px;
    line-height: 1.4;
  }

  .archive-category-list__item {
    font-size: 11px;
    padding: 5px 8px;
  }

  /* フォーム */
  input[type="text"],
  input[type="password"],
  input[type="tel"],
  input[type="url"],
  input[type="email"],
  select {
    width: 100%;
  }

  /* ボタン */
  .btn {
    width: 100% !important;
    min-width: 100% !important;
    font-size: 14px;
  }

  .btn-post-cta {
    width: 100% !important;
    min-width: 100% !important;
  }

  .btn-play-browser {
    width: 100%;
    min-width: 0;
    padding: 16px 20px;
    font-size: 16px;
  }

  .back-link {
    margin-top: 24px;
  }

  /* ヘッダー */
  .header__inner {
    padding: 8px 0;
  }

  .header-logo {
    flex: 1;
    min-width: 0;
    margin-top: 0;
  }

  .header-logo__link {
    flex-direction: column;
    align-items: flex-start;
    column-gap: 0;
    row-gap: 4px;
  }

  .header-logo__figure-img {
    width: 150px;
    flex-shrink: 0;
  }

  .header-logo__tagline {
    font-size: 11px;
    line-height: 1.35;
    width: 100%;
    padding-top: 0;
  }

  .header-logo__tagline-text {
    display: inline;
    white-space: nowrap;
  }

  .cat-nav {
    padding: 8px 0;
  }

  .cat-nav__list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    gap: 6px;
    padding-bottom: 4px;
  }

  .cat-nav__item {
    flex: 0 0 auto;
  }

  .cat-nav__link {
    font-size: 12px;
    padding: 8px 12px;
    column-gap: 6px;
    white-space: nowrap;
  }

  /* 投稿 */
  .post__header {
    margin-bottom: 16px;
  }

  .post__title {
    font-size: 20px;
  }

  .post__date {
    font-size: 11px;
  }

  .post__modified-date {
    font-size: 12px;
  }

  .post__body p {
    font-size: 15px;
    line-height: 1.8;
  }

  .post__body h2 {
    font-size: 22px;
  }

  .post__body h3 {
    font-size: 18px;
  }

  .post__body h4 {
    font-size: 16px;
  }

  .wp-block-image figcaption {
    font-size: 11px;
  }

  .post-work {
    flex-direction: column;
    row-gap: 16px;
  }

  .post-work__thumb {
    flex: 1;
  }

  .post-work__thumb img {
    margin-bottom: 0 !important;
  }

  .post-work__thumb--book img {
    width: 60%;
    display: block;
    margin-inline: auto;
  }

  .post-work__body {
    flex: 1;
  }

  .post-work__title {
    font-size: 18px;
  }

  .post-work__btn--2col {
    flex-direction: column;
    row-gap: 8px;
  }

  .other-posts {
    margin-top: 32px;
  }

  .other-posts__title {
    font-size: 18px;
  }

  /* パンくずリスト */
  .breadcrumb {
    font-size: 11px;
  }

  .pagination {
    margin-top: 24px;
  }

  /* サイドバー */
  .side-section__title {
    font-size: 15px;
    padding: 10px 12px;
  }

  .side-section__inner {
    padding: 14px;
  }

  /* ページネーション */
  .post-pager__list {
    flex-direction: column;
    row-gap: 8px;
  }

  .post-pager__body {
    padding: 12px;
  }

  /* 404 */
  .not-found__text {
    font-size: 15px;
  }

  .footer__inner {
    padding: 32px 0 24px;
  }

  .footer__list {
    flex-direction: column;
    row-gap: 16px;
  }

  .footer__main {
    flex-direction: column-reverse;
    row-gap: 48px;
  }

  .footer-logo {
    flex: 1;
  }

  .footer-logo__figure-img {
    width: 160px;
  }

  .footer-nav-wrapper {
    flex-direction: column;
    row-gap: 24px;
  }

  .footer-cat-nav .cat-nav__list {
    gap: 4px 20px;
  }

  .footer-cat-nav .cat-nav__link {
    padding: 8px 0;
    font-size: 14px;
  }

  .footer__link {
    font-size: 12px;
  }

  .scroll-top {
    right: 12px;
    width: 60px;
    height: 60px;
    padding: 8px 4px;
    row-gap: 2px;
  }

  .scroll-top__icon {
    width: 18px;
  }

  .scroll-top__text {
    font-size: 10px;
  }
}
