@charset "UTF-8";

body {
  /* font-family: 'Noto Sans JP', sans-serif; */
  font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
  font-style: normal;
}

main {
  margin: 0;
}

.c-section--yellow {
  background-color: #fff8dd !important;
}

.pd0 {
  padding: 0 !important;
}

.contain {
  background-size: contain;
}

.g-nav__list {
  background-color: #0080ba;
}

.g-nav__list .nav-link {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.5s;
}

.g-nav__list .nav-link:hover {
  background-color: #00b7ba;
  opacity: 1;
}

.add_price {
  font-size: 3rem;
  margin-top: 30px;
}

.g-header__contact-btn a {
  background-color: #00c09b;
  padding: 10px 20px;
  color: #fff;
  border: unset;
  border-bottom: 4px solid #0000002e;
}

.g-header__contact-btn a:hover {
  margin-top: 3px;
  color: #000;
  background: #00c09b;
  border-bottom: 2px solid #00c09b;
}

.bk-pink {
  background: #fd6c7c !important;
}

.bk-pink:hover {
  border-bottom: 2px solid #fd6c7c !important;
}

.c-visual .catchcopy {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.c-visual .catchcopy-title > * {
  font-family: unset;
  font-size: 5rem;
  padding: 20px;
  color: #000;
  line-height: 70px;
  letter-spacing: 5px;
}

.c-visual-news__inner {
  background: #eaf4dd;
}

.c-visual-news__more a {
  background: #fff;
}

.c-section--orange {
  background-color: #fff !important;
}

.c-visual {
  margin-top: -160px;
}

.bk-blue {
  background-color: #cbefff !important;
}

.section_ttl--deco span {
  display: block;
  width: calc(20% / 4);
  height: 0;
  overflow: hidden;
  border-top: solid 4px #ddd;
}

.section_ttl--deco span:nth-of-type(1) {
  border-top-color: #ff9231;
}

.section_ttl--deco span:nth-of-type(2) {
  border-top-color: #ea3bff;
}

.section_ttl--deco span:nth-of-type(3) {
  border-top-color: #31b6f4;
}

.section_ttl--deco span:nth-of-type(4) {
  border-top-color: #00c09b;
}

.section_ttl--deco span:nth-of-type(5) {
  border-top-color: #95c61b;
}

.section_ttl--deco span:nth-of-type(6) {
  border-top-color: #fdee6c;
}

/*ボタン*/

.button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}

.button.learn-more {
  width: 75%;
  height: auto;
  border-radius: 20px;
  margin-top: 40px;
  background: linear-gradient(90deg, #ffb840, #ffdd29);
}

.button.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 50px;
  background: #ffbb3e;
  border-radius: 1.625rem;
}

.button.learn-more .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}

.button.learn-more .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}

.button.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.29rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #fff;
  border-right: 0.125rem solid #fff;
  transform: rotate(45deg);
}

.button.learn-more .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  color: #282936;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}

.button:hover .circle {
  width: 100%;
}

.button:hover .circle .icon.arrow {
  background: #fff;
  transform: translate(1rem, 0);
}

.button:hover .button-text {
  color: #fff;
}

/*slick menu */

.m_list_wrap {
  padding: 60px 0px;
  background: #fff;
  border: 2px solid #5db5aa;
  border-radius: 20px;
}

.case_head {
  text-align: left;
  width: 96%;
}

.w96 {
  width: 96%;
  margin: 0 auto;
}

.case_title {
  margin-bottom: 30px;
  font-size: 3rem;
  border-bottom: 1px solid #000;
  width: fit-content;
}

.case_category li {
  background: #5db5aa !important;
  width: fit-content;
  padding: 5px;
  color: #fff;
}

.case_situation table {
  width: 100%;
  background: #ffefde;
}

.case_situation table th,
td {
  padding: 20px;
  vertical-align: middle;
  position: relative;
  font-size: 2rem;
}

.case_situation table th {
  width: 20%;
}

.case_situation table th::after {
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 1px;
  height: auto;
  margin: 15px 0;
  content: "";
  position: absolute;
  background-color: #5db5aa;
}

