/*全体
--------------------------------------------- */
html, body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
}
html main, body main {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
ol {
  line-height: 1.3em;
}
ol li {
  padding-left: 1.3em;
  text-indent: -1.3em;
  margin-bottom: 1.3em
}
.p {
  line-height: 1.4rem;
}

/*入力フォームデザイン*/
input[type="checkbox"] {
  transform: scale(2);
}
.form-check-input {
  position: absolute;
  margin-top: 0.6rem;
  margin-left: 0.5rem;
}

.txtleft, .txtright {
  display: inline-block;
}
.tabtitle {
  font-size: 24px;
}
.txtframe {
  display: flex;
  justify-content: space-between;
}
.modal-middle {
  margin: 5% auto;
}
.item-images img {
  /*width: 300px;
  height: 300px;*/
  object-fit: cover; /* この一行を追加するだけ！ */
}
.item-w {
  width: 300px;
}
.item-h {
  height: 300px;
}
.bt-w {
  width: 180px;
}
@media screen and (max-width:992px) {
  .item-images img {
    /*width: 200px;
  height: 200px;*/
    object-fit: cover; /* この一行を追加するだけ！ */
  }
}
@media screen and (max-width:768px) {
  .item-images img {
    /*width: 120px;
    height: 120px;*/
    object-fit: cover; /* この一行を追加するだけ！ */
  }
  .item-w {
    width: 120px;
  }
  .item-h {
    height: 120px;
  }
}
.nu {
  text-decoration: none !important;
}

/*btn*/
.btn-outline-back {
  color: #3ebde0;
  background-color: transparent;
  background-image: none;
  border-color: #3ebde0;
}
.btn-outline-back:hover {
  color: #20A7C9;
  background-color: transparent;
  border-color: #20A7C9;
}
.btn-outline-back:focus, .btn-outline-back.focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-outline-back.disabled, .btn-outline-back:disabled {
  color: #3ebde0;
  background-color: transparent;
}
.btn-outline-back:not(:disabled):not(.disabled):active, .btn-outline-back:not(:disabled):not(.disabled).active, .show > .btn-outline-back.dropdown-toggle {
  color: #20A7C9;
  background-color: transparent;
  border-color: #20A7C9;
}
.btn-outline-back:not(:disabled):not(.disabled):active:focus, .btn-outline-back:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-back.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

/*font-bold*/
.fb-500 {
  font-weight: 500 !important;
}
.fb-600 {
  font-weight: 600 !important;
}
.fb-700 {
  font-weight: 700 !important;
}
.fb-800 {
  font-weight: 800 !important;
}
.fb-900 {
  font-weight: 900 !important;
}

/*bootstrapの設定に追加*/
.display-7 {
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1.2;
}
.display-8 {
  font-size: 1.44rem;
  font-weight: 300;
  line-height: 1.2;
}
.col-15 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.col-15 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 12%;
  flex: 0 0 12%;
  max-width: 12%;
}

/*レスポンシブ表示*/
.pc-hid {
  display: none;
}
@media screen and (max-width:768px) {
  .pc-hid {
    display: block;
  }
}

/*iconの高さ調整 */
.icon_vertical{
  vertical-align: -4px;
}

/*readonlyのフォームをテキストに見せない*/
.schoolurl {
  background-color: #fff !important;
  border: 0 !important;
  pointer-events: none;
}

/*二次元バーコード*/
.qrbox {
  width: 320px;
  height: 320px;
  padding: 10px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  background: #FFF;
}
.img-qr {
  margin: 10px;
  vertical-align: middle;
}


/*RakuBuy独自色設定*/
/*色の設定はassets/bootstrap/　bootstrap.css,bootstrap.min.cssに追加*/
.bg-rakubuy1 {
  background: var(--rakubuy1);
}
.bg-rakubuy2 {
  background: var(--rakubuy2);
}
.bg-rakubuy3 {
  background: var(--rakubuy3);
}
.bg-rakubuy4 {
  background: var(--rakubuy4);
  color: #1d2124 !important;
}
.bg-rakubuy5 {
  background-color: #87B799 !important;
}
.bg-rakubuy6 {
  background-color: #87B799;
}
.bg-rakubuy7 {
  background-color: #FD7E14;
}
.bg-rakubuycancel {
  background: var(--rakubuy-cancel);
}
a.bg-rakubuy4:hover, a.bg-rakubuy4:focus, button.bg-rakubuy4:hover, button.bg-rakubuy4:focus {
  color: #5F6971 !important;
  font-weight: bold;
}
.bg-rakubuy5 {
  background: var(--rakubuy5);
}
.txt-rakubuy1 {
  color: var(--rakubuy1);
}
.txt-rakubuy2 {
  color: var(--rakubuy2);
}
.txt-rakubuy3 {
  color: var(--rakubuy3);
}
.txt-rakubuy4 {
  color: var(--rakubuy4);
}
.txt-rakubuy5 {
  color: var(--rakubuy5);
}
a.txt-rakubuy5:hover, a.txt-rakubuy5:focus{
  color: #20A7C9 !important;
  font-weight: bold;
}
.btn-rakubuy5 {
  color: #fff;
  background-color: var(--rakubuy5);
  border-color: var(--rakubuy5);
}
.btn-rakubuy5:hover {
  color: #fff;
  background-color: #20A7C9;
  border-color: var(--rakubuy5);
}
.btn-outline-rakubuy5 {
  color: #3ebde0;
  background-color: transparent;
  background-image: none;
  border-color: #3ebde0;
}
.btn-outline-rakubuy5:hover {
  color: #20A7C9;
  background-color: transparent;
  border-color: #20A7C9;
}
.btn-rakubuy6:hover {
  color: #fff;
  background-color: #66A37C;
  border-color: #87B799;
}
.btn-rakubuy6 {
  color: #fff;
  background-color: #87B799;
  border-color: #87B799;
}

