/*
Theme Name: ロイヤルドライビングスクール福山
Author: Nakamotohonten
*/


/* defaults */

.btn{
    padding:7px 5px 5px;
    text-align: center;
    color:white;
    background-color: #022F85;
    border-radius: 5px;
    font-size: 0.9em;
    display: block;
    transition: opacity 0.5s;
}
.btn:hover{
    color:white;
    opacity:0.7;
}

img{
    max-width: 100%;
    height: auto;
}

table, tr {
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}
th, td {
    border-right: 1px dotted #999;
    padding: 8px;
    word-break: break-all;
}
th:last-child, td:last-child {
    border: none;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.alignright { float: right; }
.alignleft { float: left; }

#content .notfound{
	text-align:center;
	padding:0px 0px 30px;
}
#content .notfound h2{
	font-size: 14em;
    color: #ddd;
    font-family: arial, sans-serif;
    margin: 0;
    line-height: 1;
    background: none;
    border: none;
}
#content .notfound p{
	font-size: 1.5em;
    font-weight: bold;
    color: #888;
}
/* defaults */

button.drawer-toggle{
    display: none;
}
#content{
    padding-top: 50px;
}
.container {
    font-size: 0.9em;
    line-height: 1.8;
    padding-bottom: 50px;
}
header .container{
    padding-bottom: 0;
}
.container .table{
    font-size: 0.7em;
}
.container .btn{
    font-size: 1.1em;
}
.format02{
    width: 100%;
    color:#0B3C8C;
    border-bottom: 2px solid #0B3C8C;
}
#content h1 {
    font-size: 1.6em;
    margin-bottom: 1em;
    font-weight: normal;
}
#content h2 {
    color: #fff;
    font-size: 1em;
    margin: 0px 0 10px;
    line-height: 1.5;
    background: #022F85;
    padding: 8px 10px 5px;
}
#content h3:after {
    content: "";
    display: block;
    width: 8px;
    height: 1.8em;
    position: absolute;
    top: 0.3em;
    left: 0;
    background: #022f85;
}
#content h3 {
    color: #022F85;
    font-weight: bold;
    font-size: 1em;
    margin: 0 0 20px;
    padding: 0.2em 0px 0.2em 20px;
    line-height: 1.9;
    border-bottom: 4px solid #022F85;
    position: relative;
}
#content h4 {
    color: #022F85;
    font-size: 0.9em;
    margin: 0 0 8px;
    line-height: 1.4;
    border-bottom: 1px solid #022F85;
    font-weight: bold;
}
#content h5 {
    font-size: 0.9em;
    font-weight: normal;
    text-align: center;
    position: relative;
    padding: .5em .5em .35em;
    background-color: #fff;
    border-top: solid 1px #aaa;
    border-bottom: solid 1px #aaa;
    border-left: solid 6px #aaa;
    border-right: solid 6px #aaa;
    margin-bottom: 1em;
}
#content h6 {
   position: relative;
    display: block;
    margin-bottom: 1em;
    padding: 8px 8px 6px;
    font-size: 100%;
    font-weight: normal;
    text-align: center;
    background: #FFF;
    border: solid 1px #aaa;
    box-sizing: border-box;
}
#content h6:before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    margin-left: -11px;
    border: 11px solid transparent;
    border-top: 11px solid #fff;
    z-index: 2;
}
#content h6:after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    margin-left: -10px;
    border: 10px solid transparent;
    border-top: 10px solid #999;
    z-index: 1;
}


.m-0 {
  margin: 0 !important;
}

.mt-0,
.my-0 {
  margin-top: 0 !important;
}

.mr-0,
.mx-0 {
  margin-right: 0 !important;
}

