

/* DWF: FAQ・質問募集ページ */
.page-id-9 .entry-title {
  margin: 8px 0 10px;
  color: #10243e;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  text-align: center;
}

.page-id-9 .date-tags,
.page-id-9 .breadcrumb,
.page-id-9 #top-posts-2 {
  display: none !important;
}

.page-id-9 .entry-content {
  max-width: 1080px;
  margin: 0 auto;
}

.page-id-9 .entry-content > h2 {
  margin: 54px 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #10243e;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
}

.page-id-9 .entry-content > h2:first-of-type {
  margin-top: 12px;
  padding: 34px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef7ff 0%, #f7fbff 100%);
  color: #0b3d67;
}

.page-id-9 .entry-content > p {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.9;
}

.page-id-9 .coblocks-form {
  max-width: 760px;
  margin: 30px auto 48px;
  padding: 28px;
  border: 1px solid #dbe6f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 36, 62, 0.08);
}

.page-id-9 .wp-block-coblocks-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-id-9 .coblocks-label {
  margin-top: 12px;
  color: #10243e;
  font-weight: 700;
}

.page-id-9 .coblocks-field,
.page-id-9 .wp-block-search__input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cbd7e3;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  font-size: 16px;
}

.page-id-9 .coblocks-textarea {
  min-height: 190px;
  height: 190px;
  resize: vertical;
}

.page-id-9 .coblocks-field:focus,
.page-id-9 .wp-block-search__input:focus {
  border-color: #1670b7;
  outline: 3px solid rgba(22, 112, 183, 0.14);
}

.page-id-9 .coblocks-form__submit {
  margin-top: 18px;
}

.page-id-9 .coblocks-form__submit .wp-block-button__link,
.page-id-9 .wp-block-search__button {
  min-height: 48px;
  padding: 11px 24px;
  border: 0;
  border-radius: 8px;
  background: #1268a8;
  color: #fff;
  font-weight: 700;
}

.page-id-9 .wp-block-search {
  max-width: 760px;
  margin: 0 auto 24px;
}

.page-id-9 .wp-block-search__inside-wrapper {
  width: 100% !important;
  gap: 10px;
}

.page-id-9 .wp-block-buttons {
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.page-id-9 .wp-block-buttons .wp-block-button__link {
  padding: 9px 16px;
  border: 1px solid #bfd2e4;
  border-radius: 999px;
  background: #f3f8fc !important;
  color: #125f98 !important;
  font-size: 14px;
  font-weight: 700;
}

.page-id-9 .wp-block-buttons .wp-block-button__link:hover {
  border-color: #1670b7;
  background: #e7f3fc !important;
}

.page-id-9 .wp-block-newspack-blocks-homepage-articles {
  margin-bottom: 54px;
}

.page-id-9 .entry-content > h2:nth-of-type(n+3) {
  margin: 38px 0 14px;
  padding-left: 14px;
  border-left: 4px solid #1670b7;
  font-size: 23px;
}

.page-id-9 .wp-block-coblocks-accordion {
  margin: 0 0 14px;
}

.page-id-9 .wp-block-coblocks-accordion-item {
  overflow: hidden;
  border: 1px solid #dbe5ee;
  border-radius: 10px;
  background: #fff;
}

.page-id-9 .wp-block-coblocks-accordion-item__title {
  padding: 16px 18px;
  background: #f7fafc;
  color: #18324c;
  font-weight: 600;
  line-height: 1.65;
  cursor: pointer;
}

.page-id-9 .wp-block-coblocks-accordion-item__content {
  padding: 18px;
  border-top: 1px solid #e3eaf1;
  line-height: 1.8;
}

.page-id-9 .entry-content > ins.adsbygoogle {
  margin: 34px 0 !important;
}

@media (max-width: 600px) {
  .page-id-9 .entry-title {
    font-size: 30px;
  }

  .page-id-9 .entry-content > h2:first-of-type {
    padding: 26px 18px;
  }

  .page-id-9 .coblocks-form {
    margin: 22px 0 38px;
    padding: 20px 16px;
  }

  .page-id-9 .wp-block-search__inside-wrapper {
    flex-wrap: wrap;
  }

  .page-id-9 .wp-block-search__button {
    width: 100%;
    margin: 0;
  }

  .page-id-9 .wp-block-buttons {
    justify-content: flex-start;
  }
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* DWF: 記事一覧カード・関連記事・フッター整理 */
[data-posts] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

[data-posts] > .article-section-title,
[data-posts] > .code-block {
  grid-column: 1 / -1;
  width: 100%;
}

[data-posts] > article {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  height: 520px;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

[data-posts] > article .post-thumbnail {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #eef2f6;
}

[data-posts] > article .post-thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}

[data-posts] > article .post-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

[data-posts] > article .entry-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 16px 16px;
}

[data-posts] > article .entry-title {
  display: -webkit-box;
  min-height: 4.65em;
  margin: 9px 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

[data-posts] > article .entry-wrapper > p {
  display: -webkit-box;
  min-height: 3em;
  margin: 0 0 12px;
  overflow: hidden;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

[data-posts] > article .more-link {
  margin-top: auto;
}

.single-post .related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.single-post .related-entry-card-wrap {
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 10px;
  background: #fff;
}

.single-post .related-entry-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.single-post .related-entry-card-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
}

.single-post .related-entry-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.single-post .related-entry-card-content {
  padding: 13px 14px 15px;
}

.single-post .related-entry-card-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.single-post .related-entry-card-snippet,
.single-post #top-posts-2 {
  display: none !important;
}

#footer.footer-container {
  padding: 28px 20px;
  border-top: 3px solid #1670b7;
  background: #071a2b;
  color: #eaf1f7;
}

#footer .copyright,
#footer a {
  color: #eaf1f7;
}

@media (max-width: 1023px) {
  [data-posts] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .single-post .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  [data-posts],
  .single-post .related-list {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  [data-posts] > article {
    height: auto;
    min-height: 470px;
  }
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* DWF: 記事一覧カード・関連記事・フッター整理 */
[data-posts] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

[data-posts] > .article-section-title,
[data-posts] > .code-block {
  grid-column: 1 / -1;
  width: 100%;
}

[data-posts] > article {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  height: 520px;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

[data-posts] > article .post-thumbnail {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #eef2f6;
}

[data-posts] > article .post-thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}

[data-posts] > article .post-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

[data-posts] > article .entry-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 16px 16px;
}

[data-posts] > article .entry-title {
  display: -webkit-box;
  min-height: 4.65em;
  margin: 9px 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

[data-posts] > article .entry-wrapper > p {
  display: -webkit-box;
  min-height: 3em;
  margin: 0 0 12px;
  overflow: hidden;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

[data-posts] > article .more-link {
  margin-top: auto;
}

.single-post .related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.single-post .related-entry-card-wrap {
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 10px;
  background: #fff;
}

.single-post .related-entry-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.single-post .related-entry-card-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
}

.single-post .related-entry-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.single-post .related-entry-card-content {
  padding: 13px 14px 15px;
}

.single-post .related-entry-card-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.single-post .related-entry-card-snippet,
.single-post #top-posts-2 {
  display: none !important;
}

#footer.footer-container {
  padding: 28px 20px;
  border-top: 3px solid #1670b7;
  background: #071a2b;
  color: #eaf1f7;
}

