@charset "UTF-8";

/*----------------------------------------
	way （3つの勤務場所と働き方にある＋独立開業制度をアクティブにする記述）
----------------------------------------*/

.way__btn03 {
  border: none;
  color: #fff;
  background: linear-gradient(90deg, rgba(3, 0, 0, .35), rgba(255, 255, 255, .35)), #71c742;
}

.way__btn03::before {
  border-top: solid 3px #fff;
  border-right: solid 3px #fff;
}

.way__btn04 {
  border: 2px solid #8ace48;
  background-color: #fff;
  color: #8ace48;
}

.way__btn04::before {
  border-top: solid 3px #8ace48;
  border-right: solid 3px #8ace48;
}


/*----------------------------------------
	independent02
----------------------------------------*/

.independent02 {
  padding-top: 100px;
}

.independent02__nayami {
  margin: 50px auto 0;
  position: relative;
}

.independent02__nayami li:after {
  content: url(../img/../img/icon-nayami_arrow.png);
  display: block;
  position: relative;
  margin: 0 auto;
  width: fit-content;
}

.independent02__nayami li:last-of-type:after {
  content: none;
}

.independent02__flex {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 30px;
  background-color: #F2F2F2;
  max-width: 1000px;
  margin: 0 auto;
}

.independent02__imgBox {
  width: 30%;
  text-align: center;
}

.independent02__imgBox .ttl {
  font-size: 24px;
  font-weight: bold;
  line-height: 2;
  letter-spacing: 2.4px;
  text-align: center;
  color: #7ac549;
}

.independent02__imgBox .txt {
  font-size: 24px;
  font-weight: bold;
  line-height: 2;
  letter-spacing: 2.4px;
  text-align: center;
}

.independent02__txtBox {
  width: 70%;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.87;
  letter-spacing: 2.4px;
  padding: 15px 25px;
  background-color: #fff;
}

.independent02__combox {
  width: 80%;
  max-width: 1000px;
  max-height: 280px;
  margin: 50px auto 0;
  padding: 30px;
  border: solid 3px #7ac549;
  font-size: 22px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.36;
  letter-spacing: 4.4px;
  text-align: center;
}

.independent02__combox h4 {
  margin-top: 30px;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 6px;
  text-align: center;
  color: #7ac549;
}

@media all and (max-width: 768px) {
  .independent02 {
    padding-top: 50px;
  }
  .independent02__flex {
    flex-direction: column;
    padding: 15px;
  }
  .independent02__nayami {
    margin: 0 auto;
  }
  .independent02__imgBox {
    width: 100%;
    text-align: center;
  }
  .independent02__imgBox img {
    max-width: 50px;
  }
  .independent02__imgBox .ttl {
    font-size: 14px;
  }
  .independent02__imgBox .txt {
    font-size: 18px;
  }
  .independent02__txtBox {
    width: 100%;
    font-size: 14px;
    padding: 15px;
  }
  .independent02__combox {
    font-size: 14px;
    line-height: 1.57;
    letter-spacing: 2.8px;
    padding: 10px;
  }
  .independent02__combox h4 {
    font-size: 17px;
  }
}


/*----------------------------------------
	independent03
----------------------------------------*/

.independent03 {
  padding: 90px 0;
}

.independent03 .p-clinic_lead {
  margin: 50px 0;
}

.independent03_comment {
  font-size: 22px;
  line-height: 2;
  letter-spacing: 2.2px;
  text-align: center;
  margin-top: 30px;
}

@media all and (max-width: 768px) {
  .independent03 {
    padding: 50px 0;
  }
  .independent03 .p-clinic_lead.sub {
    margin: 50px auto 25px;
    text-align: center;
  }
  .independent03_comment {
    font-size: 15px;
  }
}


/*----------------------------------------
	independent04
----------------------------------------*/

.independent04 {
  padding: 81.6px 0 60.5px;
  background-color: #f7f7f7;
}

.independent04__imgWrap {
  width: 74%;
  margin: 0px auto 0 auto;
  text-align: center;
  display: block;
}

.independent04__cat {
  font-size: 14px;
  line-height: 2.15;
  letter-spacing: 1.4px;
  margin-top: 25px;
}

@media all and (max-width: 768px) {
  .independent04 {
    padding: 30px 0;
  }
  .independent04__imgWrap {
    margin-top: 0;
    display: flex;
  }
  .independent04__cat {
    font-size: 12px;
  }
}


/*----------------------------------------
	independent05
----------------------------------------*/

