main{
  background-color: var(--gray-1);
}
/* category-top */
.category-top-block {
  padding-bottom: calc(var(--gap-base) * 3);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.category-top--ttl {
  text-align: center;
  font-weight: 500;
line-height: 1.4;
  font-size: clamp(2rem, calc((28/ 390) * 100vw),4rem);
  margin-top: -16px;
  padding-top: calc(var(--gap-base) * 4);
  padding-bottom: calc(var(--gap-base) * 3);
}

.category-top--ttl span {
  font-weight: 400;
  display:inline-block;
  font-size: clamp(1.4rem, calc((20/ 390) * 100vw), 3.4rem);
  position: relative;
}

.category-top--ttl span::after {
  content: '';
  position: absolute;
  right: -1.4em;
  bottom: -2em;
  transform: translateY(-50%);
  width: 4.5em;
  height: 2em;
  background: url(/assets/common/imgs/deco-pencilline.png) no-repeat center / contain;
}

.category-top-body{
  padding-top: calc(var(--gap-base) * 2);
}
.category-top-body + .category-top-body{
  margin-top: calc(var(--gap-base) * 3);
}
.category-top-card {
  justify-content: space-between;
  gap: calc(var(--gap-base) * 2) var(--gap-base);
}



/* article */
.article-body {
  padding-bottom: calc(var(--gap-base) * 2);

}

.article-bg {
  background: var(--gray-2);
}
.article--ttl-block{
  background-color: #EFF1FC;
  margin-bottom: var(--gap-x2);
}
.article--ttl {
  font-size:var(--ttl-type02);
  line-height: var(--line-heading);
  font-weight: 500;
  text-align: center;
  min-height: 129px;
  display: grid;
  place-content: center;
  padding: var(--gap-base) 0;
}

.article--ttl span {
  position: relative;
  display: inline-block;
  padding-left:2.2em;
}

.article--ttl span::before {
  content: '';
  position: absolute;
  left:0;
  top: 50%;
  transform: translateY(-50%);
  width: 2em;
  height:2em;
  background: url(/assets/common/imgs/icon-article-ttl.svg) no-repeat center / contain;
}

.article--kv {
  width: 100%;
  max-width: 780px;
  margin: 0 auto calc(var(--gap-base) * 2);
}

.article--kv>img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.33 / 1;
  object-fit: cover;
}

.article--kv figcaption {
  color: var(--tag-blue);
  font-size: var(--font-txt-xs);
  font-weight: 500;
}

.article--kv figcaption {
  margin-top: 4px;
  text-align: right;
}

.article--kv figcaption span+span {
  margin-left: 20px;
}

.article--kv figcaption span::before {
  content: '#';
  display: inline;
}

.article-body article:not(:nth-of-type(1)) {
  margin-top: var(--gap-x3);
}

.article--txtbox {
  width: 100%;
  max-width: 780px;
  font-size: var(--font-txt-m);
  line-height: 2;
  margin-left: auto;
  margin-right: auto;
}

.article--txtbox .txt+.txt {
  margin-top: calc(var(--gap-base) * 2);
}