#footer .copyright,
#footer a {
  color: #eaf1f7;
}

@media (max-width: 1023px) {
  [data-posts] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .single-post .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  [data-posts],
  .single-post .related-list {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  [data-posts] > article {
    height: auto;
    min-height: 470px;
  }
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* DWF: Cocoon既存カード余白の上書き */
[data-posts] > article {
  width: 100% !important;
  height: 520px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #dfe7ef !important;
  box-sizing: border-box !important;
}

@media (max-width: 600px) {
  [data-posts] > article {
    height: auto !important;
    min-height: 470px;
  }
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* DWF: FAQ・質問募集ページ */
.page-id-9 .entry-title {
  margin: 8px 0 10px;
  color: #10243e;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  text-align: center;
}

.page-id-9 .date-tags,
.page-id-9 .breadcrumb,
.page-id-9 #top-posts-2 {
  display: none !important;
}

.page-id-9 .entry-content {
  max-width: 1080px;
  margin: 0 auto;
}

.page-id-9 .entry-content > h2 {
  margin: 54px 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #10243e;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
}

.page-id-9 .entry-content > h2:first-of-type {
  margin-top: 12px;
  padding: 34px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef7ff 0%, #f7fbff 100%);
  color: #0b3d67;
}

.page-id-9 .entry-content > p {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.9;
}

.page-id-9 .coblocks-form {
  max-width: 760px;
  margin: 30px auto 48px;
  padding: 28px;
  border: 1px solid #dbe6f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 36, 62, 0.08);
}

.page-id-9 .wp-block-coblocks-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-id-9 .coblocks-label {
  margin-top: 12px;
  color: #10243e;
  font-weight: 700;
}

.page-id-9 .coblocks-field,
.page-id-9 .wp-block-search__input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cbd7e3;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  font-size: 16px;
}

.page-id-9 .coblocks-textarea {
  min-height: 190px;
  height: 190px;
  resize: vertical;
}

.page-id-9 .coblocks-field:focus,
.page-id-9 .wp-block-search__input:focus {
  border-color: #1670b7;
  outline: 3px solid rgba(22, 112, 183, 0.14);
}

.page-id-9 .coblocks-form__submit {
  margin-top: 18px;
}

.page-id-9 .coblocks-form__submit .wp-block-button__link,
.page-id-9 .wp-block-search__button {
  min-height: 48px;
  padding: 11px 24px;
  border: 0;
  border-radius: 8px;
  background: #1268a8;
  color: #fff;
  font-weight: 700;
}

.page-id-9 .wp-block-search {
  max-width: 760px;
  margin: 0 auto 24px;
}

.page-id-9 .wp-block-search__inside-wrapper {
  width: 100% !important;
  gap: 10px;
}

.page-id-9 .wp-block-buttons {
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.page-id-9 .wp-block-buttons .wp-block-button__link {
  padding: 9px 16px;
  border: 1px solid #bfd2e4;
  border-radius: 999px;
  background: #f3f8fc !important;
  color: #125f98 !important;
  font-size: 14px;
  font-weight: 700;
}

.page-id-9 .wp-block-buttons .wp-block-button__link:hover {
  border-color: #1670b7;
  background: #e7f3fc !important;
}

.page-id-9 .wp-block-newspack-blocks-homepage-articles {
  margin-bottom: 54px;
}

.page-id-9 .entry-content > h2:nth-of-type(n+3) {
  margin: 38px 0 14px;
  padding-left: 14px;
  border-left: 4px solid #1670b7;
  font-size: 23px;
}

.page-id-9 .wp-block-coblocks-accordion {
  margin: 0 0 14px;
}

.page-id-9 .wp-block-coblocks-accordion-item {
  overflow: hidden;
  border: 1px solid #dbe5ee;
  border-radius: 10px;
  background: #fff;
}

.page-id-9 .wp-block-coblocks-accordion-item__title {
  padding: 16px 18px;
  background: #f7fafc;
  color: #18324c;
  font-weight: 600;
  line-height: 1.65;
  cursor: pointer;
}

.page-id-9 .wp-block-coblocks-accordion-item__content {
  padding: 18px;
  border-top: 1px solid #e3eaf1;
  line-height: 1.8;
}

.page-id-9 .entry-content > ins.adsbygoogle {
  margin: 34px 0 !important;
}

@media (max-width: 600px) {
  .page-id-9 .entry-title {
    font-size: 30px;
  }

  .page-id-9 .entry-content > h2:first-of-type {
    padding: 26px 18px;
  }

  .page-id-9 .coblocks-form {
    margin: 22px 0 38px;
    padding: 20px 16px;
  }

  .page-id-9 .wp-block-search__inside-wrapper {
    flex-wrap: wrap;
  }

  .page-id-9 .wp-block-search__button {
    width: 100%;
    margin: 0;
  }

  .page-id-9 .wp-block-buttons {
    justify-content: flex-start;
  }
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* DWF: 記事一覧カード・関連記事・フッター整理 */
[data-posts] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

[data-posts] > .article-section-title,
[data-posts] > .code-block {
  grid-column: 1 / -1;
  width: 100%;
}

[data-posts] > article {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  height: 520px;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

[data-posts] > article .post-thumbnail {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #eef2f6;
}

[data-posts] > article .post-thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}

[data-posts] > article .post-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

[data-posts] > article .entry-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 16px 16px;
}

[data-posts] > article .entry-title {
  display: -webkit-box;
  min-height: 4.65em;
  margin: 9px 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

[data-posts] > article .entry-wrapper > p {
  display: -webkit-box;
  min-height: 3em;
  margin: 0 0 12px;
  overflow: hidden;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

[data-posts] > article .more-link {
  margin-top: auto;
}

.single-post .related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.single-post .related-entry-card-wrap {
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 10px;
  background: #fff;
}

.single-post .related-entry-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.single-post .related-entry-card-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
}

.single-post .related-entry-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.single-post .related-entry-card-content {
  padding: 13px 14px 15px;
}

.single-post .related-entry-card-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.single-post .related-entry-card-snippet,
.single-post #top-posts-2 {
  display: none !important;
}

#footer.footer-container {
  padding: 28px 20px;
  border-top: 3px solid #1670b7;
  background: #071a2b;
  color: #eaf1f7;
}

#footer .copyright,
#footer a {
  color: #eaf1f7;
}

