@charset "utf-8";
article,aside,dialog,div,figure,footer,header,hgroup,hr,nav,section{display:block}a,hr{border:0;padding:0}em,mark{font-style:italic}abbr,address,article,aside,audio,b,blockquote,body,caption,cite,code,dd,del,dfn,dialog,div,dl,dt,em,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{margin:0;padding:0;border:0;outline:0;vertical-align:baseline;background:0 0}mark,strong{font-weight:700}ins,mark{background-color:#ff9;color:#000}body{line-height:1.6;overflow-y:scroll}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}.chu:before,.kome:before{content:"â€»"}a{margin:0;font-size:100%;vertical-align:baseline;background:0 0}ins{text-decoration:none}.red,b{color:red}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{height:1px;border-top:1px solid #ccc;margin:1em 0}input,select{vertical-align:text-top}img{vertical-align:middle}b{font-size:inherit}small{font-size:80%}.center{text-align:center}.border{border:1px solid}.blue{color:#00f}.chu{color:red}.kome{margin-left:1em;font-size:90%}address{font-style:normal}
*, *::before, *::after{ box-sizing: border-box; }
.url{ word-break: break-all; }
@font-face {
  font-family: 'KaiseiDecol-M';
  src: url('../fonts/KaiseiDecol-Medium.ttf') format('truetype');
  font-family:"D7CMB";
  src:url("../fonts/DSEG7ClassicMini-Bold.woff") format("woff")
}

:root {
  --main-color: #0f8e16;
  --sub-color1:#86a826;
  --sub-color2:#d3bf4f;
  --sub-color3:#ffd786;
  --bg-color: #fefcea;
}

body{
	font-family: '游ゴシック', "ヒラギノ角ゴ PronN", "メイリオ", "sans-serif";
	line-height: 1.6;
	font-size:16px;
	overflow-y:scroll;
  color: #231815;
}

.box{
  margin: 10px 0;
  padding: 10px 0;
}

.chui_txt{
  color: #ff3333;
}

/* listスタイル */
.list_counter > li {
  list-style-type: none;
  list-style-position: outside;
  counter-increment: cnt;
  margin-left: 2em;
  margin-bottom: 0.5em;
  &::before {
    content: "(" counter(cnt) ") ";
    display: inline-block;
    text-align: center;
  }
}

.disc > li, 
.decimal > li, 
.no_mark > li {
  list-style-position: outside;
  margin-left: 1em;
}
.disc > li { list-style-type: disc; }
.decimal > li { list-style-type: decimal; }
.no_mark > li { list-style-type: none; }

/* dlスタイル */
dl.short > div {
  display: flex;
  > dt {
    width: 7em;
    margin-right: 1em;
    &::after {
      content: "："; 
    }
  }
}

.link_btn{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px 0;
  a{
    padding: 1rem 2rem;
    background: var(--sub-color1);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 5px solid var(--main-color);
    &:hover {
      border-bottom: 5px solid var(--sub-color);
      background: var(--main-color);
    }
  }
}
.link_other{
  &::after {
    content: url( "../img/link_other.svg" );
    width: 14px;
    display: inline-block;
    margin-left: 0.5rem;
  }
}
.link_other_w{
  &::after {
    content: url( "../img/link_other_w.svg" );
    width: 14px;
    display: inline-block;
    margin-left: 0.5rem;
  }
}
.small_btn{ 
  display: inline-block;
  padding: 2px 10px;
  background: var(--main-color);
  color: white;
  border: solid 0px;
  border-radius: 20px;
  text-decoration: none;
}

/* ******* 構造枠 ******* */
.wrap{
  position: relative;
  overflow-y: scroll;
  scrollbar-width: none;
  &::-webkit-scrollbar { display:none; }
}

#main_header{
  display: flex;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-image: url("../img/bkg_kannabe.jpg");
  background-size: cover;
  background-position: center;
  animation-duration: 8s;
  animation-name: fadein;

  #site_title{
    position: fixed;
    top: 20%;
    display: flex;
    flex-direction: column;
    width: min( 80%, 800px );
    margin: 0 auto;
    text-align: center;

    h1{
      display: flex;
      justify-content: center;
      font-family: 'KaiseiDecol-M';
      font-size: clamp(1.5rem, 5vw, 4.5rem);
      color: aliceblue;
      text-shadow: rgb(115, 255, 0) 1px 0 10px;

      span {
        transform: rotate3d(-1, -1, 1, 45deg);
        -webkit-transform: rotate3d(1, 1, 1, 45deg);
        transform-origin: left bottom;
        -webkit-transform-origin: 10px 60px;
      }
    }
    .sub_title{
      font-size: clamp(0.8rem, 2.5vw, 2.5rem);
      color: white;

      &::before{ content: "～"; }
      &::after{ content: "～"; }
    }
  }
}

