﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* h1～h6 reset*/
h1, h2 {
    font-size: 1.4rem;
}
h3, h4, h5, h6 {
    font-size: 1.2rem;
}
main h2 {
    line-height: 2.5em;
    margin-top: 1rem !important;
}
main h3 {
    border-left: 10px solid #99CCFF;
    padding-left: .5em;
    line-height: 1.5em;
    margin-top: 2rem !important;
}

/* login name */
.pageTitle .login_name
{
    font-size:.9em;
}
/* with */
.w-10 {
    width: 10% !important;
}
.w-15 {
    width: 15% !important;
}
.w-20 {
    width: 20% !important;
}
.w-25 {
    width: 25% !important;
}
.w-30 {
    width: 30% !important;
}
.w-35 {
    width: 35% !important;
}
.w-40 {
    width: 40% !important;
}
.w-41 {
    width: 41% !important;
}
.w-45 {
    width: 45% !important;
}
.w-55 {
    width: 55% !important;
}
.w-60 {
    width: 60% !important;
}
.w-64 {
    width: 64% !important;
}
.w-68 {
    width: 68% !important;
}
.w-70 {
    width: 70% !important;
}

.w-95 {
    width: 95% !important;
}
.w-50p {
    width: 50px !important;
}
.w-52p {
    width: 52px !important;
}
.w-100p {
    width: 100px !important;
}
.w-120p {
    width: 120px !important;
}
.w-150p {
    width: 150px !important;
}
.w-200p {
    width: 200px !important;
}
.w-250p {
    width: 250px !important;
}
/* padding */
.pt-5 {
    padding-top: 2rem !important;
}
/* margin */
.m-5 {
    margin: 2rem !important;
}

.m-6 {
    margin: 2.5rem !important;
}

.m-7 {
    margin: 3rem !important;
}
.mt-5 {
    margin-top: 2rem !important;
}
.mt-6 {
    margin-top: 2.5rem !important;
}
.mt-7 {
    margin-top: 3rem !important;
}
.mb-5 {
    margin-bottom: 2rem !important;
}

.mb-6 {
    margin-bottom: 2.5rem !important;
}

.mb-7 {
    margin-bottom: 3rem !important;
}
.ml-5 {
    margin-left: 2rem !important;
}

.ml-6 {
    margin-left: 2.5rem !important;
}

.ml-7 {
    margin-left: 3rem !important;
}
.ml-8 {
    margin-left: 3.5rem !important;
}
.ml-9 {
    margin-left: 4rem !important;
}
.ml-10 {
    margin-left: 4.5rem !important;
}
.ml-11 {
    margin-left: 5rem !important;
}
.ml-12 {
    margin-left: 5.5rem !important;
}

.mr-5 {
    margin-right: 2rem !important;
}

.mr-6 {
    margin-right: 2.5rem !important;
}

.mr-7 {
    margin-right: 3rem !important;
}

.mr-8 {
    margin-right: 3.5rem !important;
}

.mr-9 {
    margin-right: 4rem !important;
}

/*logo*/
.planets-logo {
    height: 35px;
}

/*背景色*/
.bg-school-blue {
    background-color: #D6F0FF !important;
}
.bg-school-yellow {
    background-color: #FFD58E !important;
}
.bg-school-green {
    background-color: #C2EFBF !important;
}
.bg-school-gray {
    background-color: #CCCCCC !important;
}

