@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: #06731d;
}
#header a {
  display: block;
  text-decoration: none;
}
#header .mainImage img {
  width: 100%;
  height: auto;
}

#header .mainImage .titleSub {
  background-color: #fff;
  color: #e85614;
  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-block-start: calc(10 / 370 * 100%);
    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-block-start: calc(20 / 960 * 100%);
    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: 70px;
  height: 70px;
  background-color: #06731d;
  border-radius: 100%;
}
#pagetop .pagetopArrow {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
}
#pagetop a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
#pagetop a::before,
#pagetop a::after {
  content: "";
  position: absolute;
  top: 14px;
  left: calc(50% - 1.5px);
  width: 3px;
  height: 15px;
  border-radius: 9999px;
  background-color: #fff;
  transform-origin: 50% 1.5px;
}
#pagetop a::before {
  transform: rotate(45deg);
}
#pagetop a::after {
  transform: rotate(-45deg);
}
#pagetop a p{
  text-align: center;
  font-size: 10px;
  color: #ffffff;
  margin-block-start: 32px;
  line-height: 1.3;
}

/* -- >>> styles for narrow layout ----- */
@media screen and (max-width: 599px) {
  #pagetop {
    width: 50px;
    height: 50px;
  }
  #pagetop a {
    display: block;
  }
  #pagetop a::before,
  #pagetop a::after {
    top: 7px;
    left: calc(50% - 1px);
    width: 2px;
    height: 10px;
  }
  #pagetop a p {
    margin-block-start: 20px;
  }
}

/* -- >>> 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 .creditItem {
  margin-bottom: 20px;
}
#footer .creditLogo {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  /* column-gap: 10px; */
  gap: 10px;
}
/* #footer .creditLogo img {
  height: 60px;
} */

/* -- >>> styles for narrow layout ----- */
@media screen and (max-width: 599px) {
  #footer .credit {
    flex-direction: column;
  }
  #footer .creditLogo {
    grid-template-columns: repeat(3, 1fr);
  }
  /* #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%;
  }
}

/* -- >>> 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;
  }
}