.hd--type01 {
  width: 100%;
  margin: 0 auto 20px;
  text-align: center;
  font-size:var(--ttl-type03);
  font-weight: 500;
  background-color: #fff;
  background-image: linear-gradient(to right, rgba(171, 213, 255, 0.42) 1px, transparent 1px), linear-gradient(to bottom, rgba(171, 213, 255, 0.42) 1px, transparent 1px);
  background-size: 21px 21px;
  box-shadow: 2px 3px 4px 0px rgba(0, 0, 0, 0.15);
  padding: var(--gap-base) 0 calc(var(--gap-base) * 1.1);
}
.hd--type01 .marker {
  background: linear-gradient(to right, #F4FE76 0%, #F4FE76 10%, #F9FEAE 14%, #F9FEAE 80%, #FAFEA9 100%);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 30%;
}
.hd--type01 .marker.--blue{
   background: linear-gradient(to right, #9FBDF6 0%, #9FBDF6 1%, #AFC5F6 2%, #CBD4F6 6%, #CBD4F6 80%,#d7def9 82%,#d7def9 100%); 
     background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 30%;
}




/* auther */
.auther-box {  width: 774px;
  margin: var(--gap-x3) auto;
  display: grid;
  grid-template-columns: minmax(0, 138px) auto auto;
  grid-template-rows: auto auto;
  gap: 10px 32px;
  grid-template-areas:
    "auther--ph auther--name"
    "auther--ph auther--txt";
}

.auther--ph {
  justify-self: center;
  align-self: center;
  grid-area: auther--ph;
}

.auther--name {
  justify-self: start;
  align-self: start;
  grid-area: auther--name;
  font-weight: 500;
  font-size: var(--font-txt-m);
}
.auther--name span{
font-size: var(--font-txt-s);
}
.auther--txt {
  justify-self: start;
  align-self: stretch;
  grid-area: auther--txt;
font-size: var(--font-txt-s);
  position: relative;
  padding-top: 12px;
}

.auther--txt::before {
  content: '';
  background: url(/assets/common/imgs/deco-rough-pencil.svg) 0 0 no-repeat;
  position: absolute;
  right: 0;
  top: -40px;
  width: 42px;
  height: 50px;
  background-size: contain;
}

.auther--txt::after {
  content: '';
  background: url(/assets/common/imgs/deco-roughdotline.svg) 0 0 repeat-x;
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 42px);
  height: 4.7px;
  background-size: 27px auto;
}



/* 関連記事 */
.related-inner {
  padding-bottom: calc(var(--gap-base) * 1.2);
}

.related--ttl {
  font-weight: 500;
  text-align: center;
  position: relative;
  padding-top:60px;
  font-size: var(--ttl-type02);
}

.related-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.--acetobacter {
  background-color: #EFF1FC;
  background-image:
    repeating-linear-gradient(to bottom,
      transparent 0px,
      transparent 49px,
      #C3C9D7 50px,
      transparent 51px),
    linear-gradient(to bottom, #C3C9D7 3px, transparent 3px);
  }


.related-card {
  gap: var(--gap-base) var(--gap-x2-5);
  margin-top: var(--gap-base);
}


@container contetns-container (width <=768px) {
.article--txtbox {
  font-size: var(--font-base);
}
.article--ttl {
  font-size:calc((20 / 390) * 100vw);
}
.hd--type01 {
  font-size:calc((18 / 390) * 100vw);
}
.category-top-card {
    gap: var(--gap-base);
  }
.article--ttl {
  min-height: auto;
  text-align: left;
}
.article--txtbox {
  width: 90%;
}


.auther-box { 
  width: 100%;
  display: grid;
  grid-template-columns:minmax(0, 21vw) auto;
  grid-template-rows: auto auto;
  gap: 3vw 2vw;
  grid-auto-flow: row;
  grid-template-areas:
    "auther--ph auther--name"
    "auther--txt auther--txt";
  margin-bottom:0;
}

.auther--ph {
  justify-self: start;
  align-self: start;
  grid-area: auther--ph;
}

.auther--name {
  justify-self: start;
  align-self: start;
  grid-area: auther--name;
  font-size: var(--font-base);
}

.auther--txt {
  justify-self: start;
  align-self: start;
  grid-area: auther--txt;
  padding-top: calc((12 / 390) * 100vw);
}

.auther--txt::before {
  top: -10vw;
  width: 10.76vw;
  height: 12vw;
}

.auther--txt::after {
  width: calc(100% - 10vw);
  height:1.2vw;
  background-size: 4.5vw auto;
}


.related--ttl {
    padding-top: calc(var(--gap-base) * 4.5);
    padding-bottom: var(--gap-base);
    font-size: var(--font-txt-xl);
}

.--acetobacter {
  background-image:
    repeating-linear-gradient(to bottom,
      transparent 0px,
      transparent calc((39 / 390) * 100vw),
      #C3C9D7 calc((40 / 390) * 100vw),
      transparent calc((41 / 390) * 100vw)),
    linear-gradient(to bottom, #C3C9D7 3px, transparent 3px);
}
.related-card {
    margin-top:0;
}
}

/* 汎用 */
.article-txt--xs{
  font-size: var(--font-txt-xs);
  line-height: 1.3;
}
.article-txt--s{
  font-size: var(--font-txt-s);
}
.article-txt--m{
  font-size: var(--font-base);
}
.article-txt--l{
  font-size: var(--font-txt-m);
}
.article-txt--xl{
  font-size: var(--font-txt-l);
}

@container wrapper (width <=768px) {


}



.article-figure-area{
  background: var(--white);
  padding: var(--gap-x1-5);
  margin: var(--gap-x1-5) 0;
  border: 1px solid rgba(0, 0, 0, 0.015);
  box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.15);
  line-height: 1.5;
  display: grid;
  place-content: center;
place-items: center;
}
.figure-ttl-area {
  position: relative;
    text-align: center;
    line-height: 1.5;
}

figcaption{
  text-align: left;
}
.notion-indent{text-indent: -2.5em;padding-left: 2.5em;}


@container wrapper (width <=375px) {}