/*lp-dx */


/*全体*/

.sp_br,
.sp_min_br {
  display: none
}

* {
  font-family: "游ゴシック", "游ゴシック体", --apple-system, "Hiragino Sans", "MS PGothic", Meiryo, sans-serif;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
}

body {
  font-size: 16px;
  line-height: 2;
}

img {
  max-width: 100%;
  width: 100%;
}

h2 {
  text-align: center;
  margin: 30px;
  font-size: 30px;
}

.h2-bottom {
  margin: -20px auto 40px;
}

h3 {
  font-weight: normal;
}

a, a:hover, a:focus {
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}



.small {
  font-size: 80%;
}


/*button*/

.button {
  text-align: center;
  margin: 40px auto;
}
.button a {
  margin-left: 15px;
  }

.btn {
  display: inline-block;
  width: 250px;
  height: 48px;
  font-size: 18px;
  font-weight: bold;
  line-height: 48px;
  color: #fff;
  background-image: url("../img/button-back.png");
  background-size: 100%;
  background-repeat: no-repeat;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.5;
}

@media (max-width:580px) {
  .button a{
    margin-top: 20px;
  }
}

/*balloon*/

.balloon {
  position: relative;
  text-align: center;
}

.balloon::before {
  content: "";
  position: absolute;
  top: 83%;
  left: 50%;
  margin-left: -20px;
  border: 20px solid transparent;
  border-top: 20px solid #cf142b;
}

.diagonal {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 10px 50px;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  background-color: #c03;
}

.diagonal::before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0px;
  right: -157px;
  width: 200px;
  height: 200px;
  background-color: #8d1c21;
  transform: rotate(30deg);
}

.diagonal::after {
  content: '';
  display: inline-block;
  position: absolute;
  bottom: 0px;
  left: -157px;
  width: 200px;
  height: 200px;
  background-color: #8d1c21;
  transform: rotate(30deg);
}

.balloon .diagonal {
  font-size: 18px;
}

.movie-wrap  {
  max-width: 800px;
  width: 90%;
  aspect-ratio: 16 / 9;
  margin: 60px auto 20px;
}

.movie-wrap  iframe {
  width: 100%;
  height: 100%;
}


/*header*/

.header {
  max-width: 1200px;
  margin: auto;
  padding: 15px 25px 10px;
}

.header img {
  width: auto;
  height: 60px;
}

/*firstview*/

.firstview {
  margin: auto;
  max-width: 1500px;
  background-image: url("../img/firstview-back.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.bar {
  max-width: 1500px;
  height: 56px;
  margin: auto;
  background-color: #CC0033;
}
.bar_text {
  padding: 13px 0;
}
.pick {
  margin-left: 15px;
  padding: 3px 13px;
  background-color: #FFF;
  border-radius: 16px;
  color: #CC0033;
  font-size: 15px;
  font-weight: bold;
  text-align: center;

}
.kenshu {
  color: #FFF;
  font-weight: bold;
  
}
.kenshu:hover {
  opacity: 0.8;
}
.arrow {
  width: 15px;
  margin-left:5px;
}

/* pagetop */
#pagetop {
  z-index: 1;
  width: 320px;
  height: auto;
  position: fixed;
  right: 1%;
  bottom: 5%;
}
#pagetop:hover {
  opacity: 0.9
}
#pagetop img {
  width: 396px;
  height: auto;
}
@media (max-width: 767px) {
  #pagetop {
    width: 190px;
    height: auto;
    bottom: 0;
  }
  #pagetop img {
    width: 396px;
    height: auto;
  }
}

.firstview-inner {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 15px;
}

.firstview-right {
  margin: 0px auto;
  width: 585px;
}

.firstview-headline {
  text-align: center;
  padding: 0px 20px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  background-color: #000;
}

.firstview-left {
  width: 585px;
}

.firstview-left-top {
  padding: 30px 0px;
}

.firstview-left-bottom {
  font-weight: bold;
}

h1 {
  font-size: 28px;
}

h1 img {
  vertical-align: middle;
  margin-right: 10px;
  width: 170px;
}

.firstview-award {
  margin-top: 60px;
  width: 200px;
}

.firstview-award img {
  padding: 0px 10px;
}

.firstview-award p {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
}