.text-bold {
    font-weight: bold !important;
}
/* form error */
.form-control.input-validation-error {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: center right calc(0.375em + 0.1875rem);
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.input-validation-error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.input-validation-error ~ .invalid-feedback,
.form-control.input-validation-error ~ .invalid-tooltip {
    display: block;
}

textarea.form-control.input-validation-error {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.custom-select.input-validation-error {
    border-color: #dc3545;
    padding-right: calc((1em + 0.75rem) * 3 / 4 + 1.75rem);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E") #fff no-repeat center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.custom-select.input-validation-error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.custom-select.input-validation-error ~ .invalid-feedback,
.custom-select.input-validation-error ~ .invalid-tooltip {
    display: block;
}

.form-control-file.input-validation-error ~ .invalid-feedback,
.form-control-file.input-validation-error ~ .invalid-tooltip {
    display: block;
}

.form-check-input.input-validation-error ~ .form-check-label {
    color: #dc3545;
}

.form-check-input.input-validation-error ~ .invalid-feedback,
.form-check-input.input-validation-error ~ .invalid-tooltip {
    display: block;
}

.custom-control-input.input-validation-error ~ .custom-control-label {
    color: #dc3545;
}

.custom-control-input.input-validation-error ~ .custom-control-label::before {
    border-color: #dc3545;
}

.custom-control-input.input-validation-error ~ .invalid-feedback,
.custom-control-input.input-validation-error ~ .invalid-tooltip {
    display: block;
}

.custom-control-input.input-validation-error:checked ~ .custom-control-label::before {
    border-color: #e4606d;
    background-color: #e4606d;
}

.custom-control-input.input-validation-error:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.custom-control-input.input-validation-error:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #dc3545;
}

.custom-file-input.input-validation-error ~ .custom-file-label {
    border-color: #dc3545;
}

.custom-file-input.input-validation-error ~ .invalid-feedback,
.custom-file-input.input-validation-error ~ .invalid-tooltip {
    display: block;
}

.custom-file-input.input-validation-error:focus ~ .custom-file-label {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
table.table th, table.table td {
    vertical-align: middle;
}
/*for detail area titleDIV*/
.detail_title {
    border: 1px solid #FFF;
    background-color: #E5E5E5;
    display:flex;
    align-items:center;
}

/* 前ページに戻る専用 */
.btn-backorange {
    color: #fff;
    background-color: #FF9A0D;
    border-color: #FF9A0D;
}

.btn-backorange:hover {
    color: #fff;
    background-color: #F79000;
    border-color: #F87437;
}

.btn-backorange:focus, .btn-backorange.focus {
    box-shadow: 0 0 0 0.2rem rgba(251, 177, 143, 0.5);
}

.btn-backorange.disabled, .btn-backorange:disabled {
    color: #fff;
    background-color: #FFD6A0;
    border-color: #FFC57A;
}

.btn-backorange:not(:disabled):not(.disabled):active, .btn-backorange:not(:disabled):not(.disabled).active,
.show > .btn-backorange.dropdown-toggle {
    color: #fff;
    background-color: #F79000;
    border-color: #F87437;
}

.btn-backorange:not(:disabled):not(.disabled):active:focus, .btn-backorange:not(:disabled):not(.disabled).active:focus,
.show > .btn-backorange.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(251, 177, 143, 0.5);
}


/*学校DB*/
#SchoolPlatform .table-sm thead th,
#SchoolPlatform .table-sm thead td {
    font-size:.9rem;
}
#SchoolPlatform .form-control-sm {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 2px;
    padding-right: 2px;
}
.school_error {
    background-color: #FCECEC;
    border: 1px solid #dc3545;
    border-radius: 3px;
    padding: .8rem;
    color: #dc3545;
    margin-bottom:2px;
}
school_error h4{
    font-weight:bold;
}


/* 一括選択用カスタムチェックボックス */
input[type=checkbox].group-check {
    display: none;
}

/* 一括選択用カスタムチェックボックス ボックス枠 */
.label-group-check:after {
    position: absolute;
    content: "";
    display: block;
    top: 50%;
    left: 15px;
    margin: -10px 0 0 -2px;
    width: 20px;
    height: 20px;
    border: 1px solid black;
    border-radius: 5px;
    background-color: #3dfb6a;
    opacity: 0.5;
}

/* 一括選択用カスタムチェックボックス ラベル */
.label-group-check {
    position: relative;
    padding: 0 0 0 40px;
}

/* 一括選択用カスタムチェックボックス ラベル hover */
.label-group-check:hover:after {
    border-color: #0171bd;
}

/* 一括選択用カスタムチェックボックス after, beforeの空要素 */
.label-group-check:after, .label-group-check:before {
    position: absolute;
    content: "";
    display: block;
    top: 50%;
}

.label-group-check.disabled:after {
    background-color: #CCC;
}

/* 一括選択用カスタムチェックボックス チェックマーク */
.label-group-check:before {
    left: 15px;
    margin-top: -10px;
    content: "\02713";
    opacity: 0;
}

/* 一括選択用カスタムチェックボックス チェックボックスがチェックされた時に動作する内容*/
input[type=checkbox].group-check:checked + .label-group-check:before {
    opacity: 1;
}

/**/
/*回答ボタン*/
.btn-off {
    color: #007bff;
    border-color: #007bff;
}

.btn-off:hover {
    color: #007bff;
    background-color: #fff;
    border-color: #007bff;
}

.btn-off:focus, .btn-off.focus {
    box-shadow: none;
}

