@charset "UTF-8";
[v-cloak] {
  display: none;
}
body {
  background-color:#F7F7F7;
  min-width: 360px;
}
/*ラッパー調整*/
div.wrapper {
  overflow: hidden;
  min-width: 320px;
}
/*共通ナビ*/
header.header {
  border-top: 5px solid #fff;
  background-color: #19448e;
  position: relative;
}
/*改行*/
.br::before {
	content: "\A" ;
	white-space: pre ;
}
header.header::before {
  content: "";
  display: block;
  line-height: 0;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: -5px;
  width: 30%;
  border-top: 5px solid #fff;
}
/* header.header::after {
  content: "";
  display: block;
  line-height: 0;
  overflow: hidden;
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 70%;
  border-bottom: 3px solid #870101;
} */
/*ナビゲーションバー*/
p.header_logo {
  margin-bottom: 0px;
}
/*文字デザイン*/
ul.nav li > a,p.header_logo a {
  color:#ffffff;
}
ul.nav li.show a.dropdown-toggle {
  color :#19448e;
  background-color:#ffffff;
}
h2 {
  font-size:1.25rem;
}
.text-center {
  text-align: center;
}
div.flex_colum > span {
  font-size: 12px;
}
button.style {
  width: 13rem;
  margin: 1rem;
}
button.sample-style {
  width:100%;
  margin-bottom: 0.5rem;
}
button.settle-style {
  width:25rem;
}
button.apply-style {
  width:18rem;
}
button.login-style {
  width:17rem;
}
.settlement {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
}
div.form-wrapper,div.button-wrapper {
  display: flex;
  justify-content: center;
}
div.form-wrapper.card_change {
  flex-direction: column;
  align-items: center;
}
.apply-button-wrapper {
  width: 18rem;
}
.back-button {
  width: 15rem;
}
button.free::after {
  font-family: "Font Awesome 5 Free";
  content: '\f06b';
  font-weight: 900;
  color: #ffffff;
  position: relative;
  left: 0.3rem;
}
button.pay::after {
  font-family: "Font Awesome 5 Free";
  content: '\f07a';
  font-weight: 900;
  color: #ffffff;
  position: relative;
  left: 0.3rem;
}
a.back-button {
  display: inline-block;
}
/*メインコンテンツ*/
span#qnum::before {
  content:"/";
  padding-right: 15px;
}
div.main_lead_bg {
  background: #18448e12;
  /* background-color:rgba(189,0,34,0.1); */
  /* background:#f5e5e6; */
}
div.main_lead_bg.contents {
  background-image: url('../image/content_main.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}
div.container.lead {
  width: auto !important;
}
div.article {
  max-width: 760px;
  margin: 0 auto;
}
div.container.main.top-common {
  display: flex;
  justify-content: center;
}
div.container.error {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.common_main,.form_main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
}
.page_ttl {
  padding: 8px 4px;
}
p#sub_lead {
  margin-top: 0.5rem;
}
#question-num {
  margin-bottom:1rem;
}
div.content_bg {
  padding: 24px 6px;
}
p.lead_copy {
  padding:0px 0px;
}
p.index-num {
  margin-top:0.5rem;
  font-size:1.25rem;
}
h1 {
  text-align: center;
  margin: 0px;
}
h1.top {
  color: #19448e;
  text-shadow: 2px 1px 0px #fff;
  line-height: 1.5;
}
h1.method {
  text-align: left;
}
h1.contents,section.contents {
  color:#ffffff;
  text-shadow: 3px 3px 3px #000;
}
h2.section_title {
  margin-top:0.5rem;
  font-size:1.25rem;
}
h2.top {
  margin:3.5rem 0 2.5rem 0;
  font-size:2.3rem;
}
h2.agree {
  margin: 1.5rem 0;
  font-size: 1.3rem;
}
p.top_text {
  font-size:1.3rem;
}
h2.section_title.purpose_title {
  position: relative;
  top: 1rem;
  margin: 0 0 3rem 0;
}
h2.section_title.purpose_title::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  border-bottom: 2px solid #19448e;
}
h2.apply-lead {
  font-size:1.5rem;
}
.top_check_list {
    list-style: none;
    padding: 0;
    margin: 24px auto;
    max-width: 760px;
}
.top_check_list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 1rem;
    line-height: 1.8;
    font-size: 1.4rem;
}
.top_check_list li::before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    position: relative;
    right: 4px;
    color: #BD0022;
    font-weight: 900;
}
/*プライバシーポリシーstart*/
div.p-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
div.lead-title {
  margin-bottom: 3rem;
}
div.privacy-check {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 0.5rem 0 0 0;
}
input.privacy {
  height: 1.5rem;
  width: 1.5rem;
  display: inline-block;
  margin:
  0 1rem 0 0;
}
li.list-title {
  margin: 1rem 0 1rem 0;
  font-size: 1.5rem;
}
li.list-detail,li.p-history {
  list-style: disc;
}
/*プライバシーポリシーend*/
/*footer start*/
footer {
  background-color: #19448e;
  padding: 2rem;
}
section.inner-top {
  display: flex;
  justify-content: space-between;
}
section.inner-top.middle {
  display: flex;
  justify-content: flex-start;
  margin: 1rem 0 0 0;
}
section.inner-bottom {
  border-top: 1px #999999 solid;
  padding: 1rem 0 0 0;
}
ul.footer-list li {
  padding: 1rem 0 0 0;
}
ul.footer-list li a {
  color: #fff;
  display: inline-block;
  width: 100%;
  height: auto;
  cursor: pointer;
}
div.bottomo-rules ul {
  display: flex;
  justify-content: space-around;
}
li.copyright {
  margin: 1rem auto;
  text-align: center;
  color: #999999;
}
ul.footer-list li.list-heading {
  font-size: 1.1rem;
  color: #fff;
  border-bottom: 3px solid #fff;
  padding: 0 0 0.5rem 0;
}
ul.footer-list li.list-heading h3 {
  font-size: 1rem;
}
div.footer-logo {
  display: flex;
  justify-content: center;
}
div.footer-logo a {
  text-align: center;
  display: contents;
}
img.logo-data {
  width: 130px;
  height: 120px;
}
.dropdown-menu a.disabled-link:not([href]):not([tabindex]),
.footer-list a.disabled-link:not([href]):not([tabindex]) {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
    white-space: nowrap;
}
/*footer end*/
/*ぱんくず start*/
.bread_crumb_wrap {
  background-color: #19448e;
  color:#fff;
}
.bread_crumb_wrap ul {
  margin:0;
  list-style: none;
  display: flex;
}
.bread_crumb_wrap ul li a {
  color:#fff;
}
.bread_crumb_wrap li:after {/* ▶を表示*/
  font-family: "Font Awesome 5 Free";
  content: '\f0da';
  padding: 0 0.2em;
  color: #fff;
  font-weight: 900;
}
.bread_crumb_wrap li:last-child:after {
  content: '';
}
/*ぱんくず end*/
.lower-roman {
  list-style-type: lower-roman
}
.none {
  list-style-type: none;
}
div.section_figure {
  max-width: 720px;
  width: 100%;
  height: auto;
  margin-top: 2rem;
}
div.section_figure svg,div.img_wrap.map img {
  max-width: 720px;
  width: 100%;
  height: auto;
}
span.purpose_text_deco {
  font-weight: bold;
}
.svg-common {
  height: 30rem;
  background-repeat: no-repeat;
  margin: 0 auto;
  width: 45rem;
}
/*indexのfigare内レイアウト調整*/
.fig_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 768px;
}
div.svg_pass-rate5 {
  background-image: url("../image/svg_pass-rate5.svg");
  background-size: 100% auto;
}
div.svg_pass-rate10 {
  background-image: url("../image/svg_pass-rate10.svg");
  background-size: 100% auto;
}
.video_style {
  width: 298px;
}
div.img {
  background-repeat: no-repeat;
  background-size: cover;
  height: 55rem;
}
div.img_bg {
  background-color: rgba(25, 68, 142, .1);
  padding: 2rem 0 2rem;
  display: flex;
  justify-content: center;
}
div.img_bg > div {
  max-width: 300px;
  display: flex;
  flex-direction: column;
}
div._img_bg {
  padding: 2rem 0 2rem;
  display: flex;
}
div.__img_bg {
  display: flex;
}
div.img_common {
  height: 38rem;
  background-repeat: no-repeat;
  margin: 0 auto;
  width: 19rem;
}
div.img_bg2 {
  padding: 2rem 0 2rem;
}
div._img_bg2 {
  padding: 2rem 0 2rem;
  display: flex;
}
div._img_common {
  height: 38rem;
  background-repeat: no-repeat;
  margin: 0 auto;
  width: 19rem;
}
.top_image_wrap {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}
.top_image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.top_image_wrap figcaption {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.study_wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/*問題のコードスタイル*/
.code_wrap {
  margin: 0;
  padding: 0;
}
.code_block {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  padding: 10px;
  margin: 10px 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  white-space: pre-wrap;
  word-wrap: break-word;
}
/*解答ページ解答テーブル*/
tbody.ans_color {
  background-color: #fff;
}
#nav-drawer {
  position: relative;
}
table.contents_a,.contents_q {
  table-layout: fixed;
  width: 100%;
}
table.contents_a th,.contents_q th,table.contents_a td,.contents_q td{
  word-wrap: break-word;
  white-space: normal;
}
table.contents_a th,table.contents_a td {
  width:calc(100% / 3);
}
table.contents_q th,table.contents_q td {
  width:calc(100% / 4);
}
table.contents_q._col5 th,table.contents_q._col5 td {
  width:calc(100% / 5);
}
table.contents_q._col7 th,table.contents_q._col7 td {
  width:calc(100% / 7);
}
table.contents_q_3 th,table.contents_q_3 td {
  width:calc(100% / 3);
}
table.contents_q_6 th,table.contents_q_6 td {
  width:calc(100% / 6);
}
table.contents_l th,table.contents_l td {
  width:calc(100% / 2);
}
table.contents_q th {
  vertical-align: middle;
}
th {
  text-align: center;
}
p.table-caption::before {
  content:"※";
}
span.accuracy_rate {
  margin-left:3.5rem;
}
span.accuracy_detail {
  margin-left:1rem;
}
/*解答ページボタン*/
.alert-success,.alert-danger {
  display: flex;
}
/*正解サークルボタン位置調整*/
.fa-check-circle:before,.fa-times-circle:before {
  position: relative;
  top: 4px;
}
/*解答詳細ページモーダルトリガー詳細ボタン*/
button.p-modal-btn {
  display: inline-block;
  background-color: #155724;/*背景色*/
  color: #FFF;/*文字色*/
  font-size: 1em;/*文字サイズ*/
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0.05rem;/*字間*/
  padding: 0.3rem 1rem;/*ボタン内の余白*/
  border-radius: 3px;/*角の丸み*/
  cursor: pointer;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);/*影*/
  -webkit-tap-highlight-color: transparent;
  transition: .3s ease-out;/*変化を緩やかに*/
}
/*成績モーダルのtd*/
div.p-modal.is-open > div.p-modal-table > table > tbody > tr > td {
  text-align: left;
}
/* 7つ目（参考部分）のth/tdのみ min-width: 90px に設定 */
div.p-modal-table > table th:nth-child(7),
div.p-modal-table > table td:nth-child(7) {
    min-width: 90px;
}
/*成績モーダルの内の参考補足文字列*/
th:nth-child(7)::after {
  content: "\A※補足として";
  white-space: pre;
  display: block;
  font-size: 12px; /* 文字サイズを小さく調整 */
}
/*解説モーダル*/
.detail-modal {
  padding: 0px 16px;
  line-height: 1.5;
}
button.p-modal-btn.button_b {
  background-color: #721c24;/*背景色*/
}
button.p-modal-btn:hover{
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.14), 0 1px 7px 0 rgba(0,0,0,0.12), 0 3px 1px -1px rgba(0,0,0,0.2);/*浮き上がるように*/
}
/*解答詳細ページモーダル*/
.p-modal {
  /*visibility: hidden;(当初、visibilityプロパティを使っていたが、スマホの横スクロール問題があり使用停止)*/
  display: none
}
.p-modal.is-open {
  position: fixed;
  top: 5px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  overflow-x: hidden;
  /*visibility: visible;(当初、visibilityプロパティを使っていたが、スマホの横スクロール問題があり使用停止)*/
  display: block;
  background-color: #fff;
  z-index: 15000;
  width: 80%;
  min-width:288px;
  margin: 0 auto;
  height: 90%;
  opacity:1;
}
div.overlay_modal {
  position: fixed;
  z-index: 10000;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .5;
  transition: .3s ease-in-out;
}
div.p-modal-report-wrapper {
  position:relative;
}
div.p-modal-report-wrapper::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    display: inline-block;
    width: 98%;
    height: 2px;
    background-color: #19448e;
    border-radius: 2px;
}
.fas.fa-times {
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
  color:#19448e;
}
h2.p-modal-lead {
  display: inline-block;
  margin:0.5rem;
  color: #19448e;
}
h2.p-modal-lead::before {
  font-family: "Font Awesome 5 Free";
  content: '\f044';
  font-weight: 900;
  color: #19448e;
  margin-right: 0.5rem;
}
p.p-modal-label {
  position: relative;
  left: 2rem;
  font-size: 1.6rem;
  color: #BD0022;
}
p.p-modal-label::after {
  content: '\f005\f005';
  font-family: "Font Awesome 5 Free";
  color: #ffc107;
  font-weight: 900;
  position: relative;
  left: 1rem;
}
p.p-modal-label-high {
  color: #155724;
}
p.p-modal-label-high::after {
  content: '\f005\f005\f005';
  font-family: "Font Awesome 5 Free";
  color: #ffc107;
  font-weight: 900;
  position: relative;
  left: 1rem;
}
p.p-modal-label-row {
  color: #721c24;
}
p.p-modal-label-row::after {
  content: '\f005';
  font-family: "Font Awesome 5 Free";
  color: #ffc107;
  font-weight: 900;
  position: relative;
  left: 1rem;
}
div.p-modal-table {
  width: 90%;
  overflow-x: scroll;
  position:relative;
  left:2rem;
}
table.p-modal-contents {
  white-space: nowrap;
  margin:0 auto;
}
table.p-modal-contents th {
  background: rgba(33,37,41,1);
  color: #fff;
}
table.p-modal-contents th,table.p-modal-contents td{
  vertical-align: middle;
  text-align: center;
}
table.p-modal-contents td:nth-child(2) {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
table.p-modal-contents td:nth-child(3),
table.p-modal-contents td:nth-child(4),
table.p-modal-contents td:nth-child(5) {
  text-align: left;
}
table.p-modal-contents td:nth-child(6) {
  padding-left: 2rem;
  padding-right: 2rem;
}
/*ナビゲーションメニュー*/
nav{
  position: relative;
  background: transparent;
}
.navbar_toggle{
  z-index:9999;
}
.navbar_toggle_icon {
  position: relative;
  display: block;
  height: 2px;
  width: 30px;
  background: #ffffff;
  -webkit-transition: ease .5s;
  transition: ease .5s;
}
.navbar_toggle_icon:nth-child(1) {
    top: 0;
}
.navbar_toggle_icon:nth-child(2) {
    margin: 8px 0;
}
.navbar_toggle_icon:nth-child(3) {
    top: 0;
}
.menu.open {
  -webkit-transform:translateX(0);
  transform:translateX(0);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(2) {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 0;
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(3) {
  top: -10px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.menu{
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition:ease .5s;
  transition:ease .5s;
  z-index:1000;
}
/*規約モーダル*/
.agree_lead {
  width: 75%;
  margin: auto;
}
h2.large {
  font-size:2rem;
}
div.close-button {
  width: 15rem;
  margin: auto;
}
/*ハンバーガーメニューオープン時の背景色*/
div.overlay_black {
  position: fixed;
  z-index: 99;
  top: 90px;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: .5;
  transition: .3s ease-in-out;
}
ul.contents_q_wrapper {
  margin:1.5rem 0;
}
li.contents_q_element {
  margin-top:0.5rem;
}
/*apply*/
div.flex-space {
  display: flex;
  justify-content: center;
}
div.plan {
  border: 2px solid #007bff;
  border-radius: 4px;
  margin-right: 1rem;
}
div.unselected {
  border: 1px solid #f0f0f0;
}
.pointer {
  cursor:pointer;
}
.plan-year,.plan-month {
  width: 100%;
  height: 100%;
}
p.plan-checked {
  background-color: #007bff;
  padding: .375rem .75rem;
  color: #fff;
  text-align: center;
}
p.plan-checked::before {
  content: " \f058";
  position: relative;
  right: 7.5rem;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
p.unselected {
  background-color: #f0f0f0;
  color: #19448e;
}
p.plan-checked.unselected::before {
  content: " \f058";
  position: relative;
  right: 7.5rem;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #fff;
}
.hidden {
  display:none
}
div.plan-container {
  padding: 1rem;
  display: flex;
  flex-flow: column;
  align-items: center;
}
span.plan-name {
  font-size:1.5rem
}
span.deal {
  font-size: 1rem;
  background-color: #f0f0f0;
  color: #4d4d4d;
}
span.price {
  font-size: 2.5rem;
  font-weight: bold;
  font-family: Roboto,sans-serif;
}
span.price::after {
  position: relative;
  content: '/\6708';
  font-size: 1rem;
}
.annotation {
  color:#d44950;
}
.green-style {
  color: #155724;
}
.cap_style {
  color: #666;
  font-size: 0.9rem;
}
span.annotation {
  font-size: 0.8rem;
}
.main-margin {
  margin: 0 0 2rem 0;
  display:inline-block;
}
p.annotation {
  font-size: 1rem;
}
li.check-mark {
  margin-top: 1rem;
  color: #155724;
  list-style-type: none;
}
li.check-mark::before {
  content: " \f00c";
  position: relative;
  right: 0.5rem;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #155724;
}
.caution {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
  color: #495057;
}
.caution-lead {
  color:#d44950;
}
.terms-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}
.terms-list {
  list-style-type: none;
}
.inline {
  display:inline;
}
h2.apply-lead {
  font-size: 1.2rem;
}
/*form*/
div.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px;
}
p.form-text {
  margin:0;
}
.label-group {
  width: 100%;
}
.msg-style {
  color:#d44950;
}
/*マイページ*/
div.form-section {
  border: 1px solid #343a40;
  border-radius: 3px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  width: 100%;
  max-width: 365px;
}
p.cancel-alert {
  color:#d44950;
}
.mail-form > form,.name-form > form {
    width: 100%;
    max-width: 350px;
}
/*bootstrapの調整*/
input.form-control-lg::placeholder {
  color: #aab7c4;
  font-size:1rem;
}
/* IE */
input.form-control-lg:-ms-input-placeholder {
  color: #aab7c4;
  font-size:1rem;
}
/* Edge */
input.form-control-lg::-ms-input-placeholder {
  color: #aab7c4;
  font-size:1rem;
}
/*stripe*/
/**
 * The CSS shown here will not be introduced in the Quickstart guide, but shows
 * how you can use CSS to style your Element's container.
 */
.StripeElement {
  box-sizing: border-box;
  height: 40px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: white;
  box-shadow: 0 1px 3px 0 #e6ebf1;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}
.StripeElement--focus {
  box-shadow: 0 1px 3px 0 #cfd7df;
}
.StripeElement--invalid {
  border-color: #fa755a;
}
.StripeElement--webkit-autofill {
  background-color: #fefde5 !important;
}
.stripe-input {
  width: 95%;
  max-width: 25rem;
  min-width: 15rem;
  padding: 0.5rem;
  margin-bottom: 5px;
  border: 1px solid #ced4da;
  border-radius: .3rem;
}
#cancel-btn,.cancel-btn-control label {
  cursor:pointer;
}
/*パスワードリセット*/
div.code-msg {
  display:none;
  max-width: 25rem;
}
dl.code-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  justify-content: center;
  width: 100%;
  height: 5rem;
  background: #ced4da;
  border-radius: 10px;
}
dd.code-text {
  font-size: 1.5rem;
  color: #007bff;
  font-weight: 600;
}
/*フッター*/
#page_top{
  width: 3.2rem;
  height: 3.2rem;
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  background: #870101;
  opacity: .6;
  border-radius: 50%;
  transition-duration: .7s;
  display: none;
  z-index: 100;
}
#page_top:hover{
  opacity: 1;
}
#page_top a{
  position: relative;
  display: inline-block;
  width: 3.2rem;
  height: 3.2rem;
  text-decoration: none;
}
#page_top::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 1.6rem;
  color: #fff;
  position: absolute;
  width: 1.6rem;
  bottom: 0.5rem;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
