@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 {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 auto;
  height: auto;
  min-height: 100%;
}

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

#header {
}

/* -- >>> styles for narrow layout ----- */
@media screen and (max-width: 599px) {
  #header {
    width: 95%;
    margin: 0 auto 10px auto;
  }
}

/* -- >>> styles for medium layout ----- */
@media screen and (min-width: 600px) and (max-width: 959px) {
  #header {
    width: 95%;
    margin: 0 auto 10px auto;
  }
}

/* -- >>> styles for wide layout ----- */
@media screen and (min-width: 960px) {
  #header {
    width: 960px;
    margin: 0 auto 20px auto;
  }
}

#header .mainImage {
  overflow: clip;
  border-end-start-radius: 4px;
  border-end-end-radius: 4px;
  background-color: #864683;
}
#header a {
  display: block;
  text-decoration: none;
}
#header .mainImage img {
  width: 100%;
  height: auto;
}

#header .mainImage .titleSub {
  background-color: #fff101;
  /* color: #fff; */
  color: #864683;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
}
@media screen and (max-width: 768px) {
  #header .mainImage:has(.titleSub) {
    padding-bottom: calc(10 / 370 * 100%);
  }
  #header .mainImage .titleSub {
    margin-inline: calc(10 / 370 * 100%);
    padding-block: 8px;
    font-size: 125%;
  }
}
@media screen and (min-width: 769px) {
  #header .mainImage:has(.titleSub) {
    padding-bottom: calc(20 / 960 * 100%);
  }
  #header .mainImage .titleSub {
    margin-inline: calc(20 / 960 * 100%);
    padding-block: 10px;
    font-size: 150%;
  }
}

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

#contents {
  margin: 0 auto;
}

/* -- >>> styles for narrow & medium layout ----- */
@media screen and (max-width: 959px) {
  #contents {
    width: 95%;
    padding-bottom: 40px;
  }
}

/* -- >>> styles for wide layout ----- */
@media screen and (min-width: 960px) {
  #contents {
    width: 960px;
    padding-bottom: 40px;
  }
}

/* [ main contents ]
    ------------------------------ */
#contents #main {
}

/* -- >>> styles for narrow layout ----- */
@media screen and (max-width: 599px) {
  #contents #main {
  }
}

/* -- >>> styles for medium layout ----- */
@media screen and (min-width: 600px) and (max-width: 959px) {
  #contents #main {
  }
}

/* -- >>> styles for wide layout ----- */
@media screen and (min-width: 960px) {
  #contents #main {
  }
}

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

#pagetop {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 10;
  width: 60px;
  height: 60px;
  text-indent: -9999px;
}
#pagetop a {
  display: block;
  width: 60px;
  height: 60px;
  background: url(../../../src/default/pc/image/common/pagetop_off.gif) 0 0
    no-repeat;
}
/* -- >>> styles for narrow layout ----- */
@media screen and (max-width: 599px) {
  #pagetop {
    width: 40px;
    height: 40px;
  }
  #pagetop a {
    display: block;
    width: 40px;
    height: 40px;
    background: url(../../../src/default/pc/image/common/pagetop_off.gif) 0 0
      no-repeat;
    background-size: 40px 40px;
  }
}

/* -- >>> styles for medium layout ----- */
@media screen and (min-width: 600px) and (max-width: 959px) {
  #pagetop {
  }
}

/* -- >>> styles for wide layout ----- */
@media screen and (min-width: 960px) {
  #pagetop {
  }
}

/** =1-4
   * footer
   * ----------------------------------
   */

#footer {
  margin-top: auto;
  width: 100%;
  background: #82400b;
  color: #fff;
}
#footer a {
  color: #ffff00;
  text-decoration: none;
}
#footer a:hover {
  text-decoration: underline;
}
#footer > * {
  margin: 10px;
  clear: both;
}
/* -- >>> styles for wide layout ----- */
@media screen and (min-width: 960px) {
  #footer > * {
    width: 960px;
    margin: 10px auto;
  }
}

#footer .credit {
  display: flex;
  column-gap: 20px;
  row-gap: 10px;
  padding-bottom: 10px;
  border-bottom: solid 1px #fff;
}
#footer .creditLogo {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
}
#footer .creditLogo img {
  height: 60px;
}

/* -- >>> styles for narrow layout ----- */
@media screen and (max-width: 599px) {
  #footer .credit {
    flex-direction: column;
  }
  #footer .creditLogo > * {
    width: min(116px, calc((100% - 20px) / 3));
  }
  #footer .creditLogo img {
    width: 100%;
    height: auto;
  }
}

/* -- >>> styles for medium layout ----- */
@media screen and (min-width: 600px) and (max-width: 959px) {
  #footer .credit {
    flex-wrap: wrap;
  }
  #footer .creditItem:first-child {
    width: 100%;
  }
  #footer .creditLogo img {
    width: 116px;
    height: auto;
  }
}

/* -- >>> styles for wide layout ----- */
@media screen and (min-width: 960px) {
  #footer .credit {
  }
}

#footer .footer_nav ul li {
  margin: 10px 0 5px 0;
  padding: 0;
  background-size: 11px 11px;
}

/* -- >>> styles for narrow layout ----- */
@media screen and (max-width: 599px) {
  #footer .footer_nav p.eco {
    width: 220px;
    height: auto;
  }
}

/* -- >>> styles for medium layout ----- */
@media screen and (min-width: 600px) and (max-width: 959px) {
  #footer .footer_nav ul li {
    float: left;
    margin: 0 10px 10px 0;
  }
  #footer .footer_nav p.eco {
    float: right;
    width: 280px;
    height: auto;
  }
}

/* -- >>> styles for wide layout ----- */
@media screen and (min-width: 960px) {
  #footer .footer_nav ul li {
    float: left;
    margin: 0 10px 10px 0;
    padding: 0;
  }
  #footer .footer_nav p.eco {
    float: right;
    width: 300px;
    height: auto;
  }
}

/** =1-5
   * sidepanel
   * ----------------------------------
   */

#sidepanel {
}

#sidepanel li a {
  display: block;
  padding: 5px;
}

/* -- >>> styles for narrow layout ----- */
@media screen and (max-width: 599px) {
  #sidepanel {
    position: fixed;
    top: 0;
    right: -250px;
    z-index: -10;
    overflow-y: auto;
    width: 250px;
    height: 100%;
    background: #09a159;
    -moz-transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
  }

  .panelopened #sidepanel {
    display: block;
    z-index: 1;
    right: 0;
  }
}

/* -- >>> styles for medium layout ----- */
@media screen and (min-width: 600px) and (max-width: 959px) {
  #sidepanel {
    display: none;
  }
}

/* -- >>> styles for wide layout ----- */
@media screen and (min-width: 960px) {
  #sidepanel {
    display: none;
  }
}