.firstview-pc {
  margin-top: -160px;
}

.firstview-pc img {
  max-width: 500px;
}

.firstview-award.sp {
  display: none;
}


/*definitive-edition*/

.definitive-edition-outer {
  padding: 30px 15px;
}

.definitive-edition-outer-logo {
  text-align: center;
  margin-top: -20px;
  margin-bottom: 30px;
}

.definitive-edition-outer-logo img {
  width: 200px;
}

.definitive-edition {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 100%;
  width: 970px;
  margin: 0px auto 30px;
}

.definitive-edition-box {
  position: relative;
  margin-bottom: 30px;
  max-width: 100%;
  width: 100%;
  background-color: #f5f5f5;
}

.definitive-edition-box-top {
  display: flex;
}

.number {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  padding: 5px;
  text-align: center;
  width: 70px;
  font-size: 14px;
  color: #fff;
  background-color: #c03;
}

.number-span1 {
  position: relative;
  top: 8px;
}

.number-span2 {
  font-size: 32px;
  line-height: 1.5;
}

.definitive-edition-headline {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 20px;
  font-weight: bold;
}

.definitive-edition-text {
  background-color: #FFF;
  margin: 0px 5px 5px 5px;
  padding: 25px;
  line-height: 2;
}

.definitive-edition-text-top {
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 18px;
  font-weight: bold;
}

.definitive-edition-text-top-b {
  color: #c03;
  font-weight: bold;
}

.definitive-edition-text-top::before {
  content: '';
  display: inline-block;
  position: relative;
  top: 3px;
  left: 0px;
  margin-right: 10px;
  width: 20px;
  height: 20px;
  background: #000;

}


/*assignment*/

