*,
*:before,
*:after {
  box-sizing: inherit;
}

html,
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;

  color: #333;
  font-weight: normal;
  font-style: normal;
  letter-spacing: 0.05em;
  box-sizing: border-box;
  line-height: 1.5;
  /* outline: solid 1px #f00; */
}

html {
  font-size: 10px;
}

body {
  -webkit-font-smoothing: antialiased;
  background: #fff;
}
/* サファリのみに適用 */
@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) {
    input,
    select {
      -webkit-appearance: none;
    }
  }
}
/* Safariのselectボックスのデザイン調整 */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 7px 30px 7px 10px;
  background: #fff
    url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>")
    no-repeat right 5px center;
  background-size: 20px;
}

/* Safariでの青い枠線を削除 */
select:focus {
  outline: none;
}

a:hover img {
  /*opacity: 0.8;
  filter: alpha(opacity=80);*/
}
a {
  color: #3a7ec5;
}
a {
  text-decoration: unset;
}
a:hover {
  opacity: 0.8;
}
input[type="button"]:hover,
button:hover {
  cursor: pointer;
  opacity: 0.8;
}
a:hover.disable {
  opacity: 1 !important;
}
.imgCenter {
  margin: auto;
  display: block;
}

.sp_only {
  display: none;
}

.pc_only {
  display: inherit;
}
.sp_only_fl {
  display: none !important;
}

.pc_only_fl {
  display: flex !important;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
/*th, td {
  border-bottom: none !important;
  border-right: none !important;
}
tr th:first-child, tr td:first-child {
  border-left: solid 1px #b3b3b3 !important;
}
tr th:first-child {
  border-left: solid 1px #b3b3b3 !important;
}
tr th:last-child, tr td:last-child {
  border-right: solid 1px #b3b3b3 !important;
}
tr:last-child th, tr:last-child td {
  border-bottom: solid 1px #b3b3b3 !important;
}
  */

/* エラーメッセージ用スタイル設定
------------------------------------- */
/* エラーメッセージの基本スタイル */
.error {
  color: #ff0000;
  margin: 1rem 0;
}

/* エラーメッセージのテキストスタイル */
.error p {
  font-size: 1.4rem;
  text-align: center;
}

/* 入力フォーム用エラーメッセージのスタイル調整 */
.input-line.error {
  border: none;
  padding: 0;
}

.cl-over {
  clear: both;
  overflow: hidden;
}
.inner {
  width: 1000px;
  margin: auto;
  box-sizing: border-box;
}

.main-contents .inner.side-navi {
  display: flex;
  gap: 20px;
  position: relative;
}

.main-contents .inner.side-navi .contents-box {
  width: 760px;
}

.left-navi {
  width: 220px;
}

/* header */
#header {
  background: #fff;
}
#header #headGuide #logo {
  width: 405px;
  float: left;
}
#header #headGuide #logo a {
  display: block;
  margin: 10px auto 7px auto;
}
#header #headGuide #logo h1 {
  font-size: 13px;
  line-height: 13px;
  font-weight: normal;
}
#headGuide {
  padding: 1rem 0;
  align-items: center;
}

#header #headNavi {
  width: 100%;
  margin: 0;
  background: #3a7ec5;
}
#header #headNavi.color_Cram {
  background: #3ba2a4;
}
#header #headNavi ul.MeunNavi {
  display: grid;
  font-size: 1.5rem;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  font-size: 1.5rem;
}
#header #headNavi ul.MeunNavi li.MeunNavi01 {
  border-right: solid 1px #fff;
  height: 60px;
}
#header #headNavi > ul > li {
  display: block;
  float: left;
}
#header #headNavi ul.MeunNavi li#naviSMogiPrsn {
  border-left: solid 1px #fff;
}
#header #headNavi ul li#naviPamf,
#header #headNavi ul li#naviReserve {
  /*メニューナビ幅950pxの中に収めるため、両端のメニューは118pxに調整*/
  width: 118px;
}
#header #headNavi ul li a,
#header #headNavi ul li a span {
  display: flex;
  background-repeat: no-repeat;
  color: #fff;
  align-items: center;
  height: 100%;
  justify-content: center;
}

