@charset "utf-8";
/* このファイルはUTF-8のBOMなし(UTF-8N)で保存しています */

/**
 * CSS Information
 * ===============================================================
 *
 * Site URL:  http://
 * File name: layout.css
 * Summary:   レイアウト・共通モジュール用スタイル
 * Author:    CrEa., Inc.
 *
 * -----------------------------------
 *
 * TOC:
 *     =1    structures
 *       =1-1    header
 *       =1-2    contents
 *                 - main contents
 *                 - navigation
 *       =1-3    pagetop
 *       =1-4    footer
 *       =1-5    sidepanel
 *
 * ===============================================================
*/

/** =1
 * ========================================
 * structures
 * ========================================
 */

#container {
  position: relative;
  margin: 0 auto;
  height: auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.l-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.l-inner {
  padding: 0 20px;
}

@media screen and (max-width: 768px) {
  .l-inner {
    padding: 0;
  }
}

/** =1-1
   * header
   * ----------------------------------
   */

#header {
  width: 100%;
  text-align: right;
}
#header a.headerLogo {
  display: inline-block;
  /* transform: translateY(30%); */
  margin-top: 20px;
  margin-bottom: 10px;
  margin-left: auto;
}

@media screen and (max-width: 768px) {
  #header a.headerLogo {
    width: 80px;
    width: max(80px, calc(80 / 335 * 100%));
  }

  #header a.headerLogo img {
    width: 100%;
  }
}

@media screen and (min-width: 769px) {
  #header a.headerLogo img {
    height: 40px;
  }
}

/* メインビジュアル */
@media screen and (max-width: 768px) {
  .mainVisual {
  }
}
@media screen and (min-width: 769px) {
  .mainVisual {
    margin-top: calc(-10 / 960 * 100%);
  }
}

/** =1-2
   * contents
   * ----------------------------------
   */

#contents {
  width: 100%;
}

/* [ main contents ]
  ------------------------------ */
#contents #main {
  background: #fff;
  /* letter-spacing: -0.01em; */
}

/** =1-3
   * pagetop
   * ----------------------------------
   */

#pagetop {
  display: none;
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 10;
}

#pagetop a {
  display: block;
}
#pagetop img {
  width: 40px;
  height: 40px;
}

/** =1-4
   * footer
   * ----------------------------------
   */
#footer {
  width: 100%;
  margin-top: auto;
}

#footer .l-inner .footerContainer {
  margin: 0 auto;
  padding: 30px 0;
}

@media screen and (max-width: 768px) {
  #footer .l-inner .footerContainer {
    text-align: center;
  }
  #footer .footerCopy {
    padding: 20px 0;
  }
}

@media screen and (min-width: 769px) {
  #footer .l-inner .footerContainer {
    display: flex;
    justify-content: space-between;
  }

  #footer .footerCopy {
    padding: 30px 0;
  }
}

.footerLogo {
  width: 10%;
}
.tokyometroLogo {
  margin-right: 1rem;
}
.tokyometroLogo img {
  max-width: 118px;
}
.tokyometroeventLogo {
  margin-left: 1rem;
}