/*FAQ start*/
tbody.legal th,tbody.faq th {
  background: #19448e;
  color: #fff;
  border-color: #19448e !important;
  text-align: left;
}
tbody.faq th::before {
  content: 'Q.';
  font-size: 1.6rem;
  font-weight: 600;
}
tbody.faq td::before {
  content: 'A.';
  font-size: 1.6rem;
  font-weight: 600;
  color: #19448e;
}
.table-bordered.faq td, .table-bordered.faq th,.table-bordered.legal td, .table-bordered.legal th {
  border: 1px solid #19448e;
}
h2.faq_title {
  font-size: 1.6rem;
  border-bottom: 3px solid #19448e;
  padding: 0 0 0.5rem 0;
  margin: 2rem 0 1.5rem 0;
}
ul.anc {
  display: flex;
  justify-content: space-around;
}
ul.anc li a {
  background: rgba(33,37,41,0.7);
  color: #fff;
  display: inline-block;
  text-decoration: none;
  padding: 1.2rem;
  width: 13rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid;
  position: relative;
  transition: 0.3s ease-out;
}
ul.anc li a:hover {
  background:#fff;
  color: #19448e;
}
ul.anc li a::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border: 0px;
  border-bottom: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  bottom: 8px;
  left: 50%;
  transition: 0.3s ease-out;
}
ul.anc li a:hover:after {
  border-bottom: solid 2px #19448e;
  border-right: solid 2px #19448e;
}
img.kaiyaku-method {
  max-width: 300px;
  margin: 0 auto;
  display: block;
}
/*FAQ end*/
/*table figure start*/
table.figure {
  width: auto;
  margin: 0;
}
table.figure th {
  background: rgba(33,37,41,1);
  color: #fff;
}
/*table figure end*/
/*contact start*/
h1.contact {
  text-align: center !important;
  display: inline-block;
  width: 100%;
}
section.common {
    margin: 6rem 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
div.form-container.apply-form.contact {
  width: initial;
}
div.content {
  max-width: 600px;
  min-width: 300px;
  width: 80%;
}
label.label-group.contact {
  width: 100%;
  max-width: initial;
  min-width: initial;
}
p.form-text.contact {
  font-size: 1.2rem;
  font-weight: 600;
}
p.privacy-po {
  font-weight: 600;
}
p.contact-alert, p.msg-style {
  color: #dc3545;
}
.required::after {
    content: "必須";
    background-color: rgb(220, 53, 69);
    color: rgb(255, 255, 255);
    position: relative;
    left: 1rem;
    font-size: 1rem;
    padding: 0.2rem;
    border-radius: 0.3rem;
}
textarea.form-control {
  max-height: 300px;
}
input.privacy {
  height: 1.5rem;
  width: 1.5rem;
  display: inline-block;
  margin: 0 1rem 0 0;
}
button.contact {
  width: 100%;
}
section.contact-contents {
  margin: 1rem 0 0 0;
}
p.contact-text {
  text-align: center;
  font-size: 1.2rem;
}
/*contact end*/
/*サンプル問題下部の参照先文言のスタイルstart*/
ul.chapter_link {
  padding: 0;
  margin: 1rem 0 1rem 0;
}
/*サンプル問題下部の参照先文言のスタイルend*/
/*chapterページのスタイルstart*/
blockquote {
  margin: 0 0 1rem;
  border-left: 4px solid #ccc;
  padding: 0px 0px 0px 16px;
  color: #666;
  font-style: italic;
}
cite {
  display: block;
  font-size: 0.9rem;
  color: #333;
}
.important-categories {
  margin: 20px 0;
  padding: 15px;
  background-color: #f0f0f5;
  border-left: 5px solid #007bff;
  border-radius: 5px;
}
.category-list {
  list-style-type: none;
  padding-left: 0;
}
.category-list li {
  padding: 10px;
  margin-bottom: 10px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-weight: bold;
  color: #007bff;
}
.flex_center {
  display: flex;
  justify-content: center;
}
.video_type {
  max-width: 300px;
}
.article_image_wrap {
    width: 100%;
    max-width: 880px;
    margin: 40px auto 56px;
    text-align: center;
}
.article_image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}
/*chapterページのスタイルend*/
@media screen and (max-width: 767px) {
  h1 {
    font-size: 1.5rem;
  }
  h1.faq-lead {
    font-size: 2.2rem;
  }
  h1.top {
    font-size: 1.8rem;
  }
  h2.top {
    margin:1rem 0 2rem 0;
    font-size: 1.5rem;
  }
  div.main_lead_bg.top {
    height:42rem;
  }
  div.main_lead_bg.contents {
    background-position: right;
    height: 10rem;
  }
  div.contents>.container {
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
  }
  div.main_lead_bg.top {
    background-image: url('../image/top_main_sp.webp');
    background-repeat: no-repeat;
    background-size: cover;
  }
  .top_image_wrap {
      padding: 0 10px;
  }
  .top_image {
      border-radius: 18px;
  }
  /*コンポーネント*/
  div.component_wrapper {
    margin: 0 auto;
    width: 15rem;
  }
  button.settle-style {
    width:18rem;
  }
  .settlement {
    width: 18rem;
    margin: auto;
    margin-top: 1rem;
  }
  .back-button {
    width: 15rem;
  }
  .textAdj {
    line-height: 3rem;
  }
  .indent::before {
    content: "\A";
    white-space: pre;
  }
  p#sub_lead {
    font-size:0.8rem;
    margin: 0;
  }
  p.lead_copy {
    font-size:1rem;
    font-weight:300;
  }
  div.drawer{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 70px;
    padding: 0 1em;
  }
  /*#navbarNavは、スマホ画面最適PC・タブレットは別に指定すること*/
  #navbarNav {
    position: absolute;
    left: 0;
    z-index: 9999;
    background-color: #fff;
    transition: .3s ease-in-out;
    width: 85%;
    top: 105%;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav {
    flex-direction: column;
  }
  #navbarNav .nav,
  #navbarNav .nav > li,
  #navbarNav .nav-item {
    display: block !important;
    width: 100%;
  }
  #navbarNav .dropdown-menu {
    position: static !important;   /* ← absolute / fixed をやめる */
    transform: none !important;    /* Bootstrapの translate を無効化 */
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;       /* 青い板の上にそのまま並べたい場合 */
  }
  #navbarNav .dropdown-menu > li > a {
    display: block;
    padding: 2rem 1.5rem;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
  }
  div.menu ul li{
    border-bottom: 1px solid #CCC;
    background-color: #19448e;
  }
  /*グロナビhover時の装飾*/
  ul.nav li > a {
    display: block;
    padding: 2rem 1.5rem;
    width: 100%;
  }
  ul.nav li > a:hover {
    text-decoration:none;
  }
  .dropdown-menu {
    background-color:transparent;
    width:100%;
    padding:0;
  }
  .svg-common {
    height: 15rem;
    width: 22rem;
  }
  /*indexのfigare内レイアウト調整*/
  .fig_wrap {
    max-width: 768px;
  }
  /*indexのカテゴリーなどの画像キャプションスタイル調整*/
  .cap_style_top {
    padding: 0 15px 0;
  }

  div.img {
    height: 16rem;
  }
  div.img8 {
    height: 15rem;
    background-repeat: no-repeat;
    margin: 0 auto;
    width: 26rem;
  }
  .img_lg {
      /*長めのアニメーション画像用*/
    height: 43rem !important;
  }
  /*スマホの選択肢の文字列が長いときにはみ出ないように折り返す*/
  ul.contents_q_wrapper > li.contents_q_element > label.form-check-label {
    display: block;
    word-wrap: break-word;
  }
  /*スマホ解答詳細ページモーダル*/
  div.p-modal-table {
    width: 90%;
    overflow-x: scroll;
    position: absolute;
    left: 2rem;
  }
  /* 3つめのth以降の幅を調整（ただし6つ目と7つ目は除外） */
  div.p-modal-table > table th:nth-child(n+3):not(:nth-child(6)):not(:nth-child(7)),
  div.p-modal-table > table td:nth-child(n+3):not(:nth-child(6)):not(:nth-child(7)) {
      width: auto;
      max-width: none;
      white-space: normal;
      min-width: 250px;
  }
  table.p-modal-contents {
    white-space: nowrap;
  }
  .fas.fa-times {
    position: relative;
    right: 1rem;
    display: flex;
    justify-content: flex-end;
    top: -2.5rem;
  }
  /*スマホ詳細ボタン絡む落ち防止の調整*/
  span.accuracy_rate {
    margin-left: 1rem;
  }
  /*スマホ詳細ボタン絡む落ち防止の調整*/
  .alert {
    padding: 10px 8px;
  }
  .fa-fw {
    width: 22px;
  }
  /*改行*/
  .br-sp::before {
    content: "\A" ;
    white-space: pre ;
  }
  /*問題のテーブル*/
  div.figure-table-wrapper {
    width: 100%;
    overflow-x: scroll;
  }
  table.contents_q th,table.contents_q td,table.contents_q_3 th,
  table.contents_q_3 td,table.contents_q_6 th,table.contents_q_6 td
  {
    white-space: nowrap;
  }
  table.contents_l tr
  {
    white-space: wrap;
  }
  /*apply*/
  div.plans {
    width: 90%;
    margin: auto;
  }
  div.plan {
    background-color: #007bff;
    margin: 0 0 0.5rem 0;
  }
  div.unselected {
    background-color: #f0f0f0;
  }
  p.plan-checked {
    margin:0;
    padding: 0.8rem;
    text-align: left;
  }
  p.plan-checked::before {
    right: 0.5rem;
  }
  p.plan-checked.unselected::before {
    right: 0.5rem;
  }
  p.year::after {
    content: '¥2,750/月';
    position: relative;
    left: 5rem;
  }
  p.month::after {
    content: '¥1,100/月';
    position: relative;
    left: 5rem;
  }
  label.sp {
    width:100%;
    margin:0;
  }
  div.resistered-form-section {
    max-width: 350px;
  }
  .label-input {
    width:100%;
    padding: 8px;
  }
  .mail-input {
    font-size:1rem;
  }
  /*stripe*/
  .stripe-register {
    width: 100%;
  }
  /*プライバシーポリシーstart*/
  section.policy {
    padding:1rem;
    margin: 1rem 0 0 0;
  }
  ul.list-contain {
    position: relative;
    right: 1rem;
  }
  /*プライバシーポリシーend*/
  /*footer start*/
  section.inner-top,div.bottomo-rules ul {
    flex-direction: column;
  }
  ul.footer-list {
    padding: 0;
    margin: 0;
  }
  ul.footer-list li {
    padding: 1rem 0 0 0 !important;
    position: relative;
  }
  section.inner-top ul.footer-list :not(.list-heading,h3,a) {
    display: none;
  }
  section.inner-top ul.footer-list.open :not(.list-heading,h3,a) {
    display: block !important;
    background: #284d8c;
  }
  ul.footer-list li.list-heading {
    cursor: pointer;
    border-bottom: 2px solid #fff;
  }
  ul.footer-list li.list-heading h3 {
    font-size: 1rem;
  }
  ul.footer-list li.list-heading::after {
    position: absolute;
    color: #fff;
    right: 0rem;
    top: 1rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f067";
  }
  ul.footer-list li.list-heading.open::after {
    content: "\f068";
  }
  ul.footer-list li a::after {
    position: absolute;
    color: #fff;
    right: 0rem;
    top: 1rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f105";
  }
  div.footer-logo {
    margin: 1rem 0 0 0;
  }
  section.inner-bottom {
    margin: 2.5rem 0 0 0;
  }
  li.size-change {
      font-size: 0.8rem;
  }
  /*footer end*/
  /*ぱんくず start*/
  .bread_crumb_wrap ul {
    font-size: 12px;
    display: block;
  }
  /*ぱんくず end*/
  /*FAQ start*/
  ul.anc {
    margin: 0;
    padding: 0;
  }
  ul.anc li a {
    padding: 1rem;
    width: 7rem;
    font-size: 0.8rem;
  }
  /*FAQ end*/
  .article_image_wrap {
      margin: 28px auto 44px;
  }

  .article_image {
      border-radius: 12px;
  }
}
@media screen and (min-width: 768px) {
  main.main_lead {
    min-height: 700px;
  }
  div.main_lead_bg.top {
    background-image: url('../image/top_main_pc.webp');
    background-repeat: no-repeat;
    background-size: cover;
  }
  .study {
    max-width: 760px !important;
  }
  /*コンポーネント*/
  div.component_wrapper {
    display: flex;
    justify-content: center;
  }
  div.drawer {
    display:none;
  }
  div.main_lead_bg.top {
    height:52rem;
  }
  div.container.lead.top > div {
    display: flex;
    flex-direction: column;
  }
  h1 {
    font-size: 2.3rem;
  }
  h1>span.mainlead_title {
    font-size: 1.8rem;
  }
  .textAdj {
    line-height: 4rem;
  }
  .indent::before {
    content: "\A";
    white-space: pre;
  }
  p.lead_copy {
    font-size:1.25rem;
    font-weight:300;
  }
  div.img.others,div.main_lead_bg.top.others {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  div.main_lead_bg.contents {
    background-attachment: fixed;
    background-position: center;
    height: 22rem;
  }
  div.img8 {
    height: 33rem;
    background-repeat: no-repeat;
    margin: 0 auto;
    width: 55rem;
  }
  /*ハンバーガーメニューを非表示でグロナビを表示*/
  nav{
    display: flex;
    flex-direction: row;
  }
  div#nav-content {
    margin-right: -2.5rem;
  }
  .navbar_toggle{
    display: none;
  }
  .menu{
    width: 100%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    position: relative;
  }
  .menu ul{
    height: 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
  }
  ul.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none !important;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #19448e;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
  }
  ul.dropdown-menu.show {
    display: block !important;
    width: 511px;
    height: 700px;
    line-height: 2rem;
    background-color: #19448e;
    overflow: scroll;
  }
  div.menu ul.dropdown-menu li{
    border-bottom: 1px solid #CCC;
  }
  /*グロナビhover時の装飾*/
  ul.nav li > a {
    display: block;
    padding: 1rem 1.45rem;
    width: 100%;
  }
  ul.nav li > a:hover {
    text-decoration:none;
    background-color:#ffffff;
    color:#19448e;
  }
  div.error-contents {
    width: 50%;
    margin: 0 auto;
  }
  /*PC解答詳細ページモーダル*/
  .fas.fa-times {
    display: flex;
    justify-content: flex-end;
    position: relative;
    top: -2.5rem;
    right: 1rem;
  }
  /* テーブルセル内の長い内容を適切に改行 */
  div.p-modal-table > table th, div.p-modal-table > table td {
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 200px; /* 必要に応じて最大幅を調整 */
  }
  /*改行*/
  .br-pc::before {
    content: "\A" ;
    white-space: pre ;
  }
  /*プライバシーポリシーstart*/
  section.privacy {
    max-width: 720px;
    min-width: 300px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  section.policy {
    margin: 2rem 0 0 0;
  }
  /*プライバシーポリシーend*/
  /*indexのカテゴリーなどの画像キャプションスタイル調整*/
  .cap_style_top {
    width: 45rem;
  }
  .faq,.cont_center {
    max-width: 720px;
    margin: 0 auto;
  }
  .agree_sec {
    min-width: 700px;
  }
}
@media screen and (min-width: 768px) and (max-width: 958px) {
  ul.nav li > a, p.header_logo a {
    font-size: 11px;
  }
}
@media (min-width: 992px) {
  #question-num {
    margin-top: .5rem!important;
  }
}
