@charset "utf-8";

@font-face {
  font-family: "AmeChanPopMaru";
  src: url("AmeChanPopMaruLight-Regular.otf") format("otf"),
    /* eof - IE6-IE8 */ url("AmeChanPopMaruTTFLight-Regular.ttf")
      format("truetype"); /* svg - Legacy iOS */
}

/* =Reset default browser CSS
-------------------------------------------------------------- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  outline: 0;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  vertical-align: baseline;
  font-style: inherit;
}
:focus {
  outline: 0;
}

ol,
ul {
  list-style: none;
}
table {
  border-collapse: separate;
  border-spacing: 0;
}
caption,
th,
td {
  font-weight: normal;
  text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}
blockquote,
q {
  quotes: "" "";
}
a img {
  border: 0;
}
figure {
  margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
/* -------------------------------------------------------------- */

body {
  background: #f0f4f7; /* Changed: f6f3ec -> f0f4f7 */
  color: #555;
  line-height: 1.5;
  font: 12px verdana, "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN",
    "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  -webkit-text-size-adjust: none;
}

/* リンク設定
------------------------------------------------------------*/
a {
  color: #3399cc;
  text-decoration: none;
} /* Changed: eca92b -> 3399cc */
a:active,
a:focus {
  outline: 0;
}

/* 全体
------------------------------------------------------------*/
#wrapper {
  position: relative;
  margin: 0 auto;
  width: 98%;
  padding: 0 1%;
}

.inner {
  margin: 0 auto;
  width: 100%;
}

/*************
/* ヘッダー
*************/
#header .inner {
  overflow: hidden;
  border: 1px solid #d0d7de; /* Changed: efede7 -> d0d7de */
  background: #ffffff; /* Changed: fffff8 -> ffffff */
}
* html #header {
  height: 1%;
}

/*************
/* ロゴ
*************/
#header .logo {
  width: 100%;
  height: 100px;
  padding: 0 0 10px 0;

  background-image: url(../images/logo.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 600px;
  color: #303c62; /* Changed: 8b4513 -> 303c62 */
  font-family: "UD Digi Kyokasho NP-B", "UD デジタル 教科書体 NP-B", "Meiryo UI",
    "sans-serif", serif;
  font-weight: bold;
  text-align: center;
}

.logo .logoText1 {
  font-family: "HGS創英角ﾎﾟｯﾌﾟ体", "UD Digi Kyokasho NP-B",
    "UD デジタル 教科書体 NP-B", "Meiryo UI", "sans-serif", serif,
    "AmeChanPopMaru";
  font-size: 6em;
  font-weight: normal;
}
.logo .logoText2 {
  font-size: 4em;
}

#header h1 {
  color: #fff;
  font-size: 11px;
}

/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner {
  margin: 20px auto;
  width: 100%;
  padding: 0;
  line-height: 0;
}

#mainBanner .inner {
  position: relative;
}

#mainBanner img {
  box-shadow: #ccc 0 0 3px;
  max-width: 100%;
  height: auto;
  padding: 5px;
  background: #fff;
}

/**************************
/* グリッド
**************************/
.gridWrapper {
  overflow: hidden;
  padding-bottom: 20px;
}

* html .gridWrapper {
  height: 1%;
}

.grid {
  float: left;
  border-top: 5px solid #303c62; /* Changed: bc7d03 -> 303c62 */
  border-bottom: 5px solid #303c62; /* Changed: bc7d03 -> 303c62 */
  box-shadow: 0 0 3px #ddd;
  background: #fff;
}

.grid h3 {
  padding: 10px 0;
  background: #3399cc; /* Changed: eca92b -> 3399cc */
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.grid p {
  padding: 5px 10px;
}

.grid p.img {
  padding: 0;
}

p.readmore {
  padding: 10px;
}

/* フッター内のグリッド(3カラム) */
#footer .grid {
  border: 0;
  box-shadow: none;
  background: transparent;
  color: #fff;
}

#footer .grid p {
  padding: 0;
}

/*************
メイン コンテンツ
*************/
section.content {
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 0 3px #ddd;
  padding: 0 10px 10px;
  background: #fff;
  font-size: 15px;
}

* html section.content {
  height: 1%;
}

section.content p {
  margin-bottom: 5px;
}

h3.heading {
  margin: 0 -10px 20px;
  border-top: 5px solid #1a2544; /* Added slightly darker navy */
  padding: 5px 10px;
  background: #303c62; /* Changed: ff8c00 -> 303c62 */
  color: #fff;
  font-size: 16px;
}

h4.heading {
  margin: -20px -10px 10px;
  padding: 5px 20px;
  background: #f0f5fa; /* Changed: f8f8f0 -> f0f5fa */
  color: #555;
  font-size: 16px;
}

section.content img {
  max-width: 90%;
  height: auto;
}

