/*
  ここにある内容

  --- col-1 ---
    ● col-1-post-thumb

  --- col-2 ---
    ● atc ( 固定ページの記事部分 )
    ● about / bmc のデザイン

*/

/* ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍   col-1   ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ */

.col-1-post-thumb {
  position: absolute;
  width: 730px;
  height: clamp(540px, 65dvh, 702px);
  bottom: 0px;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 1280px) and (max-height: 830px) {
  .col-1-post-thumb {
    top: 290px;
    bottom: auto;
  }
}

.col-1-post-thumb img {
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
}


/* ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍   col-2   ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ */

.col-2 hr {
  border: none;
  padding: 0;

  width: 88cqw;
  height: 1px;
  background-color: var(--hover);
  margin-inline: auto;
  margin-block: 3rem 1rem;
  transform: scaleX(1.02);
  transform-origin: center;
}

.atc {
  margin-top: 2.5cqw;
  width: 88cqw;
}

.atc a {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.2em;
  text-decoration-color: #ddd;
}

.atc a:hover,
.atc a:focus-within {
  opacity: 0.7;
}

/* - - - - - - - - - - - - - - - - - - - - */

.atc-note {
  display: block;
  font-family: var(--rubik);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-align: end;
  color: var(--hover);
}

.atc h1 {
  margin-block: 1.3rem 3rem;
}


/* - - - - - - - - - - - - - - - - - - - - */

.atc-content {
  width: 100%;
}

.atc-content h2::before {
  content: "";
  width: 100%;
  height: 1px;
  display: block;
  margin-inline: auto;
  margin-bottom: 1rem;
  background-color: var(--hover);
  transform: scaleX(1.02);
  transform-origin: center;
}

.atc-content h2 {
  font-size: 1.3rem;
  margin-block: 3rem 1rem;
}

.h2-svg {
  height: 25px;
}

.atc-content h3 {
  margin-block: 1.7rem 0.5rem;
  font-size: 1.1rem;
}

.atc-content h3::before {
  content: "––– ";
  font-family: var(--m-plus-1p);
}

.atc-content p {
  margin-block: 0 0.7rem;
}

.atc-content ul {
  margin-block: 0.7rem;
  padding-left: 0.7rem;
}

.atc-content li {
  margin-block: 0.5rem;
  padding-left: 1em;
  text-indent: -1em;

}

.atc-content li::before {
  content: "●";
  font-size: 0.5rem;
  vertical-align: 0.3em;
  letter-spacing: 0.7em;
  color: #555;
}


/* ------------------   about us   ------------------ */

.two-col-layout {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 180px 1fr;
  column-gap: 3cqw;
}

.two-col-layout__left {
  display: grid;
  align-content: start;
  justify-items: center;
  row-gap: 3rem;
}

.two-col-layout__left a {
  text-decoration: none !important;
}

.two-col-layout__right {
  align-self: center;
}

.prof-gr {
  width: 95%;
  padding: 1rem 0 1.5rem;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  border-bottom: 1px solid ;
}

.prof-icon {
  width: 80px;
  height: 80px;
  display: block;
  border-radius: 50%;
  border: 1.2px solid ;
  border-color: #333;
  overflow: hidden;
}

.prof-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.prof-name {
  font-size: 1.1rem;
  margin-block: 0 !important;
}

.prof-qr {
  width: 75px;
  height: 75px;
  border-radius: 8px;
  overflow: hidden;
}

.prof-qr svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.prof-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #555;
}

.prof-link img {
  width: auto;
  height: 20px;
  object-position: center;
}


/* -----------------   buy me a coffee   -------------- */

.h2-img-bmc {
  width: auto;
  height: 35px;
}

.bmc-dscr {
  width: min(80cqw, 450px);
  margin-inline: auto;
  margin-top: 2rem;
}

.visit-bmc {
  margin-block: 1rem;
}

.visit-bmc svg {
  height: 20px;
  display: inline;
  margin-inline: 0.5em 0.2em;
}

.bmc-gr {
  margin-block: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
}

.bmc-prof {
  width: 120px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
}

.bmc-qr {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
}




/* ▦ ▥ ▤ ▦ ▥ ▤ ▦   M: 幅500〜1279px（タブレットなど）   ▦ ▥ ▤ ▦ ▥ ▤ ▦ */

@media (min-width: 500px) and (max-width: 1279px) {

  .col-1-post-thumb {
    width: 100%;
    height: 540px;
    overflow: hidden;
  }

  .col-1-post-thumb img {
    width: 100%;
    height: 100%;
  }

}


/* ▦ ▥ ▤ ▦ ▥ ▤ ▦   S: 幅499px 以下（スマホなど）   ▦ ▥ ▤ ▦ ▥ ▤ ▦ */

@media (max-width: 499px) {

  .col-1-post-thumb {
    width: 100%;
    height: calc(70vh - 80px);
    height: calc(70svh - 80px);
    overflow: hidden;
  }


  /* - - - - - - - - - - - - - - - - - - - - */

  .atc h1 {
    margin: 1.3rem 0 1.5rem;
  }
  
  .ad-toc-gr {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .to-prev,
  .to-next {
    width: 42cqw;
  }


/* ------------------   about us   ------------------ */

  .two-col-layout {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }

  .two-col-layout__left {
    row-gap: 1rem;
  }

  .prof-gr {
    width: 70%;
  }


/* -----------------   buy me a coffee   -------------- */

  .bmc-gr {
    grid-template-columns: 1fr;
  }

}
