/* css for Mobile web pages */
/* for old iPone SE */

@media screen and (max-width: 767px) {
  /* show hide */
  .head-pc {
    display: none;
  }
  .head-mobile {
    display: block;
  }
  .copyright {
    display: none;
  }
  .copyright-mobile {
    display: block;
  }
  .copyright-iphone {
    display: none;
  }
  
  /* header content */
  /* header box for top page only */
  #top-header-box {
    width: 100%;
  }
  .top-header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 64px;
    background-color: black;
    z-index: 10002;
  }
  /* header box for other pages */
  #page-header-box {
    width: 100%;
    height: 64px;
  }
  /* header content */
  #header-fix-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 64px;
    background-color: black;
    z-index: 10002;
  }
  #header-box {
    width: 100%;
    height: 64px;
  }
  .head-mobile-top {
    display: block;
    display: flex;
    justify-content: space-around;
  }
  .head-mark-logo {
    width: 100%;
    margin: 14px 20px 0;
  }
  .head-logo {
    width: 22px;
    height: 40px;
  }
  .menu-iocn-box {
    position: relative;
    width: 100%;
  }
  .menu-icon {
    height: 24px;
  }
  .menu-icon-box img {
    position: absolute;
    top: 16px;
    right: 18px;
    height: 32px;
  }
  nav {
    display: none;
    padding-top: 10px;
    background-color: black;
  }
  nav .menu {
    text-align: center;
    padding: 18px 0;
    border-bottom: 1px solid #222;
  }
  nav .menu a {
    display: block;
    color:white;
    font-size: 16px;
    width: 100%;
  }

  /* bottom margin */
  .bottom-margin {
    width: 100%;
    height: 100px;
  }
  /* footer for top page only */
  #top-footer {
    position: fixed;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: white;
    z-index: 99999;
  }
  /* footer for other pages */
  #page-footer {
    display: none;
    width: 100%;
    position: relative;
    bottom: 0
    text-align: left;
    margin: 0 auto;
    padding: 8px 40px;
    background-color: white;
  }
  /* for iphone only */
  #top-footer-iphone {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 10px 20px 15px 20px;
  }
  .copyright {
    width: 100%;
    font-weight: 100;
    font-size: 13px;
    letter-spacing: 0.1em;
    line-height: 1.4em;
  }

  /* top main content */
  .top-container-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 50%;
    text-align: center;
  }
  .top-logo-box {
    background-image: url("../img/gold-bkgnd.jpg");
    background-size: cover;
  }
  .top-logo {
    width: 240px;
    margin: 190px auto 140px;
  }
  .top-message-box {
  }
  .top-message h1 {
    color: #555;
    font-weight: 300;
    font-size: 21px;
    line-height: 1.0em;
    text-align: center;
    width: 100%;
    margin-top: 40px;
  }
  .top-message p {
    font-size: 16px;
    text-align: left;
    line-height: 1.6em;
    width: 100%;
    margin: 20px 0 30px;
    padding: 0 40px;
  }

  /* company main content */
  .company-container {
    width: 100%;
    padding: 20px;
  }
  .company-container h1 {
    font-size: 21px;
    margin-top: 5px;
  }
  .summary-table {
    margin-top: 25px;
  }
  .summary-table ul {
    border-top: 1px solid #ccc;
  }
  .summary-table ul > li {
    list-style: none !important;
    border-bottom: 1px solid #ccc;
  }
  .summary-table dl {
    display: flex;
    flex-wrap: wrap;
    width: 100%
  }
  .summary-table dt {
    width: 90px;
    padding: 15px 15px 10px 15px;
    line-height: 1.6em;
  }
  .summary-table dd {
    width: 100%;
    padding: 0 10px 15px 15px;
    line-height: 1.6em;
  }
  .summary-table ol {
    list-style-type: decimal !important;
    margin-left: 18px;
  }
  .summary-table ol > li {
    list-style-type: decimal !important;
    line-height: 1.6em;
  }
  .summary-table span {
    font-size: 15px;
  }

  /* access main content */
  .access-container {
    width: 100%;
    height: 100%;
    padding: 20px;
  }
  .access-container h1 {
    font-size: 21px;
    margin-top: 5px;
  }
  /* address */
  .address {
    margin: 20px 0;
  }
  .address ul {
    font-size: 15px;
  }
  .address ul > li {
    list-style: none !important;
  }
  .address dl {
    display: flex;
    flex-wrap: wrap;
    width: 100%
  }
  .address dt {
    flex-basis: 60px;
    line-height: 1.6em;
  }
  .address dd {
    line-height: 1.6em;
  }
  .address ol {
    list-style-type: decimal !important;
    margin-left: 18px;
  }
  .address ol > li {
    list-style-type: decimal !important;
    line-height: 1em;
  }

  /* access */
  .access {
    width: 100%;
    margin: 10px 0;
    font-size: 15px;
  }
  .access ul {
    padding: 10px 0;
  }
  .access ul > li {
    list-style: none !important;
    line-height: 1.6em;
  }
  .access-map {
    width: 100%;
  }
  .map {
    height: 0;
    overflow: hidden;
    padding-bottom: 110%;
    position: relative;
  }
  .map iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
  }
  .gmap {
    display: block;
    margin: 0 auto;
  }

}
