:root {
  --font-medium: "MFW-PA1GothicStd-Medium",sans-serif;
  --font-bold: "MFW-PA1GothicStd-Bold",sans-serif;
}

.digital-analog2025-article {
  position: relative;
  padding-bottom: 120px;
  background: #F0FAF7;
  @media (width <= 800px) {
    padding-bottom: 78px;
  }
  &.column {
    background: #FDFAF1;
    background-image: url('../../img/digital-analog2025/index/column-bg.png');
    background-size: 1382px;
    background-position: center 0;
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
      background-image: url('../../img/digital-analog2025/index/column-bg@2x.png');
    }
  }
  &.report {
    background: #F0FAF7;
    background-image: url('../../img/digital-analog2025/common/report-bg.png');
    background-size: 1382px;
    background-position: center 0;
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
      background-image: url('../../img/digital-analog2025/common/report-bg@2x.png');
    }
  }
  >h2 {
    padding: 47px 0;
    font-family: var(--font-bold);
    font-size: 18px;
    text-align: center;
    @media (width <= 800px) {
      padding: 33px 0 32px;
      font-size: 16px;
    }
  }
  .post-content {
    width: calc(100% - 90px);
    max-width: 862px;
    margin: 0 auto 61px;
    padding: 0;
    border-radius: 8px;
    filter: drop-shadow(0px 4px 2px rgba(0, 0, 0, 0.10));
    @media (width <= 800px) {
      width: calc(100% - 36px);
      margin-bottom: 33px;
    }
  }
}



.post-head {
  height: 351px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #EBEBEB;
  @media (width < 990px) {
    height: auto;
    flex-direction: column;
    padding-top: 32px;
    border-bottom: none;
  }
  @media (width <= 800px) {
    padding-top: 27px;
  }
  .text-contents {
    width: calc(100% - 350px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 42px;
    padding: 38px 5.8% 34px;
    @media (width < 990px) {
      width: calc(100% - 60px);
      gap: 13px;
      margin: 0 auto 26px;
      padding: 0;
    }
    @media (width <= 800px) {
      width: calc(100% - 40px);
    }
    h1 {
      width: 100%;
      margin: 0;
      font-size: clamp(24px, 2.8vw, 32px);
      line-height: 1.6;
      letter-spacing: 0.02em!important;
      @media (width <= 800px) {
        line-height: 1.5;
        letter-spacing: 0!important;
      }
    }
    p {
      margin: 0;
      color: #6E6E6E;
      font-size: 14px;
      letter-spacing: 0.03em;
      @media (width <= 800px) {
        font-size: 12px;
      }
    }
    span + span {
      padding-left: 9px;
      &::before {
        content: '';
        display: inline-block;
        width: 1px;
        height: 10px;
        margin-right: 7px;
        background: #6E6E6E;
      }
    }
  }
  .thumbnail {
    flex-shrink: 0;
    width: 350px;
    height: 350px;
    aspect-ratio: 1 / 1;
    vertical-align: bottom;
    @media (width < 990px) {
      width: calc(100% - 60px);
      height: auto;
    }
    @media (width <= 800px) {
      width: calc(100% - 40px);
    }
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 0 8px 0 0;
      vertical-align: bottom;
      @media (width < 990px) {
        border-radius: 6px;
      }
    }
  }
}

.post-body {
  width: calc(100% - 60px);
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 0 126px;
  @media (width < 990px) {
    padding: 43px 0 104px;
  }
  @media (width <= 800px) {
    width: calc(100% - 40px);
    padding: 39px 0 70px;
  }
}

.profile-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: -7px 0 -4px;
  padding: 24px 28px 23px 30px;
  border-radius: 6px;
  border: 1px solid rgba(185, 229, 216, 0.60);
  @media (width <= 800px) {
    position: relative;
    padding: 42px 20px 12px;
  }
  .text-contents {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .profile-name {
    margin-bottom: 3px;
    font-size: 20px;
    letter-spacing: 0.02em;
    @media (width <= 800px) {
      margin-bottom: 5px;
    }
  }
  .profile-text {
    font-size: 14px;
    letter-spacing: 0.02em;
    line-height: 2.1;
    @media (width <= 800px) {
      line-height: 1.95;
    }
  }
  .profile-kana {
    margin-bottom: 12px!important;
    font-size: 14px;
    letter-spacing: 0.02em;
    @media (width <= 800px) {
      margin-bottom: 32px !important;
      font-size: 13px;
    }
  }
  .profile-image {
    width: 124px;
    height: 124px;
    object-fit: cover;
    border-radius: 50%;
    @media (width <= 800px) {
      position: absolute;
      top: 21px;
      right: 21px;
      width: 100px;
      height: 100px;
    }
  }
  + details {
    margin-top: 72px;
    @media (width <= 800px) {
      margin-top: 39px;
    }
  }
}


