@charset "utf-8";
/*=== メインエリア ===*/
.main_content {
  width: 100%;
  margin: 0;
}
.main-inner {
  background-color: #fff;
}
.main-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 125px 20px 0;
}
.main-ttl {
  color: #5b4530;
  font-weight: bold;
  font-size: 32px;
  text-align: center;
}


/*=== ボタン ===*/
#primary .black_btn a:link,
#primary .red_btn a:link {
  display: block;
  position: relative;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  padding: 4px 14px;
  border: 2px solid transparent;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.1em;
  background: linear-gradient(90deg, rgba(255,94,0,1) 0%, rgba(255,50,0,1) 100%);
  border-radius: 50px;
  box-shadow: 1px 1px 15px 6px rgba(255, 50, 0, 0.33);
}
.black_btn a::after,
.red_btn a::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 13px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  border-radius: 0.1em;
  transform: translateY(-50%) rotate(45deg);
}
#primary .red_btn a:visited {
  color: #fff;
}
#primary .red_btn a:hover {
  border-color: #ff4800;
  color: #ff4800;
  background: #fff;
  text-decoration: none;
}
.red_btn a:hover::after {
  border-color: #ff4800;
}
#primary .black_btn a:link {
  color: #232b35;
  border-color: #232b35;
  background: #fff;
  box-shadow: none;
}
.black_btn a::after {
  border-color: #232b35;
}
#primary .black_btn a:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(15,13,13,1) 0%, rgba(72,72,71,1) 100%);
  text-decoration: none;
}
.black_btn a:hover::after {
  border-color: #fff;
}


/*=== キーヘッダー ===*/
.keyHeder {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}
.keyHeder-main {
  font-weight: bold;
  font-size: 18px;
}


/*=== メインビジュアル ===*/
.mainvisual {
  margin: 0 auto;
  background: #377aa8;
  background: linear-gradient(to bottom,#2096be 0%,#54b1d0 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#377aa8',endColorstr='#398eaf',GradientType=0)
}
.mainvisual-inner {
  display: flex;
  align-items: center;
  max-width: 1700px;
  height: 400px;
  margin: 0 auto;
  background: url(//fmv-img.static.pub/b/service/contents/safely/premium/student-b/images/bg_01_pc.png) no-repeat top center / cover;
}
.mainvisual-cont {
  width: 540px;
  min-height: 200px;
  margin: 0 auto;
  padding: 30px 20px;
  text-align: center;
  background: #377aa8;
  background: linear-gradient(to bottom,#2096be 0%,#54b1d0 100%);
  border-radius: 20px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#377aa8',endColorstr='#398eaf',GradientType=0);
}
.mainvisual-txt {
  margin-top: 10px;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.4;
}


/*=== 比較表 ===*/
.benefit-table {
  width: 100%;
  max-width: 100%;
  color: #5b4530;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 3px;
}
.benefit-table th,
.benefit-table td {
  position: relative;
  text-align: center;
}
.benefit-table thead th {
  width: calc((100% - 200px) / 3);
  padding: 0 18px 30px;
  letter-spacing: -0.05em;
  vertical-align: top;
  text-align: center;
  border-radius: 20px 20px 0 0;
}
.benefit-table tbody th {
  font-weight: bold;
  font-size: 20px;
  background-color: #f0e9dc;
  border-radius: 20px 0 0 20px;
}
.benefit-table td {
  padding: 24px 0;
  background-color: #faf8f4;
}
.benefit-table thead th:nth-child(1) {
  width: 200px;
  border: none;
  background-color: transparent;
}
.benefit-plus {
  background-color: #f3ead8;
}
.benefit-table .benefit-standard {
  width: 350px;
  background-color: #fbebca;
}
.benefit-wide {
  background-color: #ffe9bb;
}
.benefit-icon {
  position: absolute;
  top: -37px;
  right: 0;
  width: 84px;
  height: 84px;
  padding: 35px 0 35px 9px;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  line-height: 1;
  background-color: #ee4e0f;
  border-radius: 50%;
}
.benefit-headline {
  position: relative;
  height: 75px;
  margin-top: 30px;
  font-weight: bold;
}
.benefit-headline::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 170px;
  height: 1px;
  background-color: #5b4530;
  transform: translateX(-50%);
}
.benefit-headline::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 15px;
  height: 15px;
  border-top: 1px solid #5b4530;
  border-right: 1px solid #5b4530;
  background-color: #f3ead8;
  transform: translateX(-50%) rotate(135deg);
}
.benefit-standard .benefit-headline::after {
  background-color: #fbebca;
}
.benefit-wide .benefit-headline::after {
  background-color: #ffe9bb;
}
.benefit-head strong {
  color: #ee4e0f;
  font-size: 26px;
  line-height: 1;
}
.benefit-head sup {
  font-size: 10px;
}
.benefit-name {
  margin-top: 20px;
}
.benefit-bottom {
  margin-top: 25px;
}
.benefit-txt {
  min-height: 112px;
}
.benefit-detail {
  margin-top: 15px;
}
.benefit-price {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  min-height: 70px;
}
.benefit-price p:nth-child(n+2),
.course-price p:nth-child(n+2) {
  margin-top: 5px;
}
.benefit-nomal {
  position: relative;
  width: 100%;
}
.benefit-nomal span {
  font-size: 20px;
}
.benefit-special,
.course-special{
  font-size:20px;
  font-weight:bold;
  line-height: 1.2;
}
.benefit-special span,
.course-special span {
  font-size: 160%;
  color:#EE4E0F;
}
.benefit-buy {
  margin-top: 30px;
}
.benefit-note {
  margin: 10px 20px 0;
  font-size: 14px;
}
.cp_detail {
  max-width: 1160px;
  margin:30px auto;
  padding-bottom:40px;
  text-align:center;
  border: solid 2px #ac2330;
  border-radius:10px;
}
.cp_detail_hdr {
  margin-bottom:20px;
  padding-bottom:20px;
  background:#ac2330;
  border-radius:5px 5px 0 0;
}
.cp_detail_ttl {
  padding:30px 0 10px;
  font-size:32px;
  font-weight:bold;
  color:#FFF;
}
.cp_detail_hdr .cp_detail_txt {
  display:inline-block;
  padding:5px 30px;
  font-size:20px;
  color:#ac2330;
  background:#fff;
  border-radius:40px;
}
.cp_detail_txt {
  font-size:16px;
  line-height:2.1;
}
.cp_detail_txt.course {
  margin-bottom:20px;
  font-size:20px;
  font-weight:bold;
}
.cp_detail_txt span {
  font-weight:bold;
}
.cp_detail_txt span.ttl {
  display:block;
  margin-top:30px;
  font-size:26px;
}
.cp_detail_txt span.red {
  color:#ac2330;
}
.cp_detail_txt span.lead {
  font-size:26px;
}
.cp_detail_txt a {
  text-decoration:underline!important;
}
.cp_detail_txt a:hover {
  text-decoration:none!important;  
}
.cp_detail_btn a { 
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 400px;
  margin:0 auto;
  padding: 13px 45px;
  color: #fff!important;
  font-weight: bold;
  font-size: 24px;
  line-height: 1.2;
  text-decoration: none;
  background-color: #ac2330;
  border:2px solid #ac2330;
  border-radius: 50px;
}
.cp_detail_btn a:visited {
  color: #fff;
}
.cp_detail_btn a:hover {
  color:#ac2330;
  background-color: #fff;
  border:2px solid #ac2330;
  box-shadow: 0px 1px 18px 1px rgba(173, 35, 48, 0.3);
}
.cp_detail_btn a:hover {
  color:#ac2330 !important;
  text-decoration:none !important;
}
.cp_detail_btn a::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  width: 15px;
  height: 20px;
  background-color: #fff;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  transform: translateY(-50%);
}
.cp_detail_btn a:hover::after {
  background-color: #ac2330;
}
.benefit-cp,
.course-cp {
  margin-bottom:15px;
  padding:5px 30px;
  color:#ac2330;
  font-weight:bold;
  background:#fff;
  border:2px solid #ac2330;
}


