﻿a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}
.navbar-light .navbar-toggler {
  border-color: rgba(0, 0, 0, 0);
}
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(51, 51, 140, 1)' stroke-width='3' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
html {
  font-size: 1rem;
  min-height: 100%;
}
body {
  padding-top: 140px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  html {
    font-size: 0.8rem;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
  body {
    padding-top: 90px;
  }
}
.navbar-brand img {
  max-width: 380px;
}
@media (max-width: 991px) {
  .navbar-brand img {
    max-width: 320px;
  }
}
@media (max-width: 768px) {
  .navbar-brand img {
    max-width: 300px;
  }
}
@media (max-width: 500px) {
  .navbar-brand img {
    max-width: 250px;
  }
}
@media (max-width: 320px) {
  .navbar-brand img {
    max-width: 200px;
  }
}
.tel {
  font-size: 2.1rem;
  color: #666;
  line-height: 1.4rem;
  position: relative;
  top: -18px;
  padding-right: 25px;
}
.tel small {
  font-size: 11px;
}
.d-table-cell {
  padding: 0 !important;
}
.headerword {
  height: 16px !important;
  font-size: 10px;
}
.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}
.table th {
  background-color: #e8e9ea;
  font-weight: normal;
}
.table th,
.table td {
  vertical-align: middle !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.table-bordered {
  border: 1px solid #bec2c6;
  border-radius: 4px !important;
}
.table-bordered th,
.table-bordered td {
  border: 1px solid #ced2d6;
}
.table-sm th,
.table-sm td {
  font-size: 0.9rem;
  padding: 0.3rem 0.5rem;
}
.form-group label:not([class]) {
  font-family: fot-seurat-pron, sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #1d5293;
  border-left: solid 7px #1d5293;
  padding: 0 0 2px 8px;
}
h2,
h3,
h4,
h5,
.btn,
.card-header,
th {
  font-family: fot-seurat-pron, sans-serif;
  font-weight: 600;
  font-style: normal;
}
.heavy {
  font-family: fatfrank, sans-serif;
  font-weight: 400;
  font-style: normal;
}
.card-header {
  font-size: 1.4rem;
}
@media (max-width: 768px) {
  .card-header {
    font-size: 1.1rem;
  }
}
h2 {
  margin-bottom: 30px;
}
h2,
h3 {
  color: #1d5293;
}
@media (max-width: 768px) {
  h2 {
    margin-bottom: 15px;
  }
  h2,
  .h2 {
    font-size: 1.6rem;
  }
  h3,
  .h3 {
    font-size: 1.45rem;
  }
  h4,
  .h4 {
    font-size: 1.3rem;
  }
  h5,
  .h5 {
    font-size: 1.2rem;
  }
  input,
  textarea {
    font-size: 16px !important;
  }
}
p {
  line-height: 1.7rem;
}
hr {
  border-top: 2px dotted #1d5293 !important;
  border-right: none !important;
  border-bottom: none !important;
  border-left: none !important;
}
ul,
ol {
  padding-left: 2rem;
}
@media (max-width: 768px) {
  ul,
  ol {
    padding-left: 1rem;
  }
}
ul li,
ol li {
  margin-top: 10px;
}
.w-33 {
  width: 33% !important;
}
.w-17 {
  width: 17% !important;
}
.bg-pink {
  background-color: #f8a;
}
.badge-pink {
  background-color: #f8a;
}
.indent {
  text-indent: -1.6rem;
  padding-left: 1.6rem;
}
.campaign {
  font-size: 180px;
  opacity: 0.2;
  top: 0;
  left: 30px;
}
/* アイキャッチ */
.carousel-item img {
  width: 1300px;
}
/* slider */
#slider {
  overflow: hidden;
}
#slider img {
  margin: 0 10px;
  max-width: 230px;
  border: solid 1px #eee;
}
/* map */
/*
#map {
    height: 500px;
    margin-bottom: 20px;
}
*/
/* フッター */
.footer {
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  color: #fff !important;
  line-height: 60px;
}
@media (max-width: 768px) {
  .footer {
    margin-bottom: 50px;
    line-height: 40px;
  }
}
.bg-lightblue {
  background-color: #eeeeee;
}
/* 営業カレンダー */
.calendar th,
.calendar td {
  text-align: center;
  font-family: fot-seurat-pron, sans-serif;
}
.calendar .othermonth {
  color: #999;
  background-color: #eee;
}
.kyugyo {
  background-color: #fcc;
}
.today {
  border: solid 2px #1d5293 !important;
  opacity: 0.6;
}
.kyugyotoday {
  background-color: #fcc;
  border: solid 2px #1d5293 !important;
  opacity: 0.6;
}
.nav-tabs .nav-link {
  font-size: 1.5rem;
  color: #ccc;
  border-bottom: solid 1px #1d5293;
}
.nav-tabs .nav-link.active {
  color: #1d5293;
  border-color: #1d5293 #1d5293 #fff #1d5293;
  font-weight: bold;
}
/* 詳細営業時間 */
.schedule th,
.schedule td {
  text-align: center;
}
@media (max-width: 768px) {
  .schedule th,
  .schedule td {
    font-size: 9px !important;
    padding: 1px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  }
}
/* 学科 */
@media (max-width: 768px) {
  .gakka th,
  .gakka td {
    padding-left: 3px;
    padding-right: 3px;
    font-size: 11px !important;
    font-weight: normal !important;
  }
}
/* ブログバナー */
.blog div {
  line-height: 1.495rem;
}
.blog small {
  color: #fff;
  line-height: 1rem;
  font-size: 10px;
}
.blog img {
  max-height: 75px;
  margin-left: 10px;
}
@media (max-width: 1200px) {
  .blog small {
    transform: scale(0.8);
    white-space: nowrap;
  }
  .blog img {
    max-height: 55px;
    margin-top: 11px;
    margin-left: 0;
  }
}
@media (max-width: 992px) {
  .blog small {
    transform: scale(1);
  }
  .blog img {
    max-height: 70px;
    margin-top: 5px;
    margin-left: 45px;
  }
}
@media (max-width: 768px) {
  .blog small {
    transform: scale(0.5);
  }
  .blog img {
    max-height: 50px;
    margin-top: 5px;
    margin-left: 20px;
  }
}
@media (max-width: 575px) {
  .blog {
    height: 67px;
    padding-top: 10px;
  }
  .blog small {
    transform: scale(0.5);
    position: relative;
    left: -10px;
  }
  .blog img {
    max-height: 40px;
    margin-top: 5px;
    margin-left: 10px;
  }
}
/* 取扱可能車種 */
.shashu .nav-pills .nav-link {
  font-size: 1.5rem !important;
  border-top: solid 1px #ccddee;
  border-right: solid 1px #ccddee;
  border-bottom: solid 1px #ccddee;
}
.shashu .nav-pills .nav-link:first-child {
  border-left: solid 1px #ccddee;
}
@media (max-width: 991px) {
  .shashu .nav-pills .nav-link {
    font-size: 1.6rem !important;
  }
  .shashu .nav-pills .nav-link:nth-child(3) {
    border-left: solid 1px #ccddee;
    border-top: none;
  }
  .shashu .nav-pills .nav-link:last-child {
    border-top: none;
  }
  .shashu .h4 {
    font-size: 16px;
  }
  .shashu th,
  .shashu td {
    padding: 7px 7px;
    font-size: 12px !important;
  }
  .shashu th {
    text-align: center;
    white-space: nowrap;
  }
}
/* 運行管理者講習 */
.row-table {
  margin: 15px 0 !important;
}
.row-table div {
  padding: 10px;
  border-bottom: solid 1px #ccc;
}
@media (max-width: 768px) {
  .row-table div {
    padding-top: 5px;
  }
}
.row-table div.head {
  background-color: #eee;
  font-weight: bold;
}
@media (max-width: 768px) {
  .row-table div.head {
    background-color: transparent;
    padding-top: 20px;
    padding-bottom: 0;
    border-bottom: none;
  }
}
@media (max-width: 768px) {
  .row-table div.sb {
    font-weight: bold;
  }
}
.koshu-row-table {
  margin: 35px 0 !important;
}
.koshu-row-table div {
  padding: 7px 0 5px 5px;
  border-bottom: solid 1px #ced2d6;
}
@media (max-width: 768px) {
  .koshu-row-table div {
    padding-top: 5px;
    border-bottom: none;
  }
}
.koshu-row-table div.kaijo {
  font-weight: bold;
  font-size: 18px;
  background-color: #e8e9ea;
  padding: 7px 10px !important;
}
.koshu-row-table div.head {
  background-color: #e8e9ea;
  font-weight: bold;
}
@media (max-width: 768px) {
  .koshu-row-table div.head {
    background-color: transparent;
    padding-top: 20px;
    padding-bottom: 0;
    border-bottom: none;
  }
}
@media (max-width: 768px) {
  .koshu-row-table div .date {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .koshu-row-table div.sb {
    border-top: solid 1px #ced2d6;
    color: #1d5293;
    font-size: 16px;
    font-weight: bold;
  }
}
.koshu-row-table hr {
  margin: 0;
}
table ul,
table li {
  margin: 0 !important;
}
/* 矢印 */
.arrow {
  margin: 0 auto 22px;
  padding-top: 0;
  /* 要素の上の余白調整 */
  height: 27px;
  position: relative;
}
.arrow:before {
  width: 45px;
  /* 四角形の幅 */
  height: 22px;
  /* 四角形の高さ */
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ff0000), to(#cc0000));
  background-image: -webkit-linear-gradient(#ff0000, #cc0000);
  background-image: linear-gradient(#ff0000, #cc0000);
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  /* 中央寄せに使用 */
  margin-left: -22px;
  /* 中央寄せに使用 */
}
.arrow:after {
  border-top: 18px solid #cc0000;
  /* 角度を緩やかなものに指定 */
  border-left: 35px solid transparent;
  /* 左のボーダーを透過に指定 */
  border-right: 35px solid transparent;
  /*右のボーダーを透過に指定*/
  content: "";
  position: absolute;
  top: 22px;
  /* 四角形の高さと同じ物を指定 */
  left: 50%;
  /* 中央寄せに使用 */
  margin-left: -35px;
  /* 中央寄せに使用 */
}
/* テキストの指定 */
.arrow span {
  color: #fff;
  position: relative;
  z-index: 3;
  font-size: 19px;
  font-weight: bold;
  line-height: 35px;
}
/* Page Top Scroller */
#page_top {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 15px;
  bottom: 10px;
  background: #006699;
  opacity: 0.6;
  border-radius: 50%;
}
@media (max-width: 768px) {
  #page_top {
    bottom: 100px;
  }
}
#page_top a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 900;
  content: '\f077';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -10px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
/* nyamotan icon */
#otanoshimi {
  position: fixed;
  left: 30px;
  bottom: 30px;
}
#otanoshimi img {
  height: 150px;
}
@media (max-width: 768px) {
  #otanoshimi {
    left: 15px;
    bottom: 100px;
  }
  #otanoshimi img {
    height: 90px;
  }
}
/*
#otanoshimi a {
    position: relative;
    display: block;
    width: 100px;
    height: 100px;
    text-decoration: none;
}

#otanoshimi a::before {
    background-image: url(/images/nyamo.png);
    position: absolute;
    width: 150px;
    height: 150px;
    top: -10px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}
    */