@media (max-width: 1023px) {
  [data-posts] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .single-post .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  [data-posts],
  .single-post .related-list {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  [data-posts] > article {
    height: auto;
    min-height: 470px;
  }
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* DWF: 記事一覧カード・関連記事・フッター整理 */
[data-posts] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

[data-posts] > .article-section-title,
[data-posts] > .code-block {
  grid-column: 1 / -1;
  width: 100%;
}

[data-posts] > article {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  height: 520px;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

[data-posts] > article .post-thumbnail {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #eef2f6;
}

[data-posts] > article .post-thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}

[data-posts] > article .post-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

[data-posts] > article .entry-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 16px 16px;
}

[data-posts] > article .entry-title {
  display: -webkit-box;
  min-height: 4.65em;
  margin: 9px 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

[data-posts] > article .entry-wrapper > p {
  display: -webkit-box;
  min-height: 3em;
  margin: 0 0 12px;
  overflow: hidden;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

[data-posts] > article .more-link {
  margin-top: auto;
}

.single-post .related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.single-post .related-entry-card-wrap {
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 10px;
  background: #fff;
}

.single-post .related-entry-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.single-post .related-entry-card-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
}

.single-post .related-entry-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.single-post .related-entry-card-content {
  padding: 13px 14px 15px;
}

.single-post .related-entry-card-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.single-post .related-entry-card-snippet,
.single-post #top-posts-2 {
  display: none !important;
}

#footer.footer-container {
  padding: 28px 20px;
  border-top: 3px solid #1670b7;
  background: #071a2b;
  color: #eaf1f7;
}

#footer .copyright,
#footer a {
  color: #eaf1f7;
}

@media (max-width: 1023px) {
  [data-posts] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .single-post .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  [data-posts],
  .single-post .related-list {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  [data-posts] > article {
    height: auto;
    min-height: 470px;
  }
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* DWF: Cocoon既存カード余白の上書き */
[data-posts] > article {
  width: 100% !important;
  height: 520px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #dfe7ef !important;
  box-sizing: border-box !important;
}

@media (max-width: 600px) {
  [data-posts] > article {
    height: auto !important;
    min-height: 470px;
  }
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* DWF: FAQ・質問募集ページ */
.page-id-9 .entry-title {
  margin: 8px 0 10px;
  color: #10243e;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  text-align: center;
}

.page-id-9 .date-tags,
.page-id-9 .breadcrumb,
.page-id-9 #top-posts-2 {
  display: none !important;
}

.page-id-9 .entry-content {
  max-width: 1080px;
  margin: 0 auto;
}

.page-id-9 .entry-content > h2 {
  margin: 54px 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #10243e;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
}

.page-id-9 .entry-content > h2:first-of-type {
  margin-top: 12px;
  padding: 34px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef7ff 0%, #f7fbff 100%);
  color: #0b3d67;
}

.page-id-9 .entry-content > p {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.9;
}

.page-id-9 .coblocks-form {
  max-width: 760px;
  margin: 30px auto 48px;
  padding: 28px;
  border: 1px solid #dbe6f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 36, 62, 0.08);
}

.page-id-9 .wp-block-coblocks-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-id-9 .coblocks-label {
  margin-top: 12px;
  color: #10243e;
  font-weight: 700;
}

.page-id-9 .coblocks-field,
.page-id-9 .wp-block-search__input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cbd7e3;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  font-size: 16px;
}

.page-id-9 .coblocks-textarea {
  min-height: 190px;
  height: 190px;
  resize: vertical;
}

.page-id-9 .coblocks-field:focus,
.page-id-9 .wp-block-search__input:focus {
  border-color: #1670b7;
  outline: 3px solid rgba(22, 112, 183, 0.14);
}

.page-id-9 .coblocks-form__submit {
  margin-top: 18px;
}

.page-id-9 .coblocks-form__submit .wp-block-button__link,
.page-id-9 .wp-block-search__button {
  min-height: 48px;
  padding: 11px 24px;
  border: 0;
  border-radius: 8px;
  background: #1268a8;
  color: #fff;
  font-weight: 700;
}

.page-id-9 .wp-block-search {
  max-width: 760px;
  margin: 0 auto 24px;
}

.page-id-9 .wp-block-search__inside-wrapper {
  width: 100% !important;
  gap: 10px;
}

.page-id-9 .wp-block-buttons {
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.page-id-9 .wp-block-buttons .wp-block-button__link {
  padding: 9px 16px;
  border: 1px solid #bfd2e4;
  border-radius: 999px;
  background: #f3f8fc !important;
  color: #125f98 !important;
  font-size: 14px;
  font-weight: 700;
}

.page-id-9 .wp-block-buttons .wp-block-button__link:hover {
  border-color: #1670b7;
  background: #e7f3fc !important;
}

.page-id-9 .wp-block-newspack-blocks-homepage-articles {
  margin-bottom: 54px;
}

.page-id-9 .entry-content > h2:nth-of-type(n+3) {
  margin: 38px 0 14px;
  padding-left: 14px;
  border-left: 4px solid #1670b7;
  font-size: 23px;
}

.page-id-9 .wp-block-coblocks-accordion {
  margin: 0 0 14px;
}

.page-id-9 .wp-block-coblocks-accordion-item {
  overflow: hidden;
  border: 1px solid #dbe5ee;
  border-radius: 10px;
  background: #fff;
}

.page-id-9 .wp-block-coblocks-accordion-item__title {
  padding: 16px 18px;
  background: #f7fafc;
  color: #18324c;
  font-weight: 600;
  line-height: 1.65;
  cursor: pointer;
}

.page-id-9 .wp-block-coblocks-accordion-item__content {
  padding: 18px;
  border-top: 1px solid #e3eaf1;
  line-height: 1.8;
}

.page-id-9 .entry-content > ins.adsbygoogle {
  margin: 34px 0 !important;
}

@media (max-width: 600px) {
  .page-id-9 .entry-title {
    font-size: 30px;
  }

  .page-id-9 .entry-content > h2:first-of-type {
    padding: 26px 18px;
  }

  .page-id-9 .coblocks-form {
    margin: 22px 0 38px;
    padding: 20px 16px;
  }

  .page-id-9 .wp-block-search__inside-wrapper {
    flex-wrap: wrap;
  }

  .page-id-9 .wp-block-search__button {
    width: 100%;
    margin: 0;
  }

  .page-id-9 .wp-block-buttons {
    justify-content: flex-start;
  }
}

/* DWF: FAQ accordion card fix */
.page-id-9 .wp-block-coblocks-accordion-item {
  margin: 0 0 12px !important;
  border: 1px solid #dfe7ef !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
}
.page-id-9 .wp-block-coblocks-accordion-item__title {
  border-radius: 0 !important;
  padding: 18px 52px 18px 20px !important;
}
.page-id-9 .wp-block-coblocks-accordion-item__content {
  padding: 4px 20px 20px !important;
  background: #fff !important;
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* DWF: 記事一覧カード・関連記事・フッター整理 */
[data-posts] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

[data-posts] > .article-section-title,
[data-posts] > .code-block {
  grid-column: 1 / -1;
  width: 100%;
}

[data-posts] > article {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  height: 520px;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

[data-posts] > article .post-thumbnail {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #eef2f6;
}

[data-posts] > article .post-thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}

[data-posts] > article .post-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

[data-posts] > article .entry-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 16px 16px;
}

[data-posts] > article .entry-title {
  display: -webkit-box;
  min-height: 4.65em;
  margin: 9px 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

[data-posts] > article .entry-wrapper > p {
  display: -webkit-box;
  min-height: 3em;
  margin: 0 0 12px;
  overflow: hidden;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

[data-posts] > article .more-link {
  margin-top: auto;
}

.single-post .related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.single-post .related-entry-card-wrap {
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 10px;
  background: #fff;
}

.single-post .related-entry-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.single-post .related-entry-card-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
}

.single-post .related-entry-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.single-post .related-entry-card-content {
  padding: 13px 14px 15px;
}

.single-post .related-entry-card-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.single-post .related-entry-card-snippet,
.single-post #top-posts-2 {
  display: none !important;
}

#footer.footer-container {
  padding: 28px 20px;
  border-top: 3px solid #1670b7;
  background: #071a2b;
  color: #eaf1f7;
}

#footer .copyright,
#footer a {
  color: #eaf1f7;
}