@media screen and (max-width: 767px) {
  /*=== メインエリア ===*/
  .main-section {
    padding: 42px 0 0;
  }
  /*=== ボタン ===*/
  #primary .red_btn a:link {
    max-width: 295px;
    padding: 8px 14px 4px;
    box-shadow: 0 0 4px 1px rgba(255, 50, 0, 0.33);
  }
  #primary .black_btn.red_txtbtn a:link,
  .red_txtbtn span {
    display: inline-block;
    position: relative;
    width: auto;
    max-width: auto;
    padding: 0 5px 0 0;
    border: none;
    border-bottom: 1px solid #ff4800;
    color: #ff4800;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.2;
    background: none;
    border-radius: 0;
    box-shadow: none;
  }
  #primary .black_btn.red_txtbtn a::after,
  .red_txtbtn span::after {
    content: "";
    display: inline-block;
    position: relative;
    top: -1px;
    right: -3px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #ff4800;
    border-right: 2px solid #ff4800;
    border-radius: 0.1em;
    transform: rotate(45deg);
  }
  #primary .black_btn.red_txtbtn a:visited {
    color: #ff4800;
  }
  /*=== キーヘッダー ===*/
  .keyHeder {
    padding: 15px 10px 2px;
  }
  .keyHeder-main {
    font-size: 12px;
}
  /*=== メインビジュアル ===*/
  .mainvisual-inner {
    margin: 0 10px;
    background-image: url(//fmv-img.static.pub/b/service/contents/safely/premium/student-b/images/bg_01_sp.png);
  }
  .mainvisual-cont {
    width: 100%;
    min-width: 80%;
    max-width: 93%;
    min-height: 190px;
    margin: 0 auto;
    padding: 30px 10px;
  }
  .mainvisual-main {
    max-width: 430px;
    margin: 0 auto;
  }
  .mainvisual-txt {
    margin-top: 25px;
    font-size: 15px;
  }
  /*=== コース ===*/
  .course-item {
    padding: 30px 10px;
    color: #5b4530;
  }
  .course-item:not(:first-child) {
    margin-top: 42px;
  }
  .course-item.pattern-plus {
    background-color: #f3ead8;
  }
  .course-item.pattern-standard {
    background-color: #fbebca;
  }
  .course-item.pattern-wide {
    background-color: #ffe9bb;
  }
  .course-cont {
    display: flex;
    position: relative;
    max-width: 450px;
    margin: 0 auto;
  }
  .course-icon {
    position: absolute;
    top: -33px;
    left: 0;
    width: 50px;
    height: 50px;
    padding: 22px 0 0 0;
    color: #fff;
    font-weight: bold;
    font-size: 8px;
    text-align: center;
    line-height: 1;
    background-color: #ee4e0f;
    border-radius: 50%;
  }
  .course-name {
    flex-shrink: 0;
    max-width: 156px;
    margin-right: 12px;
  }
  .course-detail {
    width: 100%;
  }
  .course-lead {
    padding-bottom: 10px;
    border-bottom: 1px solid #5b4530;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.3;
  }
  .course-lead strong {
    color: #ee4e0f;
    font-size: 26px;
    line-height: 1;
  }
  .course-lead sup {
    font-size: 10px;
  }
  .course-txt {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
  }
  .course-transition {
    margin-top: 30px;
  }
  .course-table {
    width: 100%;
    margin-top: 35px;
    border-collapse: separate;
    border-spacing: 3px;
  }
  .course-table th,
  .course-table td {
    position: relative;
    width: 50%;
    text-align: center;
    background-color: #faf8f4;
  }
  .course-table th {
    font-weight: bold;
    padding: 16px 10px 12px;
    border-radius: 10px 10px 0 0;
  }
  a.course-link {
    display: block;
    padding: 15px 0 20px;
  }
  #primary a.course-link:hover {
    text-decoration: none;
  }
  .course-price {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-height: 78px;
  }
  .course-nomal {
    position: relative;
    width: 100%;
    color: #5b4530;
    font-size: 13px;
  }
  .course-special {
    margin-top: 10px;
    max-width: 200px;
  }
  .course-txtbtn {
    margin-top: 15px;
  }
  /*=== 比較表 ===*/
  .benefit {
    margin-top: 50px;
  }
  .benefit .main-section {
    padding-top: 0;
  }
  .benefit-scroll {
    overflow-x: scroll;
  }
  .benefit-table {
    min-width: 750px;
    margin: 30px 10px 0;
    border-spacing: 2px;
  }
  .benefit-table thead th {
    width: calc((100% - 100px) / 3);
    padding: 11px 0 6px;
    letter-spacing: 0;
    vertical-align: middle;
    border-radius: 10px 10px 0 0;
  }
  .benefit-table tbody th {
    font-size: 16px;
    border-radius: 10px 0 0 10px;
  }
  .benefit-table td {
    padding: 10px 0 20px;
  }
  .benefit-table thead th:nth-child(1) {
    width: 100px;
  }
  .benefit-table .benefit-standard {
    width: 250px;
  }
  .benefit-icon {
    top: -24px;
    right: auto;
    left: 0;
    width: 50px;
    height: 50px;
    padding: 22px 0 0 0;
    font-size: 8px;
    text-align: center;
  }
  .benefit-name {
    margin-top: 0;
    font-weight: bold;
    font-size: 14px;
  }
  .benefit-price {
    min-height: 78px;
  }
  .benefit-nomal {
    font-size: 13px;
  }
  .benefit-nomal::after {
    width: 10px;
    height: 4px;
    border-width: 4px 5px 0 5px;
  }
  .benefit-special,
  .course-special {
    max-width: 180px;
    margin-top: 10px;
    font-size: 15px;
  }
  .benefit-buy {
    margin-top: 5px;
  }
  .benefit-note {
    margin: 10px 10px 0;
  }
  
  .cp_detail {
    margin:30px 20px;
    padding-bottom:30px;
  }
  .cp_detail_ttl {
    margin:0 15px;
    padding-top:20px;
    font-size:18px;
  }
  .cp_detail_hdr .cp_detail_txt {
    font-size:13px;
  }
  .cp_detail_txt {
    margin:0 10px;
    line-height:1.8;
    font-size:13px;
  }
  .cp_detail_txt.course {
    font-size:15px;
  }
  .cp_detail_txt span.ttl {
    font-size:18px;
    margin-top:17px;
  }
  .cp_detail_txt span.lead {
    font-size: 16px;
  }
  .cp_detail_btn a { 
    width:90%;
    font-size: 18px;
  }
  .cp_detail_btn a:hover {
    box-shadow: 0px 1px 10px 1px rgba(173, 35, 48, 0.3);
  }
  .cp_detail_btn a::after {
    top: 50%;
    right: 17px;
    width: 12px;
    height: 18px;
  }
  .benefit-cp,
  .course-cp{
    font-size:11px;
    margin-bottom:12px;
    padding:2px 6%;
  }
}

@media screen and (max-width: 375px) {
  .course-lead {
    letter-spacing: -1px;
  }
}