.btn-outline-rakubuy7 {
  color: #00CC99;
  background-color: #fff;
  background-image: none;
  border-color: #00CC99;
}
.btn-outline-rakubuy7:hover {
  color: #32FFCC;
  background-color: #fff;
  border-color: #32FFCC;
}
.btn-rakubuy7:hover {
  color: #fff;
  background-color: #32FFCC;
  border-color: #32FFCC;
}
.btn-rakubuy7 {
  color: #fff;
  background-color: #00CC99;
  border-color: #00CC99;
}
.badge-rakubuy7{
  color: #fff;
  background-color: #00CC99;
  border-color: #00CC99;
  border: 1px solid #00CC99;
  font-weight: normal;
}
.badge-outline-rakubuy7{
  color: #00CC99;
  background-color: #fff;
  background-image: none;
  border: 1px solid #00CC99;
  font-weight: normal;
}
.bg-rakubuy8 {
  background: var(--rakubuy8);
}
/* Header
--------------------------------------------- */
.header .logo img {
  max-width: 170px;
}
.header .logo_kanri img {
  max-width: 240px;
}


/* Navi
--------------------------------------------- */
.navbar-dark .active-mn {
  background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fal' data-icon='times' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' class='svg-inline--fa fa-times fa-w-10 fa-2x'%3E%3Cpath fill='%23f5f5f5' d='M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z' class=''%3E%3C/path%3E%3C/svg%3E");
}
.nav-item a {
  font-weight: bold;
  text-decoration: none;
  color: var(--rakubuy5);
}


/* Footer
--------------------------------------------- */
.footer {}
.footer span {
  display: block;
  font-size: 16px;
  color: #333;
}
.footer .logo img {
  max-width: 120px;
}
.footer .shop-footer {
  text-align: left;
  line-height: 1.6rem;
}
.footer .rb-footer {
  color: #f8f9fa;
  font-size: 12px;
  line-height: 1.2rem;
}
.footer_fix {
  width: 100%;
  position: -webkit-fixed;
  position: fixed;
  bottom: 0;
  z-index: 999;
}

/*フッターのリンク色*/
.footer .rb-footer {
  color: #f8f9fa;
  font-size: 12px;
  line-height: 1.2rem;
}
.footer .rb-footer a {
  color: #FFF;
}
.footer .rb-footer a:link {
  color: #FFF;
}
.footer .rb-footer a:visited {
  color: #FFF;
}
.footer .rb-footer a:hover {
  color: #ccc;
}
.footer .rb-footer a:active {
  color: #FFF;
}


/* 管理画面全般
--------------------------------------------- */
/*ログイン画面*/
.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 20px;
  margin: auto;
}

/*ツールチップ*/
.text-tooltip {
  position: relative;
  font-size: 125%;
}
.tooltip-content {
  opacity: 0;
  visibility: hidden;
  font-size: 75%;
  white-space: nowrap;
  border-radius: 5px;
  background-color: #6c757d;
  color: #fff;
  padding: 5px 10px;
  position: absolute;
  top: -40px;
  left: 70%;
  transform: translateX(-10%);
  transition: all .3s ease-in-out;
  z-index: 100;
}
.tooltip-content-right {
  opacity: 0;
  visibility: hidden;
  font-size: 75%;
  white-space: nowrap;
  border-radius: 5px;
  background-color: #6c757d;
  color: #fff;
  padding: 5px 10px;
  position: absolute;
  top: -70px;
  right: -90px;
  transform: translateX(-10%);
  transition: all .3s ease-in-out;
}
.text-tooltip:hover .tooltip-content, .text-tooltip:hover .tooltip-content-right{
  opacity: 1;
  visibility: visible;
}

/*管理画面　詳細ページ用header
/* ボタンリンクの下線を消す */
.tdn {
  text-decoration: none !important;
}
.backbox {
  display: flex;
  justify-content: space-between;
}