@media (max-width: 1023px) {
  [data-posts] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .single-post .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  [data-posts],
  .single-post .related-list {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  [data-posts] > article {
    height: auto;
    min-height: 470px;
  }
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* DWF: 記事一覧カード・関連記事・フッター整理 */
[data-posts] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

[data-posts] > .article-section-title,
[data-posts] > .code-block {
  grid-column: 1 / -1;
  width: 100%;
}

[data-posts] > article {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  height: 520px;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

[data-posts] > article .post-thumbnail {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #eef2f6;
}

[data-posts] > article .post-thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}

[data-posts] > article .post-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

[data-posts] > article .entry-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 16px 16px;
}

[data-posts] > article .entry-title {
  display: -webkit-box;
  min-height: 4.65em;
  margin: 9px 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

[data-posts] > article .entry-wrapper > p {
  display: -webkit-box;
  min-height: 3em;
  margin: 0 0 12px;
  overflow: hidden;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

[data-posts] > article .more-link {
  margin-top: auto;
}

.single-post .related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.single-post .related-entry-card-wrap {
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 10px;
  background: #fff;
}

.single-post .related-entry-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.single-post .related-entry-card-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
}

.single-post .related-entry-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.single-post .related-entry-card-content {
  padding: 13px 14px 15px;
}

.single-post .related-entry-card-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.single-post .related-entry-card-snippet,
.single-post #top-posts-2 {
  display: none !important;
}

#footer.footer-container {
  padding: 28px 20px;
  border-top: 3px solid #1670b7;
  background: #071a2b;
  color: #eaf1f7;
}

#footer .copyright,
#footer a {
  color: #eaf1f7;
}

