@charset "utf-8";

/* ======================================= IndexElements ======================================= */
/* ------------------------------------------------ cont_index_pattern_01 --------------------------------------------------- */
#pg_index {
    margin: 0 auto 117px;
}

@media only screen and (max-width: 750px) {
    #pg_index {
    margin: 0 auto 18px;
}
}

.pattern_01 .cont_header.visual {
    height: 290px;
}

#pg_index .cont_header.visual {
    width: 100%;
    height: 290px;
    background: url(../img/header.png) center center no-repeat;
    background-size: cover;
    z-index: -1;
}

/* ------------------------------------ cont_index ------------------------------------ */
#pg_index .btn_area {
    margin: 10px auto 20px;
}

#pg_index section {
    margin: 0 auto 120px;
}

.pattern_01 .cont_index {
    display: flex;
    justify-content: space-between;
}

.pattern_01 .cont_index li {
    position: relative;
    width: 240px;
    z-index: 0;
    margin: 0 1.81% 0 0;
    text-align: center;
    font-weight: bold;
    height: 253px;
    border-radius: 10px;
    background-color: #fff;
    /* overflow: hidden; */
}

.pattern_01 .cont_index li::before {
    content: none;
}

.pattern_01 .cont_index li a {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: block;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 1;
    font-size: 2rem;
    line-height: 1.6;
    text-align: center;
}

/* hover area control*/
.pattern_01 .cont_index li a img {
    width: auto;
    margin: 0 auto;
    max-width: 100%;
    flex-shrink: 0;
}


.pattern_01 .cont_index li:hover {
    cursor: pointer;
}

.pattern_01 .cont_index li a::before {
    content: none;
}

.pattern_01 .cont_index li a::after {
    content: none;
}
@media only screen and (max-width: 768px) {

    .pattern_01 .cont_index li {
    overflow: hidden;
}

    .pattern_01 .cont_index li {
        background-size: 170% !important;
        background-position: top 110px center !important;
    }
}
.banner_img_1,
.banner_img_2,
.banner_img_3,
.banner_img_4 {
    box-sizing: border-box;
    width: 100%;
    height: 178px;
    border-top: 3px solid #72CA9F;
    border-right: 3px solid #72CA9F;
    border-left: 3px solid #72CA9F;
    border-radius: 10px 10px 0 0;
}
.banner_img_1 {
    background: transparent url(../img/top_banner_1.png) no-repeat;
     background-position: center top;
    background-size: cover;
    background-color: #F1FAF6;
}

.banner_img_2 {
    background: #FFF url(../img/top_banner_2.png) no-repeat;
     background-position: center top;
    background-size: cover;
    background-color: #F1FAF6;
}

.banner_img_3 {
    background: transparent url(../img/top_banner_3.png) no-repeat;
     background-position:  center top;
    background-size: cover;
    background-color: #F1FAF6;
}

.banner_img_4 {
    background: #FFF url(../img/top_banner_4.png) no-repeat;
     background-position: center top;
    background-size: cover;
    background-color: #F1FAF6;
}

.cont_index li div.banner_text p {
    font-size: 20px;
    line-height: 1.3em;
    position: relative;
}

@media (max-width: 810px) {
 .cont_index li div.banner_text p {
    font-size: 17px;
}
}

.cont_index li div.banner_text p::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #fff;
    margin: 0 10px;
}

.cont_index li div.text-1, .cont_index li div.text-2, .cont_index li div.text-3 {
    padding: 26px 0;
}

.cont_index li div.text-4 {
    padding: 10px 0;
}

@media only screen and (min-width: 769px) and (max-width: 890px) {
  .cont_index li div.text-4 {
    padding: 2px 0;
    font-size: 17px;
  }
}

.cont_index li div.text-1 p::after {
    left: 195px;
    top: 5px;
}

.pattern_01 .cont_index li a:link, .pattern_01 .cont_index li a:visited, .pattern_01 .cont_index li a:active, .pattern_01 .cont_index li a:hover {
    text-decoration: none;
}

.pattern_01 .cont_index li a small {
    display: block;
    font-size: 1.6rem;
    margin: 0 0 1em;
}

@media only screen and (max-width: 400px) {

    #pg_index .cont_header.visual {
        background: url(../img/wall-paper_sm.png) top center no-repeat !important;
        background-size: cover !important;
        height: 290px !important;
    }
    
}


.cont_index li div.attention{
    position: absolute;
    content: '';
    top: -40px;
    left: 0;
    display: block;
    background-color: #72ca9f;
    color: #fff;
    font-size: 1.4rem;
    border-radius: 5px;
    width: 50px;
    height: 25px;
    line-height: 25px;
    text-align: center;
}

@media only screen and (max-width: 768px) {
.cont_index li div.attention{
    position: absolute;
    content: '';
    top: 12px;
    left:auto;
    right: 12px;
    display: block;
    background-color: #72ca9f;
    color: #fff;
    font-size: 1.4rem;
    border-radius: 5px;
    width: 50px;
    height: 25px;
    line-height: 25px;
    text-align: center;
}
}

@media only screen and (min-width: 400px) and (max-width: 768px) {

    #pg_index .cont_header.visual {
        background: url(../img/wall-paper_sm.png) center calc(50% - min(6vw, 0px)) no-repeat !important;
        background-size: cover !important;
        height: 390px !important;
    }
    
}