img.frame {
  box-shadow: 0 0 3px #ddd;
  padding: 3px;
}

.alignleft {
  float: left;
  clear: left;
  margin: 3px 10px 10px 0;
}

.alignright {
  float: right;
  clear: right;
  margin: 3px 0 10px 10px;
}

/*************
テーブル
*************/
table.table {
  margin: 10px auto;
  width: 100%;
  border-collapse: collapse;
}

table.table th,
table.table td {
  border: 1px solid #3399cc; /* Changed: eca92b -> 3399cc */
  padding: 5px;
}

table.table th {
  border-left: #3399cc 5px solid; /* Changed: eca92b -> 3399cc */
  background: #303c62; /* Changed: bc7d03 -> 303c62 */
  color: #fff;
  font-weight: bold;
  text-align: right;
  white-space: nowrap;
  letter-spacing: 1px;
}

a {
  color: #0000ff;
  text-decoration: none;
}
table.table td {
  border-left: #3399cc 3px double;
} /* Changed: eca92b -> 3399cc */

.hissu {
  color: #ff0000;
}
#alert {
  color: #ff0000;
}
#memo {
  width: 100%;
}

/*************
/* フッター
*************/
#footer .inner {
  overflow: hidden;
  clear: both;
  border-top: 2px solid #303c62; /* Changed: 8b4513 -> 303c62 */
  border-bottom: 2px solid #303c62; /* Changed: 8b4513 -> 303c62 */
  padding: 10px 0 0 0;
  background: #ffffff; /* Changed: fffff8 -> ffffff */
}

* html #footer .inner {
  height: 1%;
}

#footer .copyright {
  margin: auto 20px 10px 0;
  color: #303c62; /* Changed: 8b4513 -> 303c62 */
  font-size: 14px;
  text-align: right;
}

.center {
  text-align: center;
}

/* リンクにつける画像 */
a img {
  vertical-align: middle;
}

/* float関連 floatした要素が親要素からはみ出してしまうのを回避する */
.clearfix:after {
  display: block;
  clear: both;
  content: "";
}

/* STEP */
#steps ul {
  overflow: hidden;
  width: 100%;
}
* html #steps ul {
  height: 1%;
}
#steps ul li {
  float: left;
  width: 15%;
  text-align: center;
}
#steps ul li.shape {
  float: left;
  border-top: 26px solid transparent;
  border-right: 0px solid transparent;
  border-bottom: 26px solid transparent;
  border-left: 8px solid #ffffff;
  width: 8px;
  height: 0;
}
#steps ul li.activeShape {
  border-left: 8px solid #303c62; /* Changed: 8b4513 -> 303c62 */
}
#steps ul span {
  display: block;
  padding: 10px 15px;
  background: #fff;
  color: #3399cc; /* Changed: bc7d03 -> 3399cc */
  font-size: 14px;
  line-height: 1.2;
}
#steps ul li.active span {
  background: #303c62; /* Changed: 8b4513 -> 303c62 */
  color: #fff;
}

.button-area {
  margin-top: 15px;
  padding: 10px 0;
}
.next-button {
  float: right;
  border-radius: 12px;
  padding: 8px 12px;
  background-color: #60cf80;
  color: #ffffff;
}
.previous-button {
  float: left;
  border-radius: 12px;
  padding: 8px 12px;
  background-color: #ff80c0;
  color: #ffffff;
}

/* STEP1リスト */
.kyoten ul,
.kyoten ol {
  position: relative;
  padding: 0;
  text-align: left;
}
.kyoten ul li,
.kyoten ol li {
  margin-bottom: 5px;
  border-left: solid 8px #3399cc; /* Changed: ff8c00 -> 3399cc */
  padding: 0.5em;
  background: whitesmoke;
  color: black;
  line-height: 1.5;
  list-style-type: none !important;
}
a.kyotenLink {
  display: inline-block;
  width: 100%;
  height: 100%;
  color: #000000;
}
a.kyotenLink:hover {
  background-color: #e6f2ff;
} /* Changed: fce96b -> e6f2ff */

/* カレンダー */
.dateSelect {
  height: 32px;
}
.dateSelect span {
  margin: 0 12px;
}
.dateSelect a {
  border: solid 1px #000080;
  border-radius: 6px;
  padding: 2px 8px;
  background-color: #f0f0ff;
  color: #000080;
}
.calendar {
  margin: 0 auto;
  border: solid 1px #a0a0a0;
  width: 80%;
  padding-top: 16px;
  border-collapse: collapse;
}
.calendar th,
.calendar td {
  border: solid 1px #a0a0a0;
}
.calendar th.youbi {
  text-align: center;
}
.lightBlue {
  background-color: #c0e0ff;
}
.lightRed {
  background-color: #ffd0e0;
}
div.calDay {
  height: 20px;
  padding-left: 6px;
}
div.void {
}
div.calStatus {
  padding-top: 6px;
  padding-bottom: 6px;
  text-align: center;
}
div.calStatus a {
  color: #0000ff;
  font-size: 18px;
  font-weight: bold;
}