#header #headNavi ul li#naviSmogi,
#header #headNavi > ul > li#naviPlans #header #headNavi > ul > li#naviReport {
  width: 129px;
}
#header #headNavi > ul > li#naviSmogi > a,
#header #headNavi > ul > li#naviPlans > a,
#header #headNavi > ul > li#naviReport a {
  width: 130px;
  text-align: center;
  display: table;
}
#header #headNavi ul li#naviSMogiPrsn {
  width: 173px;
  display: block;
}
#header #headNavi ul li#naviSMogiPrsn a#free {
  background-image: url("/images/top/header01.png");
  background-repeat: no-repeat;
  background-position: center left 10px;
  width: 120px;
  padding-left: 59px;
}
#header #headNavi > ul > li#examathome {
  width: 124px;
}
#header #headNavi ul.MeunNavi li#examathome > a {
  text-align: center;
  display: table;
  width: 124px;
}
#header #headNavi > ul > li#naviSmogiTest01 {
  width: 124px;
}
#header #headNavi ul.MeunNavi li#naviSmogiTest01 > a {
  text-align: center;
  display: table;
  width: 124px;
}
#header #headNavi > ul > li#naviSmogiTest02 {
  width: 129px;
}
#header #headNavi > ul > li#naviSmogiTest02 > a {
  padding-left: 15px;
  width: 110px;
}
ul.sub-menu {
  overflow: visible !important;
  background: #f2f2f2;
  border-right: none;
  display: none;
  position: absolute;
  z-index: 10;
}
ul.sub-menu li.MenuItem a {
  height: 40px;
  color: #000 !important;
}
div#headNavi > ul > li:hover ul.sub-menu {
  display: block;
}
#naviSmogi #SubMenu1 li.MenuItem a {
  color: #000;
}
#naviSmogi ul#SubMenu1 li.MenuItem {
  width: 200px;
  height: 41px;
}
#naviSmogi ul#SubMenu1 {
  width: 200px;
}
#naviSMogiPrsn #SubMenu2 {
  width: 330px;
}
#SubMenu3 {
  width: 177px;
}
#SubMenu5 {
  width: 282px;
}
#SubMenu6 {
  width: 300px;
}
#SubMenu7 {
  width: 330px;
}
#SubMenu8 {
  width: 330px;
}
.MenuItem {
  border-bottom: solid #b3b3b3 1px;
}
ul li ul.sub-menu li.MenuItem a {
  padding-left: 17px !important;
}
ul > li > ul.sub-menu > li.MenuItem > a > span {
  display: table-cell;
  vertical-align: middle;
  height: 40px;
}
ul > li > ul.sub-menu > li.MenuItem > a:hover {
  background: #9bdcff;
}
#headNavi ul.CramMeun > li#FreeMaterials {
  border-left: solid 1px #fff;
}
/*
#headNavi ul.CramMeun > li#FreeMaterials a span {
  background-image: url("/images/top/header08.png");
  background-repeat: no-repeat;
  background-position: bottom 10px left 35px;
}
#headNavi ul.CramMeun > li#HowToUse > a > span {
  background-image: url("/images/top/header09.png");
  background-repeat: no-repeat;
  background-position: bottom 16px left 20px;
}
*/

/* コンテンツ(画面横全体に下向きへグラデーションがかかった背景を入れる。)
------------------------------------- */
#wraper {
  width: 100%;
  padding-top: 15px;
  background-image: url(/images/common/BackMain.png);
  background-position: left top;
  background-repeat: repeat-x;
  margin-bottom: 0px;
}
/* 幅950pxで中央寄せにするため、もう1つ要素を追加
	------------------------------------- */
#content {
  width: 951px;
  margin: 0 auto;
  overflow: hidden; /*floatの解除、ここがポイント(floatしている要素の親要素へ適用する)*/
  position: relative; /*DWで正常にプレビューできるようになる*/
  zoom: 1; /*IE6でレイアウト崩れを防ぐため*/
  margin-bottom: 200px;
}
/* トップページなどでの左メニュー(left_navi.tpl.php)
	------------------------------------- */
