/* =====================================
共通設定（PC / SP 共通）
===================================== */

figure {
    display: block;
    text-align: center;
}

picture img {
    width: 100%;
}

h2,
h3 {
    text-align: center;
}

.hbanner {
    text-align: center;
    position: relative;
}
.sp_br {
  display: none; //768px以上では改行タグを無効に。
}
@media screen and (max-width: 768px) {
  .sp_br {
    display: block; //768px未満で改行タグを有効に。
  }
}
.social {
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social a {
    margin: 0 5px;
}

/* 固定ボタン分の余白（重要） */
body {
    padding-bottom: 120px;
}

/* =====================================
PC（769px以上 + print）
===================================== */

@media screen and (min-width: 769px), print {

    .row h2 {
        padding: 40px 0;
    }

    .row figure {
        padding-bottom: 30px;
    }

    .contact_btns {
        background-color: #E84592;
        padding: 20px 0;
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 99;
    }

    .contact_btns .row {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .contact_btns .row a {
        width: 80%;
        background: #fff;
        color: #E84592;
        padding: 15px 0;
        font-size: 21px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        border: solid 3px #E84592;
        text-align: center;
    }

    .part01 {
        background: #E84592;
    }

    .part02 {
        background: #F9CB87;
    }

    .part03 {
        background: #A6D296;
        padding-bottom: 50px;
    }

    .part04 {
        background: #EA6093;
        padding-bottom: 0;
    }

    .part05 {
        background: #FFFBD0;
        padding: 50px 0;
    }

    .part06 {
        background: #fff;
        padding: 0;
    }

    .part01 .row figure,
    .part02 .row figure,
    .part03 .row figure,
    .part05 .row figure {
        margin-bottom: 20px;
    }

    .head {
        text-align: center;
        padding-top: 40px;
        margin-bottom: 40px;
    }

    .head figure img {
        width: 600px;
    }

    .location {
        background-color: #ededee;
    }

    .location iframe {
        width: 100%;
        height: 580px;
    }

    .group {
        margin-bottom: 40px;
    }

    .group h2 {
        color: #00B0F0;
        font-size: 26px;
        text-align: center;
    }

    .ft_inf p {
        color: #000;
        margin: 10px 0;
    }
}

/* =====================================
SP（768px以下）
===================================== */

@media screen and (max-width: 768px) {

    .row h2 {
        padding: 5.20833vw 0;
    }

    .contact_btns {
        background-color: #E84592;
        padding: 2.60417vw 0;
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 99;
    }

    .contact_btns .row {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .contact_btns .row a {
        width: 60%;
        padding: 10px 0;
        background: #fff;
        color: #E84592;
        font-size: 3vw;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        border: solid 3px #E84592;
        text-align: center;
    }

    .part01 {
        background: #E84592;
    }

    .part02 {
        background: #F9CB87;
    }

    .part03 {
        background: #A6D296;
        padding-bottom: 50px;
    }

    .part04 {
        background: #EA6093;
        padding-bottom: 5px;
    }

    .part05 {
        background: #FFFBD0;
        padding: 20px 0;
    }

    .part06 {
        background: #fff;
        padding: 0;
    }

    .part07 {
        background: #FBFFE1;
        padding: 30px 0;
    }

    .head figure img {
        width: 350px;
        padding: 20px;
    }

    .location {
        background-color: #ededee;
    }

    .location iframe {
        width: 100%;
        height: 75.52083vw;
    }

    footer .group h2 {
        color: #00B0F0;
        font-size: 22px;
        text-align: center;
    }

    .group {
        margin-bottom: 30px;
    }

    .group figure img {
        max-width: 70%;
        padding-bottom: 10px;
    }

    .ft_inf p {
        color: #fff;
        margin: 10px 0;
    }
}
