@charset "UTF-8";
:root {
  --header-color: #f39c12;
  --main-color: #65651a;
  --sub-color: #1d3676;
  --background: #ffe9c7;
  --header: var(--background);
}

/* =========================================
   リセットCSS & 基本設定
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  background-color: var(--background);
}

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

a {
  color: #444;
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  opacity: 0.5;
}

/* =========================================
 ヘッダー
========================================= */
header {
}

.header_space {
  background: var(--header);
  color: white;
  line-height: 1.3;
}

.header_visual {
}

.header_visual .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site_title {
  background-image: url(img/header.jpg);
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
}
.site_title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--header);
  opacity: 0.3;
  z-index: -1;
}
.site_title a {
  color: white;
  text-decoration: none;
  display: block;
}

.sitename {
  display: inline-block;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 3px 3px 2px var(--header-color), -3px -3px 2px var(--header-color), -3px 3px 2px var(--header-color), 3px -3px 2px var(--header-color), 0px 3px 2px var(--header-color),
    0-3px 2px var(--header-color), -3px 0 2px var(--header-color), 3px 0 2px var(--header-color);
}
.sitename::first-letter {
  font-size: 130%;
}

/* =========================================
 グローバルナビゲーション
========================================= */
/* 元のテーマからグローバルナビゲーションのスタイルを移植 */

/* PC用のスタイルは既存テーマに依存 */
@media screen and (min-width: 961px) {
  .gnavi {
    background: var(--main-color);
    color: white;
    line-height: 1.3;
    box-shadow: 0 2px 3px #0002;
  }
  .gnavi_list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .gnavi_list ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
  }
  .gnavi_list ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    transition: opacity 0.4s;
  }
}

/* スマホ版グローバルナビゲーション */
@media screen and (max-width: 960px) {
  .gnavi {
    display: block;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
  }

  .toggle {
    z-index: 12;
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    content: '';
    display: block;
    cursor: pointer;
    background: #888888cc;
  }

  .toggle:before,
  .toggle:after {
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: 25%;
    width: 50%;
    height: 5%;
    content: '';
    background-color: #ffffff;
    transition: all 0.6s ease-in-out;
  }

  .toggle.on:before,
  .toggle.on:after {
    top: 47%;
    left: 15%;
    width: 70%;
  }

  .toggle.on:before {
    transform: rotate(315deg);
  }

  .toggle.on:after {
    transform: rotate(-315deg);
  }

  .toggle:before {
    top: 30%;
  }

  .toggle:after {
    top: 60%;
  }

  .top .gnavi_list,
  .gnavi_list {
    position: fixed;
    right: -100%;
    width: 100%;
    transition: 0.6s;
    text-shadow: none;
  }

  .toggle.on + .gnavi_list {
    right: 0%;
  }

  .gnavi_list ul {
    display: block;
    padding: 0;
    background-color: #ffffff;
  }

  .gnavi_list ul li {
    display: block;
  }

  .gnavi_list li a {
    display: block;
    white-space: nowrap;
    width: 100%;
    text-align: left;
    text-overflow: ellipsis;
    padding: 0 15px 0 25px;
    line-height: 50px;
    color: var(--sub-color);
    background: #ffffff;
    overflow: hidden;
    font-weight: normal;
    border-bottom: 1px solid #dddddd;
    backface-visibility: #f2f2f2;
    font-size: inherit;
  }

  .gnavi_list li a:before {
    display: none;
  }

  .gnavi_list li:after {
    content: '';
    display: inline-block;
    position: absolute;
    left: 10px;
    width: 0;
    height: 0;
    margin-top: -30px;
    border-top: 4px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid var(--sub-color);
    background: transparent;
    opacity: inherit;
  }
}

/* =========================================
 パンくずリスト
========================================= */
.breadcrumb {
  padding: 15px 0;
}

.breadcrumb .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 13px;
}

.breadcrumb ol {
  list-style: none;
  align-items: center;
}

.breadcrumb li {
  display: inline;
  align-items: center;
}
.breadcrumb li:first-child a:before {
  font-family: 'Font Awesome 5 Free' !important;
  content: '\f015';
  padding-right: 0.5em;
  font-weight: bold;
}

.breadcrumb li:not(:last-child)::after {
  font-family: 'Font Awesome 5 Free' !important;
  content: '\f105';
  padding-right: 0.5em;
  font-weight: bold;
  padding-left: 0.5em;
  opacity: 0.6;
}