#leftNavi {
  width: 200px;
  float: left;
  display: block;
}
#leftNavi ul.nav {
  margin-bottom: 9px;
}
#leftNavi ul.nav li {
  margin: 0 0 3px 0;
  display: block;
  width: 200px;
  position: relative;
}
#leftNavi ul.nav li a {
  display: block;
  background-repeat: no-repeat;
  background-position: left top;
  background-color: #fff;
  height: 44px;
}
#leftNavi ul.nav li#linkRegistMember a {
  background-image: url(/images/common/lMenuRegistMember.png);
  text-indent: -999em;
  height: 74px;
  padding-left: 0;
  display: block;
}
#leftNavi ul.nav li#linkMypage a {
  background-image: url(/images/common/lMenuMypage.png);
  text-indent: -999em;
  height: 46px;
  padding-left: 0;
  display: block;
}
#leftNavi ul.nav li#linkTwitter a {
  background-image: url(/images/common/lMenuTwitter.png);
  text-indent: -999em;
  height: 100px;
  padding-left: 0;
  display: block;
}
#leftNavi ul.nav li#linkPrivacy {
  height: 88px;
  padding: 5px 0;
  display: block;
}
#leftNavi ul.nav li#linkPrivacy a {
  height: 88px;
  text-align: center;
}
#content table.green th {
  background-color: #dcf0f0;
}
#content table.grayBack th {
  background: #e6e6e6;
}
#content div#backBlue table.green th {
  width: 173px;
  text-align: left;
  padding-left: 10px;
  font-size: 12px;
}
#content div#backBlue table.green td {
  font-size: 12px;
}

li#CramRegister a:nth-child(1) {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #dcf0f0;
  border: solid 1px #b3b3b3;
  padding: 1rem;
  color: #333;
}

li#CramRegister a p:nth-child(2) {
  margin-top: 4px;
}
div.nav.soshin-test_navi p:nth-child(1) {
  background: #3ba2a4;
  border-bottom: solid 1px #b3b3b3;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  padding: 0.5rem;
}

div.nav.soshin-test_navi p:nth-child(1) > span:nth-child(1) {
  font-size: 1.4rem;
  font-weight: normal;
  display: block;
  margin: auto;
}

div.nav.soshin-test_navi {
  border: solid 1px #b3b3b3;
  margin-top: 1rem;
}

.soshin-test_navi ul {
  padding: 5px;
}
.soshin-test_navi ul li:nth-child(1) a:nth-child(1) {
  color: #fff;
  background: #ff0000;
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 1rem;
}
.soshin-test_navi ul li:nth-child(2) a:nth-child(1) {
  border: solid 1px #ff0000;
  color: #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
}

.page-ttl {
  border-bottom: solid 2px #3ba2a4;
  padding-top: 2rem;
  background: #fff;
}
.page-ttl h2:nth-child(1) {
  color: #3ba2a4;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  max-width: 1000px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 

共通項目

*/
.main-contents {
  margin-top: 3rem;
  margin-bottom: 10rem; /* 暫定的に10remにしておくfooter設置時に再考 */
}

.page-ttl-box {
  background: #fff;
}

/* data-sticky-stack と併用。.sticky-subheader 内だけ画面上部に残す */
.sticky-subheader {
  position: sticky;
  z-index: 900;
}
/* パンくずのみ残すページ用 */
.sticky-subheader--breadcrumb-only {
  top: var(--site-header-offset, 0px);
  background: #f2f2f2;
}
/* ページナビのみ残すページ用（.page-navi の背景・影に合わせる） */
.sticky-subheader--page-navi-only {
  top: var(--site-header-offset, 0px);
  background: #fff;
}
.breadcrumb-box {
  background: #f2f2f2;
  padding: 5px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb span {
  color: #3a7ec5;
}
.breadcrumb li.breadcrumb-item,
.breadcrumb li.breadcrumb-item a {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 2px;
}

.breadcrumb li.breadcrumb-item {
  color: #333;
}

.page-navi {
  background: #fff;
  box-shadow: 0px 5px 3px 0px rgba(0, 0, 0, 0.3);
  padding: 1rem 0;
}

.page-navi > div:nth-child(1) > ul:nth-child(1) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  width: 69%;
}

.page-navi > div:nth-child(1) > ul:nth-child(1) li {
  width: 31%;
}

.round-navi.page-navi > div:nth-child(1) > ul:nth-child(1) li a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a7ec5;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.page-navi > div:nth-child(1) > ul li a {
  font-size: 1.5rem;
  position: relative;
}
.round-navi.page-navi > div:nth-child(1) > ul:nth-child(1) li a {
  padding-left: 1.3em;
}

.main-contents section {
  margin: 4rem auto;
}
#soshinTest-v2 .main-contents section {
  margin: 4rem auto 6rem;
}
.main-contents section:first-of-type {
  margin-top: 0;
}
.main-contents .main-ttl {
  margin-bottom: 2rem;
}
.main-contents .main-ttl h3:nth-child(1) {
  font-size: 2.5rem;
  font-weight: bold;
  border-bottom: solid 2px #3ba2a4;
  padding-bottom: 3px;
}