/* instagram */
#instagram {
  /*
    display: flex;
    flex-wrap: wrap;

    div {
        position: relative;
        width: 5100%;
        border: solid 2px #fff;
    }

    div:before {
        content: "";
        display: block;
        padding-top: 100%;
    }

    img {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        object-fit: cover;
    }
    */
}
#instagram small {
  line-height: 1rem;
  display: block;
}
/* ckeditor */
:root {
  --ck-image-style-spacing: 1.5em;
  --ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);
}
.ck-content {
  /* Provides a minimal side margin for the left and right aligned images, so that the user has a visual feedback
	confirming successful application of the style if image width exceeds the editor's size.
	See https://github.com/ckeditor/ckeditor5/issues/9342 */
  /* Allows displaying multiple floating images in the same line.
	See https://github.com/ckeditor/ckeditor5/issues/9183#issuecomment-804988132 */
  /* Simulates margin collapsing with the preceding paragraph, which does not work for the floating elements. */
}
.ck-content .image-style-block-align-left,
.ck-content .image-style-block-align-right {
  max-width: calc(100% - var(--ck-image-style-spacing));
}
.ck-content .image-style-align-left,
.ck-content .image-style-align-right {
  clear: none;
}
.ck-content .image-style-side {
  float: right;
  margin-left: var(--ck-image-style-spacing);
  max-width: 50%;
}
.ck-content .image-style-align-left {
  float: left;
  margin-right: var(--ck-image-style-spacing);
}
.ck-content .image-style-align-center {
  margin-left: auto;
  margin-right: auto;
}
.ck-content .image-style-align-right {
  float: right;
  margin-left: var(--ck-image-style-spacing);
}
.ck-content .image-style-block-align-right {
  margin-right: 0;
  margin-left: auto;
}
.ck-content .image-style-block-align-left {
  margin-left: 0;
  margin-right: auto;
}
.ck-content p + .image-style-align-left,
.ck-content p + .image-style-align-right,
.ck-content p + .image-style-side {
  margin-top: 0;
}
.ck-content .image-inline.image-style-align-left,
.ck-content .image-inline.image-style-align-right {
  margin-top: var(--ck-inline-image-style-spacing);
  margin-bottom: var(--ck-inline-image-style-spacing);
}
.ck-content .image-inline.image-style-align-left {
  margin-right: var(--ck-inline-image-style-spacing);
}
.ck-content .image-inline.image-style-align-right {
  margin-left: var(--ck-inline-image-style-spacing);
}
.ck.ck-splitbutton {
  /* The button should display as a regular drop-down if the action button
	is forced to fire the same action as the arrow button. */
}
.ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__action:not(.ck-disabled),
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__action:not(.ck-disabled),
.ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__arrow:not(.ck-disabled),
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__arrow:not(.ck-disabled),
.ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover),
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {
  background-color: var(--ck-color-button-on-background);
}
.ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__action:not(.ck-disabled)::after,
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__action:not(.ck-disabled)::after,
.ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__arrow:not(.ck-disabled)::after,
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__arrow:not(.ck-disabled)::after,
.ck.ck-splitbutton.ck-splitbutton_flatten:hover > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover)::after,
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover)::after {
  display: none;
}
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover > .ck-splitbutton__action:not(.ck-disabled),
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover > .ck-splitbutton__arrow:not(.ck-disabled),
.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {
  background-color: var(--ck-color-button-on-hover-background);
}