@media (max-width: 1023px) {
  [data-posts] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .single-post .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  [data-posts],
  .single-post .related-list {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  [data-posts] > article {
    height: auto;
    min-height: 470px;
  }
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* DWF: Cocoon既存カード余白の上書き */
[data-posts] > article {
  width: 100% !important;
  height: 520px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #dfe7ef !important;
  box-sizing: border-box !important;
}

@media (max-width: 600px) {
  [data-posts] > article {
    height: auto !important;
    min-height: 470px;
  }
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* DWF: FAQ・質問募集ページ */
.page-id-9 .entry-title {
  margin: 8px 0 10px;
  color: #10243e;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  text-align: center;
}

.page-id-9 .date-tags,
.page-id-9 .breadcrumb,
.page-id-9 #top-posts-2 {
  display: none !important;
}

.page-id-9 .entry-content {
  max-width: 1080px;
  margin: 0 auto;
}

.page-id-9 .entry-content > h2 {
  margin: 54px 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #10243e;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
}

.page-id-9 .entry-content > h2:first-of-type {
  margin-top: 12px;
  padding: 34px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef7ff 0%, #f7fbff 100%);
  color: #0b3d67;
}

.page-id-9 .entry-content > p {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.9;
}

.page-id-9 .coblocks-form {
  max-width: 760px;
  margin: 30px auto 48px;
  padding: 28px;
  border: 1px solid #dbe6f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 36, 62, 0.08);
}

.page-id-9 .wp-block-coblocks-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-id-9 .coblocks-label {
  margin-top: 12px;
  color: #10243e;
  font-weight: 700;
}

.page-id-9 .coblocks-field,
.page-id-9 .wp-block-search__input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cbd7e3;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  font-size: 16px;
}

.page-id-9 .coblocks-textarea {
  min-height: 190px;
  height: 190px;
  resize: vertical;
}

.page-id-9 .coblocks-field:focus,
.page-id-9 .wp-block-search__input:focus {
  border-color: #1670b7;
  outline: 3px solid rgba(22, 112, 183, 0.14);
}

.page-id-9 .coblocks-form__submit {
  margin-top: 18px;
}

.page-id-9 .coblocks-form__submit .wp-block-button__link,
.page-id-9 .wp-block-search__button {
  min-height: 48px;
  padding: 11px 24px;
  border: 0;
  border-radius: 8px;
  background: #1268a8;
  color: #fff;
  font-weight: 700;
}

.page-id-9 .wp-block-search {
  max-width: 760px;
  margin: 0 auto 24px;
}

.page-id-9 .wp-block-search__inside-wrapper {
  width: 100% !important;
  gap: 10px;
}

.page-id-9 .wp-block-buttons {
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.page-id-9 .wp-block-buttons .wp-block-button__link {
  padding: 9px 16px;
  border: 1px solid #bfd2e4;
  border-radius: 999px;
  background: #f3f8fc !important;
  color: #125f98 !important;
  font-size: 14px;
  font-weight: 700;
}

.page-id-9 .wp-block-buttons .wp-block-button__link:hover {
  border-color: #1670b7;
  background: #e7f3fc !important;
}

.page-id-9 .wp-block-newspack-blocks-homepage-articles {
  margin-bottom: 54px;
}

.page-id-9 .entry-content > h2:nth-of-type(n+3) {
  margin: 38px 0 14px;
  padding-left: 14px;
  border-left: 4px solid #1670b7;
  font-size: 23px;
}

.page-id-9 .wp-block-coblocks-accordion {
  margin: 0 0 14px;
}

.page-id-9 .wp-block-coblocks-accordion-item {
  overflow: hidden;
  border: 1px solid #dbe5ee;
  border-radius: 10px;
  background: #fff;
}

.page-id-9 .wp-block-coblocks-accordion-item__title {
  padding: 16px 18px;
  background: #f7fafc;
  color: #18324c;
  font-weight: 600;
  line-height: 1.65;
  cursor: pointer;
}

.page-id-9 .wp-block-coblocks-accordion-item__content {
  padding: 18px;
  border-top: 1px solid #e3eaf1;
  line-height: 1.8;
}

.page-id-9 .entry-content > ins.adsbygoogle {
  margin: 34px 0 !important;
}

@media (max-width: 600px) {
  .page-id-9 .entry-title {
    font-size: 30px;
  }

  .page-id-9 .entry-content > h2:first-of-type {
    padding: 26px 18px;
  }

  .page-id-9 .coblocks-form {
    margin: 22px 0 38px;
    padding: 20px 16px;
  }

  .page-id-9 .wp-block-search__inside-wrapper {
    flex-wrap: wrap;
  }

  .page-id-9 .wp-block-search__button {
    width: 100%;
    margin: 0;
  }

  .page-id-9 .wp-block-buttons {
    justify-content: flex-start;
  }
}

/* DWF: FAQ accordion card fix */
.page-id-9 .wp-block-coblocks-accordion-item {
  margin: 0 0 12px !important;
  border: 1px solid #dfe7ef !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
}
.page-id-9 .wp-block-coblocks-accordion-item__title {
  border-radius: 0 !important;
  padding: 18px 52px 18px 20px !important;
}
.page-id-9 .wp-block-coblocks-accordion-item__content {
  padding: 4px 20px 20px !important;
  background: #fff !important;
}

/* DWF: legacy inline ads disabled — Ad Inserter blocks remain active */
.entry-content > ins.adsbygoogle {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* DWF: 記事一覧カード・関連記事・フッター整理 */
[data-posts] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

[data-posts] > .article-section-title,
[data-posts] > .code-block {
  grid-column: 1 / -1;
  width: 100%;
}

[data-posts] > article {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  height: 520px;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

[data-posts] > article .post-thumbnail {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #eef2f6;
}

[data-posts] > article .post-thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}

[data-posts] > article .post-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

[data-posts] > article .entry-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 16px 16px;
}

[data-posts] > article .entry-title {
  display: -webkit-box;
  min-height: 4.65em;
  margin: 9px 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

[data-posts] > article .entry-wrapper > p {
  display: -webkit-box;
  min-height: 3em;
  margin: 0 0 12px;
  overflow: hidden;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

[data-posts] > article .more-link {
  margin-top: auto;
}

.single-post .related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.single-post .related-entry-card-wrap {
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 10px;
  background: #fff;
}

.single-post .related-entry-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.single-post .related-entry-card-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
}

.single-post .related-entry-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.single-post .related-entry-card-content {
  padding: 13px 14px 15px;
}

.single-post .related-entry-card-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.single-post .related-entry-card-snippet,
.single-post #top-posts-2 {
  display: none !important;
}

#footer.footer-container {
  padding: 28px 20px;
  border-top: 3px solid #1670b7;
  background: #071a2b;
  color: #eaf1f7;
}

#footer .copyright,
#footer a {
  color: #eaf1f7;
}

@media (max-width: 1023px) {
  [data-posts] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .single-post .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  [data-posts],
  .single-post .related-list {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  [data-posts] > article {
    height: auto;
    min-height: 470px;
  }
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* DWF: 記事一覧カード・関連記事・フッター整理 */
[data-posts] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

[data-posts] > .article-section-title,
[data-posts] > .code-block {
  grid-column: 1 / -1;
  width: 100%;
}

[data-posts] > article {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  height: 520px;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

[data-posts] > article .post-thumbnail {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #eef2f6;
}

[data-posts] > article .post-thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}

[data-posts] > article .post-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

[data-posts] > article .entry-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 16px 16px;
}

[data-posts] > article .entry-title {
  display: -webkit-box;
  min-height: 4.65em;
  margin: 9px 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

[data-posts] > article .entry-wrapper > p {
  display: -webkit-box;
  min-height: 3em;
  margin: 0 0 12px;
  overflow: hidden;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

[data-posts] > article .more-link {
  margin-top: auto;
}

.single-post .related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.single-post .related-entry-card-wrap {
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 10px;
  background: #fff;
}

.single-post .related-entry-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.single-post .related-entry-card-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
}

.single-post .related-entry-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.single-post .related-entry-card-content {
  padding: 13px 14px 15px;
}

.single-post .related-entry-card-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.single-post .related-entry-card-snippet,
.single-post #top-posts-2 {
  display: none !important;
}

#footer.footer-container {
  padding: 28px 20px;
  border-top: 3px solid #1670b7;
  background: #071a2b;
  color: #eaf1f7;
}

#footer .copyright,
#footer a {
  color: #eaf1f7;
}

@media (max-width: 1023px) {
  [data-posts] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .single-post .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  [data-posts],
  .single-post .related-list {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  [data-posts] > article {
    height: auto;
    min-height: 470px;
  }
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}

/* DWF: Cocoon既存カード余白の上書き */
[data-posts] > article {
  width: 100% !important;
  height: 520px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #dfe7ef !important;
  box-sizing: border-box !important;
}

@media (max-width: 600px) {
  [data-posts] > article {
    height: auto !important;
    min-height: 470px;
  }
}
/* DWF: 投稿下部をシンプルに整理 */
.single-post .sharedaddy.sd-sharing-enabled {
  display: none !important;
}

.single-post .sd-like {
  margin: 32px 0 24px;
  padding: 18px 20px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f7faff;
}

.single-post .sd-like .sd-title {
  margin: 0 0 12px;
  font-size: 0;
}

.single-post .sd-like .sd-title::before {
  content: "この記事が役に立ったら「いいね」";
  color: #16233a;
  font-size: 16px;
  font-weight: 700;
}

.single-post #comment-area {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.single-post #comments {
  margin-bottom: 18px;
  font-size: 24px;
}

