@charset "UTF-8";

/* ------------------------------
   基本設定
------------------------------ */
:root {
  --c-text: #222;
  --c-muted: #444;
  --c-border: #e5e5e5;
  --c-callout-bg: #f8f8f8;
  --radius-lg: 24px;
  --content-w: min(100%, 784px);
  /* 本文幅 */
}

.c-global-nav {
  background-color: #403D37;
}

.p-single {
  padding-bottom: 80px;
  margin: 24px auto 0 auto;
  width: var(--content-w);
  font-size: 16px;
  line-height: 1.5;
}

.c-global-nav-ul > li > a span {
  color: #fff;
}

/* 段落 */
.p-text {
  margin: 18px 0 28px;
}

@media screen and (max-width: 768px) {
  #contents {
    padding-left: calc(16/375*100vw);
    padding-right: calc(16/375*100vw);
  }

  /**はみ出す**/
  .p-cate-img {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: calc(100% + 32 / 375 * 100vw);
    max-width: calc(100% + 32 / 375 * 100vw);
  }

}

@media (min-width: 769px) {
  #contents {
    width: 1200px;
  }

  #contents > article {
    width: 785px;
    float: left;
  }

  #sub-column {
    margin-right: 0;
    float: right;
    width: 312px;
  }

}

article h1.p-single-title{
  padding: 24px 0 0 0;
  margin-top: 28px;
  border-top: var(--border);
  font-size: 24px;
  font-weight: var(--bold);
  line-height: 1.8;

}
article h1.c-title{
  padding-left: 0;
  border-top:none;

}
.p-single-data-time,
.p-single-data-rtime {
  font-size: 14px;
}

.p-single-data-rtime {
  margin-left: 16px;
}

.p-single-data-time:before,
.p-single-data-rtime:before {
  margin-right: 4px;
  font-family: "Font Awesome 6 Free";
  font-size: 12px;
}

.p-single-data-time:before {
  content: "\f017";
  font-weight: 500;
}

.p-single-data-rtime:before {
  content: "\f021";
  font-weight: 900;
}

@media (min-width: 769px) {
  #bread-crumb {
    margin: 0 0 28px 0px;
  }
}

.p-single-tag {
  gap: 4px;
}

.p-single-tag a {
  padding: 8px;
  display: block;
  background-color: var(--c-muted);
  color: #fff;
  font-size: 12px;
}

@media screen and (max-width: 768px) {
  article h1.p-single-title {
    padding: calc(24 / 375 *100vw) 0 0 0;
    margin-top: calc(24 / 375 *100vw);
    font-size: calc(20 / 375 *100vw);

  }

  .p-single-data-time,
  .p-single-data-rtime {
    font-size: calc(12 / 375 *100vw);
  }

  .p-single-data-rtime {
    margin-left: calc(16 / 375 *100vw);
  }

}

/* ------------------------------
   目次
------------------------------ */
#toc_container {
  padding: 50px 48px;
  margin: 96px auto 48px auto;
  background: var(--sub-color);
  font-size: 16px;
  position: relative;
}

#toc_container:before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  top: -48px;
  background: #E6E6E6;
}

.toc_title {
  margin: 0 0 6px;
  font-weight: var(--bold);
}

.toc_list {
  margin: 0;
  font-size: 1em;
}

.toc_list li {
  margin-top: 1em;
  padding-left: 1.1em;
  position: relative;
  font-weight: var(--bold);
  font-size: 1em;
}

.toc_list li:before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

@media screen and (max-width: 768px) {
  #toc_container {
    padding: calc(56 / 375 *100vw) calc(32 / 375 *100vw);
    margin: calc(64 / 375 *100vw) calc(50% - 50vw) calc(64 / 375 *100vw) calc(50% - 50vw);
    font-size: calc(16 / 375 *100vw);
  }

  #toc_container:before {
    content: none;
  }

  .toc_title {
    margin: 0 0 6px;
    font-weight: var(--bold);
  }

  .toc_list {
    margin: 0;
    font-size: 1em;
  }

  .toc_list li {
    margin-top: 1em;
    padding-left: 1.1em;
    position: relative;
    font-weight: var(--bold);
    font-size: 1em;
  }

  .toc_list li:before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
  }
}

/* ------------------------------
   見出し
------------------------------ */
.p-single h2 {
  font-size: 24px;
  font-weight: var(--bold);
  letter-spacing: .05em;
  margin: 50px 0 30px 0;
  padding-bottom: 4px;
  border-bottom: 6px solid #D2D2D2;
  line-height: 1.5;
  /* 太めの下線 */
}

.p-single h2:after {
  margin-top: 10px;
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #D2D2D2;
}

