@charset "UTF-8";

/* ==========
header
============= */

/* header PC 表示 */
@media screen and (min-width: 769px) {
    .nav__list--pc {
        color: #fff;
    }

    .nav__list--pc.fixed {
        color: var(--primary-body-green);
    }

    /* 下線アニメーション */
    .pcnav_item a::after {
        background-color: #fff;
    }

    .nav__list--pc.fixed .pcnav_item a::after {
        background-color: var(--primary-body-green); /* ← fixed時に緑へ */
    }

}

/* ==================
main contents
=====================*/


.lecture {
    padding: 40px 6%;
}

.index__container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px 10px;
    margin: 0 auto;
}

.year__item {
    margin-right: 20px;
    font-family: Halant;
    font-size: 1.5rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    white-space: nowrap;
    /* flex: 1; */
    width: 80px;

}

.year__item::before {
    background: var(--primary-title-green, #385723F7);
    content: '';
    display: block;
    width: 1px;
    height: 16px;
    margin-right: 5px;
}


.lecture__list{
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 10px;
}

.publish__year {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 30px;
}

.lecture__item {
    display: block;
    width: 100%;
    height: auto;
    background: var(--primary-result-background-green, rgba(199, 217, 181, 0.20));
    border-radius: 10px;
    padding: 3%;
    margin-top: 5px;
}

.lecture__item p {
    font-size: 1.1rem;
    font-weight: 400;
    text-align: left;
    vertical-align: middle;
}

.lecture__host {
    margin-left: 10px;
}


@media screen and (min-width: 769px){
    
    .lecture {
        padding: 60px 8%;
    }

    .lecture__container {
        margin-top: 30px;
    }

    .lecture__text {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        margin-top: 50px;
    }

    .year__item {
        font-size: 1.8rem;
    }

    .publish__year {
        font-size: 1.8rem;
        font-weight: 700;
        margin-right: 20px;
        margin-top: 5px;
    }

    .lecture__list {
        width: 90%;
    }

    .lecture__item p {
        font-size: 1.5rem;
        font-weight: 400;
        text-align: left;
    }
}

/* ==================
Section Query 
================ */
.section--query {
    padding: 25px 15.7%;
    background-image: url(../images/queryform_background.png);
    background-position: center;
    background-size: cover;
}

.query__txt {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 150%; /* 21px */
    letter-spacing: 0.98px;
}

.query__btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 40px 0 60px;
}

.query__btn {
  display: block;
  background-color: var(--primary-querybtn-green);
  color: #fff;
  text-align: center;
  font-size: 1.4rem;
  padding: 1em 2em;
  border-radius: 10px;
  width: 80%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}

.query__btn:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.40);
}

@media screen and (min-width: 769px) {
    
    .section--query {
        padding: 25px 15.7% 70px;
        background-image: url(../images/queryform_pc.png);
        background-position: center;
        background-size: cover;
    }
    
    .query__txt {
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 200%; /* 32px */
        letter-spacing: 1.12px;
    }

    .query__btns {
        flex-direction: row;
        justify-content: center;
        margin-top: 6rem;
        gap: 60px;
    }
    .query__btn {
        font-size: 2rem;
        padding: 1.2em 2em;
        border-radius: 8px;
        max-width:360px;
        width: 80%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: background-color 0.3s ease;
    }
}
/* PC 表示 */

/* ＝＝＝＝＝＝＝＝＝＝＝＝
NavのHover 
＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

.year__item a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

/* 下線アニメーション */
.year__item a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-body-green);
  transition: width 0.3s ease;
}

/* ホバー時に表示 */
.year__item a:hover::after {
  width: 100%;
}