.single-post .comment-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .single-post .sd-like {
    padding: 16px;
  }

  .single-post #comment-area {
    margin-top: 28px;
    padding-top: 22px;
  }
}
/* ヘッダーロゴの表示領域を先に確保してCLSを軽減 */
.header-site-logo-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1707 / 283;
  object-fit: contain;
}

/* DWF compact homepage header 2026-09-03 */
/*
 * Keep the production homepage header compact while preserving article/page
 * headers. This also removes the legacy static-page dates from the homepage.
 */
.home .article-header {
	display: none !important;
}

@media screen and (min-width: 769px) {
	.home #header,
	.home #header-in,
	.home .logo-header {
		height: 136px !important;
		min-height: 0 !important;
	}

	.home .header-site-logo-image {
		display: block !important;
		width: 100% !important;
		height: 136px !important;
		max-height: 136px !important;
		object-fit: cover !important;
		object-position: center center !important;
	}

	.home #navi,
	.home .menu-header {
		height: 52px !important;
		min-height: 52px !important;
	}

	.home .navi-in > ul > li > a {
		height: 52px !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		font-size: 18px !important;
		line-height: 52px !important;
	}

	.home #header-container,
	.home #header-container-in {
		height: 189px !important;
		min-height: 0 !important;
	}

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

	.home .main {
		padding-top: 8px !important;
	}
}

@media screen and (max-width: 768px) {
	.home #header-container,
	.home #header-container-in,
	.home #header,
	.home #header-in,
	.home .logo-header {
		height: auto !important;
		min-height: 0 !important;
	}

	.home .header-site-logo-image {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		max-height: 76px !important;
		object-fit: cover !important;
		object-position: center center !important;
	}

	.home #navi {
		min-height: 40px !important;
	}

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

	.home .main {
		padding-top: 6px !important;
	}
}


/* DWF single-row mobile homepage navigation 2026-09-03 */
@media screen and (max-width: 768px) {
	.home #navi {
		height: 44px !important;
		min-height: 44px !important;
		overflow: hidden !important;
	}

	.home #navi .navi-in {
		height: 44px !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.home #navi .navi-in::-webkit-scrollbar {
		display: none;
	}

	.home #navi .navi-in > .menu-mobile {
		display: flex !important;
		flex-wrap: nowrap !important;
		width: max-content !important;
		min-width: 100% !important;
		height: 44px !important;
	}

	.home #navi .navi-in > .menu-mobile > li {
		flex: 0 0 auto !important;
		width: auto !important;
		min-width: 96px !important;
		height: 44px !important;
		line-height: 44px !important;
	}

	.home #navi .navi-in > .menu-mobile > li > a {
		height: 44px !important;
		padding: 0 12px !important;
		font-size: 13px !important;
		line-height: 44px !important;
		white-space: nowrap !important;
	}
}


/* DWF global navigation polish 2026-09-03 */
#navi {
	background: #fff !important;
	border-bottom: 1px solid #e5eaf0 !important;
	box-shadow: 0 3px 12px rgba(15, 38, 71, 0.06) !important;
}

#navi .navi-in > ul > li > a {
	color: #1d2f45 !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: color .18s ease, background-color .18s ease, border-color .18s ease !important;
}

#navi .navi-in > ul > li > a:hover,
#navi .navi-in > ul > li:hover > a,
#navi .navi-in > ul > li.current-menu-item > a,
#navi .navi-in > ul > li.current-menu-ancestor > a {
	color: #0867b2 !important;
	background: #f7fbff !important;
}

#navi .navi-in > ul .sub-menu {
	background: #fff !important;
	border: 1px solid #dfe6ee !important;
	border-radius: 0 0 10px 10px !important;
	box-shadow: 0 12px 28px rgba(15, 38, 71, 0.14) !important;
	overflow: hidden !important;
}

#navi .navi-in > ul .sub-menu li a {
	min-height: 44px !important;
	padding: 10px 16px !important;
	color: #26384c !important;
	font-size: 14px !important;
	line-height: 1.55 !important;
}

#navi .navi-in > ul .sub-menu li + li {
	border-top: 1px solid #edf1f5 !important;
}

#navi .navi-in > ul .sub-menu li a:hover {
	color: #0867b2 !important;
	background: #f2f8fd !important;
}

@media screen and (min-width: 769px) {
	#navi,
	#navi .navi-in,
	#navi .navi-in > .menu-pc {
		height: 56px !important;
		min-height: 56px !important;
	}

	#navi .navi-in > .menu-pc {
		display: flex !important;
		align-items: stretch !important;
	}

	#navi .navi-in > .menu-pc > li {
		height: 56px !important;
		flex: 1 1 20% !important;
	}

	#navi .navi-in > .menu-pc > li > a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		height: 56px !important;
		padding: 0 18px !important;
		border-bottom: 3px solid transparent !important;
		font-size: 16px !important;
		line-height: 1.2 !important;
		white-space: nowrap !important;
	}

	#navi .navi-in > .menu-pc > li > a:hover,
	#navi .navi-in > .menu-pc > li:hover > a,
	#navi .navi-in > .menu-pc > li.current-menu-item > a,
	#navi .navi-in > .menu-pc > li.current-menu-ancestor > a {
		border-bottom-color: #1684d6 !important;
	}
}

@media screen and (max-width: 768px) {
	#navi {
		height: 44px !important;
		min-height: 44px !important;
	}

	#navi .navi-in {
		height: 44px !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		scroll-snap-type: x proximity;
	}

	#navi .navi-in::-webkit-scrollbar {
		display: none;
	}

	#navi .navi-in > .menu-mobile {
		display: flex !important;
		flex-wrap: nowrap !important;
		width: max-content !important;
		min-width: 100% !important;
		height: 44px !important;
	}

	#navi .navi-in > .menu-mobile > li {
		flex: 0 0 auto !important;
		width: auto !important;
		min-width: 96px !important;
		height: 44px !important;
		scroll-snap-align: start;
	}

	#navi .navi-in > .menu-mobile > li > a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		height: 44px !important;
		padding: 0 13px !important;
		border-bottom: 3px solid transparent !important;
		font-size: 13px !important;
		line-height: 1.15 !important;
		white-space: nowrap !important;
	}

	#navi .navi-in > .menu-mobile > li.current-menu-item > a,
	#navi .navi-in > .menu-mobile > li.current-menu-ancestor > a {
		border-bottom-color: #1684d6 !important;
	}
}