.login-box {
  border: solid #ff0000;
  border-radius: 10px;
  padding: 2rem 0;
}

.login-box > p {
  text-align: center;
}

.login-btn {
  font-size: 1.6rem;
  text-align: center;
  color: #f00;
  display: block;
  width: fit-content;
  margin: ;
  border: solid 1px;
  margin: 1rem auto 0;
  padding: 0.5rem 9rem;
  border-radius: 5px;
  font-weight: bold;
}
.login-btn:hover {
  cursor: pointer;
  opacity: 0.5;
}
.modal {
  display: none;
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 60px;
  transition: 0.3s;
}

.modal-content {
  background-color: #fefefe;
  padding: 5rem;
  border: 1px solid #888;
  width: 80%;
  max-width: 650px;
  border-radius: 10px;
  left: 50%;
  top: 55%;
  transform: translateX(-50%) translateY(-50%);
  position: absolute;
}


#loginModal .modal-content{
  padding-left: 3rem;

}
.close {
  color: #aaa;
  float: right;
  font-size: 38px;
  font-weight: bold;
  position: absolute;
  right: 30px;
  top: -2px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-content > h2:nth-child(2) {
  font-size: 2rem;
  font-weight: bold;
  margin: ;
  margin-bottom: 2rem;
  text-align: center;
}

.inputLine {
  display: flex;
  gap: 1rem;
  align-items: center;
}
#inputBlock .inputLine:first-child {
  margin-bottom: 1.5rem;
}

.inputLine label {
  width: 25%;
  font-size: 1.5rem;
  display: flex;
  justify-content: flex-end;
}
.inputLine input {
  width: 74%;
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1.6rem;
}
.toggle-icon {
  color: #b3b3b3;
  font-size: 2.2rem;
  position: absolute;
  right: 60px;
}

#loginButtonCram {
  width: 50%;
  margin: 2rem auto;
  text-align: center;
  display: block;
  font-size: 1.7rem;
  background: #f93;
  border: none;
  padding: 1rem;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
}
#forgetCramSchool {
  text-align: center;
}
.NewMember {
  text-align: center;
  margin-top: 2rem;
}