.p-single h3 {
  font-size: clamp(16px, 2.0vw, 20px);
  font-weight: var(--bold);
  margin: 54px 0 16px;
  padding: 14px 0 10px;
  border-top: var(--border);
  border-bottom: var(--border);
}

.p-single h2 + p,
.p-single h3 + p,
.p-single h4 + p {
  padding-left: 1em;
  padding-right: 1em;
}

.p-h3_1 {
  padding-left: 1em;
  padding-right: 1em;
  margin-top: 50px;
  margin-bottom: 30px;
  font-weight: var(--bold);
}

@media screen and (max-width: 768px) {
  .p-single h2 {
    font-size: calc(20 / 375 *100vw);
    margin: calc(64 / 375 *100vw) 0 calc(20 / 375 *100vw) 0;
  }

  .p-single h2:after {
    margin-top: calc(10 / 375 *100vw);
  }

  .p-single h3 {
    margin: calc(64 / 375 *100vw) 0 calc(20 / 375 *100vw);
    padding: calc(12 / 375 *100vw) 0;
    border-top: none;
    font-size: calc(16 / 375 *100vw);
  }

  .p-single h2 + p,
  .p-single h3 + p,
  .p-single h4 + p {
    padding-left: 0;
    padding-right: 0;
  }

  .p-h3_1 {
    padding-left: 0;
    padding-right: 0;
    margin-top: calc(64 / 375 *100vw);
    margin-bottom: calc(20 / 375 *100vw);
  }
}

/* ------------------------------
   角丸の強調ボックス
------------------------------ */
.p-callout {
  padding: 20px 22px;
  margin: 50px 0 30px 0;
  border: var(--border);
  border-radius: var(--radius-lg);
}

.p-callout + p {
  padding-left: 1em;
  padding-right: 1em;
}

.p-callout__title {
  margin: 0;
  font-weight: var(--bold);
}

@media screen and (max-width: 768px) {
  .p-callout {
    padding: calc(12 / 375 *100vw) calc(16 / 375 *100vw);
    margin: calc(64 / 375 *100vw) 0 calc(20 / 375 *100vw) 0;
    border-radius: 4px;
  }

  .p-callout + p {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ------------------------------
   sns
------------------------------ */

.sns__container {
  margin-left: auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  gap: 0 16px;
}

.sns__container a {
  text-decoration: none;
  width: 100%;
  text-align: center;
  color: #000;
  font-size: 20px;
  max-width: 180px;
}

.sns__container a img {
  width: 23px;
  max-width: 100px;
  vertical-align: middle;
}

.sns__container a:hover {
  opacity: 0.6;
}

.sns__container input {
  border: none;
  box-shadow: none;
  background-color: transparent;
}

.sns__copy {
  position: relative;
  padding-left: 25px;
}

.sns__copy:before {
  content: "\f0c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 20px;
}

/*.sns__twitter {
  background: #55acee;
}

.sns__facebook {
  background: #3b5998;
}

.sns__pocket {
  background: #ef3f56;
}

.sns__line {
  background: #1dcd00;
}*/
.p-single-bottom .sns__container {
  margin-left: 0;
  margin-right: auto;
  margin-bottom: 80px;
}

@media screen and (max-width: 768px) {
  .sns__container {
    width: 100%;
  }

  .sns__container a {

    max-width: 40px;
  }
}

/* ------------------------------
   筆者情報
------------------------------ */
.p-author {
  padding: 40px 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  background: var(--sub-color);
}

.p-author__icon {
  margin-right: 8px;
  width: 144px;
  height: 144px;
  border-radius: 50%;
  background: #ccc;
  aspect-ratio: 1 / 1;
  -o-object-fit: cover;
  object-fit: cover;
}

.p-author__label {
  font-weight: var(--bold);
  color: #B27A0D;
  margin: 0;
}

.p-author__name {
  margin: 4px 0 12px;
  padding-bottom: 12px;
  font-weight: var(--bold);
  border-bottom: var(--border);
}

.p-author__desc {
  line-height: 1.8;
  margin: 0;
  font-weight: var(--bold);
}

@media screen and (max-width: 768px) {
  .p-author {
    padding: calc(40 / 375 *100vw) calc(30 / 375 *100vw);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    gap: 0 6%;
  }

  .p-author__icon {
    margin-right: 0;
    width: 28%;
    height: auto;
  }

  .p-author__body {
    width: 76%;
  }
}

/* ------------------------------
   関連記事
------------------------------ */
.p-related {
  margin: 60px 0 80px;
}

.p-related .c-title,
.p-keyword .c-title {
  padding-left: 0;
}

.p-related__title {
  font-size: 24px;
  font-weight: var(--bold);
  margin: 0;
}

.p-related__sub {
  color: var(--c-gray);
  margin: 4px 0 24px;
}

.p-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
  gap: 28px;
}

.p-related__item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  gap: 22px;
  padding-bottom: 20px;
}