/* =========================================
 メインラッパー
========================================= */
.wrapper {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 30%;
  gap: 30px;
}

/* =========================================
 メインコンテンツエリア
========================================= */
.toppage.inner {
  margin-top: 40px;
}

/* =========================================
 記事一覧ページ
========================================= */

span.list_cate {
  position: absolute;
  background-color: var(--sub-color);
  border-radius: 31px;
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  line-height: 1;
  vertical-align: middle;
  top: 5px;
  left: 5px;
}
span.list_cate:before {
  font-family: 'Font Awesome 5 Free' !important;
  content: '\f07b';
  font-weight: bold;
  margin-right: 0.5em;
}
.articlecolumn .headline {
  margin-bottom: 30px;
  padding-left: 15px;
  border-left: 3px solid var(--sub-color);
}
.cate_read .headline:before {
  font-family: 'Font Awesome 5 Free' !important;
  content: '\f02d';
  font-weight: bold;
  margin-right: 0.5em;
  color: var(--main-color);
}
.article_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article_list > li > a {
  display: block;
  margin-bottom: 40px;
}

.article_list_detail {
  display: flex;
  gap: 25px;
  align-items: start;
}

.article_list_detail .img_wrap {
  position: relative;
  width: 240px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 1px 4px #0004;
}

.article_list_detail .img_wrap > dd {
  width: 100%;
  height: 200px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article_list_detail .img_wrap > dd > div {
  width: 100%;
  height: 100%;
}

.article_list_detail .img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.article_title {
  font-size: 18px;
  font-weight: bold;
}

.article_block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article_block .txt {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  display: block;
}

.ribbon-wrap {
  /* 既存のribbon関連のスタイルを維持 */
}

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

.articlecolumn,
.single_column {
  padding: 30px;
  background-color: #ffffff;
}

.single_column .heading {
  margin-bottom: 20px;
}

.headline {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
}

.single_column .cate a {
  background-color: var(--sub-color);
  border-radius: 31px;
  color: #fff;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1.2;
  vertical-align: middle;
  text-decoration: none;
  font-weight: bold;
}
.single_column .cate a:before {
  font-family: 'Font Awesome 5 Free' !important;
  content: '\f07b';
  font-weight: bold;
  margin-right: 0.5em;
}

.single_column .cate {
  display: flex;
  margin-top: 15px;
}

/* 記事本文のスタイル */
.single_column p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.single_column img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
}

.single_column a {
  color: var(--sub-color);
  text-decoration: underline;
  font-weight: bold;
}

.eyecatch {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 10px #0005;
}

.eyecatch:before {
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #444;
  position: absolute;
  opacity: 0.8;
}

.eyecatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: unset;
}

.eyecatch_txt {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
}
.eyecatch_head {
  font-size: 30px;
  line-height: 1.5;
  font-weight: 700;
  color: #ffffff;
}
.eyecatch_cate {
  background-color: #fff;
  border-radius: 31px;
  color: var(--main-color);
  padding: 5px 25px;
  font-size: 18px;
  line-height: 1.2;
  vertical-align: middle;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 3px 3px #fff4;
  margin-bottom: 20px;
}
.eyecatch_cate:before {
  font-family: 'Font Awesome 5 Free' !important;
  content: '\f02d';
  font-weight: bold;
  margin-right: 0.5em;
}
/* =========================================
 サイドバー
========================================= */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.side_list {
  overflow: hidden;
  margin-bottom: 25px;
  padding: 15px;
  background: #ffffff;
}

.parts_heading {
  font-size: 16px;
  font-weight: 700;
  padding-left: 15px;
  margin: 0 0 10px;
  border-left: 2px solid var(--sub-color);
}

.side_list .item {
  padding: 0;
}

.side_list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side_list li {
  border-bottom: 1px solid #e0e0e0;
}

.side_list li:last-child {
  border-bottom: none;
}

.side_list li > a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
}
.side_list li > a dt:before {
  font-family: 'Font Awesome 5 Free' !important;
  content: '\f07b';
  font-weight: bold;
  margin-right: 0.5em;
}
.side_list_detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.side_list_detail dt {
  flex: 1;
  font-weight: 500;
  line-height: 1.6;
  order: 2;
}

