@charset "utf-8";

.secnav.flex.flex_wrap  {
    gap: 10px 20px;
}
.secnav .orangebutton   {
    background-color: #ED5C00;
    color: white;
    width: calc((100% - 80px) / 5);
    height: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.5s ease-out;
}

.secnav .orangebutton:hover {
    background-color: #666;
}

main > section.sec.sec_list {
    padding-bottom: 100px;
}

main > section.sec.sec_list .seccol {
    padding-top: 30px;
    padding-bottom: 40px;
}

main > section.sec.sec_list .seccol h3  {
    margin-bottom: 20px;
    padding-left: 0;
    line-height: 140%;
}

main > section.sec.sec_list .seccol.flex  {
  align-items: stretch;
  align-content: flex-start;
}

main > section.sec.sec_list .seccol .contentarea {
    padding-left: 59px;
}

main > section.sec.sec_list .seccol h3.flex {
    gap: 20px;
}

main > section.sec.sec_list .seccol h3 span.sansserif {
  display: block;
  line-height: 140%;
}

main > section.sec.sec_list .seccol h3 span.sansserif:first-of-type {
}

main > section.sec.sec_list .seccol h3 .seccol_img {
    max-width: 190px;
    width: 100%;
}

main > section.sec.sec_list .seccol .col_inner  {
    padding-left: 20px;
}
main > section.sec.sec_list .seccol .col_inner p    {
    padding-right: 110px;
}

main > section.sec.sec_list .seccol hr {
  appearance: none;
  border: 0;
  border-bottom: 1px solid rgba(205, 205, 205, 0.5);
  background-color: transparent;
  position: relative;
  left: -20px;
  width: calc(100% + 20px);
}

main > section.sec.sec_list .seccol:after   {
    content: "";
    width: 100%;
    height: 1px;
    background-color: rgba(205, 205, 205, 0.5);
    position: absolute;
    top: 220px;
    left: 0;
}

main > section.sec.sec_list .seccol.has_after {
  margin-bottom: 200px;
}

main > section.sec.sec_list .seccol p a.graybutton {
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}

main > section.sec.sec_list .seccol.has_after + .seccol {
    margin-top: -100px;
    margin-bottom: 0;
}

@media screen and (max-width: 834px)    {
    .secnav.flex.flex_wrap  {
        gap: 2.54vw;
    }
    .secnav .orangebutton   {
        width: calc((100% - 2.54vw) / 2);
        height: 20.36vw;
    }
    main > section.sec.sec_list {
      padding-bottom: 0;
    }
    
    main > section.sec.sec_list .seccol:after   {
        top: 7.63vw;
    }
    
    main > section.sec.sec_list .seccol .contentarea  {
        padding-left: 7.63vw;
    }
    
    main > section.sec.sec_list .seccol .col_inner  {
        padding-left: 0;
    }
    
    main > section.sec.sec_list .seccol .col_inner h4  {
        line-height: 140%;
    }
    main > section.sec.sec_list .seccol .col_inner p    {
        padding-right: 5.09vw;
    }
    
    main > section.sec.sec_list .seccol h3   {
        height: 24.43vw;
    }
    
    main > section.sec.sec_list .seccol h3 span.sansserif {
        padding-left: 0;
        line-height: 116.66%;
    }
    
    main > section.sec.sec_list .seccol.has_after {
      margin-bottom: 7.63vw;
    }

    main > section.sec.sec_list .seccol.has_after:after {
      display: none;
    }
    
    main > section.sec.sec_list .seccol.has_after + .seccol {
        margin-top: 0;
        margin-bottom: 7.63vw;
    }
    
    main > section.sec.sec_list .seccol:after,
    main > section.sec.sec_list .seccol.has_after:after   {
        display: block;
        top: 24.43vw;
        content: "";
        width: 100%;
        height: 1px;
        background-color: rgba(205, 205, 205, 0.5);
        position: absolute;
        left: 0;
    }
}