.independent05 {
  padding: 120px 0;
}

.independent05__flex {
  display: flex;
  gap: 30px;
  margin: 50px 10% 0 10%;
}

.independent05__flex li {
  text-align: center;
}

.independent05__flex li p {
  margin-top: 15px;
}

.independent05__imgWrap {
  margin: 50px auto 0;
  max-width: 1000px;
  width: 80%;
}

@media all and (max-width: 768px) {
  .independent05 {
    padding: 60px 0;
  }
  .independent05__flex {
    margin-top: 0;
    flex-wrap: wrap;
  }
  .independent05__flex li {
    width: 45%;
  }
  .independent05__flex li p {
    font-size: 13px;
  }
}


/*----------------------------------------
	independent06
----------------------------------------*/

.independent06 {
  padding: 30px;
  background-color: #f7f7f7;
}

.independent06__imgWrap {
  margin: 0px auto;
  max-width: 1000px;
  width: 100%;
}


/*----------------------------------------
	independent08
----------------------------------------*/

.independent08 .p-about_bg {
  background-color: #f8ffee;
  max-width: 80vw;
}

.independent08 .p-about_colL-mid {
  max-width: 47vw;
  padding: 25px;
  background-color: #fff;
  font-size: 16px;
  line-height: 1.87;
  letter-spacing: 1.6px;
  text-align: left;
}

.independent08 .p-about_colL {
  z-index: 2;
}

.independent08 .p-about_colR {
  width: 45vw;
  max-width: 800px;
  position: absolute;
  top: 62%;
  right: 0;
  transform: translateY(-50%);
}

@media all and (max-width: 768px) {
  .independent08 .p-about_inner {
    padding: 30px 10px
  }
  .independent08 .p-about_col {
    margin-top: 0;
  }
  .independent08 .p-about_bg {
    max-width: unset;
    height: 85%;
  }
  .independent08 .p-about_colL-mid {
    max-width: unset;
    padding: 10px;
    font-size: 15px;
  }
  .independent08 .p-about_colR {
    width: 90%;
    top: 0;
    transform: none;
    position: relative;
    margin: 0 auto;
  }
}


/*----------------------------------------
	independent09
----------------------------------------*/

.independent09__h2 {
  max-width: 47vw;
  padding-left: 13.4%;
  margin-top: 122px;
}

.independent09__box {
  margin-top: 35px;
}

