@charset "UTF-8";
/* =========================================================
   えひめスクラムプロジェクト  TOP PAGE
   ========================================================= */

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    /* height: calc(100dvh - 100px); */
    display: flex;
    flex-direction: column;
}
.hero__inner {
    position: relative;
    /* flex: 1; */
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100dvh - 200px);
}
.hero__img {
    width: 100%;
    max-width: 1920px;
    height: 100%;
    object-fit: contain;
}

/* pickup card – overlaps hero, right edge flush to screen edge */
.hero__pickup {
    position: absolute;
    right: 0;
    /* bottom: 110px; */
    top: calc(100dvh - 370px);
    width: 460px;
    height: 210px;
    background-color: #ffffff;
    border: 2px dashed #a4a4a4;
    border-right: none;
    border-radius: 90px 0 0 90px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.hero__pickup:hover {
    opacity: 0.6;
}
.hero__pickup .pu__inner {
    width: 100%;
    max-width: 280px;
}
.hero__pickup .pu__info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero__pickup .badge {
    display: inline-block;
    background-color: #575757;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 16px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.hero__pickup-date {
    font-size: 14px;
    letter-spacing: 1px;
    text-indent: 1px;
    padding-bottom: 6px;
}
.hero__pickup hr {
    border: 0;
    border-top: 1.5px dashed #e3e3e3;
    margin: 6px 0;
}
.hero__pickup-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.9;
    letter-spacing: 1px;
    text-indent: 1px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* scroll indicator */
.scroll {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    cursor: pointer;
    width: 50px;
    margin: 16px auto 25px;
    z-index: 10;
}
.scroll__txt {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-indent: 1px;
}
.scroll__bar {
    width: 1px;
    height: 34px;
    background-color: #b9b1a0;
    position: relative;
}
.scroll__bar::after {
    content: "";
    position: absolute;
    left: -2px;
    top: 0;
    width: 5px;
    height: 5px;
    background-color: #333333;
    border-radius: 50%;
    animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
    0% {
        transform: translateY(-6px);
        opacity: 0;
    }
    35% {
        opacity: 1;
    }
    100% {
        transform: translateY(34px);
        opacity: 0;
    }
}

.about {
    padding: 50px 0 75px;
}

.about h2 {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 1px;
    text-indent: 1px;
    text-align: center;
}

.about h2 span {
    display: inline-block;
}

.about p {
    font-size: 18px;
    line-height: 1.75;
    letter-spacing: 1px;
    text-indent: 1px;
    text-align: center;
    margin-top: 15px;
    font-weight: 500;
}

.about .about_btn {
    max-width: 350px;
    width: 100%;
    height: 60px;
    border-radius: 30px;
    margin: 30px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffba3f;
    font-size: 18px;
    font-weight: 700;
}

/* =========================================================
   EVENT
   ========================================================= */
.anchor_point {
    padding-top: 100px;
    margin-top: -100px;
}
.event {
    background-color: #ffffff;
    padding: 78px 0;
    border-radius: 0 0 15px 15px;
}
.column__head {
    margin-bottom: 30px;
}
.card-grid + .card-grid {
    margin-top: 25px;
}

/* =========================================================
   COLUMN
   ========================================================= */
.column {
    background-color: #fff9ee;
    padding: 78px 0;
    border-radius: 0 0 15px 15px;
}

/* =========================================================
   PANEL (Library)
   ========================================================= */
.panel-wrap {
    padding: 115px 0 90px;
    background-color: #ffba3f;
}

.panel__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 15px 15px 0 0;
    padding: 16px 26px 12px;
    width: 214px;
}
.panel__tab .sec-head__en {
    gap: 35px;
}
.panel__tab .sec-head__en::before {
    margin-top: 2px;
}
.panel__body {
    background-color: #ffffff;
    border-radius: 0 15px 15px 15px;
    padding: 30px 40px 45px;
    position: relative;
}
.panel__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 26px;
}
.panel__title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    text-indent: 1px;
}
.panel__deco {
    width: 200px;
    position: absolute;
    bottom: 100%;
    right: 11.6%;
}

.lib__item {
    padding: 30px 0;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}
.lib__item + .lib__item {
    border-top: dashed 1.5px #d9d9d9;
    flex-direction: row-reverse;
}
.li__img {
    width: 280px;
    aspect-ratio: 280/357;
    min-width: 280px;
}
.li__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.li__content {
    max-width: 472px;
}
.li__head {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 700;
}
.li__text {
    margin-top: 24px;
    font-size: 16px;
    line-height: 2;
    font-weight: 700;
}
.lib__btn {
    margin: 50px auto 0 5px;
}
.lib__btn + .lib__btn {
    margin-top: 25px;
}
.lib__btn .icon {
    width: 43px;
    top: -10px;
    left: -5px;
    transform: none;
}

/* =========================================================
   NEWS
   ========================================================= */
