@charset "utf-8";
/*==========================
common
==========================*/
html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  color: #0d0d0d;
  /* font-family: "Noto Serif JP"; */
  font-style: normal;
  margin: 0 auto;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/*==========================
header
==========================*/
.header {
  position: relative;
  height: 105px;
}

.header__ad {
  position: relative; /* ←ここがポイント！ */
  margin     : auto;
  font-size  : 140%;
  line-height: 1.5em;
  background : #0d0d0d;
  overflow   : hidden;
  top: 0;
  left: 0;
  width: 100%;
  background: #0d0d0d;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.header__ad span{
  display     : inline-block;
  padding-left: 100%;
  white-space : nowrap;
  line-height : 1em;
  animation   : scrollAnime 20s linear infinite;
  padding: 11px 0;
  color: #FFF;
  font-family: Inter;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align : center;
}
@keyframes scrollAnime{
    0% { transform: translateX(0)}
  100% { transform: translateX(-100%)}
}

/* .nav初期表示 */
.nav {
  background: rgba(255, 255, 255, 0.9);
  width: 100%;
  height: 100vh;
  padding: 24px 6.4%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.4s;
    
}

.nav__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  margin-top: 17px;
  margin-left: -59px;
  display: block;
  width: 250px;
  height: 60px;
  flex-shrink: 0;
  aspect-ratio: 25/6;
}

.logo__txt {
  display: none;
}

.nav__menuEmoji {
  display: flex;
  position: absolute;
  right: 18.1%; /* 必要に応じて調整 */
  top: 52px;
}

.nav__btn {
  display: block;
  width: 39.644px;
  height: 21.474px;
  flex-shrink: 0;
  cursor: pointer;
  position: absolute;
  top: 63px;
  right: 4.8%;
}

.nav__list {
  margin-top: 53px;
  margin-left: 13.8%;
  display: block;
  justify-content: center;
}

.nav__item {
  margin-bottom: 10px;
}