@media only screen and (max-width: 768px) {
    #pg_index section {
        margin: 0 auto 40px;
    }

    .pattern_01 .cont_header.visual {
        margin: 0 0 10px;
    }

    .pattern_01 .cont_header.visual h1 {
        font-size: 4rem;
    }

    .cont_index li div.text-4 p::after, .cont_index li:hover div.text-4 p::after {
        left: 385px;
    }

    .pattern_01.base_wrap {
        width: 89%;
    }

    .pattern_01 .cont_index {
        display: block;
        margin-bottom: 50px;
    }

    .pattern_01 .cont_index li {
        width: 100%;
        height: 500px;
        margin: 0 0 50px;
        text-align: left;
    }

    .banner_img_1 {
         background: transparent url(../img/top_banner_sp_1.png);
        background-size: cover;
        background-position: top;
        background-color: #F1FAF6;
    }

    .banner_img_2 {
       background: #FFF url(../img/top_banner_sp_2.png); 
        background-size: cover;
        background-position: top;
        background-color: #F1FAF6;
    }

    .banner_img_3 {
        background: transparent url(../img/top_banner_sp_3.png); 
        background-size: cover;
        background-position: center;
        background-color: #F1FAF6;
    }

    .banner_img_4 {
        background: #FFF url(../img/top_banner_sp_4.png); 
        background-size: cover;
        background-position: top;
        background-color: #F1FAF6;
    }

    .pattern_01 .cont_index li:nth-child(3) {
        margin: 0 0 50px;
    }

}

#pg_index .cont_header.visual {
    height: 290px;
    margin: 0 0 90px;
}


@media only screen and (max-width: 767.8px) {
    .pattern_01 .cont_index {
        margin-bottom: 30px;
    }

    .pattern_01 .cont_index li {
        height: 200px;
        margin: 0 0 15px;
    }
    
    .banner_img_1, .banner_img_2, .banner_img_3, .banner_img_4 {
        height: 134px;
    }

    .cont_index li div.text-4 p::after, .cont_index li:hover div.text-4 p::after {
        left: 213px;
    }

    .pattern_01 .cont_index li:nth-child(3) {
        margin: 0 0 15px;
    }
}


.cont_index li .banner_text {
    position: relative;
    z-index: 0;
    overflow: hidden;
    box-sizing: border-box;

    background-color: #72CA9F;
    background-image: url("../img/nav.png");
    background-repeat: repeat;
    background-position: center;

    border-right: 3px solid #72CA9F;
    border-bottom: 3px solid #72CA9F;
    border-left: 3px solid #72CA9F;
    border-radius: 0 0 10px 10px;

    color: #fff;

    transition: border-color 0.35s ease;
}

/* ホバー用の帯画像を重ねる */
.cont_index li .banner_text::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background-image: url("../img/nav_hover.png");
    background-repeat: repeat;
    background-position: center;

    opacity: 0;
    transition: opacity 0.35s ease;
}

/* 帯の文字は疑似要素より前面に出す */
.cont_index li .banner_text p,
.cont_index li .banner_text .text-5 {
    position: relative;
    z-index: 1;
}

/* 帯画像と枠を同じ時間で変化 */
.cont_index li:hover .banner_text {
    border-right-color: #20A27C;
    border-bottom-color: #20A27C;
    border-left-color: #20A27C;
}

.cont_index li:hover .banner_text::before {
    opacity: 1;
}

.page04 {
    text-align: center;
}



.hero_report .wrap {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  height: 150px; /* 必要に応じて調整 */
  display: flex;
  align-items: center;
}

.hero_report_text {
  position: relative;
  z-index: 1;
  /* margin-left: 5rem;  */
}

.hero_report_text h1 {
  margin: 0 0 8px;
  font-size: 5.5rem;
  font-weight: bold;
  line-height: 1.2;
  color: rgba(4, 83, 75, 0.7);
}

@media only screen and (max-width: 768px) {
  #pg_index .hero_report .wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  #pg_index .hero_report_text {
    position: absolute;
    top: 22%;
    left: 10%;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: max-content;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  #pg_index .hero_report_text h1 {
    width: max-content;
    margin: 0 0 20px;
    padding: 0;

    font-family: "Noto Sans JP", sans-serif;
    font-size: 40px;
    font-weight: 900;
    line-height: 65px;
    letter-spacing: 0;

    color: rgba(4, 83, 75, 0.7);
    text-align: left;
  }

  #pg_index .hero_report_text h1 span {
    display: block;
    margin: 0;
    padding: 0;
    font: inherit;
  }
}


@media only screen and (max-width: 768px) {
  #pg_index .hero_report_text h1.hero_report_logo {
    width: 380px;
    max-width: none;
  }

  #pg_index .hero_report_logo picture {
    display: block;
    width: 100%;
  }

  #pg_index .hero_report_logo img {
    display: block;
    width: 80%;
    max-width: none;
    height: auto;
    margin: 0;
  }
}

@media only screen and (max-width: 399px) {
  #pg_index .hero_report_text h1.hero_report_logo {
    width: 290px;
    max-width: none;
  }

    #pg_index .hero_report_text {
    top: 17%;
    left: 10%;
    z-index: 1;

  }
}