.case_situation table td {
  width: 80%;
  text-align: left;
}

.case_point table {
  width: 100%;
  background: #ffe8e8;
  margin-top: 30px;
}

.case_point table th,
td {
  padding: 20px;
  vertical-align: middle;
  position: relative;
  font-size: 2rem;
}

.case_point table th {
  width: 20%;
}

.case_point table th::after {
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 1px;
  height: auto;
  margin: 15px 0;
  content: "";
  position: absolute;
  background-color: #5db5aa;
}

.case_point table td {
  width: 80%;
  text-align: left;
}

.slick-initialized .slick-slide {
  margin: 0;
}

.menu_area {
  width: 96%;
  margin: 0 auto;
  text-align: left;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 1px 1px 20px 0px #0000002e;
}

.menu_area h3 {
  font-size: 2.6rem;
  font-weight: bold;
  font-family: serif;
  color: #ad3d00;
}

.price {
  font-size: 2rem;
  color: #ff8d00;
  font-weight: bold;
}

.m_text {
  margin: 20px 0;
  font-size: 2rem;
}

.menu_area ul {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.menu_area li {
  width: fit-content;
  text-align: center;
  padding: 5px;
  border: 1px solid #000;
  margin: 0px 5px 5px 0;
}

.en {
  font-size: 3rem;
}

.ja {
  font-size: 4rem;
}

.big {
  font-size: 15rem;
  color: #ffa500;
}

.five {
  margin-top: -90px;
}

.feature ul {
  display: flex;
  flex-wrap: wrap;
}

.feature ul li {
  width: 30%;
  margin: 0 auto;
}

.container90 {
  max-width: 90%;
  margin: 0 auto;
}

.f_content h3 {
  font-size: 2.4rem;
  margin: 24px 0;
  color: #4ac9b5;
  font-weight: bold;
}

.five li {
  font-size: 2.4rem;
  text-align: left;
  margin: 10px 0 0 30px;
}

.f_number {
  display: block;
  font-size: 3rem;
}

.details {
  line-height: 2;
  color: #7e4828;
  width: 80%;
  margin: 50px auto 100px;
}

.details input[type="checkbox"] {
  display: none;
}

.details__summary {
  position: relative;
  display: block;
  cursor: pointer;
  background: #fff9f3;
  border: 1px solid #05bff0;
  margin: 20px 0 0;
  padding: 10px 40px 10px 16px;
  font-size: 2.4rem;
}

.details__summary:first-child {
  margin-top: 0;
}

.details__summary::before {
  display: block;
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: calc(50% - 6px);
  right: 16px;
  width: 6px;
  height: 6px;
  border: 6px solid transparent;
  border-left: 6px solid #7e4828;
  transition: all 0.4s ease-out;
  transform-origin: 3px 6px;
  transform: rotate(90deg);
}

.details__content {
  overflow: hidden;
  transition:
    line-height 0.4s ease-out 0s,
    padding 0.4s ease-out 0s,
    opacity 0.6s 0.3s;
  line-height: 0;
  border: 1px solid #05bff0;
  border-top: none;
  opacity: 0;
  margin: 0;
  padding: 0 16px;
}

input[type="checkbox"]:checked + .details__summary::before {
  transform: rotate(-90deg);
}

input[type="checkbox"]:checked + .details__summary + .details__content {
  line-height: 2;
  opacity: 1;
  padding: 16px;
}

.c-card-choice__box {
  box-shadow: 1px 1px 20px 0px #0000002e;
}

.h-60 {
  height: 50%;
}

.cta_list {
  display: flex;
  flex-wrap: wrap;
  width: 70%;
  margin: 0 auto;
  font-size: 2rem;
}

.cta_list li {
  width: 30%;
  margin: 0 auto;
  border-bottom: 1px solid #c9a965;
}

.g-header__contact-btn {
  max-width: unset;
}

/* .c-visual-image .src:after {
    background: #00000069;
} */

/* .c-visual .catchcopy span {
    background: unset;
    color: #00c09b;
    display: inline-block;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 0;
    padding: 0;
    font-size: 9rem;
    text-shadow: 1px 1px 0px #fff;
} */

.c-headline__type3-ttl {
  font-size: 34px;
  font-size: 3.4rem;
  line-height: 60px;
  letter-spacing: 2px;
}

.c-headline__type3-ttl span {
  color: #00c09b;
}

.c-headline__type3 {
  border-left: 6px solid #00c09b;
}

.case_list > .slick-list {
  height: auto !important;
}

.c-card-choice__box-ttl {
  font-size: 3rem;
  color: #ffaa00;
}

.bullet_points li {
  font-size: 2rem;
  border-bottom: 1px solid #b1b1b1;
  padding-bottom: 6px;
}

.bullet_points li i {
  margin-right: 10px;
}

.pink {
  color: #05bff0 !important;
}

.blue {
  color: #5db5aa;
}

.red {
  color: #ffaa00 !important;
}

.c-btn2 {
  background: #05bff0;
}

.c-btn2:hover {
  background-color: #00c09b;
}

.g-cta__mail-contact-btn {
  background: #00c09b;
}

.g-cta__mail-contact-btn:hover {
  background-color: #c9a965;
}

.line-green {
  color: #06c775;
}

.faqc {
  color: #fff;
  font-size: 2rem;
  margin-right: 10px;
  background: #05bff0;
  border-radius: 76% 90% 83% 100%;
  padding: 1%;
}

.fit-content {
  height: fit-content;
}

.staff-name {
  width: 48%;
  font-size: 3rem;
  border-right: 1px solid;
  padding: 20px;
  text-align: center;
}

.staff-carrer {
  width: 50%;
  text-align: left;
}

.m-ttl {
  border-bottom: 5px solid #05bff0;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.c-table2 {
  color: #000;
  text-align: center;
}

.c-table2 td,
.c-table2 th {
  padding: 8px;
  font-size: 2rem;
  background: #fff9f3;
  border: 1px solid #05bff0;
  width: 50%;
}

.c-table2 tr td {
  background: #fff9f3;
}

.c-table2 tr:nth-child(2n) td {
  background: #fff9f3;
}

.c-table2 td,
.c-table2 th {
  font-size: 2rem;
}

.m-list {
  width: 100%;
  background: #fff9f3;
  padding: 20px;
  text-align: left;
  border: 1px solid #05bff0;
}

.cpink {
  color: #05bff0;
}

.bk-orange {
  background: #fff9f3;
  padding: 20px;
}

.name-title {
  background: #ffba4b;
  color: #fff;
  text-align: left;
  width: fit-content;
  padding: 10px;
  margin: 0 auto;
}

.nayami {
  background: #ffffff;
  padding: 20px;
  text-align: left;
  margin: 20px 0;
}

.fa-scale-balanced {
  font-size: 20px;
  font-size: 2rem;
  color: #c9a965;
}

.nayami ul {
  margin: 10px 0;
}

.nayami ul li {
  font-size: 24px;
  font-size: 2.4rem;
  line-height: 40px;
  border-bottom: 1px solid #949494;
  margin-bottom: 15px;
}

.nayami ul li i {
  margin-right: 10px;
  color: #05bff0;
}

.bk_orange {
  background-color: #fff9f3 !important;
}

/* .preloader .preloader-after,
.preloader .preloader-before {
    background-color: #4d4dbd;
} */

.c-card__item-date {
  background-color: #00c09b;
}

.bk-pnk {
  background-color: #ffaa00 !important;
}

.bk-pnk:hover {
  color: #fff;
  background-color: #c9a965 !important;
  text-decoration: none !important;
}

.g-header:before {
  background: #fff;
}

/* .navbar-expand-lg .navbar-nav {
    background: #eefeff;
} */

.c-headline__type5-ttl {
  letter-spacing: 10px;
  background-color: #0080ba;
}

.preloader .preloader-after,
.preloader .preloader-before {
  background: #00c09b;
}

.preloader .preloader-block .percent {
  color: #ffffff4d;
}

.g-footer {
  background: #fff;
}

.g-footer__copyright {
  background-color: #00c09b;
}

.vertical-rl {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-feature-settings: initial;
}

.bk-1 {
  background: #f4922f;
  padding: 10px;
}

.stripe {
  background-image: linear-gradient(
    -45deg,
    #fff 25%,
    #00bfff 25%,
    #00bfff 50%,
    #fff 50%,
    #fff 75%,
    #00bfff 75%,
    #00bfff
  );
  background-size: 4px 4px;
}

.c-after__dig {
  background-color: #ccc;
  background-image: repeating-linear-gradient(
    -45deg,
    #fff,
    #fff 3px,
    transparent 0,
    transparent 6px
  );
  opacity: 0.15;
  z-index: 1;
}

.blue {
  color: #2a5caa;
}

.marker {
  background: linear-gradient(transparent 70%, #fff49f 0%);
  display: inline;
  background-repeat: no-repeat;
}

.t-shadow {
  text-shadow: 3px 2px black;
}

.method {
  max-width: 46%;
  margin: 0 auto;
  background: #fff;
  padding: 24px;
  border-radius: 20px;
}

.heading-16 {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333333;
}

.heading-16::before,
.heading-16::after {
  width: 3px;
  height: 40px;
  background-color: #2589d0;
  content: "";
}

.heading-16::before {
  transform: rotate(-35deg);
  margin-right: 30px;
}

.heading-16::after {
  transform: rotate(35deg);
  margin-left: 30px;
}

.ribbon11-wrapper {
  display: block;
  position: relative;
}

.ribbon11 {
  position: relative;
  box-sizing: border-box;
  margin: -50px 0 0 -45px;
  width: calc(50% + 20px);
  font-size: 32px;
  color: white;
  background: #ff9231;
}

.ribbon11:before {
  position: absolute;
  content: "";
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px #ff9231;
}

.ribbon5 {
  display: inline-block;
  position: relative;
  height: 60px;
  line-height: 60px;
  text-align: center;
  padding: 7px 0;
  font-size: 18px;
  /*文字サイズ*/
  background: #7f9dfb;
  /*背景色*/
  color: #fff;
  /*文字色*/
  box-sizing: border-box;
}

.ribbon5 h3 {
  margin: 0;
  padding: 0 30px 0 15px;
  border-top: dashed 1px #fff;
  border-bottom: dashed 1px #fff;
  line-height: 46px;
}

.ribbon5:after {
  position: absolute;
  content: "";
  z-index: 1;
  top: 0;
  right: 0;
  width: 0px;
  height: 0px;
  border-width: 30px 15px 30px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

.Lines {
  background-image: linear-gradient(0deg, #e5f7ff 50%, #ffffff 50%);
  background-size: 20px 20px;
}

.heading-18 {
  padding: 0.5em 0.7em;
  border: 2px solid #2589d0;
  box-shadow: 5px 5px #2589d0;
  color: #2589d0;
  background: #fff;
}

.opacity04 {
  opacity: 0.4;
}

.bp-ct {
  background-position: center top !important;
}

.c-ttl {
  background: #2589d0;
  padding: 20px;
}

.e-ttl {
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
}
.e-ttl:before {
  content: "";
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: black;
  border-radius: 2px;
}

.bk-white {
  background-color: #fff;
}

.e-sbttl {
  padding: 0.5em 0.7em;
  border-left: 5px solid #58d025;
  background-color: #f2f2f2;
  color: #333333;
}

.e-wrap {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.pd20 {
  padding: 20px;
}

.s-warp {
  clear: both;
}

.m-img {
  /* float: right;
  padding: 0px 0px 30px 50px; */
  font-weight: bold;
}

.point-link__icon {
  border-bottom: 4px solid #fff;
  width: fit-content;
  margin: 0 auto;
  padding: 0 20px;
}

.point-link__card {
  background: #0080ba;
  color: #fff;
}

.m-card {
  padding: 20px;
}

.m-number {
  background: #00c09b;
  width: fit-content;
  margin: 0 auto;
  padding: 5px 20px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
}

.t-table td,
.t-table th {
  padding: 5px 20px !important;
}

.t-table th {
  background: #00c09b;
  color: #fff;
  vertical-align: middle;
}

.t-table td {
  border-bottom: 1px solid #ccc !important;
  word-break: keep-all;
  font-size: 16px;
  font-size: 1.6rem;
}

.c-visual-sub-image .src {
  filter: blur(6px);
}

.test .table {
  border-color: rgba(0, 128, 186, 0.25);
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.test .table thead th {
  background: #0080ba;
  color: #fff;
  border-color: #0080ba;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.test .table tbody td {
  border-color: rgba(0, 128, 186, 0.2);
  vertical-align: middle;
  white-space: nowrap;
}

.test .table tbody tr:nth-child(even) {
  background: rgba(0, 128, 186, 0.04);
}

.test .table tbody tr:hover {
  background: rgba(0, 128, 186, 0.08);
}

.test .table-responsive {
  border: 1px solid rgba(0, 128, 186, 0.2);
  border-radius: 12px;
}

@media screen and (max-width: 767px) {
  .en {
    font-size: 2rem;
  }

  .ja {
    font-size: 2.6rem;
  }

  .c-visual {
    margin-top: 0 !important;
  }

  .c-visual .catchcopy-title > * {
    font-size: 2rem;
    line-height: 3.2;
  }

  .c-visual .catchcopy span {
    display: block;
    font-size: 3rem;
  }

  .feature ul li {
    width: 100%;
    margin: 0 auto 60px;
  }

  .details {
    width: 100%;
    margin: 50px auto 0;
  }

  .details__summary {
    font-size: 2rem;
  }

  .m_list_wrap {
    padding: 30px 0;
    height: unset;
  }

  .m_list_wrap picture {
    display: none;
  }

  .menu_area {
    width: 100%;
  }

  .menu_area h3 {
    font-size: 2rem;
  }

  .m_text {
    font-size: unset;
  }

  .c-slick-photo__prev {
    left: 0;
  }

  .c-slick-photo__next {
    right: 0;
  }

  .c-slick-photo__next,
  .c-slick-photo__prev {
    background-color: rgba(0, 0, 0, 0.2);
  }

  .c-faq__item-body p {
    margin-top: 12px;
  }

  .c-faq__item-body-txt {
    padding: 0;
  }

  .cta_list {
    width: 100%;
    font-size: 1.4rem;
    vertical-align: bottom;
    align-items: end;
  }

  .c-headline__type3-ttl {
    line-height: 30px;
  }

  .five {
    margin-top: 0;
  }

  input[type="checkbox"]:checked + .details__summary + .details__content {
    text-align: left;
  }

  .case_title {
    font-size: 20px;
    font-size: 2rem;
    margin-top: 15px;
  }

  .case_situation table th {
    border-bottom: 1px solid #adadad;
  }

  .case_situation th,
  .case_situation td {
    padding: 10px !important;
    width: 100% !important;
    display: block;
    font-size: 1.6rem;
  }

  .case_situation table th::after {
    content: none;
  }

  .case_point table th {
    border-bottom: 1px solid #adadad;
  }

  .case_point th,
  .case_point td {
    padding: 10px !important;
    width: 100% !important;
    display: block;
    font-size: 1.6rem;
  }

  .bullet_points li {
    font-size: 1.6rem;
  }

  .g-fixarea-footer__item {
    background: #05bff0;
  }

  .line-green {
    background-color: #06c775;
  }

  .c-faq__item-header {
    padding: 12px;
  }

  .faqc {
    display: block;
    padding: 1%;
    width: 13%;
  }

  .g-header__inner {
    padding: 10px 0;
  }

  .g-nav .navbar-toggler {
    top: 5px;
  }

  .nayami {
    padding: 0 5px;
  }

  .nayami ul li {
    font-size: 16px;
    font-size: 1.6rem;
  }

  .c-table2 td,
  .c-table2 th {
    width: 100%;
  }

  .staff-name {
    width: 100%;
    border-right: unset;
    text-align: center;
  }

  .staff-carrer {
    width: 96%;
    text-align: left;
    margin: 20px auto;
  }

  .g-header__logo-link-img {
    max-width: 70%;
  }

  .e-sbttl {
    padding: 0;
  }

  .m-img {
    float: none;
    padding: 0;
  }

  .method {
    max-width: 100%;
  }
}

/* =========================================
  教材注文フォーム：注文表 共通
========================================= */

/* 横スクロール枠 */
.g-form .order-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 40px;
  -webkit-overflow-scrolling: touch;
}

/* 注文表本体：PC版 */
.g-form .order-table {
  width: 100% !important;
  min-width: 900px !important;
  max-width: none !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}

/* 既存テーマのスマホ用 c-table 崩しを注文表だけ打ち消す */
.g-form .order-table thead {
  display: table-header-group !important;
}

.g-form .order-table tbody {
  display: table-row-group !important;
}

.g-form .order-table tr {
  display: table-row !important;
}

.g-form .order-table th,
.g-form .order-table td {
  display: table-cell !important;
  border: 1px solid #ddd;
  padding: 10px 12px !important;
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.6 !important;
  box-sizing: border-box;
  height: auto !important;
  min-height: 0 !important;
}

/* 見出し */
.g-form .order-table thead th {
  background: #b88b2e;
  color: #fff;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
}

/* 教材名列 */
.g-form .order-table th:nth-child(1),
.g-form .order-table td:nth-child(1) {
  width: 110px !important;
  min-width: 110px !important;
  background: #f2f2f2;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
}

/* 内容解説列 */
.g-form .order-table th:nth-child(2),
.g-form .order-table td:nth-child(2) {
  width: auto !important;
  min-width: 480px !important;
  text-align: left;
}

/* 頒価列 */
.g-form .order-table th:nth-child(3),
.g-form .order-table td:nth-child(3) {
  width: 100px !important;
  min-width: 100px !important;
  text-align: center;
  white-space: nowrap;
}

/* 数量列 */
.g-form .order-table th:nth-child(4),
.g-form .order-table td:nth-child(4) {
  width: 140px !important;
  min-width: 140px !important;
  text-align: center;
}

/* 数量入力欄 */
.g-form .order-table input[type="number"],
.g-form .order-table input[type="text"] {
  width: 100% !important;
  max-width: 100%;
  height: 36px !important;
  padding: 4px 8px !important;
  box-sizing: border-box;
  text-align: center;
}

/* =========================================
  模擬問題テーブル：PC版
========================================= */

/* PC版では小さくしすぎない */
.g-form .order-table--mock {
  width: 100% !important;
  min-width: 760px !important;
}

/* 模擬問題：教材名 */
.g-form .order-table--mock th:nth-child(1),
.g-form .order-table--mock td:nth-child(1) {
  width: 120px !important;
  min-width: 120px !important;
}

/* 模擬問題：内容解説 */
.g-form .order-table--mock th:nth-child(2),
.g-form .order-table--mock td:nth-child(2) {
  width: auto !important;
  min-width: 240px !important;
  text-align: center;
}

/* 模擬問題：頒価 */
.g-form .order-table--mock th:nth-child(3),
.g-form .order-table--mock td:nth-child(3) {
  width: 100px !important;
  min-width: 100px !important;
}

/* 模擬問題：数量 */
.g-form .order-table--mock th:nth-child(4),
.g-form .order-table--mock td:nth-child(4) {
  width: 140px !important;
  min-width: 140px !important;
}

/* =========================================
  横スクロール案内
========================================= */

.order-scroll-note {
  display: none;
}

/* =========================================
  スマホ対応
========================================= */

@media (max-width: 767px) {
  /* 横スクロール枠 */
  .g-form .order-table-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin-left: 0;
    margin-right: 0;
    padding: 0 0 8px;
    -webkit-overflow-scrolling: touch;
  }

  /* テキスト注文テーブル：スマホだけコンパクト */
  .g-form .order-table {
    width: 650px !important;
    min-width: 650px !important;
    max-width: none !important;
  }

  .g-form .order-table thead {
    display: table-header-group !important;
  }

  .g-form .order-table tbody {
    display: table-row-group !important;
  }

  .g-form .order-table tr {
    display: table-row !important;
  }

  .g-form .order-table th,
  .g-form .order-table td {
    display: table-cell !important;
    padding: 5px 8px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    vertical-align: middle;
    box-sizing: border-box;
  }

  /* 教材名列 */
  .g-form .order-table th:nth-child(1),
  .g-form .order-table td:nth-child(1) {
    width: 90px !important;
    min-width: 90px !important;
    white-space: nowrap;
    text-align: center;
  }

  /* 内容解説列 */
  .g-form .order-table th:nth-child(2),
  .g-form .order-table td:nth-child(2) {
    width: 330px !important;
    min-width: 330px !important;
    text-align: left;
  }

  /* 頒価列 */
  .g-form .order-table th:nth-child(3),
  .g-form .order-table td:nth-child(3) {
    width: 80px !important;
    min-width: 80px !important;
    white-space: nowrap;
    text-align: center;
  }

  /* 数量列 */
  .g-form .order-table th:nth-child(4),
  .g-form .order-table td:nth-child(4) {
    width: 110px !important;
    min-width: 110px !important;
    text-align: center;
  }

  /* 数量入力欄 */
  .g-form .order-table input[type="number"],
  .g-form .order-table input[type="text"] {
    width: 100%;
    max-width: 70px;
    height: 32px !important;
    padding: 4px 8px !important;
    text-align: center;
    box-sizing: border-box;
  }

  /* =========================================
    スマホ：模擬問題テーブルだけさらにコンパクト
  ========================================= */

  .g-form .order-table--mock {
    width: 520px !important;
    min-width: 520px !important;
  }

  .g-form .order-table--mock th,
  .g-form .order-table--mock td {
    padding: 5px 8px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .g-form .order-table--mock th:nth-child(1),
  .g-form .order-table--mock td:nth-child(1) {
    width: 110px !important;
    min-width: 110px !important;
  }

  .g-form .order-table--mock th:nth-child(2),
  .g-form .order-table--mock td:nth-child(2) {
    width: 160px !important;
    min-width: 160px !important;
    text-align: center;
  }

  .g-form .order-table--mock th:nth-child(3),
  .g-form .order-table--mock td:nth-child(3) {
    width: 80px !important;
    min-width: 80px !important;
  }

  .g-form .order-table--mock th:nth-child(4),
  .g-form .order-table--mock td:nth-child(4) {
    width: 110px !important;
    min-width: 110px !important;
  }

  .g-form .order-table--mock input[type="number"],
  .g-form .order-table--mock input[type="text"] {
    max-width: 70px;
    height: 32px !important;
  }

  /* 横スクロール案内 */
  .order-scroll-note {
    display: block;
    margin: 0 0 8px;
    color: #666;
    font-size: 12px;
    text-align: right;
  }
}

/* 模擬問題：教材名列を少し広めにする */
.g-form .order-table--mock th:nth-child(1),
.g-form .order-table--mock td:nth-child(1) {
  width: 140px !important;
  min-width: 140px !important;
  white-space: normal !important;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.5 !important;
}

/* その分、内容解説列を少し狭くする */
.g-form .order-table--mock th:nth-child(2),
.g-form .order-table--mock td:nth-child(2) {
  width: 140px !important;
  min-width: 140px !important;
  text-align: left; /* 中央寄せから左寄せに変更 */
}

/* 模擬問題：数量列の余白を詰める */
.g-form .order-table--mock th:nth-child(4),
.g-form .order-table--mock td:nth-child(4) {
  width: 90px !important;
  min-width: 90px !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
  text-align: center;
}

/* 模擬問題：数量入力欄を小さめに */
.g-form .order-table--mock td:nth-child(4) input[type="number"],
.g-form .order-table--mock td:nth-child(4) input[type="text"] {
  width: 100% !important;
  max-width: 100%;
  height: 32px !important;
  padding: 3px 6px !important;
  text-align: center;
  box-sizing: border-box;
}

/* スマホ時も同じく詰める */
@media (max-width: 767px) {
  .g-form .order-table--mock th:nth-child(4),
  .g-form .order-table--mock td:nth-child(4) {
    width: 80px !important;
    min-width: 80px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .g-form .order-table--mock td:nth-child(4) input[type="number"],
  .g-form .order-table--mock td:nth-child(4) input[type="text"] {
    width: 56px !important;
    max-width: 56px !important;
    height: 30px !important;
    padding: 3px 5px !important;
  }
}
