.term .year { background-color: #c7000b; position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.term .year::after { content: ""; border-style: solid; border-top-color: #c7000b; border-right-color: transparent; border-bottom-color: transparent; border-left-color: transparent; position: absolute; left: 0; }
.term .year p { color: #FFF; text-align: center; font-weight: bold; }
.term .job .work + .work { margin-top: 1em; }
.term .job .work .head { color: #c7000b; font-weight: bold; }
.term .job .work .txt { margin-left: 1em; }

@media screen and (max-width: 767px) { #content { padding-bottom: 40px; }
  .ttl-section { margin-bottom: 0.5em; }
  .term .year { height: 30px; margin-bottom: 6px; }
  .term .year::after { width: 100%; height: 40px; border-top-width: 20px; border-right-width: calc(50vw - 1em); border-bottom-width: 20px; border-left-width: calc(50vw - 1em); bottom: -40px; }
  .term .year p { font-size: 16px; line-height: 16px; position: relative; bottom: -4px; z-index: 10; }
  .term .year p .num { font-size: 24px; padding-left: 4px; padding-right: 4px; } }
@media screen and (min-width: 768px) and (max-width: 991px), print { .term .year { width: 160px; height: 72px; }
  .term .year::after { width: 160px; height: 80px; border-top-width: 40px; border-right-width: 80px; border-bottom-width: 40px; border-left-width: 80px; bottom: -80px; }
  .term .year p { font-size: 15px; line-height: 15px; margin-bottom: 15px; }
  .term .year p .num { font-size: 22px; padding-left: 3px; padding-right: 3px; } }
@media screen and (min-width: 768px), print { #content { padding-bottom: 100px; } }
@media screen and (min-width: 992px) and (max-width: 1183px) { .term .year { width: 208px; height: 93px; }
  .term .year::after { width: 208px; height: 104px; border-top-width: 52px; border-right-width: 104px; border-bottom-width: 52px; border-left-width: 104px; bottom: -104px; }
  .term .year p { font-size: 20px; line-height: 20px; margin-bottom: 20px; }
  .term .year p .num { font-size: 30px; padding-left: 4px; padding-right: 4px; } }
@media screen and (min-width: 1184px) { .term .year { width: 256px; height: 115px; }
  .term .year::after { width: 256px; height: 128px; border-top-width: 64px; border-right-width: 128px; border-bottom-width: 64px; border-left-width: 128px; bottom: -128px; }
  .term .year p { font-size: 24px; line-height: 24px; margin-bottom: 24px; }
  .term .year p .num { font-size: 36px; padding-left: 6px; padding-right: 6px; } }
