@charset "UTF-8";
:root {
  --main-color: #de2915; /* メインカラー */
  --bg-color: #fff0ed; /* 背景色 */
  --font: '\f518'; /* アイコン */
}

/* =============================================
   リセット & ベーススタイル
   ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', Meiryo, sans-serif;

  font-size: 16px;
  line-height: 1.8;
  color: #333;
  /* background-color: #f8f9fa; */
}

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

a {
  color: var(--main-color);
  text-decoration: none;
  transition:opacity 0.4s;
}

a:hover {
  opacity: 0.6;
}

/* =============================================
	 ヘッダー
	 ============================================= */
#header {
  background: #ffffff;
  color: white;
  padding: 20px;
}

#header .site-title,
#header #site-title {
  max-width: 960px;
  margin: 0 auto;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease;
  display: flex;
  font-size: inherit;
  line-height: 1.1;
}

#header .site-title a,
#header #site-title a {
  color: #333;
  position: relative;
  height: 30px;
  display: flex;
  align-items: center;
  padding-left: 40px;
  font-size: 14px;
}
#header .site-title a::first-letter,
#header #site-title a::first-letter {
  font-size: 130%;
}

#header #site-title a:before,
#header .site-title a:before {
  font-family: 'Font Awesome 5 Free' !important;
  content: var(--font);
  font-weight: bold;
  position: absolute;
  color: var(--main-color);
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  line-height: 1;
}
#header .site-title a:hover,
#header #site-title a:hover {
  text-decoration: none;
}

#header .site-title a span,
#header #site-title a span {
	/* padding: 5px; */
	/* background: var(--bg-color); */
	/* border-radius: 100px; */
	/* padding: 0px 15px; */
	/* display: block; */
}

#header .site-title a span::first-letter,
#header #site-title a span::first-letter {
  font-size: 130%;
  color: var(--main-color);
}
}
/* =============================================
	 メインラッパー
	 ============================================= */
#wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#main,
#container {
  flex: 1;
}

/* =============================================
	 コンテンツエリア（共通）
	 ============================================= */
#primary,
#content {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 20px 2rem;
}
/* =============================================
	 パンくずナビゲーション & ロケーション
	 ============================================= */
.breadcrumbs,
#breadcrumbs {
  /* background-color: white; */
  /* padding: 1rem 1.5rem; */
  border-radius: 8px;
  margin-bottom: 40px;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
  font-size: 0.9rem;
}

#breadcrumbs ol {
  list-style: none;
  /* display: flex; */
  /* flex-wrap: wrap; */
  /* align-items: center; */
  font-size: 0.8em;
}

#breadcrumbs ol li {
  color: #666;
  display: inline;
}

#breadcrumbs ol li:after {
  content: '›';
  margin: 0 5px;
  color: #999;
}

#breadcrumbs ol li:last-child:after {
  content: '';
  margin: 0;
}

.breadcrumbs a,
#breadcrumbs a {
  color: #666;
  margin: 0 8px;
}

.breadcrumbs a:first-child,
#breadcrumbs a {
  margin-left: 0;
}

#location {
  /* margin-bottom: 20px; */
}

#current-location {
  /* background-color: white; */
  /* padding: 2rem; */
  /* border-radius: 8px; */
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
  /* margin-top: 1rem; */
}


/* =============================================
	 記事詳細ページ
	 ============================================= */

.page-title {
  background: var(--bg-color);
  position: relative;
  z-index: 0;
  box-shadow: inset 0 0 10px rgb(from var(--main-color) r g b / 0.05);
  color: #333;
  line-height: 1.4;
}
.page-title::before {
  /* content: ''; */
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom: 10vw solid rgb(from var(--main-color) r g b / 0.05); /* 三角を白にする */
  border-left: 100vw solid transparent;
  z-index: -1;
}

.page-title .title {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 20px;
  line-height: 1.4;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.page-title .title:before {
  font-family: 'Font Awesome 5 Free' !important;
  content: var(--font);
  font-weight: bold;
  margin-right: 5px;
  position: absolute;
  z-index: -1;
  color: rgb(from var(--main-color) r g b / 0.1);
  font-size: 200px;
  left: 0;
}
.page-title .title .cate {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.5em;
}
.page-title .title .head {
  display: block;
  color: var(--main-color);
  font-size: 1.75rem;
}

#content article {
  /* background-color: white; */
  /* padding: 2rem; */
  border-radius: 12px;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07); */
}

.entry-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  line-height: 1.4;
}

.entry .category {
    display: flex;
    margin-bottom:20px;
}
.entry .category a {
    background-color: #eee;
    border-radius: 20px;
    color: #333;
    padding: 5px 20px;
    font-size: 0.8rem;
    line-height: 1.2;
    vertical-align: middle;
    text-decoration: none;
    vertical-align: middle;
}

.entry-content {
  /* margin-top: 2rem; */
}

