table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
    margin: auto;
    text-align:left;
}

#table01 tr {
  border-bottom: 1px solid #f0f0f0;
}

#table01 th,
#table01 td {
  padding: 24px 0;
  border: none;
  font-size: 1em;
}

#table01 th {
  width: 30%;
}

@media only screen and (max-width: 480px) {
  #table01 th,
  #table01 td,
  #table01 tr {
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
    font-size: 1.6em;
  }

  #table01 td {
    padding-top: 0;
    font-size: 1.6em;
  }
}




#cardlayout-wrap {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    margin: 2em auto;
    max-width: 960px;
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

/* リンクテキストの下線を非表示 */
a.card-link {
    text-decoration: none;
}

/* カードレイアウト内の画像を幅いっぱいに表示 */
#cardlayout-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
}

.card-figure {
    margin: 0;
    padding: 0;
}

/* カードレイアウトのタイトル部分 */
.card-title {
    margin: 1.6em 0 0;
    text-align: center;
    font-size: 1em;
    font-weight: 400;
}

/* カードレイアウトの説明文部分 */
.card-text-tax {
    margin: 0;
    padding: 1em;
    font-size: 1em;
    text-align: center;
}
.card-text-tax a {
    border: 1px solid #000;
    padding: 10px;
    border-radius: 5rem;
}
.card-text-tax a:hover {
    transition: .7;
    opacity: .7;
    background: #000;
    color: #fff;
}

/* カードレイアウトを1カラムで配置 */
.card-list {
    margin: 0.5em auto;
    padding: 0;
    width: 96%;
    background: #fff;
    box-shadow:0 0 3px rgba(0, 0, 0, 0.18);
}


#profile {width:570px; min-height:490px; position:relative; margin:50px auto 0; padding:50px 50px 50px 320px;font-size:1em; line-height:2;}
#profile > header {width:250px; position:absolute; left:50px; top:50px;}
#profile > header > .image {margin:0;}
#profile > header > .image > img {display:block;}
#profile > p {margin: 0 0 0 60px;}
#profile > .more {display:inline-block; position:relative; margin:40px 0 0; padding:7px 40px 7px 18px; background:#fff; border-radius:18px; font-size:1em; line-height:1; text-decoration:none;}
#profile > .more:after {
        display:block; content:"\e901"; width:40px; height:15px; position:absolute; right:0; top:50%; margin:-7px 0 0; font:bold 14px/1 "icons"; vertical-align:middle; text-align:center;}


/* 画面幅768px以上の場合カードレイアウトを2カラムで配置 */
@media all and (min-width: 768px) {
    .card-list {
        margin: 0.5em 0;
        width: calc(96% / 2); /* 96%幅を2で割るという指定 */
    }
}

/* 画面幅992px以上の場合カードレイアウトを3カラムで配置 */
@media all and (min-width: 992px) {
    .card-list {
        width: calc(85% / 3); /* 96%幅を3で割るという指定 */
        padding: 1.2rem;
}
    
/* 最後の行が3列より少ない場合左寄せにレイアウトさせる */
    #cardlayout-wrap::after{
        content: "";
        display: block;
        width: calc(96% / 3);
    }
}

@media all and (max-width: 780px) {
    .card-title {
        font-size: 1.6em;
    }
    
    .card-text-tax {
        font-size:1.6em;
    }

    #profile {width:auto; min-height:0; margin:30px 0 0; padding:30px 20px 30px; font-size:12px; line-height:1.7;}
    #profile > header {width:auto; position:static; text-align:center;}
    #profile > header > h1 {font-size:18px;}
    #profile > header > .image {max-width:250px; margin:20px auto 0;}
    #profile > header > .image > img {width:100%; height:auto;}
    #profile > p {margin:25px 0 0;font-size: 1.6em}
    #profile > .more {display:block; margin:1em 0 0; padding:9px 30px 9px 19px; font-size:12px; text-align:left;}
    #profile > .more:after {width:30px; height:12px; margin:-6px 0 0; font-size:10px;}

}