.nav__emoji {
  font-family: Inter;
  font-size: 3.2rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.nav__txt {
  color: #0D0D0D;
  font-family: Literata;
  font-size: 2.4rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

/* .nav.active表示 */
.nav.active {
    transform: translateX(0);
}

.header__btn {
  display: block;
  width: 39.644px;
  height: 21.474px;
  flex-shrink: 0;
  cursor: pointer;
  position: absolute;
  top: 63px;
  right: 4.8%;
}

.header__logo {
  top: 0;
  margin-left: -35px;
  margin-bottom: 2px;
}

.header__emoji {
  display: flex;
  position: absolute;
  right: 18.1%; /* 必要に応じて調整 */
  top: 52px;
}

.icon__item {
  color: #0D0D0D;
  font-family: Inter;
  font-size: 3rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* .header pc */
@media screen and (min-width:769px) {
  .header {
    position: relative;
    height: 158px;
  }
  
  .header__ad span{
    font-size: 2rem;
    line-height: normal;
}

  .nav {
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100vh;
    padding: 24px 6.4%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
      
  }

  .nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav__logo {
    margin-top: 25px;
    margin-left: -90px;
    display: block;
    width: 250px;
    height: 60px;
    flex-shrink: 0;
    aspect-ratio: 25/6;
  }


  .nav__menuEmoji {
    width: 53px;
    height: 41.681px;
    flex-shrink: 0;
    display: flex;
    position: absolute;
    right: 18.4%;
    top: 72px;
    gap: 6px;
  }

  .nav__btn {
    display: block;
    width: 39.644px;
    height: 21.474px;
    flex-shrink: 0;
    cursor: pointer;
    position: absolute;
    top: 94px;
    right: 4.1%;
  }
  
  .nav__list {
    margin-top: 90px;
    margin-left: 16.9%;
    display: block;
    justify-content: center;
  }

  .nav__item {
    margin-bottom: 20px;
  }

  .nav__emoji {
    font-family: Inter;
    font-size: 4rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .nav__txt {
    color: #0D0D0D;
    font-family: Literata;
    font-size: 3.2rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  /* .nav.active表示 */
  .nav.active {
    transform: translateX(0);
  }

  .header__btn {
    top: 95px;
    right: 4.1%;
  }

  .header__logo {
    display: flex;
    top: 0;
    margin: 0 auto;
  }

  .logo__img {
    margin-top: 24px;
  }

  .logo__txt {
    margin-top: 49px;
    margin-left: -2%;
    display: block;
    color: #0D0D0D;
    font-family: Inter;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
  .header__emoji {
    right: 9.5%;
    top: 73.5px;
    gap: 8px;
  }

  .icon__item {
    font-size: 4rem;
  }
}/* pc 769px */

/*==========================
main
==========================*/
/* .topicsPage */
.topics {
 color: #0d0d0d;
 font-family: Literata;
 font-size: 2.4rem;
 font-style: normal;
 font-weight: 400;
 line-height: normal;
 padding: 60px 38% 45px;
 border-top: 1px solid #0d0d0d;
}

.topics-wrapper {
  margin-bottom: 100px;
  display: flex;
  justify-content: center;
}

.topics-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.topics__img {
    width: 161px;
    height: 102px;
    flex-shrink: 0;
}

.topics__img img{
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像の比率を保ちつつ、枠に収める */
    display: block;
}

.topics__content {
    margin-top: 7px;
}

.topics__name,
.topics__date {
    color: #0d0d0d;
    font-family: Inter;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    max-width: 161px;
}

.topics__txt {
    color: #0d0d0d;
    font-family: Inter;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    max-width: 161px;
}

/* .topics pc */
@media screen and (min-width:769px) {
    .topics {
        color: #0d0d0d;
        font-family: Literata;
        font-size: 3.2rem;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        padding: 80px 45.4% 60px;
    }

    .topics-wrapper {
        margin-bottom: 200px;
    }

        .topics-list {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            max-width: 1241px;
            width: 100%;
    }

        .topics__img {
            max-width: 397px;
            width: 100%;
            height: auto;
            /* flex-shrink: 0; */
            overflow: hidden;
    }

        .topics__content {
            margin-top: 20px;
    }

        .topics__item {
        margin-bottom: 15px;
        width: 100%;
        max-width: 397px;
      }

        .topics__name,
        .topics__date {
            font-size: 1.8rem;
            max-width: 397px;
    }

        .topics__date {
          margin-top: 5px;
        }

        .topics__txt {
            font-size: 1.6rem;
            max-width: 397px;
    }
}

/* .footer */
.article__footer {
  /* width: 375px; */
  min-height: 870px;
  padding: 0 0 20px 0;
  /* border-top: 1px solid #0D0D0D; */
  background: url(../images/footer_bkgr.jpg) lightgray -53.125px -0.008px / 129.375% 100.002% no-repeat;
}

.footer__sns {
  display: flex;
  flex-direction: column;
  align-items: center;   /* 横方向中央揃え */
  justify-content: center; /* 必要に応じて縦方向も中央に */
  width: 100%;
  margin-top: 30px;      /* 必要に応じて調整 */
}

.footer__spImg {
  width: 100%;
  border-top: 1px solid #0D0D0D;
  border-bottom: 1px solid #0D0D0D;
}

.sns__txt { 
  color: #0D0D0D;
  font-family: Inter;
  font-size: 2rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: center;
}

.sns__img {
  display: flex;
  align-items: center;
  gap: 61px;
  justify-content: center;
}

.footer__snsImg {
  margin-top: 42px;
  position: relative;
  display: block;
  width: 64.76px;
  height: 64.696px;
  aspect-ratio: 64.76/64.70;
  z-index: 2;
}

.footer__snsImg img {
  position: relative;
  z-index: 2;
  display: block; /* 任意：余白除去用 */
}

.footer__snsImg::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 121px;
  height: 121px;
  border: 1px solid #0D0D0D;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  gap: 5px;
  background-color: #fff;
}

.footerNav__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  /* border-top: 1px solid #0D0D0D; */
}

.footerNav__list {
  margin-top: 74px;
  margin-left: 5.9%;
  color: #0D0D0D;
  font-family: Inter;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.footerNav__item {
  white-space: nowrap;
}

.footer__id {
  margin-top: 74px;
  margin-right: 20%;
  color: #0D0D0D;
  font-family: Inter;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.footer__links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__top,
.footer__contact {
    margin: 0;
}

.footer__top {
  margin-top: 100px;
  margin-bottom: 20px;
  margin-right: 6.9%;
  color: #0D0D0D;
  font-family: Inter;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.footer__contact {
  margin-top: 58px;
  margin-bottom: 43px;
  margin-left: 5.9%;
  color: #0D0D0D;
  font-family: Inter;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.footer__pcImg {
  display: none;
}

.footer__item {
  display: flex;
  justify-content: center;
  margin-top: 42px;
  margin-bottom: 42px;
  gap: 5px;
  flex-wrap: wrap; /* 折り返し可能にしたい場合 */
  color: #0D0D0D;
  font-family: Inter;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  }

.copy {
  color: #0D0D0D;
  font-family: Inter;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center; /* ← これを追加 */
}

/* .footer pc */
@media screen and (min-width:769px) {
  .article__footer {
    width: 100%;
    background: url(../images/footer_bkgr.jpg) lightgray -204px -0.008px / 129.375% 100.002% no-repeat;
      border-top: 1px solid #0D0D0D;
  } 
  
  .footerNav__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  .footer__sns,
.footerNav__list {
  position: static; /* 必要なら relative にするが、絶対配置は避ける */
}
  
  .footer__sns {
    order: 2;
    margin-top: 40px;
    margin: 40px clamp(5%, 10%, 10.3%) 0 clamp(5%, 18%, 16.9%);
    width: auto;
  }

  .sns__txt {
    margin: 0 auto;
    font-size: 3.2rem;
  }

  .sns__img {
    display: flex;
    align-items: center;
    gap: clamp(40px, calc(7.7vw), 111px);
    justify-content: center;
  }

  .footer__snsImg {
    margin-top: 62px;
    position: relative;
    display: block;
    max-width: 100px;
    min-width: 60px;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }

  .footer__snsImg img {
  width: 100%;
  height: auto;
  display: block;
}

  .footer__snsImg::after {
    max-width: 186.728px;
    height: auto;
    width: 180%;
    aspect-ratio: 1/1;
    gap: 25px;
  }

  .footerNav__list {
    display: grid;
    margin-top: 55px;
    margin-left: 5.9%;
    gap: 7px;
    order: 1;
  }

  .footer__id {
    display: grid;
    margin-top: 55px;
    margin-right: 13.6%;
    gap: 7px;
    order: 3;
  }

  .footer__top {
  margin-right: 3%;
  margin-top: 200px;
  margin-bottom: 30px;
  }

  .footer__contact {
    margin-top: 68px;
    margin-bottom: 27px;
    margin-left: 5.9%;
  }

  .footer__spImg {
    display: none; 
  }

  .footer__pcImg {
    display: block;
    width: 100%;
    height: auto;
    display: block;
    flex-shrink: 0;
    aspect-ratio: 360/83;
    border-top: 1px solid #0D0D0D;
    border-bottom: 1px solid #0D0D0D;
  }

  .footer__item {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
    gap: 10px;
    font-size: 1.6rem;
    }

  .copy {
    margin-bottom: 70px;
  }
  }/* pc 769px */