/* 一覧表　ボタンなし テーブルの行全体をリンク */
table.rowlink td a {
  display: block; /* リンクをブロックレベル化して表示 */
  padding: 0.75em 1em; /* 内側の余白量を上下に0.6文字分＆左右に1文字分にする */
}
table.rowlink td {
  padding: 0em 0em;
}
table.rowlink tr td:nth-of-type(1) {
  width: 120px;
}
.rowlinkday {
  text-decoration: none !important;
}
/* 一覧表　ボタンあり テーブルの行全体をリンク */
table.btrowlink td a {
  display: block; /* リンクをブロックレベル化して表示 */
  padding: 1.2em 1em; /* 内側の余白量を上下に0.6文字分＆左右に1文字分にする */
}
table.btrowlink td {
  padding: 0em 0em;
}
.row-2 {
  height: calc(1.15em * 4);
  line-height: 1.15;
}
/* 一覧表　表のテキストを縦横中央揃え */
.table_no {
  text-align: center !important;
  vertical-align: middle !important;
  font-size: 1.25rem;
}
.table_color {
  background: #f2f2f2;
}
.table_badge {
  background: #00cc99;
}
/* 一覧表　テーブルの2行ごと下線を太くする */
.border_b {
  border-bottom: 2px solid #dee2e6 !important;
}
.border_b2 {
  border-bottom: 1px solid #dee2e6 !important;
}
/*一覧表 未発送分アイコン・テキスト位置調整 */
.delivery_count{
  padding-bottom:20px;
  display: inline-block;
  vertical-align: middle;
}

/*一覧表 単語途中で改行させない */
.table span {
   display: inline-block;
}

/*一覧表 ボーダーなし */
.table-nobordered td, .table-nobordered th{
  border: 0px;
}

/* 管理画面　システム管理画面
--------------------------------------------- */

/*キャンセルページ ボーダーなし */



/* 管理画面　販売事業者管理画面
--------------------------------------------- */

/*引渡し・支払方法の注意テキスト*/
.plan-attention {
  padding: 2rem;
  margin: 2rem auto;
  color: #404040;
  display: inline-block;
  background-color: #f1f1f1;
  border-radius: 5px;
}

/*購入ページ　生徒購入履歴*/
.record_badge {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  color: #FFF;
  line-height: 1.6;
  border-radius: 0.3rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
/*商品引き渡し一覧*/
.order_th {
  width: 130px;
  text-align: center;
}


/* 購入画面
--------------------------------------------- */
/*特定商取引法に基づく表記*/
.caa_payment ol {
  line-height: 1.3em;
  margin-left: 1.5em;
  list-style: decimal;
}
.caa_payment ol li {
  margin-bottom: 1.3em;
  padding-left: 0.2em;
  text-indent: 0em;
}

/* 商品カートページ */
.component {
  position: sticky;
  top: 145px;
  z-index: 999;
}
.component::before {
  content: '';
  width: 100%;
  height: 10px;
  /*background-color: #fff;*/
  margin-top: -10px;
}

/*購入品タブ切替*/
.nav-tabs .nav-link.active {
  color: var(--rakubuy1);
  text-decoration: none !important;
  border-color: #fff;
}
.nav-tabs .nav-link {
  border-color: #9AD1AE #9AD1AE #FFF;
}
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
  border-color: #9AD1AE #9AD1AE #FFF;
}
.nav-tabs .nav-link.active:hover {
  border-color: #fff;
}
/* タブの文字色変更 */
.nav-tabs .nav-link {
  background-color: #9AD1AE;
  color: #62846E;
  text-decoration: none !important;
}

/*アコーディオンメニュー*/
.acd-items {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #dee2e6 !important;
}
.acd-check {
  display: none;
}
.acd-label {
  display: block;
  margin-bottom: 1px;
  padding: 5px;
  cursor: pointer;
}
.acd-label::before {
  position: absolute;
  top: 20px;
  right: 20px;
  align-items: center;
  font-family: FontAwesome;
  content: "\f0d7";
  font-weight: 900;
  height: 30px;
  font-size: 3rem;
  color: #75a085;
  transition: all 0.3s;
}
.acd-content {
  height: 0;
  opacity: 0;
  padding: 0 10px;
  transition: .5s;
  visibility: hidden;
}
.acd-check:checked + .acd-label + .acd-content {
  height: auto;
  opacity: 1;
  /*padding: 10px;*/
  visibility: visible;
}
.acd-check:checked + .acd-label::before {
  content: "\f0d8";
}

/*購入ページボタン*/
.w-salebt {
  width: 25% !important;
}
@media screen and (max-width:768px) {
  .w-salebt {
    width: 100% !important;
  }
}

/*合計金額計算*/
.total_style {
  background: var(--rakubuy4);
  border: none;
  cursor: default;
  text-align: right
}
.mto-5 {
  margin-top: 5rem;
}