.mb-0,
.my-0 {
  margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
  margin-left: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.mt-1,
.my-1 {
  margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
  margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
  margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
  margin-left: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.mt-2,
.my-2 {
  margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
  margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
  margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
  margin-left: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.mt-3,
.my-3 {
  margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
  margin-right: 1rem !important;
}

.mb-3,
.my-3 {
  margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
  margin-left: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}

.mt-4,
.my-4 {
  margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
  margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
  margin-left: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.mt-5,
.my-5 {
  margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
  margin-right: 3rem !important;
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}

.ml-5,
.mx-5 {
  margin-left: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.pt-0,
.py-0 {
  padding-top: 0 !important;
}

.pr-0,
.px-0 {
  padding-right: 0 !important;
}

.pb-0,
.py-0 {
  padding-bottom: 0 !important;
}

.pl-0,
.px-0 {
  padding-left: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.pt-1,
.py-1 {
  padding-top: 0.25rem !important;
}

.pr-1,
.px-1 {
  padding-right: 0.25rem !important;
}

.pb-1,
.py-1 {
  padding-bottom: 0.25rem !important;
}

.pl-1,
.px-1 {
  padding-left: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.pt-2,
.py-2 {
  padding-top: 0.5rem !important;
}

.pr-2,
.px-2 {
  padding-right: 0.5rem !important;
}

.pb-2,
.py-2 {
  padding-bottom: 0.5rem !important;
}

.pl-2,
.px-2 {
  padding-left: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.pt-3,
.py-3 {
  padding-top: 1rem !important;
}

.pr-3,
.px-3 {
  padding-right: 1rem !important;
}

.pb-3,
.py-3 {
  padding-bottom: 1rem !important;
}

.pl-3,
.px-3 {
  padding-left: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.pt-4,
.py-4 {
  padding-top: 1.5rem !important;
}

.pr-4,
.px-4 {
  padding-right: 1.5rem !important;
}

.pb-4,
.py-4 {
  padding-bottom: 1.5rem !important;
}

.pl-4,
.px-4 {
  padding-left: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pt-5,
.py-5 {
  padding-top: 3rem !important;
}

.pr-5,
.px-5 {
  padding-right: 3rem !important;
}

.pb-5,
.py-5 {
  padding-bottom: 3rem !important;
}

.pl-5,
.px-5 {
  padding-left: 3rem !important;
}

.m-n1 {
  margin: -0.25rem !important;
}

.mt-n1,
.my-n1 {
  margin-top: -0.25rem !important;
}

.mr-n1,
.mx-n1 {
  margin-right: -0.25rem !important;
}

.mb-n1,
.my-n1 {
  margin-bottom: -0.25rem !important;
}

.ml-n1,
.mx-n1 {
  margin-left: -0.25rem !important;
}

.m-n2 {
  margin: -0.5rem !important;
}

.mt-n2,
.my-n2 {
  margin-top: -0.5rem !important;
}

.mr-n2,
.mx-n2 {
  margin-right: -0.5rem !important;
}

.mb-n2,
.my-n2 {
  margin-bottom: -0.5rem !important;
}

.ml-n2,
.mx-n2 {
  margin-left: -0.5rem !important;
}

.m-n3 {
  margin: -1rem !important;
}

.mt-n3,
.my-n3 {
  margin-top: -1rem !important;
}

.mr-n3,
.mx-n3 {
  margin-right: -1rem !important;
}

.mb-n3,
.my-n3 {
  margin-bottom: -1rem !important;
}

.ml-n3,
.mx-n3 {
  margin-left: -1rem !important;
}

.m-n4 {
  margin: -1.5rem !important;
}

.mt-n4,
.my-n4 {
  margin-top: -1.5rem !important;
}

.mr-n4,
.mx-n4 {
  margin-right: -1.5rem !important;
}

.mb-n4,
.my-n4 {
  margin-bottom: -1.5rem !important;
}

.ml-n4,
.mx-n4 {
  margin-left: -1.5rem !important;
}

.m-n5 {
  margin: -3rem !important;
}

.mt-n5,
.my-n5 {
  margin-top: -3rem !important;
}

.mr-n5,
.mx-n5 {
  margin-right: -3rem !important;
}

.mb-n5,
.my-n5 {
  margin-bottom: -3rem !important;
}

.ml-n5,
.mx-n5 {
  margin-left: -3rem !important;
}

.m-auto {
  margin: auto !important;
}

.mt-auto,
.my-auto {
  margin-top: auto !important;
}

.mr-auto,
.mx-auto {
  margin-right: auto !important;
}

.mb-auto,
.my-auto {
  margin-bottom: auto !important;
}

.ml-auto,
.mx-auto {
  margin-left: auto !important;
}

/* talkbox */

.talkArea {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  max-width: 1024px;
  margin: 50px auto;
  padding: 0 10px;
}
.talkArea .talkBox {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.talkArea .talkBox.responce {
  flex-direction: row-reverse;
  margin-top: 20px;
}
.talkArea .talkBox .talkThumb {
  width: 16%;
  position: relative;
}
.talkArea .talkBox:nth-child(odd) .talkThumb img {
  width: 100%;
  max-width: 130px;
  position: absolute;
  top: -20px;
  left: 0;
  padding-right: 30px;
}
.talkArea .talkBox.responce .talkThumb img {
  width: 100%;
  max-width: 130px;
  position: absolute;
  top: -20px;
  left: auto;
  right: 0;
  padding-left: 30px;
}
.talkArea .talkBox .talk {
  width: 63%;
}
.talkArea .talkBox .fukidasi {
  width: 100%;
  position: relative;
  padding: 25px;
  background-color: #f2f3f7;
  font-size: 18px;
  color: #231815;
  border-radius: 12px;
  box-sizing: border-box;
  font-weight: bold;
}
.talkArea .talkBox .fukidasi::before {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(45deg);
  top: 22px;
  border-right: 25px solid transparent;
  border-bottom: 25px solid transparent;
}
.talkArea .talkBox .fukidasi::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(45deg);
  top: 40px;
  border-right: 25px solid transparent;
  border-bottom: 25px solid transparent;
}
.talkArea .talkBox:nth-child(odd) .fukidasi::before {
  left: -15px;
  border-left: 25px solid #f2f3f7;
  border-top: 25px solid transparent;
}
.talkArea .talkBox:nth-child(odd) .fukidasi::after {
  left: -25px;
  border-left: 25px solid #ffffff;
  border-top: 25px solid transparent;
}
.talkArea .talkBox.responce .fukidasi {
  background-color: #fde5e5;
}
.talkArea .talkBox.responce .fukidasi::before {
  left: auto;
  right: -15px;
  border-left: 25px solid transparent;
  border-top: 25px solid #fde5e5;
}
.talkArea .talkBox.responce .fukidasi::after {
  left: auto;
  right: -25px;
  border-left: 25px solid transparent;
  border-top: 25px solid #ffffff;
}
@media screen and (max-width: 1024px) {
  .talkArea .talkBox:nth-child(odd) .talkThumb img {
    max-width: 70%;
    top: 0;
  }
  .talkArea .talkBox.responce .talkThumb img {
    max-width: 70%;
    top: 0;
  }
  .talkArea .talkBox .fukidasi {
    padding: 15px;
    font-size: 14px;
  }
  .talkArea .talkBox .fukidasi::before {
    top: 8px;
  }
  .talkArea .talkBox .fukidasi::after {
    top: 20px;
  }
}
@media screen and (max-width: 420px) {
  .talkArea {
    margin: 30px auto;
  }
  .talkArea .talkBox.responce {
    margin-top: 15px;
  }
  .talkArea .talkBox .talkThumb {
    width: 20%;
  }
  .talkArea .talkBox .fukidasi {
    padding: 10px 15px;
    font-size: 12px;
  }
}
table.spring-tanki-course-schedule tr th,
table.spring-tanki-course-schedule tr td{
    text-align: center;
    vertical-align: middle;
}
table.spring-tanki-course-schedule thead tr th{
    color:white;
    background-color: teal;
    border-bottom: none;
    vertical-align: middle;
}
table.spring-tanki-course-schedule tbody tr:nth-child(even){
    background-color: #eee;
}
table.spring-tanki-course-schedule tbody tr td.rowspan-cell{
    background-color: #fff;
}

/*------------------------------------------------------------
fadein
------------------------------------------------------------*/

.RightToLeft {
  opacity: 0;
  transform: translateX(50px);
  transition: .6s;
}
.RightToLeft.is-show {
  opacity: 1;
  transform: translateY(0);
}
.LeftToRight {
  opacity: 0;
  transform: translateX(-50px);
  transition: .6s;
}
.LeftToRight.is-show {
  opacity: 1;
  transform: translateY(0);
}
.fadein {
  opacity: 0;
  transform: translateY(100%);
  transition: .6s;
}
.fadein.is-show {
  opacity: 1;
  transform: translateY(0);
}
.delay_a {
  transition-delay: .2s;
}
.delay_b {
  transition-delay: .4s;
}
.delay_c {
  transition-delay: .6s;
}
.delay_d {
  transition-delay: .8s;
}
.delay_e {
  transition-delay: 1.0s;
}


@media (max-width: 576px) {
    body{
        min-width: 0;
    }
    .navbar-header {
        position: relative;
        float: none;
        top: 0;
        left: 0;
        z-index: 20;
    }
    .navbar-brand{
        width: auto;
        margin: 0 0 10px;
    }
    .navbar-brand img {
        display: block;
        margin: auto;
        width: 60px;
        height: auto;
    }
    .navbar p+.navbar-collapse {
        width: auto;
        position: relative;
        top: 0;
        left: 0;
    }
    .navbar h1 {
        margin: 0;
        line-height: 0;
    }
    .nav.contact,
    .nav.sns,
    #global-nav,
    .navbar .misc{
        display: none;
    }
    .navbar>.container {
      margin-top: 0;
      display: flex;
      padding: 10px 8% 0 4%;
    }
    .navbar .tel{
        float:none !important;
        text-align: center;
        margin-bottom: 0;
    }
    .navbar .tel dt{
        display: none;
    }
    .navbar .tel .free-dial {
        display: none;
        width: 200px;
        margin:auto;
    }
    .navbar p{display: none;}
    .navbar>.navbar-collapse {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        background: #063183;
        z-index: 10;
        height: 4px !important;
    }
    #content {
        padding-top: 30px;
    }
    button.drawer-toggle{
        display: block;
    }
    .container {
        width: 100%;
        padding: 10px 30px 30px;
    }
    
    .footer-nav nav {
        float: none;
        font-size: 0.7em;
        line-height: 1.8;
        font-weight: bold;
    }
    
    .footer-nav .row>li {
        float: none;
        border-left: 1px solid #7088B8;
        padding-left: 15px;
        padding-right: 15px;
        height: auto !important;
        width: auto;
    }
    
    .footer-nav li li {
        margin-bottom: 14px;
        text-align: center;
    }
    .footer-nav a {
        color: #063183;
        padding: 10px 10px;
        background: rgba(0,0,0,.1);
        display: block;
    }
    .footer-nav dt {
        margin-bottom: 7px;
        color: #063183;
        line-height: 1.8;
        font-size: 1.2em;
    }
    .footer-nav dl{
        margin-bottom: 20px;
    }
    .footer-nav dl a{
        text-align: center;
    }
    .footer-nav dl a span,
    .footer-nav dl a br{
        display: none;
    }
    .footer-nav dl small {
        display: inline;
    }
    .footer-nav .address {
        height: auto !important;
        width: 100%;
        float: none;
        font-size: 0.8em;
        border-left: 1px solid #7088B8;
        border-right: 1px solid #7088B8;
        padding-left: 20px;
    }
    .public-safety-commission br{
        display: none;
    }
    .navbar-static-top {
        z-index: 99;
    }
    .drawer-nav{
        padding: 15px 0 0 10px;
    }
    .drawer-nav li a{
        display: block;
        text-align: left;
        color: #022F85;
        font-size: 0.8em;
        padding: 5px 10px;
    }
}


table.entry_form_table{
    width: 100%;
    font-size:16px;
    border-collapse: collapse;
    border: none;
    margin-bottom: 2em;
}
table.entry_form_table > tbody > tr:nth-child(even) {
    background-color: #eee;
}
table.entry_form_table tr{
    border-color: #ccc;
}
table.entry_form_table th,
table.entry_form_table td{
    padding: 15px 20px;
}

table.entry_form_table th{
    white-space: nowrap;
    font-size: 1em;
    vertical-align: top;
    width: 1px;
    border-right: none;
    color: #022F85;
}
table.entry_form_table th .must{
    color: red;
    font-size: 0.8em;
}
table.entry_form_table td{
    border: none!important;
}
table.entry_form_table td table{
    border: none;
    margin-bottom: 0;
}
table.entry_form_table td table tr{
    border: none;
}
table.entry_form_table td table th,
table.entry_form_table td table td{
    text-decoration: none;
    padding: 0 10px 5px 0;
    border: none;
}

table.entry_form_table td table td{
}
table.entry_form_table td label{
    font-weight: normal;
    margin: 0 20px 0 0;
}
table.entry_form_table td input[type="file"]{
    margin-bottom: 10px;
}
table.entry_form_table td label input[type="checkbox"]{
    margin-right: 10px;
}
p.check,.btnWrap{
    text-align: center;
}
.btnWrap input{
    display: inline-block;
    font-size: 16px!important;
    padding: 8px 20px 5px;
}

@media screen and (max-width: 768px){
    table.entry_form_table{
        font-size: 12px;
    }
    table.entry_form_table th,
    table.entry_form_table td{
        display: block;
        width: calc(100% - 20px);
        padding: 5px 0 5px 10px;
    }
    table.entry_form_table > tbody > tr > th{
        padding-top: 20px;
    }
    table.entry_form_table > tbody > tr > td{
        padding-bottom: 20px;
    }
    table.entry_form_table table th,
    table.entry_form_table table td{
        display: table-cell;
        width: auto;
    }
    table.entry_form_table td input.oneline{
        display: block;
        width: 100%;
    }
    table.entry_form_table td label input[type="checkbox"] {
        margin-right: 0px;
    }
    table.entry_form_table td label{
        margin: 0;
    }
    table.entry_form_table th .must{
        float:none!important;
    }
    table.entry_form_table td input[type="file"]{
        margin-bottom: 0px;
    }
}