.independent09__body {
  width: 60%;
  min-width: 300px;
  position: relative;
  z-index: 5;
  mix-blend-mode: multiply;
  background-blend-mode: multiply;
  background-image: linear-gradient(to bottom, #77c985, #77c985);
  padding: 30px;
}

.independent09__item {
  display: flex;
  align-items: center;
}

.independent09__sub {
  font-size: 30px;
  font-weight: bold;
  line-height: 1.67;
  letter-spacing: 3px;
  text-align: left;
  color: #fff;
}

.independent09__txt {
  font-size: 18px;
  font-weight: bold;
  line-height: 2.67;
  letter-spacing: 1.8px;
  color: #fff;
}

.independent09__img {
  flex-shrink: 0;
  width: 44.9%;
  position: relative;
  margin-left: -2vw;
}

.independent09__container {
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 25px;
  padding-right: 25px;
  position: relative;
  z-index: 2;
}

.independent09__list.colR {
  margin-top: 100px;
  position: relative;
}

.independent09__list.colR .p-faq_bg {
  width: 100%;
  background: linear-gradient(90deg, #fff 0%, #fff 65%, #f7fde8 65%, #f7fde8 100%);
  display: block;
  position: absolute;
  z-index: 0;
  top: -20%;
  right: 0;
  height: 120%;
}

.independent09__list.colL {
  position: relative;
  padding-top: 60px;
}

.independent09__list.colL .p-faq_bg {
  width: 100%;
  background: linear-gradient(90deg, #f7fde8 0%, #f7fde8 42%, #fff 42%, #fff 100%);
  display: block;
  position: absolute;
  z-index: 0;
  max-width: 64vw;
  top: -20%;
  left: 0;
  height: 125%;
}

.independent09__faq {
  width: 100%;
  max-width: 855px;
  margin: 0 auto;
  box-sizing: border-box;
}

.independent09__faq:nth-child(n+2) {
  margin-top: 100px;
}

.independent09__faq li:nth-child(n+2) {
  margin-top: 50px;
}

.independent09__q {
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 2.4px;
  text-align: left;
  color: #4bb15c;
  position: relative;
  padding-left: 2.5em;
}

.independent09__q::before {
  content: "";
  background: url(../img/icon-independentfaq.png) no-repeat top/contain;
  position: absolute;
  top: 5px;
  left: 0;
  display: inline-block;
  width: 44px;
  height: 42px;
}

.independent09__a {
  max-width: 753px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.87;
  letter-spacing: 1.6px;
  margin-top: 40px;
  padding-left: 1.5em;
}

.independent09__cat {
  font-size: 14px;
  line-height: 2.15;
  letter-spacing: 1.4px;
  margin-top: 50px;
}

.independent09__cat span {
  font-size: 16px;
}

.independent09__cat a {
  font-size: 16px;
  text-decoration: underline;
  color: #018429;
}

.independent09__img02 {
  margin-top: 50px;
}

.independent09__img03 {
  margin-top: 50px;
  margin-left: auto;
}

@media all and (max-width: 768px) {
  .independent09 {
    padding-top: 70px;
    padding-bottom: 70px
  }
  .independent09__h2 {
    max-width: 90vw;
    padding-left: 10px;
    margin-top: 0;
  }
  .independent09__list {
    margin-top: 60px
  }
  .independent09__item {
    display: block;
  }
  .independent09__img {
    width: 90%;
    margin-right: -2vw;
    margin-left: auto;
    margin-bottom: -20px;
  }
  .independent09__body {
    width: 88%;
    position: absolute;
    top: 90%;
    left: 0%;
    padding: 25px;
  }
  .independent09__img:before {
    top: auto;
    bottom: 0;
    right: 0;
    width: 83px;
    height: 69px;
    transform: translateY(180%)
  }
  .independent09__item._reverse {
    flex-direction: column
  }
  .independent09__sub {
    font-size: 18px;
    letter-spacing: 1.8px;
  }
  .independent09__txt {
    font-size: 12px;
    line-height: 2.4;
    letter-spacing: 2px;
    margin-top: 10px;
  }
  .independent09__list.colR {
    margin-top: 220px;
  }
  .independent09__list.colR .p-faq_bg {
    top: -100px;
    height: 100%;
  }
  .independent09__faq:nth-child(n+2) {
    margin-top: 50px;
  }
  .independent09__q {
    font-size: 18px;
    padding-left: 2em;
  }
  .independent09__q::before {
    width: 30px;
    height: 25px;
  }
  .independent09__a {
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 1.6px;
    margin-top: 20px;
    padding-left: 0;
  }
  .independent09__list.colL {
    padding-top: 0;
  }
  .independent09__list.colL .p-faq_bg {
    top: -100px;
    height: 50%;
  }
  .independent09__cat {
    margin-top: 25px;
    font-size: 12px;
  }
  .independent09__cat span {
    font-size: 13px;
  }
  .independent09__cat a {
    font-size: 13px;
  }
}


/*----------------------------------------
	independent10
----------------------------------------*/

.independent10 {
  padding-top: 80px;
}

.independent10__container {
  width: 100%;
  margin: 0px auto 0 auto;
  text-align: center;
  display: block;
}

.independent10__flex {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  z-index: 7;
  padding: 30px;
  gap: 0px;
}

.independent10__title {
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .1em
}

.independent10__title span {
  display: block;
  font-size: 12px;
  margin-top: 21px;
  line-height: 1;
  color: #fb9426;
  text-transform: uppercase;
  font-weight: 700
}

.independent10__sub {
  color: #86c22a;
  font-size: 31px;
  letter-spacing: .1em;
  white-space: nowrap;
  font-weight: 700
}

.independent10__img {
  width: 40%;
  max-width: 627px;
  flex-shrink: 0;
}

.independent10__imgWrap {
  text-align: center;
}

.independent10__txt {
  line-height: 2.12;
  margin-top: 20px
}

.independent10__txt span {
  color: #ff7f18;
}

.independent10__comment {
  margin-top: 40px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 2px;
  text-align: center;
  color: #4c4c4c;
}

.independent10__right {
  width: 100%;
}

@media all and (max-width: 768px) {
  .independent10 {
    padding-top: 50px;
  }
  .independent10__flex {
    flex-direction: column;
    padding: 0;
  }
  .independent10__left {
    margin-top: 0;
    margin-left: 0;
    text-align: center;
    padding-left: 17px;
    padding-right: 17px
  }
  .independent10__img {
    width: 100%;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto
  }
  .independent10__sub {
    font-size: 22px;
  }
  .independent10__txt {
    font-size: 15px;
    max-width: none;
    line-height: 2.12;
    margin-top: 20px
  }
  .independent10__btn {
    margin-top: -110px!important
  }
  .independent10__imgWrap {
    margin-top: 50px;
  }
}


/* 実務科目 */

html {
  font-size: 100%;
  /
}

@media (max-width: 375px) {
  html {
    font-size: 4.266666/6667vw;
  }
}

@media screen and (min-width: 768px) {
  html {
    font-size: 1.523/8095238vw;
  }
}

@media (min-width: 1050px) {
  html {
    font-size: /100%;
  }
}

body {
  /*   font-family: ""; */
  color: #333;
}

@media screen and (min-width: 768px) {
  a, button {
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  a:hover, button:hover {
    opacity: 0.9;
    cursor: pointer;
  }
}

*, *::before, *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}


/* Remove default margin */

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, li {
  margin: 0;
}


/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */

ul, ol {
  list-style: none;
  padding: 0;
}


/* Set core root defaults */

html:focus-within {
  scroll-behavior: smooth;
}


/* Set core body defaults */

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}


/* A elements that don't have a class get default styles */

a:not([class]) {
  text-decoration-skip-ink: auto;
}

a {
  text-decoration: none;
  color: inherit;
}


/* Make images easier to work with */

img, picture {
  max-width: 100%;
  /*   display: block; */
}


/* Inherit fonts for inputs and buttons */

input, button, textarea, select {
  font: inherit;
}

button {
  border: none;
  padding: 0;
  background-color: transparent;
  background-color: initial;
}


/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    -webkit-animation-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.l-inner {
  margin-top: 6.25rem;
  width: 100%;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (min-width: 768px) {
  .l-inner {
    max-width: 1050px;
    padding-right: 1.5625rem;
    padding-left: 1.5625rem;
  }
}

.u-desktop {
  display: none;
}

@media screen and (min-width: 768px) {
  .u-desktop {
    display: block;
  }
}

.u-mobile {
  display: block;
}

@media screen and (min-width: 768px) {
  .u-mobile {
    display: none;
  }
}


/*  */

.p-program__item {
  background-color: #f3ffe9;
  padding: 0.6875rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}

@media screen and (min-width: 768px) {
  .p-program__item {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding: 1.9375rem;
  }
}

.p-program__item:not(:nth-last-child(1))::before {
  content: "";
  width: 0.9375rem;
  height: 1.25rem;
  display: inline-block;
  background: #85b234;
  -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  position: absolute;
  z-index: 5;
  left: 2.6375rem;
  bottom: -1.375rem;
}

@media screen and (min-width: 768px) {
  .p-program__item:not(:nth-last-child(1))::before {
    bottom: -22%;
    left: calc(25% - 0.25rem);
  }
}

@media screen and (min-width: 768px) {
  .p-program__item:nth-child(1):before {
    bottom: -17%;
  }
}

@media screen and (min-width: 768px) {
  .p-program__item:nth-child(3):before {
    bottom: -30%;
  }
}

.p-program__item:not(:nth-last-child(1))::after {
  content: "";
  width: 0.4375rem;
  height: 80%;
  display: inline-block;
  position: absolute;
  bottom: -0.1875rem;
  left: 2.8375rem;
  background: #85b234;
  z-index: 5;
}

@media screen and (min-width: 768px) {
  .p-program__item:not(:nth-last-child(1))::after {
    height: 55%;
    top: auto;
    top: initial;
    left: 25%;
    bottom: -2.5rem;
  }
}

.p-program__item:nth-child(2):after {
  height: 76%;
}

@media screen and (min-width: 768px) {
  .p-program__item:nth-child(2):after {
    bottom: -2.1875rem;
  }
}

.p-program__item:nth-child(3):after {
  height: 70%;
}

@media screen and (min-width: 768px) {
  .p-program__item:nth-child(3):after {
    bottom: -3rem;
  }
}

.p-program__item:nth-child(n+2) {
  margin-top: 1.75rem;
}

@media screen and (min-width: 768px) {
  .p-program__item:nth-child(n+2) {
    margin-top: 1.875rem;
  }
}

.p-program__ttl {
  line-height: 1.5277777778;
  font-weight: 900;
  background-color: #9ad533;
  display: inline-block;
  padding: 0.9375rem 0.625rem;
  color: #fff;
  border-radius: 0.625rem;
  min-width: 19.6875rem;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 6;
}

.p-program__ttl span {
  margin-left: -1em;
}

.p-program__box {
  margin-left: 4.55rem;
}

@media screen and (min-width: 768px) {
  .p-program__box {
    margin-left: 2.375rem;
    width: 50%;
  }
}

.p-program__captionWrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  margin-top: 0.625rem;
}

.p-program__item:not(:nth-child(1)) .p-program__captionWrap {
  margin-left: 1.75rem;
  width: 50%;
}

.p-program__captionTtl {
  background-color: #85b234;
  padding: 22px 0.675rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  /*     font-size: 2rem; */
  line-height: 1.8333333333;
  font-weight: 900;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.p-program__txt {
  /*   font-size: 1.6rem; */
  line-height: 1.6428571429;
  padding: 0.875rem 1.0625rem;
  background-color: #fff;
  width: 15.625rem;
  text-align: left;
  padding-left: 21px;
  width: 80%;
}

.p-program__txt_white {
  margin: 7px 10% 0 0%;
}

.p-program__txt:nth-of-type(1), .p-program__txt:nth-of-type(2) {
  /* 1番目と2番目のスタイルを指定する */
}

.p-program__txt:nth-of-type(n+4) {
  width: 80%;
}

@media screen and (min-width: 768px) {
  .p-program__txt {
    width: 61rem;
  }
}

@media screen and (min-width: 768px) {
  .p-program__item:nth-child(1) .p-program__txt {
    width: 55.40625rem;
    margin-right: 10%;
  }
}


/*  */

.p-subject {
  background-color: #f2fce5;
  padding: 1.125rem;
}

.p-subect__ttl {
  background-color: #8fd240;
  color: #fff;
  border-radius: 2.5rem;
  width: 18.75rem;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.3333333333;
  font-weight: 900;
  padding: 0.8125rem 0.3125rem;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .p-subect__ttl {
    font-size: 1.875rem;
    line-height: 1.6;
    width: 55rem;
  }
}

.p-subject__wrap {
  margin-top: 1.125rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-column-start: 2;
  grid-column-end: 1;
  gap: 0.75rem;
}

@media screen and (min-width: 768px) {
  .p-subject__wrap {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}

.p-subject__item {
  text-align: center;
  min-width: 9.0625rem;
}

@media screen and (min-width: 768px) {
  .p-subject__item {
    min-width: 12.5rem;
  }
}

.p-subject__item:nth-child(1) {
  grid-area: 1/1/2/2;
}

.p-subject__item::nth-child(2) {
  grid-area: 1/2/2/3;
}

.p-subject__item:nth-child(3) {
  grid-area: 2/1/3/2;
}

.p-subject__item:nth-child(4) {
  grid-area: 2/2/3/3;
}

.p-subject__item:nth-child(5) {
  grid-area: 3/1/4/2;
}

@media screen and (min-width: 768px) {
  .p-subject__item:nth-child(5) {
    grid-area: 1/3/2/4;
  }
}

.p-subject__item:nth-child(6) {
  grid-area: 3/2/4/3;
}

@media screen and (min-width: 768px) {
  .p-subject__item:nth-child(6) {
    grid-area: 1/4/2/5;
  }
}

.p-subject__item:nth-child(7) {
  grid-area: 4/1/5/3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media screen and (min-width: 768px) {
  .p-subject__item:nth-child(7) {
    grid-area: 2/3/3/5;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-width: 17.1875rem;
  }
}

.p-subject__item:nth-child(7) p {
  padding: 0 1.5625rem;
}

@media screen and (min-width: 768px) {
  .p-subject__item:nth-child(7) p {
    padding: 0.9375rem 1.25rem;
    -webkit-box-flex: 4;
    -ms-flex-positive: 4;
    flex-grow: 4;
  }
}

.p-subject__item:nth-child(7) span {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin-left: auto;
}

@media screen and (min-width: 768px) {
  .p-subject__item:nth-child(7) span {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    -webkit-box-flex: 3;
    -ms-flex-positive: 3;
    flex-grow: 3;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
}

.p-subject__item p {
  border: 1px solid #8fd240;
  background-color: #fff;
}

@media screen and (min-width: 768px) {
  .p-subject__item p {
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 500;
    padding: 0.9375rem 1.25rem;
  }
}

.p-subject__caption {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #8fd240;
  font-weight: 900;
  text-align: left;
  margin-top: 1.5rem;
}

@media screen and (min-width: 768px) {
  .p-subject__caption {
    text-align: center;
    font-size: 1.375rem;
    line-height: 1.3636363636;
  }
}