@charset "utf-8";

.main-visual {
    position: relative;
    width: 100%;
    height: 494px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #fff;
    padding: 0 5%;
}

.sp-br {
    display: none;
}

/*
* PC通常版 (幅769px以上, 解像度1x) */
.main-visual {
    background-image: url('../img/main-visual-pc.jpg');
}

/*
         * PC高解像度版 (幅769px以上, 解像度2x)
         */
@media (min-width: 769px) and (-webkit-min-device-pixel-ratio: 2),
(min-width: 769px) and (min-resolution: 192dpi) {
    .main-visual {
        background-image: url('../img/main-visual-pc@2x.jpg');
    }
}

/*
         * SP通常版 (幅768px以下, 解像度1x)
         */
@media (max-width: 768px) {
    .main-visual {
        height: 300px;
        /* SP版の高さ */
        justify-content: center;
        /* モバイルではテキストを中央寄せ */
        text-align: center;
        background-image: url('../img/main-visual-sp.jpg');
    }

    .text-overlay {
        font-size: 1.5rem;
    }
}

/*
         * SP高解像度版 (幅768px以下, 解像度2x)
         */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2),
(max-width: 768px) and (min-resolution: 192dpi) {
    .main-visual {
        background-image: url('../img/main-visual-sp@2x.jpg');
    }
}

.text-overlay {
    font-size: 2rem;
    font-weight: bold;
    color: #111111;
}

/* モバイル向けのデザイン */
@media (max-width: 768px) {
    .main-visual {
        height: 200px;
        justify-content: center;
        /* モバイルではテキストを中央寄せ */
        text-align: center;
        background-position: 15% 0%;
        position: relative;
    }

    .text-overlay {
        font-size: 15px;
        position: absolute;
        top: 4rem;
        right: 5rem;
        line-height: 1.9;
        text-align: left;
    }

    .sp-br {
        display: block;
    }
}


.message-section {
    /* セクション全体のパディングと中央寄せ */
    padding: 0 20px;
    text-align: center;
}

.message-section__container {
    /* コンテンツの最大幅と中央揃え */
    max-width: 880px;
    margin: 0 auto;
}

.message-section__title {
    /* メインタイトル「Message」のスタイル */
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 96px;
    margin-bottom: 48px;
}

.message-section__title-sub {
    /* サブタイトル「「いつか、だれかのヒーローに」を説明するメッセージ」のスタイル */
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: var(--primary-color);
    margin-top: 5px;
}

.message-section__content {
    /* メッセージ本文のコンテナスタイル */
    text-align: left;
    /* テキストを左寄せに */
}

.message-section__text {
   font-size: 1.125rem;
    line-height: 2.1;
    color: var(--primary-color);
    margin: 0;
}

/*
    ---------------------------------------------
    レスポンシブデザイン（768px以下）
    ---------------------------------------------
*/
@media (max-width: 768px) {
    .message-section {
        padding: 40px 22px 0;
    }

    .message-section__title {
        font-size: 1.5rem;
        margin-top: 10px;
    }

    .message-section__title-sub {
        font-size: 0.875rem;
    }

    .message-section__text {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
}


.main-content {
    max-width: 80rem;
    padding: 1.5rem;
    margin-top: 50px;
}

.slider-container {
    margin-bottom: 2rem;
    background-color: rgba(90, 194, 38, 0.2);
}

.slick-prev:before,
.slick-next:before {
    display: none;
}

.slider-item {
    padding: 1.5rem;
    box-sizing: border-box;
    width: 100%;
}

.charm-message-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.slick-next {
    right: 0 !important;
}

@media (min-width: 768px) {
    .charm-message-section__content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        margin-top: 50px;
    }
}

.charm-message-section__block--center {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .charm-message-section__block--center {
        margin: 0 auto;
    }
}

