@charset "UTF-8";

/*******************************
総展望ページ（common.cssの後に読み込む）
********************************/
/* リード：KV下の帯画像と黒帯は背景で表示（本文が増えると黒帯も伸びる）。KVより前面 */
.lead {
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    font-weight: 700;
    text-align: center;
}
.grade_photos {
    display: grid;
}
.grade_photos img {
    width: 100%;
    height: auto;
}
.grade_text {
    background: rgba(0, 0, 0, 0.4);
}
.grade_text p {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    text-align: justify;
}
.grade_text p + p {
    margin-top: 1.5em;
}
.grade_name {
    color: #ffed00;
}

/***********************************************************************
  「★PC版 CSS★」ブラウザの幅が751px以上ならここの記述が有効になる
  **********************************************************************/
@media all and (min-width: 751px) {

/* 背景のフィルター（Figma：全体#333 60%＋上部#333 20%／952px以降は黒40%） */
#wrapper {
    background:
        linear-gradient(rgba(51, 51, 51, 0.2) 0 870px, rgba(0, 0, 0, 0.4) 870px),
        rgba(51, 51, 51, 0.6);
}

/* タイトル・リード */
.main {
    padding: 400px 0 89px;
}
.kv {
    top: 0;
    width: 1471px;
}
.lead {
    min-height: 470px;
    margin-bottom: 100px;
    padding-top: 220px;
    /* min-height: 575px;
    margin-bottom: 101px;
    padding-top: 254px; */
    background:
        url(../images/tenbo/band_pc.png) no-repeat 0 0 / 1920px auto,
        linear-gradient(transparent 236px, #000 236px);
    font-size: 24px;
    line-height: 1.5;
}

/* グループ（写真＋本文） */
.grade {
    width: 1800px;
    margin: 160px auto 0;
}
.grade:first-of-type {
    margin-top: 0;
}
.grade_head {
    display: flex;
    justify-content: space-between;
    padding: 0 48px;
}
.grade_badge {
    width: 445px;
    margin-top: 240px;
}
.grade_badge img {
    width: 100%;
    height: auto;
}
.grade_photos {
    grid-template-columns: repeat(4, 293px);
    gap: 22.7px;
}
.grade_text {
    margin-top: 74px;
    padding: 46px 87px;
}

.back-btn {
    margin-top: 215px;
}
}

/***********************************************************************
  「★SP版 CSS★」ブラウザの幅が750px以下ならここの記述が有効になる
  **********************************************************************/
@media all and (max-width: 750px) {
/* 背景のフィルター（Figma：上部506pxまで黒20%、以降黒65%） */
#wrapper {
    background: linear-gradient(rgba(0, 0, 0, 0.2) 0 506px, rgba(0, 0, 0, 0.65) 506px);
}

/* タイトル・リード */
.main {
    padding-top: 367px;
}
.kv {
    top: 122px;
    left: 35px;
    width: 675px;
}
.lead {
    min-height: 454px;
    margin-bottom: 38px;
    padding: 113px 40px 0;
    background:
        url(../images/tenbo/band_sp.png) no-repeat 0 0 / 750px auto,
        linear-gradient(transparent 111px, #000 111px);
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* タブ */
.grade-tabs {
    display: flex;
    gap: 16px;
    padding-left: 39px;
}
.grade-tab {
    width: 212px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}
.grade-tab .grade-tab_on,
.grade-tab.is-active .grade-tab_off {
    display: none;
}
.grade-tab.is-active .grade-tab_on {
    display: block;
}
.grade-tab img {
    width: 100%;
    height: auto;
}
#grade-tab-a2 {
    width: 218px;
}

/* グループ（写真＋本文） */
.grade:not(.is-active) {
    display: none;
}
.grade {
    padding: 0 40px;
}
.grade_photos {
    grid-template-columns: repeat(3, 212px);
    justify-content: space-between;
    row-gap: 17px;
    margin-top: 56px;
}

.grade_text {
    margin-top: 64px;
    padding: 40px 40px 40px 39px;
}

.back-btn {
    margin-top: 100px;
}
}
