@charset "utf-8";
/* CSS Document */

.has-small-font-size {
    font-size: 0.85em !important;
}

.wp-block-table td {
    font-size: 0.9em;
    padding: 15px;
    letter-spacing:0.05em;
    color: var(--black);
}

.wp-block-table td:first-child {
    background: var(--lightgray);
    font-weight:var(--fw-bold);
}

.has-fixed-layout {
  width: 100%;
  border-collapse: collapse;
  border: 0;
}

.has-fixed-layout thead {
  display: none;
}

.has-fixed-layout tr {
  display: grid;
  margin-bottom: 15px;
  border: 1px solid #ebebeb;
  /* border-radius: 6px; */
  background: #fff;
  padding: 0;
}

.has-fixed-layout td {
  /* display: flex; */
  /* justify-content: space-between; */
  padding: 8px 5px;
  border: none;
  border-bottom: 1px solid #ebebeb;
}

.has-fixed-layout td:last-child {
  border-bottom: none;
}

.has-fixed-layout td::before {
  font-weight: bold;
  color: var(--white);
  background: #2e97df;
  margin: 0 auto 6px;
  display: block;
  width: 100%;
  padding: 5px 7px;
  box-sizing: border-box;
  line-height: 1;
}


  .has-fixed-layout td:nth-of-type(2)::before { content: "主な補助対象"; }
  .has-fixed-layout td:nth-of-type(3)::before { content: "リ・スキリング対象者"; }
  .has-fixed-layout td:nth-of-type(4)::before { content: "成果"; }

.menu-wrap > div {
    display: grid;
    gap: 30px;
}

.menu-box figure {
    margin: 10px auto 0;
}

.menu strong {
    display: block;
    background: var(--darkblue);
    color: var(
    --white);
    padding: 3px 10px;
}

.menu {
    border: 1px solid var(--darkblue);
    border-radius: 10px;
    overflow: hidden;
}

.menu p:last-child {
    padding: 8px;
    color: var(--black);
}

.activity strong {
    padding: 10px;
    display: block;
}

.activity.a01 ul{
    background: #427bbf;
}

.activity.a01 strong {background: #2d5b99;}

.template .activity.a02 ul{
    background: #7f90c8;
    padding: 10px 10px 70px 32px;
}

.activity.a02 strong {background: #556aab;padding: 35px 10px 10px 10px;}

.template .activity.a03 ul{
    background: #2badd7;
    padding: 10px 10px 20px 32px;
}

.activity.a03 strong {background: #0092b8;padding: 35px 10px 10px 10px;}

.template .activity ul {
    padding: 10px 10px 30px 32px;
}

.template .activity * {
    color: var(--white) !important;
}

.activity.a01 {
    clip-path: polygon(0 0, 0 90%, 50% 100%, 100% 90%, 100% 0, 0 0);
}

.activity.a02{
    background: #0092b8;
    clip-path: polygon(0 0, 0 80%, 50% 90%, 100% 80%, 100% 0, 50% 9%);
}

.activity.a03 {
    clip-path: polygon(0 0, 0 0, 0 100%, 100% 100%, 100% 0, 50% 12%);
    margin: -56px 0 0 0;
}

.activity-wrap {
    margin: 23px auto 0;
    padding: 23px 0 0 0;
}

.activity{
    position:relative;
    padding: 0 0 0 0;
    margin: -23px auto 0;
}

.activity:after{
  /* content: ""; */
  position: absolute;
  bottom: 0; /* 下にずらす */
  left: 0;
  width: 0;
  height: 0;
  border-left: 45vw solid transparent;
  border-right: 45vw solid transparent;
}
.activity.a01:after{
  border-top: 24px solid #427bbf;
}
.activity.a02:after{
  border-top: 24px solid #7f90c8;
}
.activity.a03:after{
  content: none;
}

@media screen and (min-width: 550px) {
}

@media screen and (min-width: 767px) {
  .templatebox {
    max-width: 1200px;
    margin: auto;
  }

     .has-fixed-layout {
    display: table;
  }

  .has-fixed-layout thead {
    display: table-header-group;
  }

  .has-fixed-layout tr {
    display: table-row;
    border: none;
    background: transparent;
  }

  .has-fixed-layout td {
    display: table-cell;
    border: 1px solid #ebebeb;
    padding: 0.75em;
    background: var(--white);
  }

  .has-fixed-layout td::before {
    content: none !important;
  }
    .wp-block-table thead {
    border-color: #cfe1ef;
}

.wp-block-table th {
    border: none;
    background: #2e97df;
    color: var(--white);
    border-right: 1px solid var(--white);
}

.wp-block-table th:first-child {
    background: none;
}
    
.wp-block-table td {
    font-size: 0.9em;
    padding: 15px;
}

  .wp-block-table td:first-child:before {
    content: none;
}

.wp-block-table th:last-child {
    border-right: none;
}

  .has-fixed-layout td:last-child{
    border-bottom: 1px solid #ebebeb;
}

.wp-block-table td:first-child {
    background: var(--lightgray);
}

.wp-block-table tbody {
    border-top: 1px solid var(--black);
}


.wp-block-table {
    width: 100%;
}

    .menu-box > div {
    display: flex;
    justify-content: space-between;
}

.menu {
    width: 48%;
}

.menu-box figure {
    width: 48%;
    margin: 0;
}
    
}

@media screen and (min-width: 991px) {
.menu-box > div {
    display: block;
}

.menu-wrap > div{
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.menu {
    width: 100%;
}

.menu-box figure {
    width: 100%;
    margin: 30px auto 0;
}

.menu p:last-child {
    padding: 15px;
}

.menu strong {
    padding: 8px 15px;
    font-weight: var(--fw-bold);
}

 .activity-wrap > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto 10px;
  padding: 0;
}


.activity {margin: 0 0 0 0;}
.activity.a01 {clip-path: polygon(0 0,90% 0,100% 50%,90% 100%,0 100%);margin: 0 -36px 0 0;}

.activity.a01 strong,.activity.a02 strong,.activity.a03 strong {
    padding: 10px 10px 10px 40px;
}

.template .activity ul,.template .activity.a02 ul, .template .activity.a03 ul {
    padding: 15px 41px 15px 72px;
    height: 200px;
}

.template .activity.a01 ul{
    
padding: 15px 41px 15px 45px;
} 

    .activity.a02{
    background: #0092b8;
    clip-path: polygon(0% 0,90% 0,100% 50%,90% 100% ,0 100%,10% 50%);
    margin: 0 -27px 0 0;
}

.activity.a03 {
    clip-path: polygon(0% 0,100% 0,100% 100%,90% 100% ,0 100%,10% 50%);
    margin: 0 0 0 -7px;
}
.template .activity ul li{
    
margin: 0 0 10px 0;
    
line-height: 1.6;
}

}

@media screen and (min-width: 1200px) {
  figure {
    margin: 30px auto 0;
  }
}

@media screen and (min-width: 1699px) {
}