.side_list_detail dd {
  flex-shrink: 0;
  order: 1;
}

.side_list_detail .img {
  width: 100px;
  height: 60px;
  overflow: hidden;
}

.side_list_detail .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.golist {
  display: block;
  text-align: center;
  padding: 12px 0;
  color: var(--main-color);
  font-size: 14px;
  font-weight: 500;
  border-top: 1px solid #e0e0e0;
  text-align: left;
}
.golist:before {
  font-family: 'Font Awesome 5 Free' !important;
  content: '\f0a9';
  font-weight: bold;
  margin-right: 0.5em;
}

.profile {
  padding: 5px;
  background-color: #ffffff;
}

.profile_back {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  opacity: 0.4;
}
.profile_back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile_img {
  margin-top: -60px;
  width: 120px;
  height: 120px;
  margin-inline: auto;
  border-radius: 100px;
  overflow: hidden;
  border: 4px solid #ffffff;
  z-index: 1;
  position: relative;
}
.profile_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile_name {
  text-align: center;
  font-size: 14px;
  margin: 10px auto;
}
.profile_url {
  font-size: 12px;
}

/* =========================================
 フッター
========================================= */
.footer {
  background-color: white;
  padding: 20px 0;
  margin-top: 50px;
  text-align: center;
}

.footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer a {
  font-size: 14px;
}

.footer a:hover {
  opacity: 0.8;
}

/* ページトップボタン */
.pagetop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.pagetop a {
  display: block;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  border: 1px solid var(--sub-color);
  border-radius: 50%;
  position: relative;
}

.pagetop a:hover {
  transform: translateY(-3px);
}

.pagetop a::before {
  font-family: 'Font Awesome 5 Free' !important;
  content: '\f106';
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--sub-color);
  font-size: 24px;
  font-weight: bold;
  position: absolute;
}

/* =========================================
 ユーティリティクラス
========================================= */
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.box {
  /* 必要に応じてスタイルを追加 */
}

.btn-parent {
  /* 必要に応じてスタイルを追加 */
}

.title_dec {
  /* 必要に応じてスタイルを追加 */
}

.stripe_border {
  /* 必要に応じてスタイルを追加 */
}

.linepuls {
  /* 必要に応じてスタイルを追加 */
}

/* =========================================
 レスポンシブデザイン
========================================= */

/* スマートフォン (768px以下) */
@media (max-width: 768px) {
  /* レイアウト変更 */
  .wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 0 auto;
    padding: 0 15px;
  }
  .sidebar {
    order: 2;
  }
  .toppage.inner {
    margin-top: 20px;
  }

  .maincolumn {
    order: 1;
  }
  .articlecolumn,
  .single_column {
    padding: 15px;
    border: none;
  }

  /* ヘッダー */
  /* ヘッダー */
  .header_visual {
    padding: 0;
  }
  .header_visual .inner {
    padding: 0;
  }
  .site_title {
    height: 120px;
  }

  .sitename {
    font-size: 16px;
    padding: 0 15px;
  }

  .breadcrumb {
    padding: 10px 0;
  }
  .breadcrumb li:not(:last-child)::after {
    margin: 0 5px;
  }
  .breadcrumb .inner {
    padding: 0 15px;
  }

  /* メインコンテンツ */

  .single_column .heading {
    margin-bottom: 15px;
  }
  .headline {
    font-size: 20px;
  }
  .eyecatch {
    margin-bottom: 15px;
  }
  .eyecatch_cate {
    font-size: 12px;
  }
  .eyecatch_head {
    font-size: 15px;
  }
  /* 記事一覧ページ - スマホ */

  .articlecolumn .headline {
    margin-bottom: 20px;
  }
  .article_list > li a {
    padding: 0;
    margin-bottom: 20px;
  }

  .article_list_detail {
    gap: 10px;
    flex-direction: column;
  }

  .article_list_detail .img_wrap {
    width: 100%;
    aspect-ratio: 16 / 8;
  }

  .article_list_detail .img_wrap > dd {
    height: 180px;
  }

  .article_title {
    font-size: 16px;
  }

  .article_block .txt {
    font-size: 14px;
  }

  /* ページトップボタン */
  .pagetop {
    bottom: 20px;
    right: 20px;
  }

  .pagetop a {
    width: 45px;
    height: 45px;
  }

  .pagetop a::before {
    font-size: 20px;
  }
}