.charm-message-section__block--center img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.charm-message-section__content {
    display: flex;
    width: 100%;
    max-width: 1071px;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.charm-message-section__block {
    flex-basis: 48%;
    box-sizing: border-box;
}

.charm-message-section__block--left {
    flex-basis: 55%;
    padding-right: 20px;
    z-index: 2;
    position: relative;
}

.charm-message-section__block--left h3,
.charm-message-section__block--left p {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.charm-message-section__block--left h3 {
    font-size: 2.5rem;
    color: var(--text-color-dark);
}

.charm-message-section__block--left p {
    line-height: 1.7;
}

.charm-message-section__block--center {
    margin-left: -50px;
    flex-basis: 67.9%;
    z-index: 1;
    position: relative;
}

@media (max-width: 768px) {
    .charm-message-section__content {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .charm-message-section__block {
        flex-basis: 100%;
        margin-bottom: 20px;
        padding-right: 0;
        margin-left: 0;
        z-index: auto;
    }

    .charm-message-section__block--center {
        margin-left: auto;
        margin-right: auto;
        order: 2;
    }

    .charm-message-section__block--left {
        order: 1;
    }
}

.event-info-section {
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.event-info-section__description {
    margin-bottom: 1.5rem;
    list-style-type: disc;
    list-style-position: inside;
}

.event-info-section__description li {
    margin-bottom: 0.25rem;
}

.event-info-section__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .event-info-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.event-info-section__sub-block {
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    position: relative;
}

.event-info-section__sub-block ul {
    list-style-type: disc;
    list-style-position: inside;
    margin-bottom: 1rem;
    color: #4b5563;
}

.event-info-section__block-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.event-info-section__illustration {
    background-color: #ffedd5;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    color: #9a3412;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}

.event-info-section__note {
    font-size: 0.875rem;
    color: var(--text-color-gray);
    text-align: center;
    margin-top: 1rem;
}

.slick-dots {
    bottom: 10px;
}

.slick-dots li.slick-active button:before {
    color: #5AC226;
}

.news-section {
    max-width: 1072px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

.news-section__header {
    margin-bottom: 1rem;
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

@media (max-width: 767px) {

    .news-section {
        padding: 0;
    }

    .news-section__header {
        padding-top: 0;
        padding-bottom: 1.5rem;
        justify-content: center;
        align-items: center;
    }

    .news-section__link {
        top: 1rem;
        right: 1rem;
    }
}

.news-section__title-sub {
    font-size: 0.875rem;
    font-weight: normal;
    color: var(--primary-color);
    display: block;
}

.news-section__link,
.interview-section__link {
    color: var(--link-accent-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid var(--link-accent-color);
    padding: 0.5rem 32px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.news-section__link {
    position: absolute;
    top: 5rem;
    right: 1rem;
}

@media (max-width: 768px) {
    .news-section__link {
        position: absolute;
        top: 4rem;
        right: 0rem;

    }
}

.news-section__link span:nth-of-type(1) {
    margin-right: 10px;
}

.interview-section__link {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
}

.news-section__link::after,
.interview-section__link::after {
    content: "";
    /* 空のコンテンツ */
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5rem;
    border-style: solid;
    border-width: 8px 0 8px 8px;
    /* 三角形のサイズと形状を定義 */
    border-color: transparent transparent transparent #1EB8FF;
    /* 青い三角に設定 */
    transition: margin-left 0.3s ease;
    /* ホバー時のアニメーション */
}

.news-section__link:hover::after,
.interview-section__link:hover::after {
    border-color: transparent transparent transparent #fff;
    /* ホバーで三角の色を白に */
}

.news-section__link:hover,
.interview-section__link:hover {
    background-color: var(--interview-media-bg-color);
    text-decoration: none;
    color: #fff;
}

.news-section__item {
    border-bottom: 1px solid var(--news-border-color);
    padding-top: 12px;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
}

@media (max-width: 767px) {
    .news-section__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 12px 15px;
    }

    .news-section__item-date,
    .news-section__item-tag {
        margin-bottom: 0.25rem;
    }

    .news-section__item-text {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        width: 100%;
    }

    .news-section__date-tag-wrapper {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
}

.news-section__item:first-child {
    border-top: 1px solid var(--news-border-color);
}

.news-section__item-date {
    font-size: 0.875rem;
    color: var(--text-color-blue);
    flex-shrink: 0;
    margin-right: 16px;
    margin-left: 24px;
}

.news-section__item-tag {
    color: #000;
    border: 1px solid #4B4B4B;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
    font-size: 0.75rem;
    padding: 2px 8px;
    margin-right: 16px;
}

.news-section__item-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    margin: 0;
    font-size: 14px;
    color: var(--primary-color);
}

.news-section__item-text a {
    font-size: 14px;
    color: var(--primary-color);
}

.news-section__item-text a:hover {
    text-decoration: underline;
}

.interview-section {
    max-width: 1072px;
    margin: 0 auto 96px;
    padding: 1.5rem 0 0;
    position: relative;
}

.interview-section__header {
    background-color: #fff;
    margin-bottom: 4rem;
    width: 100%;
    position: relative;
    padding: 1rem 0;
    display: block;
    text-align: left;
}

@media (max-width: 767px) {
    .interview-section__header {
        padding-top: 3.5rem;
        padding-bottom: 1.5rem;
        justify-content: center;
        align-items: center;
    }

    .news-section__item-date {
        margin-left: 0;
    }
}

.interview-section__title-sub {
    font-size: 0.875rem;
    color: var(--primary-color);
    display: block;
    font-weight: normal;
}

.interview-section__title-main {
    font-size: 2rem
}

.interview-section__link {
    position: absolute;
    right: 1.5rem;
    top: 4rem;
}

@media (max-width: 767px) {
    .interview-section__link {
        top: 10rem;
        right: 1rem;
    }

    .interview-section__title {
        margin-top: 0;
    }
}

.interview-section__link span:nth-of-type(1) {
    margin-right: 10px;
}

.interview-section_text {
    font-size: 24px;
    color: #4B4B4B;
    font-weight: bold;
}

.interview-section__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 5.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .interview-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.interview-section__card {
    background-color: var(--interview-media-bg-color);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.interview-section__card-image {
    width: 100%;
    height: 12rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* max-width: 250px; */
    margin: 0 auto 1rem;
}

.interview-section__card-subtitle {
    color: #9a3412;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.image-wrapper {
    text-align: center;
}