@charset "UTF-8";

/* CSS Document */
/* 変数を宣言し、格納する。 */
:root {
    --white: #fff;
    --black: #000;
    --red: #ff0000;/* 赤 */
    --green: #00ff00;/* 緑 */
    --blue: #0000ff;/* 青 */
    --yellow: #ffff00;/* 黄 */
    --gray: #808080;/* 灰色 */
    --sans: yakuhanjp, "Noto Sans JP", sans-serif;
    --serif: "Noto Serif JP", serif;
}

/* 変数の呼び出し例
 body {
 background-color: ver(--white);
 color: var(--black);
 font-family: var(--sans);
}*/
/*header*/
header {
    position: relative;
}
/*画像幅がデバイスより広い場合*/
.mv {
    height: 650px;
    overflow: hidden;
    position: relative;
}
.mv .pc {
    width: auto !important;
    max-width: unset;
    height: 100%;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
/*area_link*/
header .link {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
.link {
    text-align: center;
}
.link .flex0 {
    align-items: center;
}

.link a {
    margin-inline: auto;
    display: inline-block;
    overflow: hidden;
    transition: 0.5s;
}

.link a:hover {
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.4));
}


@media screen and (max-width: 1110px) {
    .mv {
        height: 440px;
    }
}

/*area1*/
.area1span {
    background-color: #003296;
    padding-block: 25px;
    position: relative;
}
.area1span:before {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -28px;
    content: "";
    display: block;
    width: 33px;
    height: 28px;
    background: #003296;

  /* 逆三角形（下向き） */
  clip-path: polygon(
    0 0,        /* 左上 */
    100% 0,     /* 右上 */
    50% 100%    /* 下中央 */
);
}
.area1_wrap {
    background: #738CC3;
}
.area1_wrap .inner {
    padding-block: 55px 100px;
}
/*area_2*/
.area_2 {
    background: linear-gradient(to bottom, #FFFAFF, #E1D6FF);
    padding-bottom: 80px;
}
.area_2 hgroup {
    padding-top: 70px;
    --tri-h: 150px;
    background: linear-gradient(to bottom, #8C3C96, #460096);
    padding-bottom: var(--tri-h);
    clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--tri-h)),
    50% 100%,
    0 calc(100% - var(--tri-h)));
}
.area_2 .flex2 {
    margin-top: 60px;
    gap: 100px;
}
/*area_3*/
.area_3 {
    background: linear-gradient(90deg, #F0D282 0%, #FFF9C5 50%, #F0D282 100%);
    padding-block: 70px 60px;
}
.area_3 .flex {
    gap: 45px;
}
.area3_p {
    width: 390px;
    flex-grow: 1;
}
/*area_4*/
.area_4 {
    padding-top: 65px
}
.area_4 .flex {
    gap: 30px 47px;
}
.area4_comment {
    width: 580px;
    flex-grow: 1;

}
/*area_5*/
.area_5 {
    padding-block: 65px;
    background: #F5F5FF;
}
.area_5 .flex2  {
    gap: 30px;
}
/*area_6*/
.area_6 {
    padding-block: 75px 60px;
}
.area_7 {
    background: #FAFAF5;
    padding-block: 30px 60px;
}
/*footer*/
footer {
    background: linear-gradient(90deg, #F0D282 0%, #FFF9C5 50%, #F0D282 100%);
    padding: 20px 0;
}

footer a,
.white {
    color: #000;
}

#page-top {
    position: fixed;
    bottom: 30px;
    right: 10px;
    font-size: 12px;
    z-index: 9;
}

#page-top a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #640096;
    font-weight: bold;
    color: #fff;
    letter-spacing: -0.5px;
    text-decoration: none;
    border-radius: 10px;
}

#page-top p {
    padding: 0;
}

/*スマホ==========================================================================================================*/
@media screen and (max-width: 768px) {
    body {
        font-size: 17px;
        line-height: 1.6;
    }

    .margin {
        margin-bottom: 20px;
    }

    .sp {
        display: block;
    }

    .pc {
        display: none;
    }

    img {
        vertical-align: bottom;
    }

    .inner {
        max-width: 500px;
    }
    header.mb60 {
        margin-bottom: 20px !important;
    }
    header .flex0 {
        flex-direction: column;
        gap: 10px;
    }

    .link {
        margin-inline: auto;
    }
    .mv {
        height: unset;
    }

    .area_1 h2 {
        margin-bottom: 24px !important;
    }
    .area_1 .flex2 {
        gap: 38px;
    }
    .area1span:before {
        bottom: -22px;
        width: 26px;
        height: 22px;
    }
    .link.pt60.pb100 {
        padding-block: 25px 45px !important;
    }
    .area_2 {
        padding-bottom: 50px;
    }
    .area_2 hgroup{
        padding-top: 30px;
         --tri-h: 40px;
    }
    .area_2 h3 {
        padding-top: 10px;
        margin-bottom: 16px !important;
    }
    .area_2 .flex2 {
        margin-top: 30px;
        gap: 60px;
    }
    .area_3 {
        padding-block: 40px 35px;
    }
    .area_3 .flex {
        gap: 40px;
    }
   .area3_p {
    order: 2;
   }
   .sans {
    font-size: 14px;
   }
    .area_4 {
        padding-block: 40px 0;
    }
    .area_4 .flex {
        gap: 20px;
    }
    .mami {
        width: 80%;
        margin-inline: auto;
    }

    /*footer*/

    footer .wrap {
        width: 100%;
        padding: 0 20px;
    }

    footer .footer {
        padding: 0;
        justify-content: center;
        flex-direction: column;
    }

    footer a {
        padding: 10px 0;
        display: inline-block;
    }
}