.news {
    padding: 80px 0;
}
.news__inner {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
.news__card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 40px 50px 50px;
}
.news__head {
    margin-bottom: 14px;
}
.news__head .en {
    display: flex;
    align-items: center;
    gap: 35px;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
    text-indent: 1px;
    color: #575757;
}
.news__head .en::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #575757;
    border-radius: 50%;
}
.news__head h2 {
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    margin-top: 20px;
}
.news__list {
    margin: 20px auto 0;
    max-width: 1000px;
}
.news__list a {
    display: grid;
    grid-template-columns: 140px 80px 1fr;
    align-items: center;
    gap: 20px;
    padding: 24px 16px;
    border-bottom: 1.5px dashed #d9d9d9;
    transition: 0.3s;
}
.news__list a:hover {
    opacity: 0.6;
}
.news__list a .cat-badge {
    font-weight: 500;
    letter-spacing: 1px;
    text-indent: 1px;
    background-color: #575757;
    color: #ffffff;
    height: 30px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news__list time {
    font-size: 14px;
    color: #676767;
    letter-spacing: 1px;
    text-indent: 1px;
    text-align: center;
}
.news__list p {
    font-size: 16px;
    font-weight: 500;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.news .btn-all {
    margin: 64px auto 0;
}

/* =========================================================
   RESPONSIVE  -- Tablet
   ========================================================= */
@media screen and (max-width: 1024px) {
    /* hero */
    .hero__pickup {
        width: 380px;
        padding: 20px 28px 20px 56px;
    }

    /* event / column */
    .event,
    .column {
        padding: 60px 0;
    }

    /* panel */
    .panel-wrap {
        padding: 90px 0 70px;
    }
    .panel__head {
        flex-direction: column;
    }
    .panel__body {
        padding: 30px 30px 40px;
    }
    .panel__deco {
        width: 160px;
        right: 5%;
    }

    /* library */
    .lib__item {
        flex-direction: column;
        gap: 28px;
    }
    .lib__item + .lib__item {
        flex-direction: column;
    }
    .li__content {
        max-width: 100%;
    }
    .lib__btn {
        margin: 30px auto 0;
    }
    .lib__btn + .lib__btn {
        margin-top: 22px;
    }

    /* news */
    .news {
        padding: 60px 0;
    }
    .news__card {
        padding: 32px 32px 40px;
    }
}

/* =========================================================
   RESPONSIVE  -- Mobile
   ========================================================= */
@media screen and (max-width: 680px) {
    /* hero */
    .hero {
        height: auto;
    }
    .hero__img {
        border-radius: 10px;
    }
    .hero__inner {
        padding-bottom: 0;
        height: auto;
        padding: 20px 0;
    }
    .hero__pickup {
        position: static;
        width: 90%;
        height: auto;
        margin: 16px auto 0;
        border: 2px dashed #a4a4a4;
        border-radius: 16px;
        padding: 20px 22px;
    }
    .hero__pickup .pu__inner {
        max-width: 100%;
    }
    .scroll {
        display: none;
    }

    .about {
        padding: 30px 16px 50px;
    }

    .about h2 {
        font-size: 18px;
    }

    .about p {
        font-size: 15px;
        line-height: 1.9;
        text-align: justify;
    }

    .about p br {
        display: none;
    }

    .about .about_btn {
        max-width: 300px;
        height: 50px;
        border-radius: 25px;
        font-size: 16px;
    }

    /* event / column */
    .event,
    .column {
        padding: 44px 0;
    }
    .column__head {
        margin-bottom: 20px;
    }

    /* panel */
    .panel-wrap {
        padding: 60px 0 40px;
    }
    .panel__body {
        padding: 24px 18px 32px;
    }
    .panel__tab {
        padding: 12px 20px 10px;
        width: 160px;
    }
    .panel__title {
        font-size: 24px;
    }
    .panel__deco {
        width: 110px;
        right: 6%;
    }

    /* library */
    .lib__item {
        padding: 24px 0;
        gap: 20px;
    }
    .li__img {
        width: 200px;
        min-width: 200px;
    }
    .li__head {
        font-size: 17px;
        text-align: center;
    }
    .li__text {
        font-size: 14px;
        margin-top: 16px;
        line-height: 1.9;
    }
    .li__text br {
        display: none;
    }
    .lib__btn {
        margin: 24px auto 0;
    }
    .lib__btn + .lib__btn {
        margin-top: 18px;
    }
    .lib__btn .icon {
        width: 36px;
    }

    /* news */
    .news {
        padding: 36px 0 44px;
    }
    .news__card {
        padding: 24px 20px 20px;
    }
    .news__head .en {
        font-size: 19px;
        gap: 20px;
    }
    .news__head h2 {
        font-size: 24px;
        margin-top: 12px;
    }
    .news__list {
        margin-top: 12px;
    }
    .news__list a {
        grid-template-columns: auto 1fr;
        gap: 6px 12px;
        padding: 16px 4px;
    }
    .news__list time {
        text-align: right;
        font-size: 13px;
    }
    .news__list p {
        grid-column: 1 / -1;
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
    .news .btn-all {
        margin: 32px auto 0;
    }
}

@media screen and (max-width: 380px) {
    .hero__pickup-title {
        font-size: 15px;
    }
}