.forget-block-inner{
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* リモーダル */
.remodal-overlay,
.modal2-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.remodal-wrapper.remodal-is-opened,
.modal2-wrapper.modal2-is-opened {
  background-color: #00000099;
}

.remodal,
.modal2 {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 5rem 9rem;
  z-index: 1001;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.remodal.v2,
.modal2.v2 {
  top: 0;
  left: 0;
  max-width: 750px;
}

.remodal-header,
.modal2-header {
  font-size: 1.7rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.remodal-content,
.modal2-content {
  margin-bottom: 2rem;
  font-size: 1.5rem;
}
.remodal.v2 .remodal-body input,
.modal2.v2 .modal2-body input {
  width: 20em;
  max-width: 47em;
  padding: 0.5rem 1rem;
  border: 1px solid rgb(179, 179, 179);
  font-size: 1.5rem;
} 
.remodal.v2 .remodal-body textarea,
.modal2.v2 .modal2-body textarea {
  width: 47em;
  max-width: 47em;
  padding: 1rem;
  border: 1px solid rgb(179, 179, 179);
  height: 107px;
  font-size: 1.4rem;
  resize: vertical;
} 

.remodal-footer,
.modal2-footer {
  text-align: right;
}
.remodal.v2 .remodal-footer,
.modal2.v2 .modal2-footer {
  text-align: center;
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 2rem;
}
.remodal.v2 .remodal-footer button,
.modal2.v2 .modal2-footer button {
  width: 10em;
  font-size: 1.6rem;
  font-weight: bold;
  border-radius: 5px;
  color: #fff;
  padding: 8px 0;
}
.remodal.v2 .remodal-footer button.remodal-confirm,
.modal2.v2 .modal2-footer button.modal2-confirm {
  background-color: #ff0000;
}
.remodal.v2 .remodal-footer button.remodal-cancel,
.modal2.v2 .modal2-footer button.modal2-cancel {
  background-color: #b3b3b3;
}

.close-remodal-btn,
.close-modal2-btn {
  background: #ff0000;
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.6rem;
  width: 200px;
  margin: auto;
  display: block;
}

.remodal-03 .remodal-footer,
.modal2-03 .modal2-footer {
  display: flex;
  gap: 1rem;
}

.remodal-03 .remodal-footer .close-remodal-btn,
.modal2-03 .modal2-footer .close-modal2-btn {
  width: 160px;
}

.myPage-sidemenu-info {
  border: solid 1px #b3b3b3;
  margin-bottom: 1rem;
  padding: 1em;
}

.myPage-sidemenu-info-code {
  font-weight: bold;
}

.myPage-sidemenu > h2 {
  background: #537990;
  color: #fff;
  padding: 5px;
  text-align: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}
.myPage-sidemenu > ul li:hover {
  background: #f2f2f2;
}
.myPage-sidemenu > ul > li > a {
  color: #333333;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.myPage-sidemenu > ul > li > a::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
}
.myPage-sidemenu > ul {
  margin-top: 1rem;
}

.login-page .inner {
  display: grid;
  grid-template-columns: 610px 360px;
  gap: 3rem;
}
.login-page .inner > div {
  position: relative;
  padding: 2rem;
  border: solid 1px #999999;
}

.cram-login-box > form {
  margin-top: 2rem;
}
.login-page h3:nth-child(1) {
  font-size: 1.8rem;
  color: #333;
  text-align: center;
  padding-bottom: 0.5rem;
  border: ;
  border-bottom: solid 1px #000;
  margin-bottom: 1.5rem;
}

.register-btn a{
  color: #fff;
  background: #3ba2a4;
  font-size: 1.7rem;
  font-weight: bold;
  width: 90%;
  margin: auto;
  text-align: center;
  padding: 1rem;
  border-radius: 5px;
  display: block;
}

.register-block > p:nth-child(2) {
  text-align: center;
  margin-bottom: 1.5rem;
}

.cram-login-box .toggle-icon {

  right: 33px;
}

/* モディファイア（極力使用しない） */
.weightNormal {
  font-weight: normal !important;
}
.weightBold {
  font-weight: bold !important;
}

/* 次へボタンスタイル */
.next-button-container {
  text-align: center;
  margin: 30px auto 30px 13em;
  padding: 20px 0;
  width: 38em;
}
.next-button-container.enable-back-button {
  margin-left: 3em;
  width: 57em;
  display: flex;
  gap: 2em;
}

.next-button-container .cart-side-box-inner-inner-btn {
  background: #ff0000;
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-width: 150px;
}
.next-button-container.enable-back-button .cart-side-box-inner-inner-btn {
  width: 23em;
}

.next-button-container .cart-side-box-inner-inner-btn:hover {
  background: #c82333;
}

.next-button-container .cart-side-box-inner-inner-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}
.next-button-container .cart-side-box-inner-inner-btn.back-button {
  width: 11em;
  background: #b3b3b3;
}
.next-button-container .cart-side-box-inner-inner-btn.back-button:hover {
  background: #999999;
}