@charset "UTF-8";
/* -----------------------------------------------------------

共通スタイル

----------------------------------------------------------- */
/*-------------------------------------------
custom property
-------------------------------------------*/
:root {
  --fz11: 0.6875rem;
  --fz12: 0.75rem;
  --fz14: 0.875rem;
  --fz15: 0.9375rem;
  --fz16: 1rem;
  --fz18: 1.125rem;
  --fz20: 1.25rem;
  --fz22: 1.375rem;
  --fz24: 1.5rem;
  --fz26: 1.625rem;
  --fz28: 1.75rem;
  --fz30: 1.875rem;
  --fz32: 2rem;
  --fz34: 2.125rem;
  --fz36: 2.25rem;
  --fz38: 2.375rem;
  --fz40: 2.5rem;
  --fz42: 2.625rem;
  --fz44: 2.75rem;
  --fz46: 2.875rem;
  --color-bg: #fff;
  --color-text: #333;
  --color-main: #cd312c;
  --color-base: #f2f2f2;
  --color-blue: #00479d;
  --color-base-pink: #faeae9;
  --color-muted: #666;
  --gap: 16px;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  --muted: 0.7;
}
/*-------------------------------------------
reset & common
-------------------------------------------*/
html {
  font-size: 100%;
  overflow-x: hidden;
}
body {
  font-family: "Jost", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  background: white;
  color: #333;
  word-wrap: break-word;
  font-feature-settings: "palt";
}
h1,
h2,
h3,
h4,
h5,
h6,
th {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font-weight: normal;
  vertical-align: baseline;
  background: transparent;
  word-wrap: break-word;
}
figure {
  text-align: center;
}
figcaption {
  line-height: 1.4;
  margin: 0.25em 0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
a {
  text-decoration: none;
  color: var(--color-black);
  opacity: 1;
  transition: 0.3s;
}
/*ホバーアクションはPCデバイスのみ適用*/
@media (hover: hover) and (pointer: fine) {
  a:hover {
    opacity: 0.6;
  }
}
li {
  list-style: none;
}
address {
  font-style: normal;
}
/* 強調テキスト */
em {
  font-style: normal;
  color: var(--color-main);
  font-weight: bold;
}

/* ========== パンくず ==========\ */
.c-breadcrumbs {
  margin: 0 0 1rem;
}
.c-breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.c-breadcrumbs li {
  font-size: 0.9rem;
  color: #555;
}
.c-breadcrumbs li + li::before {
  content: "›";
  margin: 0 0.25rem;
  color: #999;
}
.c-breadcrumbs a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.c-breadcrumbs a:hover {
  border-bottom-color: currentColor;
}

/* ========== TOP用：最新3件リスト（ブログ/news 共通） ==========\ */
.c-list,
.c-newsList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--gap);
}
@media (min-width: 900px) {
  .c-list,
  .c-newsList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* 1カラム（スマホ） */
.c-list li,
.c-newsList li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}
.c-list li.no-thumb,
.c-newsList li.no-thumb {
  padding: 12px;
}

/* 2カラム（サムネ左・テキスト右） */
@media (min-width: 640px) {
  .c-list li,
  .c-newsList li {
    grid-template-columns: 160px 1fr;
  }
}
.c-list__thumb img,
.c-newsList__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
}

.c-list__meta a,
.c-newsList__meta a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}
.c-list time,
.c-newsList time {
  display: inline-block;
  margin-right: 0.5em;
  opacity: var(--muted);
  font-feature-settings: "palt";
}
.c-list__title span,
.c-newsList__title span {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}
.c-list a:hover span,
.c-newsList a:hover span {
  text-decoration: underline;
}

/* ========== /blog/news/ の一覧テンプレ（archive-news.html）向け ========== */
/* WordPressは body に post-type-archive-news クラスを付けます */
.post-type-archive-news .wp-block-query .wp-block-post-template {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--gap);
}
.post-type-archive-news .wp-block-query .wp-block-post-template > li {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}
@media (min-width: 640px) {
  .post-type-archive-news .wp-block-query .wp-block-post-template > li {
    grid-template-columns: 160px 1fr;
  }
}
.post-type-archive-news .wp-block-post-featured-image {
  border-radius: 8px;
  overflow: hidden;
}
.post-type-archive-news .wp-block-post-featured-image img {
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  width: 100%;
}
.post-type-archive-news .wp-block-post-date {
  opacity: var(--muted);
  margin: 0.1rem 0 0.25rem;
}
.post-type-archive-news .wp-block-post-title a {
  text-decoration: none;
  font-weight: 600;
}
.post-type-archive-news .wp-block-post-title a:hover {
  text-decoration: underline;
}
.post-type-archive-news .wp-block-query-pagination {
  margin-top: 1rem;
}

/* ========== /blog/news/ の個別（single-news.html）向け（控えめ） ========== */
.single-news .wp-block-post-featured-image {
  border-radius: 12px;
  overflow: hidden;
  margin: 0.5rem 0 1rem;
}
.single-news .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}
.single-news .wp-block-post-date {
  opacity: var(--muted);
  margin: 0.25rem 0 1rem;
}

/* === news: シンプル行 === */
.c-newsList--simple {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}
.c-newsList--simple .c-newsList__row {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  border-bottom: 1px solid #ececec;
}
.c-newsList--simple .c-newsList__row:last-child {
  border-bottom: 0;
}
.c-newsList--simple time {
  opacity: 0.7;
  margin-right: 0.6em;
  font-feature-settings: "palt";
}
.c-newsList--simple .c-newsList__title {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}
.c-newsList--simple .c-newsList__title span {
  font-weight: 600;
}
.c-newsList--simple .c-newsList__title:hover span {
  text-decoration: underline;
}

/* === header footer === */
.l-header,
.l-footer {
  background: #eee;
}
.l-header__inner,
.l-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.site-logo {
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}
.site-nav a {
  margin-left: 14px;
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
}
.site-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}
/* 現在地ハイライト */
.site-nav a.is-current {
  font-weight: 700;
  text-decoration: underline;
}