.digital-analog2025.single {
  article {
    color: #000;
  }
  article p {
    margin: 0;
    font-family: var(--font-medium);
    font-size: 18px;
    line-height: 2.11;
    letter-spacing: 0.02em;
    @media (width <= 800px) {
      font-size: 16px;
      line-height: 1.88;
    }
    + p {
      margin-top: 38px;
      @media (width <= 800px) {
        margin-top: 29px;
      }
    }
  }

  article ul,
  article ol {
    padding-left: 1.5em;
    font-family: var(--font-medium);
    font-size: 18px;
    line-height: 2.11;
    letter-spacing: 0.02em;
    @media (width <= 800px) {
      font-size: 16px;
      line-height: 1.88;
    }
  }
  article ul li {
    list-style-type: disc;
  }
  article ol li {
    list-style-type: decimal;
  }
  article li + li {
    margin-top: 14px;
  }

  figure + details,
  figure + p,
  figure + ul,
  figure + ol,
  p + details,
  p + figure,
  p + ul,
  p + ol,
  ul + details,
  ol + details,
  p + .has-small-font-size {
    margin-top: 24px;
    @media (width <= 800px) {
      margin-top: 36px;
    }
  }
  details + p,
  details + ul,
  details + ol,
  ul + p,
  ol + p,
  ul + figure,
  ol + figure {
    margin-top: 56px;
  }
  details + details {
    margin-top: 28px;
  }

  details[open] + details {
    margin-top: 56px;
    @media (width <= 800px) {
      margin-top: 29px;
    }
  }

  details summary {
    position: relative;
    padding-bottom: 2px;
    padding-right: 40px;
    border-bottom: 6px solid #B9E5D8;
    font-size: 26px;
    letter-spacing: 0;
    line-height: 1.7;
    cursor: pointer;
    list-style: none;
    @media (width <= 800px) {
      padding-bottom: 10px;
      padding-right: 42px;
      font-size: 20px;
      line-height: 1.5;
    }
    &::after {
      content: '';
      position: absolute;
      top: 52%;
      right: 14.5px;
      width: 12px;
      height: 7.5px;
      background-image: url('../../img/digital-analog2025/common/round-arrow.svg');
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      transform: translateY(-50%);
      @media (width <= 800px) {
        top: 48%;
      }
    }
  }

  details[open]  summary::after {
    transform: translateY(-50%) scaleY(-1);
  }

  details[open] summary {
    margin-bottom: 23px;
    @media (width <= 800px) {
      margin-bottom: 26px;
    }
  }

  .column details summary {
    border-color: #F0D581;
  }

  details figure {
    text-align: center;
    figcaption {
      margin: 12px 0 0;
      text-align: right;
      font-size: 14px;
      letter-spacing: 0.12em;
      line-height: 2.3;
      color: #888;
      @media (width <= 800px) {
        font-size: 12px;
        line-height: 1.9;
      }
    }
    + figure {
      margin-top: 58px;
      @media (width <= 800px) {
        margin-top: 36px;
      }
    }
    + p {
      margin-top: 56px;
      @media (width <= 800px) {
        margin-top: 33px;
      }
    }


  }

  .has-small-font-size {
    font-size: 14px!important;
    color: #888;
    letter-spacing: 0.02em;
    line-height: 2.1;
    @media (width <= 800px) {
      margin-top: 32px;
      font-size: 12px!important;
      line-height: 1.9;
    }
    + .has-small-font-size,
    + details {
      margin-top: 38px;
      @media (width <= 800px) {
        margin-top: 29px;
      }
    }
  }

}



.other-column,
.other-report {
  padding: 0 48px;
  @media (width <= 800px) {
    padding: 0 18px;
  }
  > p {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
    margin-bottom: 60px;
    font-size: 16px;
    letter-spacing: 0.03em;
    color: #6f6f6f;
    @media (width <= 800px) {
      gap: 22px;
      margin-bottom: 31px;
    }
  }
  .circle-map-bunner {
    margin-top: -29px;
    @media (width <= 800px) {
      margin-top: -2px;
    }
    h2 {
      padding: 0;
      text-align: left;
    }

  }
}

.other-column {
  .post-card-list-wrap {
    margin-bottom: 73px;
    @media (width <= 800px) {
      margin-bottom: 51px;
    }
  }
}