.p-related__item img {
  width: 220px;
  aspect-ratio: 220 / 140;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 4px;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

.p-related__content {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}

.p-related__tags {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.p-related__tag {
  display: inline-block;
  background: var(--c-muted);
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
}

.p-related__date {
  font-size: 12px;
  margin: 0 0 8px;
}

.p-related__heading {
  padding-top: 12px;
  margin: 8px 0 8px;
  border-top: var(--border);
  font-weight: var(--bold);
}

.p-related__text {
  margin: 0;
  color: var(--c-muted);
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  .p-related {
    margin: calc(60 / 375 *100vw) 0;
  }


  .p-related__title {
    font-size: calc(16 / 375 *100vw);
  }

  .p-related__list {

    gap: calc(16 / 375 *100vw) 0;
  }

  .p-related__item {
    display: block;
  }

  .p-related__item img {
    width: 100%;
  }

  .p-related__content {
    margin-top: calc(16 / 375 *100vw);
    width: 100%;
  }

}

/* ------------------------------
   関連キーワード
------------------------------ */
.p-keyword {
  margin: 80px 0;
}

.p-keyword__title {
  font-size: 24px;
  font-weight: var(--bold);
  margin: 0;
}

.p-keyword__sub {
  color: var(--c-gray);
  margin: 4px 0 24px;
}

.p-keyword__list {
  list-style: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.p-keyword__list a {
  display: inline-block;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 8px 18px;
  text-decoration: none;
  color: var(--c-text);
  transition: all .2s;
}

.p-keyword__list a:hover {
  background: #f0f0f0;
}

@media screen and (max-width: 768px) {
  .p-keyword {
    margin: calc(60 / 375 *100vw) 0;
  }

  .p-keyword__title {
    font-size: calc(16 / 375 *100vw);
  }

  .p-keyword__list {
    gap: calc(8 / 375 *100vw) 0;
  }
  .p-keyword__list li{
    width: 100%;
  }

  .p-keyword__list a {
    padding: calc(8 / 375 *100vw);
    width: 100%;
    display: block;
    text-align: center;
  }
}

footer {
  margin-top: 80px;
}

/* ------------------------------
   side
------------------------------ */
.c-side-category li a {
  padding: 16px 0;
  display: block;
  border-bottom: var(--border);
}

.c-side-category li:last-child a {
  border: none;
}

.c-side-category ul {
  border-top: var(--border);
}

.c-side-category,
.c-side-reco {
  margin-bottom: 80px;
}

.c-side-reco ul {
  padding-top: 32px;
  border-top: var(--border);
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 24px 0;
}

.c-side-reco .p-related__item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0 4%;
  width: 100%;
}

.c-side-reco .p-related__item > a {
  width: 30%;
  display: block;
}

.c-side-reco .p-related__content {
  width: 66%;
}

.c-side-reco .p-related__item .p-related__heading {
  padding-top: 8px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
@media screen and (max-width: 768px) {
  #sub-column .freeArea2 .free-contents .c-side-category li{
    padding: 0 ;
    text-align: center;
    border: none;
  }
  #sub-column .freeArea2 .free-contents .c-side-reco li{
    padding: 0  calc(16 / 375 *100vw);
    border: none;
  }
      #sub-column .p-related__content {
        margin-top: 0;
    }
  #sub-column .c-side-category ul,
  #sub-column .c-side-reco ul{
    border: none;
  }
  
}
/* ------------------------------
   p-article
------------------------------ */
.p-article{
  
}
.p-pagination .Flex{
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  gap:0 16px;
}
.p-pagination li{
  overflow: hidden;
  position: relative;
}
.p-pagination li a{
  color: #B4B4B4;
  display: block;
}
.p-pagination li a,
.p-pagination li.p-pagination-current{
  border: var(--border);
  width: 40px;
  height: 40px;
  line-height: 38px;
  border-radius: 50%;
  text-align: center;
}
.p-pagination li.p-pagination-prev a,
.p-pagination li.p-pagination-next a{
  color: #fff;
  background-color: var(--brown);
  border: none;
}
.p-pagination li.p-pagination-current{
  border: 1px solid var(--brown);
  
}
.p-pagination--:before{
  content: "";
  width: 24px;
  height: 1px;
  background-color: #000;
  display: block;
  
}
@media screen and (max-width: 768px) {
.p-pagination .Flex{
  gap:0 calc(8 / 375 *100vw);
}
}