.btn-on {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-on:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-on:focus, .btn-on.focus {
    box-shadow: none;
}
.text-normal{
    font-weight:normal;
}
.nowrap{
    white-space:nowrap;
}

/* 画像保存禁止 ipad */
img.protected {
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -webkit-touch-callout: none;
}
.text-075em {
    font-size: .75em;
}
.text-08em {
    font-size: .8em;
}
.text-09em {
    font-size: .9rem;
}
.text-small-red {
    color: red;
    font-size: .9em;
}
.text-color-red {
    color: red!important;
}
.text-color-blue {
    color: #007bff !important;
}
/*代理店検査アイコン*/
.icon_wrap {
    display: flex;
    margin: 0 auto;
    padding: 0;
    width: 160px;
    justify-content: center;
}
.icon_wrap li {
    margin: 0;
    padding: 0;
    list-style: none;
    width:27px;
}
.icon_c {
    background-color: #FF5C1B;
    border: #FF5C1B 1px solid;
    border-radius: 4px;
    color: #FFF;
    display: inline-block;
    width: 25px;
    font-size: .75em;
    padding: 0;
    margin-right: 2px;
    text-align:center;
}
.icon_et {
    background-color: #5CB500;
    border: #5CB500 1px solid;
    border-radius: 4px;
    color: #FFF;
    display: inline-block;
    width: 25px;
    font-size: .75em;
    padding: 0;
    margin-right: 2px;
    text-align: center;
}
.icon_hi {
    background-color: #E7262F;
    border: #E7262F 1px solid;
    border-radius: 4px;
    color: #FFF;
    display: inline-block;
    width: 25px;
    font-size: .75em;
    padding: 0;
    margin-right: 2px;
    text-align: center;
}
.icon_aa {
    background-color: #9C71DA;
    border: #9C71DA 1px solid;
    border-radius: 4px;
    color: #FFF;
    display: inline-block;
    width: 25px;
    font-size: .75em;
    padding: 0;
    margin-right: 2px;
    text-align: center;
}
.icon_pa {
    background-color: #3881FF;
    border: #3881FF 1px solid;
    border-radius: 4px;
    color: #FFF;
    display: inline-block;
    width: 25px;
    font-size: .75em;
    padding: 0;
    text-align: center;
}
.icon_q {
    background-color: #FABF2F;
    border: #FABF2F 1px solid;
    border-radius: 4px;
    color: #FFF;
    display: inline-block;
    width: 25px;
    font-size: .75em;
    padding: 0;
    text-align: center;
}
.icon_syousai {
    border-radius: 4px;
    color: #FFF;
    display: inline-block;
    font-size: .85em;
    padding: 0;
    text-align: center;
}
/** アシストページplus用*/
h6.subTitle {
    font-size: 1rem;
    font-weight: bold;
}
/*学年教科選択ボタン*/
.btn-not-selectable {
    color: #8d8d8d;
    background-color: #acacac;
    border-color: #8d8d8d;
}

.btn-not-selectable:hover {
    color: #8d8d8d;
    background-color: #acacac;
    border-color: #8d8d8d;
}

.btn-not-selectable:focus, .btn-not-selectable.focus {
    box-shadow: none;
}

.btn-linkage-completed {
    color: red;
    background-color: #ffb9b9;
    border-color: red;
}

.btn-linkage-completed:hover {
    color: red;
    background-color: #ffb9b9;
    border-color: red;
}

.btn-linkage-completed:focus, .btn-linkage-completed.focus {
    box-shadow: none;
}
/* 汎用カスタムチェックボックス */
input[type=checkbox].custom-check {
    display: none;
}

/* 汎用カスタムチェックボックス ボックス枠 */
.label-custom-check:after {
    position: absolute;
    content: "";
    display: block;
    top: 50%;
    left: 15px;
    margin: -10px 0 0 -2px;
    width: 20px;
    height: 20px;
    border: 1px solid black;
    border-radius: 5px;
    background-color: #3dfb6a;
    opacity: 0.5;
}

/* 汎用カスタムチェックボックス ラベル */
.label-custom-check {
    position: relative;
    padding: 0 0 0 25px;
}

/* 汎用カスタムチェックボックス ラベル hover */
.label-custom-check:hover:after {
    border-color: #0171bd;
}

/* 汎用カスタムチェックボックス after, beforeの空要素 */
.label-custom-check:after, .label-cutsom-check:before {
    position: absolute;
    content: "";
    display: block;
    top: 50%;
}

.label-custom-check.disabled:after {
    background-color: #CCC;
}

/* 汎用カスタムチェックボックス チェックマーク */
.label-custom-check:before {
    position: relative;
    left: -5px;
    margin-top: -10px;
    content: "\02713";
    opacity: 0;
}

/* 汎用カスタムチェックボックス チェックボックスがチェックされた時に動作する内容*/
input[type=checkbox].custom-check:checked + .label-custom-check:before {
    opacity: 1;
}