/*========================================
  IEHIMEについて（/about）
  デザイン幅 1600px（本文エリアは他のページと同じ 1200px）
========================================*/
.about-page {
    padding-bottom: 134px;
}

/*----------------------------------------
  ページ見出し（アイコン → 見出し → 罫線。他のページと同じ作り）
----------------------------------------*/
.about-page__head {
    padding-top: 17.7px;
    text-align: center;
}

.about-page__icon {
    display: block;
    width: 52.19px;
    height: auto;
    margin: 0 auto;
}

.about-page__title {
    margin-top: 13.9px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
    text-indent: 0.08em;
}

.about-page__line {
    display: block;
    width: 153.23px;
    height: auto;
    margin: 18.1px auto 0;
}

.about-page__body {
    max-width: 1200px;
    margin: 23px auto 0;
}

/*----------------------------------------
  ピンクの帯（いえひめの紹介）
  いえひめちゃんは帯の上にはみ出して重ねる
----------------------------------------*/
.about-intro {
    padding: 0 84px 128px;
    border-radius: 36px;
    background: #f9e9e8;
}

.about-intro__head {
    display: flex;
    align-items: flex-start;
    gap: 41px;
}

.about-intro__character {
    display: block;
    width: 173.49px;
    height: auto;
    flex: 0 0 auto;
    /* 帯の上端からはみ出させる */
    margin-top: -33px;
}

.about-intro__title {
    margin-top: 77px;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.75;
}

.about-intro__columns {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 27px;
}

.about-intro__text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 1.75;
}

/* 段落のあいだは1行あける（デザインどおり） */
.about-intro__text p + p {
    margin-top: 1.75em;
}

.about-intro__book {
    display: block;
    width: 402px;
    height: auto;
    flex: 0 0 auto;
}

/*----------------------------------------
  イベントの紹介
  写真は本文エリアからはみ出して、画面の右端まで敷く
----------------------------------------*/
.about-event {
    display: flex;
    align-items: flex-start;
    gap: 38px;
    margin-top: 100px;
    /* 左は本文エリアの左端にそろえ、右は画面の端まで */
    padding-left: max(calc((100% - 1200px) / 2), 16px);
}

.about-event__text {
    flex: 0 0 465px;
    font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 1.75;
}

.about-event__title {
    margin-bottom: 43px;
    color: #e28383;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.75;
}

.about-event__text p + p {
    margin-top: 1.75em;
}

/* 文中で色を変えるところ（イベント名） */
.about-event__strong {
    color: #ea5514;
}

.about-event__photos {
    flex: 1 1 auto;
    min-width: 0;
}

.about-event__photos img {
    display: block;
    width: 100%;
    height: auto;
}

/*----------------------------------------
  イベントのバナー（2枚並び）
----------------------------------------*/
.about-page__banners {
    display: flex;
    max-width: 1200px;
    margin: 77px auto 0;
    gap: 68px;
}

/* バナーはどちらもリンク。中の画像を枠いっぱいに出す */
.about-banner {
    display: block;
    width: 100%;
    height: auto;
    flex: 1 1 0;
    min-width: 0;
    transition: opacity 0.3s;
}

.about-banner img {
    display: block;
    width: 100%;
    height: auto;
}

@media (hover: hover) {
    a.about-banner:hover {
        opacity: 0.7;
    }
}

/*========================================
  SP / タブレット（1023px 以下）
========================================*/
@media screen and (max-width: 1023px) {
    .about-page {
        padding-bottom: 56px;
    }

    .about-page__head {
        padding-top: 8px;
    }

    .about-page__icon {
        width: 40px;
    }

    .about-page__title {
        margin-top: 10px;
        font-size: 20px;
    }

    .about-page__line {
        width: 110px;
        margin-top: 12px;
    }

    .about-page__body {
        max-width: none;
        margin-top: 20px;
        padding: 0 16px;
    }

    .about-intro {
        padding: 0 20px 32px;
        border-radius: 20px;
    }

    .about-intro__head {
        align-items: center;
        gap: 12px;
    }

    .about-intro__character {
        width: 96px;
        margin-top: -20px;
    }

    .about-intro__title {
        margin-top: 24px;
        font-size: 22px;
        line-height: 1.6;
    }

    /* 折り返したときは 表紙 → 本文 の順に積む */
    .about-intro__columns {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
        gap: 24px;
    }

    .about-intro__text {
        font-size: 15px;
        line-height: 1.9;
    }

    .about-intro__book {
        width: 240px;
        margin: 0 auto;
        order: -1;
    }

    .about-event {
        display: block;
        margin-top: 48px;
        padding-left: 0;
    }

    .about-event__text {
        padding: 0 16px;
        font-size: 15px;
        line-height: 1.9;
    }

    .about-event__title {
        margin-bottom: 20px;
        font-size: 22px;
        line-height: 1.6;
    }

    .about-event__photos {
        margin-top: 24px;
    }

    .about-page__banners {
        display: block;
        margin-top: 32px;
        padding: 0 16px;
    }

    .about-banner {
        width: 100%;
        max-width: 567px;
        margin: 0 auto;
    }

    .about-banner + .about-banner {
        margin-top: 16px;
    }
}