/* 見出しスタイル */
h2{
  width: 100%;
  height: 80px;
  margin-bottom: 60px;
  padding: 20px 0.5em;
  clip-path: polygon(0 0, 90% 50%, 90% 50%, 0 100%);
  color: white;
  @media only screen and (min-width: 840px) {
    padding: 20px 1em;
    clip-path: polygon(0 0, 50% 50%, 50% 50%, 0 100%);
  }
}

h3{
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

/* メニュースタイル */
#click_btn{
	position: absolute;
	bottom: 20%;
	left: calc( 50% - 3rem);
	display: none;
}
/* ハンバーガー */
#menu_btn{
  position: fixed;
  top: 5px;
  right: 10px;
  width: 50px;
  height:50px;
	cursor: pointer;
	border-radius: 5px;
	background:var(--sub-color1);
  z-index: 1000;
  span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    &:nth-of-type(1) {
      top:15px;	
      width: 45%;
    }
    &:nth-of-type(2) {
      top:23px;
      width: 40%;
    }
    &:nth-of-type(3) {
      top:31px;
      width: 35%;
    }
  }
}

/* グローバルナビ */
#nav{
	position: fixed;
  width: 100%;
  z-index: 100;
  ul{ display: none; }
  &.active{
    #menu_btn{
      span{
        &:nth-of-type(1) {
          top: 18px;
          left: 18px;
          transform: translateY(6px) rotate(-135deg);
          width: 30%;
        }
        &:nth-of-type(2) {
          opacity: 0;
        }
        &:nth-of-type(3){
          top: 30px;
          left: 18px;
          transform: translateY(-6px) rotate(135deg);
          width: 30%;
        }
      }
    }
    ul{ 
      display: block;
      position: fixed;
      padding-top: 62px;
      right: 0;
      width: 100%;
      background-color: var(--main-color);
      animation: fade-in 2s;
      animation-fill-mode: forwards;
      @media only screen and (min-width: 640px) {
        width: 50%;
        background-color: transparent;
      }
      @media only screen and (min-width: 840px) {
        width: 30%;
      }
      li{ 
        text-align: center;
        background: var(--main-color);
        border-bottom: solid 1px white;
        &:first-child{ border-top: solid 1px white; }
        a{ 
          display: block;
          padding: 10px 0;
          text-decoration: none;
          color: white;
        }
      }
    }
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

section{
  margin: 0 auto;
  position: relative;
  @media (min-width: 840px) {
    padding: 60px 5%;
  }
  .trans {
    padding: 30px 2%;
    opacity: 0;
    transition: all 1s;
    transform : translate(0, 100px);
    &.done {
      opacity : 1;
      transform : translate(0, 0);
    }
  }
}

#pagetop {
  position: fixed;
  bottom: 50px;
  right: 3%;
  color: white;
  cursor: pointer;
  z-index: 1000;
}

footer{
  padding: 10px;
  text-align: center;
  background: var(--main-color);
  color: white;
}

/* オープニング */
.shutter{
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color:#1e1e1e;
  z-index:9999;
  animation: byeShutter 2.6s forwards;
  
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    background-color: #fff;
    width: 0;
    height: 1px;
    animation: shutterOpen 2.6s forwards;
  }
}
@keyframes byeShutter {
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}
@keyframes shutterOpen {
  0% {
    width: 0;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  90% {
    width: 100%;
    height: 100%;
  }
  100% {
    width: 100%;
    height: 100%;
  }
}
@keyframes contentScale {
  from{
    opacity: 0;
    transform: translatey(20px);
    }
  to{
  opacity: 1;
  transform: translatey(0);
  }
}