/* DWF homepage navigation height alignment 2026-09-03 */
@media screen and (min-width: 769px) {
	.home #navi,
	.home #navi .navi-in,
	.home #navi .navi-in > .menu-pc {
		height: 56px !important;
		min-height: 56px !important;
	}

	.home #header-container,
	.home #header-container-in {
		height: 193px !important;
	}
}


/* DWF site-wide UI optimization batch 1 2026-09-03 */
:root {
	--dwf-navy: #142b46;
	--dwf-blue: #0878c9;
	--dwf-border: #dfe7ef;
	--dwf-soft: #f5f8fb;
}

@media screen and (min-width: 769px) {
	body:not(.home) #header,
	body:not(.home) #header-in,
	body:not(.home) .logo-header {
		height: 136px !important;
		min-height: 0 !important;
	}

	body:not(.home) .header-site-logo-image {
		display: block !important;
		width: 100% !important;
		height: 136px !important;
		max-height: 136px !important;
		object-fit: cover !important;
		object-position: center center !important;
	}

	body:not(.home) #header-container,
	body:not(.home) #header-container-in {
		height: 193px !important;
		min-height: 0 !important;
	}

	#navi .menu-pc > li:nth-child(2) > .sub-menu,
	#navi .menu-pc > li:nth-child(3) > .sub-menu {
		width: 520px !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	#navi .menu-pc > li:nth-child(4) > .sub-menu {
		right: 0 !important;
		left: auto !important;
		width: 480px !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	#navi .menu-pc > li:nth-child(2):hover > .sub-menu,
	#navi .menu-pc > li:nth-child(2):focus-within > .sub-menu,
	#navi .menu-pc > li:nth-child(3):hover > .sub-menu,
	#navi .menu-pc > li:nth-child(3):focus-within > .sub-menu,
	#navi .menu-pc > li:nth-child(4):hover > .sub-menu,
	#navi .menu-pc > li:nth-child(4):focus-within > .sub-menu {
		display: grid !important;
	}
}

body:not(.home) .content {
	margin-top: 0 !important;
}

body:not(.home) .main {
	padding-top: 18px !important;
}

.article-header {
	margin-bottom: 20px !important;
}

.article-header .entry-title {
	margin-bottom: 8px !important;
	color: var(--dwf-navy) !important;
	line-height: 1.38 !important;
}

.article-header .date-tags {
	margin-top: 8px !important;
}

.breadcrumb,
.breadcrumbs {
	margin-top: 0 !important;
	margin-bottom: 14px !important;
	color: #607086 !important;
	font-size: 13px !important;
}

