@charset "utf-8";

/* Theme Name: homyaame.style */

/* ==============================
topic
================================= */

.topic__list{
    margin: 50px auto 0px;
}

.topic__thumbnail{
    margin: 40px 0 0;
    gap: 10px;
}

.topic__thumbnail img{
    display: block;
    width: 280px;
    height: 260px;
    object-fit: cover;
    margin: 0 auto;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.topic-date{
    display: flex;
    padding: 5px;
    gap: 10px;
}

.topic-time{
    font-size: 1.2rem;
    padding-top: 1.5px;
    color: #BDAE91;
    font-weight: 700;
}

.topic-category{
    font-size: 1.2rem;
    border: solid 0.5px #333;
    border-radius: 10px;
    padding: 0px 10px 1.5px;
    font-weight: 700;
    background-color: #BDAE91;

}

.topic-time::before{
    content: "●";
    color: #BDAE91;
    padding-right: 5px;
}

/* クリックしたら出てくる */
.topic-content .topic-actab input[type=checkbox] {
  display: none;
}

/* アイコン */
.topic-content label::before {
  position: absolute;
  content: '＋';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 210%;
  font-weight: lighter;
  margin-left: 250px;
  padding: 0 0 0 0;
  transition: 0.4s ease;
}

.topic-content .topic-actab input[type=checkbox]:checked ~ label::before {
  transform: rotate(45deg);
}

/* 詳細ページ */
/*答えテキスト*/
.topic-content .topic-txt {
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
  opacity: 0;
  height: 0;
  margin: 20px 0 50px;
  padding: 0 14px;
}
.topic-content .topic-actab input[type=checkbox]:checked ~ .topic-txt {
  height: auto;
  padding: 14px;
  opacity: 1;
}

.topic-subtitle{
    position: relative;
    width: 290px;
    display: flex;
}

.topic-name{
    font-size: 1.2rem;
    padding: 10px 0;
}

.topic-arrow{
    position: absolute;
    padding: 15px 0;
    right: 0;
}

.topic-arrow img{
    width: 15px;
    height: 9px;
}

.topic-txt{
    font-size: 1.2rem;
    margin: 0;
    line-height: 180%;
}

.topic-content{
    margin: 20px 40px;
}

@media screen and (min-width:768px) {

.topic__thumbnail{
    width: 300px;
}

.topic__item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
}

.topic-content{
    margin: 20px;
}

.topic-time{
    font-size: 1.4rem;
}

.topic-category{
    font-size: 1.4rem;
}

.topic-name{
    font-size: 1.4rem;
}

.topic-arrow{
    position: absolute;
    padding: 15px 0;
    top: -30px;
    right: 0;
}

.topic-subtitle{
    margin-bottom: 50px;
}

.topic-txt{
    font-size: 1.4rem;
}
}


@media screen and (min-width:1200px) {
    .topic__item{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    margin: 50px auto 0px;
}
}


@media screen and (min-width:1700px) {
    .topic__item{
        padding: 0 auto;
}
}

/* ==============================
page
================================= */

.pagination-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 8px;
    list-style-type: none;
    padding: 0;
    font-size: 1.2rem;
}

.pagination-2 a {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    border-radius: 25px;
    background-color: #F8F6F3;
    color: #333;
}

.pagination-2 a:not(:hover) {
    text-decoration: none;
}

.pagination-2 .current a {
    background-color: #bbae91;
    color: #FFF;
    pointer-events: none;
}

@media screen and (min-width:768px) {
.example3{    
    font-size: 1.4rem;
}
}