.entry-content p {
  margin-bottom: 1rem;
  color: #333;
}

.entry-content img {
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
  max-width: 500px;
}

/* =============================================
	 記事一覧ページ
	 ============================================= */
.article-list {
  list-style: none;
  display: grid;
}

.article-list li {
  background-color: white;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-list li a {
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
  padding-left: 220px;
  min-height: 180px;
  padding-right: 40px;
  position: relative;
  padding: 30px 40px 30px 220px;
  border-top: 1px solid #eee;
}
.article-list li:last-child a {
	border-bottom: 1px solid #eee;
}
.article-list li a:before {
    font-family: 'Font Awesome 5 Free' !important;
    content: "\f138";
    font-weight: bold;
    position: absolute;
    color: var(--main-color);
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    font-size: 25px;
}

.article-list li a:hover {
  text-decoration: none;
}

/* 記事一覧のサムネイル */
.catch_that_image {
  overflow: hidden;
  position: absolute;
  left: 0;
  width: 200px;
  border-radius: 7px;
  height: 120px;
}

.catch_that_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}


/* 記事一覧のヘッダー */
.article-list .entry-header {
}

.article-list .entry-title {
  font-size: 1.2rem;
  color: #333;
  margin: 0;
  padding: 0;
  border: none;
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 10px;
}

/* 記事一覧の要約 */
.entry-summary {
  /* padding: 0 1.5rem 1.5rem; */
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* =============================================
	 フッター（カテゴリ一覧エリア）
	 ============================================= */
#footer {
  background: #f4f4f4;
}

#secondary {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 20px 4rem;
  display: grid;
  gap: 20px 50px;
  grid-template-columns: 1fr 1fr;
}

#secondary nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.widget:last-child {
  margin-bottom: 0;
}

.widget-title a {
  padding: 15px 10px 15px 1.5em;
  border-bottom: 2px solid rgb(from var(--main-color) r g b / 0.5);
  display: block;
  color: #333;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  line-height: 1.1;
  position: relative;
  margin-bottom: 20px;
}

.widget-title a::before {
    font-family: 'Font Awesome 5 Free' !important;
    content: "\f138";
    font-weight: bold;
    position: absolute;
    color: var(--main-color);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

.widget ul {
  list-style: none;
}

.widget li {
}

.widget li a {
  display: block;
  color: #333;
  font-size: 0.95rem;
  display: block;
  line-height: 1.1;
  padding: 0;
  margin-bottom: 20px;
}
.widget li:last-child a {
	margin-bottom: 0;
}

/* コピーライト */
#copyright {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1.5rem 20px;
}

#copyright .copyright {
  font-size: 0.9rem;
  color: #ecf0f1;
}

/* =============================================
	 レスポンシブ対応
	 ============================================= */
@media (max-width: 768px) {
  #header .site-title,
  #header #site-title {
    font-size: 0.75rem;
  }
  #header {
    padding: 10px 15px;
  }
  #header .site-title a, #header #site-title a {
    padding-left: 25px;
  }
  #header #site-title a:before,
  #header .site-title a:before {
	font-size: 20px;
  }
  .page-title .title {
	min-height: auto;
  }
  .page-title .title .cate {
	font-size: 0.8rem;
  }
  .page-title .title .head {
	font-size: 1.25rem;
  }
  .page-title .title:before {
	display: none ;
  }
  
  #primary,
  #content {
	padding-inline:15px;
  }

  #content article {
    padding: 0;
  }

  .entry-title {
    font-size: 1.5rem;
  }

  .entry-content p {
    font-size: 1rem;
  }

  /* 記事一覧のグリッド調整 */
  .article-list {
	gap: 10px;
	grid-template-columns: 1fr 1fr;
  }

  #secondary nav {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .breadcrumbs,
  #breadcrumbs {
    font-size: 0.85rem;
	margin-bottom: 15px;
  }

  #secondary {
    grid-template-columns: 1fr;
	padding: 1em 15px 2em;
  }
	.article-list li a {
		padding: 0;
		margin-bottom: 20px;
		border: none;
	}
	.article-list li a:before {
		display: none;
	}
	.catch_that_image {
		position: relative;
	}
	.article-list li:last-child a {
		border: none;
		margin: 0;
	}
	.catch_that_image {
	  width: 100%;
	  aspect-ratio: 16 / 9;
	  overflow: hidden;
	  height: auto;
	  margin-bottom: 10px;
	}
  
	.article-list .entry-title {
	  /* margin: 0; */
	  font-size: 1em;
	}
  
	.entry-summary {
	  padding: 0;
	  font-size: 0.8rem;
	}
}


/* =============================================
	 ユーティリティクラス
	 ============================================= */
.clear {
  clear: both;
}

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
}

/* 画像の読み込み前のプレースホルダー */
img[src=''],
img:not([src]) {
  background-color: #e9ecef;
}
