@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
 * ========================================
 */

[id="container"] {
  position: relative;
  margin: 0 auto;
  height: auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.l-wrapper {
  /* padding: 80px 0 100px 0; */
}

.l-inner {
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 20px;
}

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

.l-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 6px solid #003f76;
  background-color: #dfe4e7;
}

.l-header .headerInner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 20px;
}

.l-header .headerLogo {
  width: min(160px, calc(120 / 390 * 100cqw));
}
.l-header .headerLogo img {
  width: 100%;
  height: auto;
}
.l-header .headerLogo .text {
  display: none;
}
@media screen and (max-width: 768px) {
  body[id="home"] .l-header .headerLogo {
    display: none;
  }
}

.l-header .headerBtn {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: row-reverse;
  column-gap: 10px;
  width: min(500px, 100%);
}
.l-header .headerBtn li {
  width: min(240px, calc((100% - 10px) / 2));
}
.l-header .headerBtn li .btn {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .l-header .headerBtn {
    width: 100%;
  }
}

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

/* [ main contents ]
  ------------------------------ */
body:not([id="home"]) [id="main"] {
  padding-block: 80px;
}
@media screen and (max-width: 768px) {
  body:not([id="home"]) [id="main"] {
    padding-block: 60px;
  }
}

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

[id="pagetop"] {
  display: none;
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 10;
}

[id="pagetop"] a {
  display: block;
}
[id="pagetop"] img {
  width: 40px;
  height: 40px;
}

/** =1-4
   * footer
   * ----------------------------------
   */
.l-footer {
  width: 100%;
  margin-top: auto;
  background-color: #fff;
  color: #000;
}
.l-footer .footerContainer {
  margin: 0 auto;
  padding: 30px 0;
}
.l-footer .footerCopy {
  background-color: #dfe4e7;
}

.l-footer a {
  color: inherit;
}
.l-footer .footerLogo {
  display: flex;
  align-items: center;
  column-gap: 20px;
  /* width: max(96px, 10%); */
}
.l-footer .footerLogo a {
  display: block;
}
.l-footer .footerLogo img {
  width: auto;
  height: 50px;
}

@media screen and (max-width: 768px) {
  .l-footer .footerContainer {
    text-align: center;
  }
  .l-footer .footerLogo {
    justify-content: center;
    /* margin-inline: auto; */
  }
  .l-footer .footerLogo img {
    height: 40px;
  }
  .l-footer .footerCopy {
    padding: 20px 0;
  }
}

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

  .l-footer .footerCopy {
    padding: 30px 0;
  }
}