.assignment-outer {
  background-image: url("../img/assignment-back.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  padding: 15px;
}

.assignment-outer h2 {
  position: relative;
  color: #c03;
}

.assignment-outer h2 span:first-child:before {
  content: '';
  display: inline-block;
  position: absolute;
  top: -40px;
  margin-left: -40px;
  width: 62px;
  height: 62px;
  background-image: url("../img/assignment-mark.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.assignment-outer h2 span {
  padding: 0px 10px;
  background: linear-gradient(transparent 80%, #fff007 20%);
}

.assignment {
  margin: auto;
  max-width: 100%;
  width: 970px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50px;
}

.assignment p {
  text-align: center;
  margin-bottom: 30px;
}


/*solution*/

.solution-outer {
  text-align: center;
  padding: 30px 15px;
}

.solution-outer h2 {
  position: relative;
  color: #c03;
}

.solution-outer h2 span {
  padding: 0px 10px;
  background: linear-gradient(transparent 80%, #fff007 20%);
}

.solution-pc {
  margin-top: 50px;
  max-width: 970px;
}

.solution-sp {
  display: none;
}

/*program*/

.program-outer {
  padding: 30px 15px;
}

.program {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 60px auto;
  max-width: 100%;
  width: 970px;
}
 
.program-left {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  max-width: 100%;  
  width: 350px;
  background-color: #f5f5f5;
} 
 
.program-left-headline {
  text-align: center;
  font-size: 30px;
  color: #fff;
  background-color: #c03;
} 
 
.program-left-text {
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
  padding: 10px;
  font-size: 18px;
  color: #c03;
}
 
.program-left-text p {
  display: inline-block;
  text-align: left;
  font-weight: bold;
} 
 
.program-right {
  padding: 20px;
  max-width: 100%;
  width: 550px;
  border: 1px solid #c03;
}
 
.program-right-headline {
  font-size: 24px;
  color: #c03;
} 
 
.program img {
  width: 30px;
}


/*course*/

.course-outer {
  padding: 30px 15px;
  background-image: url("../img/parts-back.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.course {
  margin: auto;
  max-width: 100%;
  width: 900px;
}

.course-outer-p {
  text-align: center;
  margin-bottom: 30px;
}

input[type="radio"] {
  display: none;
}

.tab-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 100%;
  width: 900px;
  font-size: 0;
}

.tab-area label {
  margin: 0px 5px 10px;
  padding: 12px 0;
  text-align: center;
  width: 30%;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  background: #fbc7d4;
  cursor: pointer;
  transition: ease 0.2s opacity;
  border-radius: 30px;
}

.tab-area label:hover {
  opacity: 0.5;
}

.panel-area {
  margin-top: 30px;
}

.tab-panel {
  width: 100%;
  display: none;
}

.tab-panel p {
  font-size: 12px;
  letter-spacing: 1px;
  text-align: left;
}

.tab1-label,
.tab2-label,
.tab3-label,
.tab4-label,
.tab5-label,
.tab6-label,
.tab7-label,
.tab8-label,
.tab9-label,
.tab10-label {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

#tab1:checked~.tab-area .tab1-label,
#tab2:checked~.tab-area .tab2-label,
#tab3:checked~.tab-area .tab3-label,
#tab4:checked~.tab-area .tab4-label,
#tab5:checked~.tab-area .tab5-label,
#tab6:checked~.tab-area .tab6-label,
#tab7:checked~.tab-area .tab7-label,
#tab8:checked~.tab-area .tab8-label,
#tab9:checked~.tab-area .tab9-label,
#tab10:checked~.tab-area .tab10-label {
  background: #c03;
  color: #fff;
}

#tab1:checked~.panel-area #panel1,
#tab2:checked~.panel-area #panel2,
#tab3:checked~.panel-area #panel3,
#tab4:checked~.panel-area #panel4,
#tab5:checked~.panel-area #panel5,
#tab6:checked~.panel-area #panel6,
#tab7:checked~.panel-area #panel7,
#tab8:checked~.panel-area #panel8,
#tab9:checked~.panel-area #panel9,
#tab10:checked~.panel-area #panel10 {
  display: block;
}

#tab1:checked~.tab-area .tab1-label:hover,
#tab2:checked~.tab-area .tab2-label:hover,
#tab3:checked~.tab-area .tab3-label:hover,
#tab4:checked~.tab-area .tab4-label:hover,
#tab5:checked~.tab-area .tab5-label:hover,
#tab6:checked~.tab-area .tab6-label:hover,
#tab7:checked~.tab-area .tab7-label:hover,
#tab8:checked~.tab-area .tab8-label:hover,
#tab9:checked~.tab-area .tab9-label:hover,
#tab10:checked~.tab-area .tab10-label:hover {
  opacity: 1;
  cursor: auto;
}

.tab-panel-box {
  padding: 10px 30px 30px;
  text-align: center;
  max-width: 100%;
  width: 900px;
  background-color: #fff;
  border: 1px solid #c03;

}

.line {
  margin: 20px auto;
  width: 1px;
  background-color: #000;
}

.tab-panel .tab-panel-headline {
  padding: 10px 0px;
  text-align: center;
  max-width: 100%;
  width: 900px;
  font-size: 26px;
  font-weight: bold;
  color: #FFF;
  background-color: #c03;
}

.tab-panel-box-left p,
.tab-panel-box-right p {
  text-align: left;
}

.tab-panel .tab-panel-box-headline {
  margin: 30px auto 10px;
  font-size: 16px;
  font-weight: bold;
}

.tab-panel .tab-panel-box-headline::before {
  content: '';
  display: inline-block;
  position: relative;
  top: 3px;
  left: 0px;
  margin-right: 10px;
  width: 20px;
  height: 20px;
  background: #c03;
}

.tab-panel-box-left, .tab-panel-box-right {
  margin-left: 5px;
  width: 48%;
}

.course-img img {
  width: 40%;
  margin: 20px;
}


/*effect*/

.effect-outer {
  text-align: center;
  padding: 30px 15px;
}

.effect-headline {
  display: inline-block;
  text-align: center;
  padding: 10px 30px;
  background-color: #fff;
  font-size: 22px;
  font-weight: bold;
  border: 1px solid;
  border-radius: 30px;
}

.effect-box {
  width: 970px;
  max-width: 100%;
  text-align: left;
  margin: -20px auto 50px;
  padding: 30px;
  background-color: #f5f5f5;
}

.effect-box li {
  margin: 15px;
  text-indent: -40px;
  list-style-type: none;
}

.effect-box li:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  padding-right: 15px;
  width: 25px;
  height: 25px;
  background-image: url("../img/comment.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.effect-outer .button {
  text-align: center;
  margin: 40px auto 20px;
}


/*example*/

.example-outer {
  padding: 30px 15px 60px;
  background-image: url("../img/example-back.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.example {
  padding: 30px;
  margin: auto;
  max-width: 100%;
  width: 970px;
  background-color: #fff;
  border-radius: 5px;
}

.example-top {
  display: flex;
}

.example-left {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
}

.example-left-top-headline {
  text-align: left;
  margin: 10px;
  font-size: 22px;
  font-weight: bold;
  border-bottom: 1px solid;
}

.example-left-top-text {
  padding: 10px;
}

.example-bottom {
  margin: 10px auto;
}

.example-bottom-headline {
  text-align: center;
  font-size: 20px;
  color: white;
  background-color: #c03;
}

.example-bottom-text {
  padding: 10px;
  border: 1px solid #c03;
}

.example-right img {
  vertical-align: bottom;
}


/*flow*/

.flow-outer {
  padding: 30px 15px;
}

.flow {
  display: flex;
  margin: 0px auto 10px;
  max-width: 100%;
  width: 940px;
}

.flow-left {
  max-width: 100%;
  width: 150px;
}

.flow-headline {
  font-size: 22px;
  font-weight: bold;
  border-bottom: 1px solid #c03;
}

.flow-right {
  text-align: left;
  margin-top: 10px;
  padding: 10px 20px;
  max-width: 100%;
  width: 790px;
  height: 130px;
  font-size: 22px;
  background-color: #f1f1f1;
}

.flow-text {
  margin-top: 15px;
  font-size: 14px;
}


/*spec*/

.spec-outer {
  padding: 30px 15px;
}

.spec table {
  margin: auto;
  width: 800px;
}

th, td {
  padding: 10px;
}

.spec td:nth-child(1) {
  width: 25%;
}

.spec tr:nth-child(odd) td:nth-child(1) {
  color: white;
  background-color: #c03;
}

.spec tr:nth-child(even) td:nth-child(1) {
  color: white;
  background-color: #f52357;
}

.spec td:nth-child(2) {
  background-color: #dedede;
}


/*faq*/

.faq-outer {
  padding: 30px 15px;
  background-image: url("../img/parts-back.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.faq {
  text-align: left;
  margin: auto;
  padding-left: 0px;
  max-width: 940px;
}

.p_q {
  display: flex;
  align-items: center;
  text-indent: 0px;
  margin: 50px 0 10px;
  line-height: 2;
  color: #333;
  font-weight: normal;
  list-style: none;
}

.p_q .q {
  z-index: 1;
  text-align: center;
  margin-bottom: 0px;
  min-width: 80px;
  height: 80px;
  font-size: 40px;
  font-weight: bold;
  background-color: #fff;
  color: #c03;
  border-radius: 50%;
  border: solid 2px #c03;
}

.p_q .q-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: -15px;
  width: 100%;
  padding: 10px;
  min-height: 75px;
  background-color: #FFF;
}

.p_q .q-text p {
  margin: 0px 20px;
  overflow-wrap: anywhere;
}

.p_a {
  display: flex;
  align-items: center;
  text-indent: 0px;
  margin: 0px 0px 30px;
  line-height: 2;
  font-weight: normal;
  color: #D50036;
}

.p_a .a {
  z-index: 1;
  text-align: center;
  margin-bottom: 0px;
  min-width: 80px;
  height: 80px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  background-color: #c03;
  border: solid 2px #c03;
  border-radius: 50%;
}

.p_a .a-text {
  display: flex;
  align-items: center;
  margin-left: -15px;
  padding: 10px;
  width: 100%;
  min-height: 75px;
  color: #333;
  background-color: #ffe3e7;
}

.p_a .a-text p {
  margin: 0px 20px;
}


/*cta*/

.cta-outer {
  padding: 30px 15px;
/*
  background-image: url("../img/cta-back.png");
  background-size: cover;
  background-repeat: no-repeat;
*/
}

.cta-outer p {
  font-size: 22px;
}

.cta1 {
  display: flex;
  justify-content: space-between;
  margin: auto;
  max-width: 100%;
  width: 970px;
}

.cta1-box {
  margin-bottom: 30px;
  padding: 30px 0px;
  text-align: center;
  max-width: 100%;
  width: 300px;
  background-color: #fff;
  border-radius: 5px;
}

.cta-img {
  position: relative;
  text-align: center;
  vertical-align: middle;
  margin: auto;
  width: 50px;
  height: 100px;
}

.cta-img.demo {
  width: 70px;
}

.cta-outer img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta2-box {
  text-align: center;
  margin: auto;
  padding: 15px;
  max-width: 100%;
  width: 970px;
  background-color: #fff;
  border-radius: 5px;
}

.cta2-box ul {
  display: flex;
  justify-content: center;
}

.cta2-box li {
  margin: 20px;
}


/*footer*/

footer {
  text-align: center;
  padding: 50px;
  color: #fff;
  background-color: #c03;
}

.footer-logo {
  margin: auto;
  width: 200px;
}

.footer-menu {
  padding: 20px;
}

footer a {
  color: #fff;
}

footer a:hover {
  opacity: 0.5;
}


/*レスポンシブ対応*/

@media screen and (max-width: 1199px) {

  .firstview {
    background-image: url("../img/parts-back.png");
  }

  .firstview-left {
    margin: auto;
  }
  
  .firstview-headline {
    line-height: 1.5;
  }

  .firstview-left-top {
    flex-direction: column;
  }

  h1 {
    line-height: 1.5;
  }

  .firstview-right {
    display: none;
  }
  
  .firstview-award.sp {
    display: block;
    margin: auto;
    width: 200px;
  }
}


/*レスポンシブ対応*/

@media screen and (max-width: 999px) {

  .sp_br {
    display: block
  }

  h2 {
    margin: 30px 10px;
  }

  .button {
    margin: 20px auto;
  }

/*definitive-edition*/
  .number-span1 {
    position: relative;
    top: 4px;
  }

  .number-span2 {
    font-size: 28px;
  }

  .definitive-edition-text {
    padding: 25px 10px;
  }

/*assignment*/
  .assignment-outer {
    background-image: none;
  }
  
  .assignment p {
    text-align: left;
  }


  .problem1,
  .problem2,
  .resolution,
  .example,
  .about,
  .merit-demerit,
  .cta1 {
    flex-direction: column;
    align-items: center;
  }
  
/*program*/
  .program {
    flex-direction: column;
  }

  .program-left {
    align-self: auto;
    max-width: 100%;
    width: 550px;
  }
  
  .program img {
    transform: rotate(90deg);
  }

/*course*/
  .tab-panel-box {
    flex-direction: column;
  }

  .tab-area label {
    width: 45%;
    font-size: 12px;
  }

  .course-img img {
    width: 400px;
    margin: 0px;
  }

  .line {
    display: none;
  }

/*example*/
  .example-top {
    display: flex;
    flex-direction: column-reverse;
  }

  .example-left {
    margin-bottom: 20px;
    padding-right: 0px
  }

  .slider img {
    margin: auto;
    width: auto;
    max-height: 200px;
  }
  
/*spec*/
  .spec table {
    width: 100%;
  }

  .spec table td {
    display: block;
    width: 100% !important;
    border-bottom: none;
  }

  .spec tr:nth-child(2n) td:nth-child(1) {
    color: white;
    background-color: #c03;
  }

/*flow*/
  .flow-left {
    display: none;
  }

  .flow-right {
    margin: 0px auto 20px;
    height: auto;
  }

/*cta*/
  .cta2-box {
    width: 300px;
  }

  .cta2-box ul {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .cta2-box li {
    margin: 5px;
  }

/*footer*/
  .footer-menu {
    display: flex;
    flex-direction: column;
  }

  .footer-menu span {
    display: none;
  }

}

@media screen and (max-width: 599px) {

  h2 {
    font-size: 28px;
  }

/*effect*/
  .effect-box {
    padding: 30px 0px;
  }

  /*solution*/
  .solution-pc {
    display: none;
  }

  .solution-sp {
    display: block;
    margin-top: 30px;
  }

/*course*/
  .panel-area {
    margin-top: 10px;
  }

  .tab-panel-box {
    padding: 10px 15px 30px;
  }

/*example*/
  .example-outer {
    display: none;
  }

/*faq*/
  .p_q .q {
    min-width: 60px;
    height: 60px;
    line-height: 60px;
  }

  .p_q .q-text {
    padding: 10px 0px;
  }

  .p_q .q-text p {
    margin: 0px 10px 0px 20px;
  }

  .p_a .a {
    min-width: 60px;
    height: 60px;
    line-height: 60px;
  }

  .p_a .a-text {
    padding: 10px 0px;
  }

  .p_a .a-text p {
    margin: 0px 10px 0px 20px;
  }

}


@media screen and (max-width: 399px) {

  .sp_min_br {
    display: block
  }

  h2 {
    margin: 30px 0px;
    font-size: 20px;
  }

/*firstview*/
  .firstview-text-top {
    font-size: 16px;
  }

  .firstview-text img {
    width: 220px;
  }

  .firstview-text ul {
    flex-direction: column;
    text-align: left;
  }

  .definitive-edition-headline {
    font-size: 15px;
  }

/*definitive-edition*/
  .definitive-edition-text {
    padding: 10px 5px;
  }

  .definitive-edition-text-top {
    font-size: 16px;
  }

/*assignment*/
  .assignment p {
    text-align: left;
    font-size: 14px;
  }

/*course*/
  .diagonal {
    padding: 10px 30px;
  }

  .balloon .diagonal {
    width: 270px;
    font-size: 16px;
  }

  .tab-area label {
    margin: 0px 5px 10px;
    width: 100%;
    font-size: 12px;
  }

  .tab-panel .tab-panel-headline {
    font-size: 20px;
  }

  .tab-panel-box {
    padding: 5px 5px 30px;
  }

/*effect*/
  .effect-box {
    padding: 5px;
  }

  .effect-headline {
    font-size: 20px;
  }

  .effect-box ul {
    padding-left: 10px;
  }

  .effect-box li {
    margin: 0px 0px 0px 15px;
    padding-top: 25px;
  }

/*flow*/ 
  .flow-headline {
    font-size: 18px;
  }

/*faq*/ 
  .faq-outer {
    padding: 30px 5px;
  }

  .p_a .a {
    min-width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 40px;
  }

  .p_a .a-text p {
    margin: 0px 0px 0px 20px;
    font-size: 14px;
  }

  .p_q .q {
    min-width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 40px;
  }

  .p_q .q-text p {
    margin: 0px 0px 0px 20px;
    font-size: 14px;
  }

/*footer*/ 
  .footer-logo {
    width: 150px;
  }

}

/*problem*/
.problem-outer {
  text-align: center;
  padding: 30px 15px 120px;
}

.problem {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.problem h2 {
  color: #C03;
}

.problem-box img {
  margin: 30px;
  width: 160px;
}

.problem-text-top {
  margin-bottom: 30px;
  font-size: 24px;
}

.problem-text-middle {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.problem-text-bottom {
  font-size: 30px;
}

.red {
  color: #C03;
}

/*standard*/
.standard {
  margin: 80px auto;
  max-width: 100%;
  width: 920px;
}

.standard-headline {
  display: block;
  position: relative;
  height: 60px;
  line-height: 60px;
  font-size: 29px;
  color: #FFF;
  background-color: #C03;
  cursor: pointer;
}

.standard-headline::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 20px;
  width: 22px;
  height: 14px;
  background: url("../img/arrow.svg") no-repeat;
  transform: rotate(180deg);
  transition: 0.5s;
}

.standard-box {
  overflow: hidden;
  text-align: left;
  padding: 0;
  height: 0;
  transition: 0.5s;
}

.standard-box-inner {
  padding: 0px 20px;
}

.standard-top {
  margin: 0px 0px 20px;
  font-size: 20px;
}

.standard-bottom {
  display: flex;
  gap: 10px;
  padding: 30px 16px;
  background-color: #FFF;
}

.standard-bottom-img {
  width: 40%;
}

.standard-bottom-text {
  width: 60%;
}

.standard-bottom-text p {
  margin-top: 20px;
}

.standard-bottom-text-bold {
  font-weight: 700;
}

.caption {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
}

#toggle {
  display: none;
}

#toggle:checked + label + .standard-box {
  padding: 20px 0px;
  height: auto;
  background-color: #F5F5F5;
}

#toggle:checked + .standard-headline::after  {
  transform: rotate(0deg);
}

/*company*/
.company-outer {
  position: relative;
  padding: 30px 15px;
  background-color: #F5F5F5;
}

.text-blue {
  text-align: center;
  margin-top: -105px;
}

.text-blue img {
  width: 560px;
}

.company {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: auto;
  padding: 60px 0px 80px;
  max-width: 100%;
  width: 970px;
}

.company img {
  width: calc((100% - 60px) / 4);
}

/*curriculum*/
.curriculum-outer {
  padding: 30px 15px;
}

.curriculum-pc {
  display: flex;
  gap: 24px 10px;
  flex-wrap: wrap;
  margin: 0px auto 100px;
  max-width: 100%;
  width: 970px;
}

.curriculum-pc .curriculum-headline {
  display: flex;
  justify-content: center;
  position: relative;
  writing-mode: vertical-rl;
  padding: 20px 2px 10px;
  font-size: 18px;
  font-weight: 700;
  color: #FFF;
  background-color: #C03;
  clip-path: polygon(50% 0, 100% 10px, 100% 100%, 0 100%, 0 10px);
  transform: rotate(180deg);
}

.curriculum-pc .curriculum-headline p {
  transform: rotate(180deg);
}

.curriculum-text {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  width: 300px;
  font-size: 22px;
  font-weight: 700;
  background-color: #F1F1F1;
}

.curriculum-standard {
  width: 455px;
}

.curriculum-text.target {
  padding: 10px 16px;
}

.target p {
  text-align: center;
}

.target .curriculum-text-small {
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.goal {
  position: relative;
}

.curriculum-text.goal {
  align-items: flex-start;
  padding: 10px 16px;
  font-size: 18px;
}

.curriculum-text.goal::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -46px;
  margin: auto;
  width: 36px;
  height: 22px;
  background: url("../img/triangle.svg") no-repeat center/contain;
}

.curriculum-text.modal-btn {
  text-align: center;
  padding: 30px;
  background: url("../img/bg-btn.png") no-repeat center/cover;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.curriculum-text.modal-btn p {
  line-height: 1.5;
}

.modal-btn, a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.modal-btn {
  margin-top: 35px;
}

.modal-btn-top {
  color: #C03;
}

.modal-btn-bottom {
  font-size: 16px;
}

.modal-btn-bottom::after {
  display: inline-block;
  content: "";
  position: relative;
  vertical-align: middle;
  margin-left: 4px;
  width: 32px;
  height: 30px;
  background: url("../img/arrow-white.svg") no-repeat;
}

.curriculum-sp {
  display: none;
}

/*modal*/
#modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
  overflow: auto;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,0.5);
}

#modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-flame {
  position: relative;
  padding: 30px 80px;
  width: 970px;
  background-color: #FFF;
}

#modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.modal-content.active {
  display: block;
}

.modal-content {
  display: none;
}

/*bg-color*/
.bg-color-outer {
  padding: 30px 15px;
  background-image: url("../img/bg-color.png");
  background-repeat: no-repeat;
  background-size: cover;
}

/*effect-up*/
.effect-up-balloon {
  margin-top: 100px;
}

.effect-up {
  display: flex;
  gap: 20px;
  margin: 30px auto 100px;
  padding: 40px 20px;
  max-width: 100%;
  width: 900px;
  background-color: #FFF;
  border: 1px solid #C03;
}

.effect-up-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 220px;
}

.effect-up-headline {
  padding: 0px 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
  color: #FFF;
  background-color: #C03;
}

.effect-up-img {
  margin: 16px 0px;
  width: 50px;
  height: 50px;
}

.effect-up-img img {
  width: auto;
}

.effect-up-text-top {
  font-size: 16px;
  font-weight: 700;
}

.effect-up-text-bottom {
  margin: 16px 0px 0px;
  padding: 16px 0px 0px;
  font-weight: 500;
  border-top: 1px solid #DFDFDF;
}

.effect-up-arrow {
  margin-top: 135px;
}

.effect-up-arrow img {
  width: 57px;
}

/*introduction-example*/
.slider {
  width: 100%;
}