/* 時間割 */
.timeTable {
  margin: 0 auto;
  width: auto;
  border-collapse: collapse;
}
.timeTable th,
.timeTable td {
  border: solid 1px #a0a0a0;
  text-align: center;
}
.timeTable th.time {
  width: 120px;
  background-color: #f0f0ff;
}
.timeTable th.aki {
  width: 160px;
  background-color: #f0f0ff;
}
.timeTable td {
  height: 28px;
  vertical-align: middle;
}
.timeTable td a {
  color: #0000ff;
  font-size: 18px;
  font-weight: bold;
}

/* 申込情報入力 */
.moshikomiTable {
  border-collapse: collapse;
}
.moshikomiTable th,
.moshikomiTable td {
  border: solid 1px #c0c0c0;
  height: 32px;
  padding: 0 16px;
  vertical-align: middle;
}
.moshikomiTable th {
  background-color: #f0f5fa; /* Changed: f8f8f0 -> f0f5fa */
  text-align: center;
}
th.spaceCell,
td.spaceCell {
  border-width: 0px;
  height: 30px;
  background-color: #ffffff;
  text-align: center;
  vertical-align: bottom;
}
.moshikomiTable td a {
  margin: 0 8px;
  color: #3399cc; /* Changed: 6080ff -> 3399cc */
  text-decoration: underline;
}
.moshikomiTable td.hintCell {
  border-width: 0px;
  padding: 0;
  color: #505050;
  font-size: 14px;
  text-align: right;
}

/* PC用 */
@media only screen and (min-width: 900px) {
  #wrapper,
  .inner {
    width: 900px;
  }

  /* 給油所 */
  .kyoten {
    margin: auto;
    width: 400px;
    text-align: left;
  }

  .bottomPanel {
    clear: left;
    padding: 16px 16px;
  }

  /* カレンダー */
  .calendar {
    margin: auto;
    width: 70%;
  }

  /* 時間割 */
  .timeTable {
    margin: auto;
  }

  /* 申込情報入力 */
  .moshikomiTable {
    margin: auto;
  }
  .telCopy {
    color: aqua;
  }

  /* グリッド全体 */
  .gridWrapper {
    margin: 0 0 0 -20px;
    width: 960px;
  }

  /* グリッド共通 ベース:トップページ4カラム */
  .grid {
    float: left;
    margin-left: 20px;
    width: 220px;
  }

  /* サブコンテンツ + フッター グリッド(3カラム) */
  #footer .grid {
    border: 0;
  }
}

/* モニター幅900px以下 */
@media only screen and (max-width: 900px) {
  * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
  }

  #footer .inner {
    margin: 0;
    padding: 0;
  }

  #header .logo,
  #footer .logo {
    float: none;
    padding: 10px 5px;
    text-align: center;
  }

  #header .logo {
    height: 80px;
    background-size: 600px;
  }

  #steps ul {
    overflow: hidden;
    width: 100%;
  }

  * html #steps ul {
    height: 1%;
  }

  #steps ul li {
    display: none;
  }

  .grid {
    float: left;
    margin: 10px 2% 0 0;
    width: 48%;
  }

  .grid img {
    float: left;
    margin-right: 5px;
  }

  #footer .grid,
  #footer .grid p {
    float: none;
    border: 0;
    width: 100%;
    text-align: center;
  }

  #footer .grid:last-child {
    padding-top: 20px;
  }

  /* カレンダー */
  .dateSelect {
    font-size: 13px;
  }
  .dateSelect span {
    margin: 0 3px;
  }
  .dateSelect a {
    padding: 2px 4px;
  }
}

/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width: 480px) {
  #header .logo {
    height: 80px;
    background-size: 360px;
  }
}

.plate {
  border: solid 1px #bfbfbf;
  border-radius: 2px;
  padding: 4px;
}
.plate::placeholder {
  color: hsl(0, 0%, 75%);
}
.plate__region {
  width: 84px;
}
.plate__category {
  width: 40px;
}
.plate__kana {
  width: 28px;
}
.plate__number {
  width: 48px;
}
.vin {
  border: solid 1px #bfbfbf;
  border-radius: 2px;
  width: 48px;
  padding: 4px;
}
.vin::placeholder {
  color: hsl(0, 0%, 75%);
}
.inspection {
  border: solid 1px #bfbfbf;
  border-radius: 2px;
  padding: 4px;
}
.inspection::placeholder {
  color: hsl(0, 0%, 75%);
}
.inspection__era {
  width: 84px;
}
.inspection__year {
  width: 40px;
}
.inspection__month {
  width: 40px;
}
.inspection__day {
  width: 40px;
}
