@charset "utf-8";

/* comon */
body {
    /* margin: 16px;     */
    font-family:'メイリオ', 'Meiryo', sans-serif;
    background-color: rgba(211, 243, 210, 0.3);
}
h1, h2, h3, h4 {
    margin: 0;
    color: #317a22;
}
p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.8em;
    /* border: 1px solid blue; */
}
ul {
    margin: 0;
    padding: 0;
    /* border: 1px solid green; */
}
.container {
    width: calc(100% - 32px);
    margin: 0 auto;
    max-width: 800px;
}

/* header */
header {
    padding: 0 16px;
    display: flex;
}

header h1 {
    line-height: 64px;
    font-size: 36px;
}

.logo img {
    width: 250px;
}

/* メニュー */
.sp-menu {
    margin-left: auto;
} 
.sp-menu #open {
    line-height: 64px;
    font-size: 32px;
    cursor: pointer;
} 
.sp-menu #open.hide {
    display: none;
}

main {
    padding: 0 16px;
}

/* sp menu マウスが押された時 */
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 30;
    background: rgb(211, 243, 210);
    text-align: center;
    padding: 48px;
    opacity: 0;
    pointer-events: none;
    transform: opacity 0.6s;
}
.overlay.show {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.overlay #close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 32px;
    cursor: pointer;
}
.overlay ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.overlay li {
    margin-top: 24px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s, transform 0.3s;
}
.overlay.show li {
    opacity: 1;
    transform: none;
}
.overlay.show li:nth-child(1) {
    transition-delay: 0.1s;
}
.overlay.show li:nth-child(2) {
    transition-delay: 0.2s;
}
.overlay.show li:nth-child(3) {
    transition-delay: 0.3s;
}
.overlay.show li:nth-child(4) {
    transition-delay: 0.4s;
}
.overlay.show li:nth-child(5) {
    transition-delay: 0.5s;
}
.overlay.show li:nth-child(6) {
    transition-delay: 0.6s;
}
/* 携帯用画面の時 */
.pc-menu {
    display: none;
}


/* 各ページ見出し */
.sign h2 {
    position: relative;
    padding: 1rem .5rem;
    text-align: center;
}
.sign h2:after {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 6px;
    content: '';
    border-radius: 3px;
    background-image: linear-gradient(to right,#148f09,#ffffff,#fa4518);
    z-index: 0;
}

/* footer */
/* 先頭・HOMEへ戻るリンク */
.return {
    font-size: 12px;
    margin-top: 36px;
}
.return ul {
    list-style-type: none;
    display: flex;
}
.return a {
    display: block;
    width: 120px;
    line-height: 32px;  
    text-decoration: none;
}
  
.copyright {
    background: rgb(127, 207, 125);
    padding: 16px 0;
    text-align: center;
    font-size: 16px;
    color: rgb(253, 253, 253);
}
  
  
/* 表示画面設定 PC */
@media(min-width:600px) {

  /* ヘッダーメニュー */
  .pc-menu {
    display: block;
    margin-left: auto;
    font-size: 12px;
  }
  .pc-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
  }
  .pc-menu a {
    display: block;
    width: 90px;
    line-height: 64px;
    text-align: center;
    text-decoration: none;
  }
  .pc-menu a:hover {
    background: rgb(211, 243, 210);
  }
  .sp-menu {
    display: none;
  }
    
}