/* https://syncer.jp/how-to-create-responsive-web-design */
/*
   div {
   border:solid 1px #f00;
   }
 */
/*
 * PC (>= 480px)
 */
@media screen and (min-width:480px) {
  body {
    margin: 0;
    padding: 0;
    font-family: "メイリオ","Meiryo",Verdana,"ＭＳ Ｐゴシック","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic ProN",sans-serif;
    font-size: 15px;
    line-height: 1.618;
    color: #333;
  }
  h2 {
    font-size: 20px;
    border-bottom: solid 3px #87CEFA;
    margin: 8px 0 0 8px;
  }
  ul, li {
    list-style:none;
    margin:0;
    padding:0;
  }
  dl {
    margin-left: 10px;
  }
  dt {
    font-weight: bold;
    /*border-bottom: dotted 2px #e40; */
    display: inline-block;
    margin: 4px 0 2px 0;
  }
  dd {
    margin-left: 8px;
  }
  table {
    border-collapse: collapse;
    border-spacing: 0;
  }
  a {
    text-decoration: none;
    outline:none;
  }
  a:link,
  a:visited,
  a:active,
  a:hover {
    outline:none;
  }
  :focus {
    outline: none;
  }
  a img {
    border:none;
  }
  .clear {
    clear:both;
  }
  .red {
    color:#e00;
  }
  .blue {
    color:#00e;
  }
  .green {
    color:#00b;
  }
  .purple {
    color:#b0b;
  }
  .pink {
    color:#f0f;
  }
  .blue2 {
    color: #06c
  }
  .bold {
    font-weight:bold;
  }
  .ul {
    text-decoration: underline;
  }
  .left {
    text-align: left;
  }
  .right {
    text-align: right;
  }
  .center {
    text-align: center;
  }
  .fs90 {
    font-size: 90%;
  }
  .fs80 {
    font-size: 80%;
  }
  .round {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
  .shadow {
    -moz-box-shadow: inset 3px 4px 2px -2px rgba(0,0,0,0.5);
    -webkit-box-shadow: inset 3px 4px 2px -2px rgba(0, 0, 0, 0.5);
    box-shadow: inset 3px 4px 2px -2px rgba(0,0,0,0.5);
  }
  .number {
    font-family:Bookman old Style, Georgia, Baskerville, Palatino, Times;
  }
  .pointer {
    cursor:pointer;
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
  }
  .pointer:hover {
    opacity: 0.6;
    filter: alpha(opacity=60);
  }

  /*--------------------------*/
  .outer {
    padding: 0 8px;
    margin: 0 auto;
    width: 880px;
  }
  #header {
    margin: 0 0 12px 0;
  }
  #header .inner {
    width: 100%;
    /*margin: 0 auto;*/
  }

  #header .logo {
    float: left;
    margin: 20px 0 0 0;
  }
  img.logo-img {
    width: 291px;
    height: 62px;
  }
  #header .info {
    float: right;
    margin: 20px 0 2px 0;
    padding: 4px 10px;
    text-align: right;
    font-size: 16px;
    /* background-color: #e40; */
    /*
       border: 1px solid #06c;
       color: black;
     */
  }
  .banner {
    clear: both;
    width: 880px;
    height: 250px;
    background-image: url("../img/banner2.png");
    margin: 12px auto;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
  }
  #nav-icon {
    display: none;
  }
  /* メニューバー */
  #nav {
    clear: both;
    width: 100%;
    height: 25px;
    padding-top: 10px;
  }
  #nav ul {
    width: 100%;
    padding: 0;
    margin: 0 auto;
    list-style: none;
  }
  #nav li {
    float: left;
    width: 19.7%; /* 20% */
    width: 14%; /* 20% */
    height: 22px;
    margin: auto;

    padding: 0 10px;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    border-left: 1px solid #999;
    cursor: pointer;
    user-select: none; /* 選択不可に */
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
  }
  #nav li:last-child {
    border-right: 1px solid #999;
  }
  .naviLine {
    padding-bottom: 1px; /* ナビ下線の隙間 */
    box-sizing: inherit;
    /* border-bottom: 4px solid #e40; */ /* オレンジ */
    border-bottom: 4px solid #06c;
    visibility: hidden; /* hover用 */
  }
  #nav li:hover > .naviLine {
    visibility: visible;
  }
  #nav li a {
    padding-left: 5px;
    font-size: 15px;
    font-weight: normal;
    text-decoration: none;
    color: #333;
  }
  #main {
    margin: 0 0 0 0;
  }
  #main .side {
    float: left;
    /* border: 1px solid #f00; */
    width: 240px;
    text-align: center;
    padding: 10px 0 0 0;
  }
  #main .side .column {
    margin: 30px 0;
  }
  #column1 {
  }
  #column2 {
  }
  #doctors-file-img {
    width: 75%;
    height: 75%;
  }
  #map-img {
    width: 92%;
    height: 92%;
    /* border: 1px solid #06c; */
  }
  /* メインコンテンツ */
  #main .contents {
    float: right;
    /* border: 1px solid #0f0; */
    width: 620px;
  }

  #hl-category {
    display:none;
  }

  /* NECO情報 */
  .neco {
    border: 1px solid #06c;
    text-align: center;
    line-height: 1.4;
    margin: 0 20px 40px 20px;
    padding: 4px 0 12px 0;
  }
  .neco-button {
    margin: 0 auto;
    padding: 4px 0 3px 0;
    text-align: center;
    color: #fff;
    background-color: #e40;
    /* border: 1px solid #06c;*/
    height: 25px;
    width: 120px;
    font-size: 16px;
    font-weight: bold;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
  }
  .caution {
    color: red;
    font-size: 80%;
    width: 90%;
    margin: 0 auto;
    border: 1px solid #f00;
    padding: 4px 8px;
  }
  .address {
    margin: 2px auto;
    display: inline-block;
    text-align: left;
  }
  .op-hour{
    margin-top: 20px;
  }
  .timetable {
    width: 73%;
    padding: 10px;
    margin: 0 auto;
    border-collapse: collapse;
  }
  .timetable tr{
    border-bottom: 1px dotted #bbb;
  }
  .timetable .time {
    text-align: center;
    font-size: 14px;
  }
  .timetable th {
    padding-bottom: 5px;
    font-weight: normal;
    font-size: 16px;
  }
  .timetable td:not(.time) {
    text-align: center;
    font-size: 28px;
  }
  p.note {
    width: 400px;
    padding: 10px;
    margin: 15px auto;
    font-size: 11px;
  }
  .footer {
    clear: both;
    font-size: 80%;
    line-height: 80%;
    width:100%;
    border-top: 1px solid #888;
    text-align: center;
    padding: 4px;
    margin: 30px 0 30px 0;
    background: #fff;
  }
  .copyright {
    font-style: italic;
  }

} /* @media screen and (min-width:480px) */