.introduction-example {
  margin: auto;
  padding: 30px;
  max-width: 100%;
  width: 960px;
}

.introduction-example-box {
  background-color: #fff;
  border: 1px solid #C03;
}

.example-headline {
  text-align: center;
  padding: 10px;
  height: auto;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: #FFF;
  background-color: #C03;
}

.example-inner {
  margin: 30px auto;
  max-width: 600px;
}

.example-inner h4 {
  font-size: 16px;
  font-weight: 700;
  color: #C03;
}

.example-text {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
}

.slide-arrow.prev-arrow.slick-arrow {
  position: absolute;
  top: 50%;
  left: calc((100% - 900px)/2 - 50px);
  cursor: pointer;
  transform: translateY(-50%);
}

.slide-arrow.next-arrow.slick-arrow {
  position: absolute;
  top: 50%;
  right: calc((100% - 900px)/2 - 50px);
  cursor: pointer;
  transform: translateY(-50%);
}

.slider-bottom-text {
  text-align: center;
  font-weight: 500;
}

@media screen and (max-width: 999px){
  /*全体*/
  .btn:hover {
    opacity: 1;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 18px;
  }

/*problem*/
  .problem-text-top {
    font-size: 16px;
  }

  .problem-text-middle {
    font-size: 16px;
  }

  .problem-box.side-img {
    display: none;
  }

  /*standard*/
  .standard-headline {
    padding-right: 30px;
    font-size: 20px;
  }

  .standard-top {
    font-size: 16px;
  }

  .standard-bottom {
    flex-direction: column;
    align-items: center;
  }

  .standard-bottom-img {
    max-width: 100%;
    width: 400px;
  }

  .standard-bottom-text {
    width: 100%;
  }

  .problem-text-bottom {
    font-size: 16px;
  }

  .company {
    gap: 16px 5px;
    padding: 30px 0px 60px;
    width: 500px;
  }

  .company img {
    width: calc((100% - 5px) / 2);
  }

  /*curriculum*/
  .curriculum-pc {
    display: none;
  }

  /*curriculum sp*/
  .curriculum-sp {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0px auto 80px;
    max-width: 100%;
    width: 345px;
  }

  .curriculum-sp .curriculum-headline {
    display: flex;
    justify-content: center;
    position: relative;
    writing-mode: initial;
    padding: 0px;
    font-size: 18px;
    font-weight: 700;
    color: #FFF;
    background-color: #C03;  
  }

  .curriculum-sp .curriculum-text {
    margin-bottom: 0px;
    width: auto;
    font-size: 18px;
  }

  .curriculum-sp .curriculum-text.two-rows {
    gap: 5px;
    background-color: #FFF;
  }

  .curriculum-sp .curriculum-text.two-rows p {
    text-align: center;
    width: 100%;
    background-color: #F1F1F1;
  }

  .curriculum-sp .curriculum-headline.goal {
    margin-bottom: 0px;
  }

  .curriculum-sp .curriculum-text.goal {
    margin-bottom: 46px;
    font-size: 16px;
  }

  .curriculum-sp .curriculum-text.modal-btn {
    margin: 19px auto 0px;
    width: 270px;
  }

  /*effect-up*/
  .effect-up {
    flex-direction: column;
    align-items: center;
    width: 345px;
  }

  .effect-up-arrow {
    margin-top: 0px;
    transform: rotate(90deg);
  }

  /*example*/
  .introduction-example {
    padding: 0px 5px 30px;
  }

  .example-headline {
    font-size: 20px;
  }

  .example-inner {
    padding: 0px 10px;
  }

  .slide-arrow.prev-arrow.slick-arrow {
    left: -15px;
    width: 24px !important;
  }

  .slide-arrow.next-arrow.slick-arrow {
    right: -15px;
    width: 24px !important;
  }

  /*modal*/
  #modal {
    background-color: #FFF;
  }

  .modal-flame {
    overflow-x: scroll;
    padding: 30px;
  }

  #modal-close {
    position: fixed;
  }

  .modal-content img {
    padding-right: 30px;
    max-width: unset;
    width: auto;
    height: 70vh;
  }
  
  .ps > .ps__rail-x, .ps > .ps__rail-y {
    opacity: 0.6 !important;
  }
}

@media screen and (max-width: 499px){
  .text-blue {
    margin-top: -20%;
  }
  
  .modal-flame {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE11 */
  }
}