.entry-card-wrap,
.related-entry-card-wrap,
.new-entry-card-wrap {
	border: 1px solid var(--dwf-border) !important;
	border-radius: 10px !important;
	background: #fff !important;
	overflow: hidden !important;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.entry-card-wrap:hover,
.related-entry-card-wrap:hover,
.new-entry-card-wrap:hover {
	border-color: #b8cee1 !important;
	box-shadow: 0 8px 22px rgba(20, 43, 70, .09) !important;
	transform: translateY(-1px);
}

.entry-card-thumb img,
.related-entry-card-thumb img,
.new-entry-card-thumb img {
	width: 100% !important;
	aspect-ratio: 16 / 9 !important;
	object-fit: cover !important;
}

.entry-card-title,
.related-entry-card-title,
.new-entry-card-title {
	display: -webkit-box !important;
	overflow: hidden !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	line-height: 1.55 !important;
}

.article .ad-area,
.article .adsbygoogle[data-ad-format="auto"] {
	min-height: 120px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid #45a6ea !important;
	outline-offset: 3px !important;
}

@media screen and (max-width: 768px) {
	body:not(.home) #header-container,
	body:not(.home) #header-container-in,
	body:not(.home) #header,
	body:not(.home) #header-in,
	body:not(.home) .logo-header {
		height: auto !important;
		min-height: 0 !important;
	}

	body:not(.home) .header-site-logo-image {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		max-height: 76px !important;
		object-fit: cover !important;
		object-position: center center !important;
	}

	body:not(.home) .main {
		padding-top: 10px !important;
	}

	#navi {
		position: relative !important;
	}

	#navi::after {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 3;
		width: 24px;
		height: 41px;
		background: linear-gradient(90deg, rgba(255,255,255,0), #fff 78%);
		content: "";
		pointer-events: none;
	}

	.article-header {
		margin-bottom: 14px !important;
	}

	.article-header .entry-title {
		font-size: clamp(23px, 6.5vw, 30px) !important;
		line-height: 1.4 !important;
	}

	.breadcrumb,
	.breadcrumbs {
		margin-bottom: 10px !important;
		white-space: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.entry-card-wrap,
	.related-entry-card-wrap,
	.new-entry-card-wrap {
		border-radius: 8px !important;
	}

	.article .ad-area,
	.article .adsbygoogle[data-ad-format="auto"] {
		min-height: 100px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.entry-card-wrap,
	.related-entry-card-wrap,
	.new-entry-card-wrap,
	#navi a {
		transition: none !important;
	}
}


/* DWF homepage information architecture 2026-09-03 */
.home .dwf-home-intro {
	margin: 8px auto 34px !important;
	padding: 32px 28px 30px !important;
	border: 1px solid #dce7f0 !important;
	border-radius: 18px !important;
	background: linear-gradient(135deg, #f7fbff 0%, #fff 58%, #f4f8fc 100%) !important;
	box-shadow: 0 10px 30px rgba(20, 43, 70, .07) !important;
}

.home .dwf-home-intro h2 {
	margin: 0 0 8px !important;
	color: #142b46 !important;
	font-size: clamp(26px, 3vw, 38px) !important;
	line-height: 1.35 !important;
	letter-spacing: .01em;
}

.home .dwf-home-lead {
	margin: 0 auto 22px !important;
	color: #53667d !important;
	font-size: 16px !important;
	line-height: 1.8 !important;
}

.home .dwf-home-search {
	max-width: 680px;
	margin: 0 auto 26px !important;
}

.home .dwf-home-search .wp-block-search__inside-wrapper {
	padding: 5px !important;
	border: 1px solid #b9ccdc !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: 0 3px 12px rgba(20, 43, 70, .06);
}

.home .dwf-home-search .wp-block-search__input {
	min-height: 46px !important;
	padding: 0 14px !important;
	border: 0 !important;
	color: #142b46 !important;
	font-size: 16px !important;
}

.home .dwf-home-search .wp-block-search__button {
	width: 48px !important;
	height: 46px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 9px !important;
	background: #0878c9 !important;
	color: #fff !important;
}

.home .dwf-guide-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}

.home .dwf-guide-grid a {
	display: flex;
	min-width: 0;
	min-height: 112px;
	padding: 16px 14px;
	border: 1px solid #d9e4ed;
	border-radius: 12px;
	background: #fff;
	color: #142b46;
	text-decoration: none;
	flex-direction: column;
	justify-content: center;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home .dwf-guide-grid a:hover,
.home .dwf-guide-grid a:focus-visible {
	border-color: #78add3;
	box-shadow: 0 8px 20px rgba(20, 43, 70, .10);
	transform: translateY(-2px);
}

.home .dwf-guide-grid strong {
	display: block;
	margin-bottom: 7px;
	color: #075f9e;
	font-size: 16px;
	line-height: 1.4;
}

.home .dwf-guide-grid span {
	display: block;
	color: #5d6d7e;
	font-size: 13px;
	line-height: 1.55;
}

.home .dwf-home-news {
	margin-top: 0 !important;
}

.home .dwf-home-news .article-section-title {
	margin: 0 0 22px !important;
	color: #142b46 !important;
	font-size: clamp(24px, 2.6vw, 34px) !important;
	line-height: 1.4 !important;
	text-align: left !important;
}

.home .dwf-home-news .wpnbha.is-grid {
	gap: 22px !important;
}

.home .dwf-home-news article {
	border: 1px solid #dfe7ef !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: 0 5px 16px rgba(20, 43, 70, .05) !important;
	overflow: hidden !important;
}

.home .dwf-home-news article .post-thumbnail {
	margin: 0 !important;
}

.home .dwf-home-news article .post-thumbnail img {
	display: block !important;
	width: 100% !important;
	aspect-ratio: 16 / 9 !important;
	object-fit: cover !important;
}

.home .dwf-home-news article .entry-wrapper {
	padding: 15px 16px 17px !important;
}

.home .dwf-home-news .entry-title {
	margin: 8px 0 10px !important;
	font-size: 18px !important;
	line-height: 1.55 !important;
}

.home .dwf-home-news .cat-links a {
	display: inline-block !important;
	padding: 4px 8px !important;
	border-radius: 999px !important;
	background: #edf6fd !important;
	color: #0867a8 !important;
	font-size: 11px !important;
	line-height: 1.3 !important;
}

.home .dwf-home-news .more-link {
	display: inline-flex !important;
	min-height: 40px;
	align-items: center;
	color: #0878c9 !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

.home .dwf-home-news .more-button,
.home .dwf-home-news .wp-block-button__link {
	display: inline-flex !important;
	min-height: 48px;
	margin-top: 24px !important;
	padding: 11px 24px !important;
	border-radius: 10px !important;
	background: #142b46 !important;
	color: #fff !important;
	align-items: center;
	justify-content: center;
	font-weight: 700 !important;
	text-decoration: none !important;
}

.home .main-scroll {
	margin-top: 34px !important;
	padding: 24px !important;
	border: 1px solid #e1e8ef;
	border-radius: 14px;
	background: #f8fafc;
}

@media screen and (max-width: 768px) {
	.home .dwf-home-intro {
		margin: 4px 8px 24px !important;
		padding: 24px 16px 20px !important;
		border-radius: 14px !important;
	}

	.home .dwf-home-intro h2 {
		font-size: 26px !important;
		text-align: left !important;
	}

	.home .dwf-home-lead {
		margin-bottom: 18px !important;
		font-size: 14px !important;
		text-align: left !important;
	}

	.home .dwf-home-search {
		margin-bottom: 18px !important;
	}

	.home .dwf-guide-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px;
	}

	.home .dwf-guide-grid a {
		min-height: 100px;
		padding: 13px 11px;
		border-radius: 10px;
	}

	.home .dwf-guide-grid a:last-child {
		grid-column: 1 / -1;
		min-height: 84px;
	}

	.home .dwf-guide-grid strong {
		font-size: 14px;
	}

	.home .dwf-guide-grid span {
		font-size: 12px;
	}

	.home .dwf-home-news .article-section-title {
		margin: 0 8px 16px !important;
		font-size: 24px !important;
	}

	.home .dwf-home-news .wpnbha.is-grid {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 14px !important;
	}

	.home .dwf-home-news article .entry-wrapper {
		padding: 13px 14px 15px !important;
	}

	.home .dwf-home-news .entry-title {
		font-size: 17px !important;
	}

	.home .main-scroll {
		margin: 26px 8px 0 !important;
		padding: 18px 14px !important;
	}
}


/* DWF site-wide footer redesign 2026-09-03 */
#footer.footer-container {
  margin-top: 56px;
  background: #102a43;
  color: #dbe7f3;
  border-top: 4px solid #1683d8;
}
#footer #footer-in {
  padding: 48px 24px 22px;
}
#footer .footer-widgets {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding: 0 0 36px;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
#footer .footer-left,
#footer .footer-center,
#footer .footer-right {
  float: none;
  width: auto;
  padding: 0;
}
#footer .widget { margin: 0; }
#footer .footer-title {
  margin: 0 0 16px;
  padding: 0 0 0 12px;
  border-left: 3px solid #55b7ff;
  background: none;
  color: #fff;
  font-size: 18px;
  line-height: 1.45;
}
#footer .dwf-footer-brand p {
  margin: 0 0 14px;
  line-height: 1.8;
}
#footer .dwf-footer-note {
  color: #b8c9d9;
  font-size: 13px;
}
#footer .dwf-footer-links {
  display: grid;
  gap: 2px;
}
#footer .dwf-footer-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: #eef7ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s ease, padding-left .2s ease;
}
#footer .dwf-footer-links a::before {
  content: "›";
  margin-right: 8px;
  color: #55b7ff;
}
#footer .dwf-footer-links a:hover,
#footer .dwf-footer-links a:focus-visible {
  color: #8fd0ff;
  padding-left: 4px;
}
#footer .footer-bottom {
  display: block;
  padding-top: 22px;
}
#footer .footer-bottom-logo { display: none; }
#footer .footer-bottom-content {
  float: none;
  width: 100%;
  text-align: center;
  color: #b8c9d9;
}
#footer .source-org { font-size: 13px; }
#footer .dwf-footer-copy { display: none; }
@media (max-width: 834px) {
  #footer.footer-container { margin-top: 40px; }
  #footer #footer-in { padding: 34px 18px 18px; }
  #footer .footer-widgets {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 28px;
  }
  #footer .footer-center,
  #footer .footer-right {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.14);
  }
  #footer .footer-title { font-size: 17px; }
  #footer .dwf-footer-links a { min-height: 44px; }
  #footer .footer-bottom { padding-top: 18px; }
}