/*
 * Smart Phone (< 480px)
 */
@media screen and (max-width:479px) {
  /*
     div {
     border:solid 1px #f00;
     }
   */
  body {
    margin: 0;
    padding: 0;
    font-family: "メイリオ","Meiryo",Verdana,"ＭＳ Ｐゴシック","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic ProN",sans-serif;
    font-size: 13px;
    line-height: 1.618;
    color: #333;
  }
  h2 {
    font-size: 16px;
    border-bottom: solid 3px #87CEFA;
    margin: 8px 0 0 8px;
  }
  ul, li {
    list-style:none;
    margin:0;
    padding:0;
  }
  dl {
    margin-left: 10px;
  }
  dt {
    font-weight: bold;
    /*border-bottom: dotted 2px #e40; */
    display: inline-block;
    margin: 4px 0 2px 0;
  }
  dd {
    margin-left: 8px;
  }
  table {
    border-collapse: collapse;
    border-spacing: 0;
  }
  a {
    text-decoration: none;
    outline:none;
  }
  a:link,
  a:visited,
  a:active,
  a:hover {
    outline:none;
  }
  :focus {
    outline: none;
  }
  a img {
    border:none;
  }
  .clear {
    clear:both;
  }
  .red {
    color:#e00;
  }
  .blue {
    color:#00e;
  }
  .green {
    color:#00b;
  }
  .purple {
    color:#b0b;
  }
  .pink {
    color:#f0f;
  }
  .blue2 {
    color: #06c
  }
  .bold {
    font-weight:bold;
  }
  .ul {
    text-decoration: underline;
  }
  .left {
    text-align: left;
  }
  .right {
    text-align: right;
  }
  .center {
    text-align: center;
  }
  .fs90 {
    font-size: 90%;
  }
  .fs80 {
    font-size: 80%;
  }
  .round {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
  .shadow {
    -moz-box-shadow: inset 3px 4px 2px -2px rgba(0,0,0,0.5);
    -webkit-box-shadow: inset 3px 4px 2px -2px rgba(0, 0, 0, 0.5);
    box-shadow: inset 3px 4px 2px -2px rgba(0,0,0,0.5);
  }
  .number {
    font-family:Bookman old Style, Georgia, Baskerville, Palatino, Times;
  }
  .pointer {
    cursor:pointer;
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
  }
  .pointer:hover {
    opacity: 0.6;
    filter: alpha(opacity=60);
  }

  /*--------------------------*/
  .outer {
    margin: 0 auto;
    width: 100%;
  }
  #header {
  }
  #header .inner {
    width: 100%;
  }

  #header .logo {
    margin: 3% 4% 0 50px;
    text-align: center;
  }
  img.logo-img {
    width: 100%;
  }
  #header .info {
    clear: both;
    margin: 0;
    text-align: center;
    font-size: 3.6vw;
    line-height: 1.4;
    background-color: #fff;
    color: #000;
    /* border: 1px solid #06c; */
  }
  .banner {
    display: none;
  }

  #menu {
    clear: both;
  }
  #menu li {
    font-size: 150%;
    line-height: 200%;
  }
  /*メニュー*/
  #nav {
    background-color: #fff;
    box-sizing: border-box;
    height: 100%;
    padding: 10px 0 0 30px;
    position: fixed;
    left: -200px;
    top: 0;
    width: 200px;
    z-index: 1000;
  }

  /*メニューアイコン*/
  #nav-icon {
    position: fixed;
    background: rgba(255,255,255,0.8);
    color: #333;
    text-align: center;
    display: block;
    font-size: 50px;
    line-height: 50px;
    height: 50px;
    width: 50px;
    top: 40px;
    left: 0;
  }

  /*透過背景部分*/
  #nav-background {
    background-color: #333; /*黒背景部分背景色*/
    display: block;
    height: 100%;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: -1;
  }

  /*hover 時の処理*/
  #nav.open {
    left: 0;
    cursor:pointer;
  }

  #nav-background.open {
    opacity: 0.5; /*黒背景部分透過度*/
    z-index: 999;
  }
  #nav a {
    color: #444;
  }
  #nav a:hover {
    color: #fff;
    background-color: #06c;
  }

  #main {
    width: 100%;
    margin: 0 auto;
  }
  /* メインコンテンツ */
  #main .contents {
    margin: 2%;
  }
  #hl-train-stn {
    display:block;
    font-size: 90%;
  }
  #hl-tel {
    display:block;
    font-size: 90%;
  }
  #hl-category {
    display:block;
    font-size: 90%;
  }
  #header .info {
    margin-bottom: 10px;
  }
  .side {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  /* NECO情報 */
  .neco {
    border: 1px solid #06c;
    text-align: center;
    line-height: 1.4;
    width: 180px;
    margin: 0 auto;
    padding: 4px 0 12px 0;
  }
  #neco-qr-code {
    width:0;
    height:0;
  }
  .neco-button {
    margin: 0 auto;
    padding: 4px 0 3px 0;
    text-align: center;
    color: #fff;
    background-color: #e40;
    /* border: 1px solid #06c;*/
    height: 25px;
    width: 120px;
    font-size: 16px;
    font-weight: bold;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
  }
  #column1 {
    display: none;
  }
  #column2 {
    display: none;
  }
  #column3 {
    margin-top: 20px;
  }
  #doctors-file-img {
  }
  #map-img {
    width: 74%;
    height: 74%;
    /* border: 1px solid #06c; */
  }
  .caution {
    color: red;
    font-size: 80%;
    width: 90%;
    margin: 0 auto;
    border: 1px solid #f00;
    padding: 4px 8px;
  }
  .address {
    margin: 2px auto;
    display: inline-block;
    text-align: left;
  }
  .op-hour{
    margin-top: 20px;
  }
  .timetable {
    width: 73%;
    padding: 10px;
    margin: 0 auto;
    border-collapse: collapse;
  }
  .timetable tr{
    border-bottom: 1px dotted #bbb;
  }
  .timetable .time {
    text-align: center;
    font-size: 14px;
  }
  .timetable th {
    padding-bottom: 5px;
    font-weight: normal;
    font-size: 16px;
  }
  .timetable td:not(.time) {
    text-align: center;
    font-size: 28px;
  }
  p.note {
    width: 400px;
    padding: 10px;
    margin: 15px auto;
    font-size: 11px;
  }
  .footer {
    clear: both;
    font-size: 80%;
    line-height: 80%;
    width:100%;
    border-top: 1px solid #888;
    text-align: center;
    padding: 4px;
    margin: 30px 0 30px 0;
    background: #fff;
  }
  .copyright {
    font-style: italic;
  }

} /* @media screen and (max-width:479px) */
