@charset "UTF-8";
/*
Theme Name:portfolio
Description:portfolio用のテンプレート
*/


html {
  font-size: 100%;
}

body {
  color: #333333;
  background-color: #f7f7f7;
  font-family: '游ゴシック Medium', sans-serif;
  border-top: solid 10px #9AC954;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #333333;
}

img {
  max-width: 100%;
}

li {
  list-style: none;
}
ul li a {
  font-size: 18px;
  letter-spacing: 0.1rem;
}
h1 {
  letter-spacing: 0.15rem;
}
.wrapper {
  max-width: 1020px;
  margin: 0 auto 130px auto;
  font-size: 0.9rem;
  padding: 0 4%;
}

.site-title {
  line-height: 1px;
  margin-bottom: 10px;
  display: block;
  font-family: 'Montserrat', sans-serif;
}
.site-title a {
  color: #9AC954;
}

.sec-title {
  width: 150px;
  margin-left: auto;
  margin-right: auto;
  font-size: 2rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 80px;
  color: #9AC954;
  font-family: 'Montserrat', sans-serif;
}

h3 {
  border-bottom: solid 3px #9AC954;
  margin-bottom: 10px;
  padding-bottom: 8px;
  color: #333333;
}

section {
  margin-bottom: 150px;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/


#header ul {
  display: flex;
  padding: 10px 0;
}
#header li {
  font-size: 0.9rem;
  margin-left: 30px;
}
#header li a {
  color: #24292e;
}
#header li a:hover {
  opacity: 0.7;
}
#header li img.icon {
  width: 20px;
}
#header {
  width: 100%;
  height: auto;
}

.frontheader{
  height: 70px;
  max-width:960px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
    margin: 0 auto;
  text-align: center;
  padding: 10px;
  }
  
  /*.doneクラスがついたヘッダー*/
  #header.dnone {
  opacity: 0;/*透過0にして非表示に*/
  }
  
  /*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたら*/
  #header.dnone.panelactive {
  opacity: 1;/*不透明にして出現*/
  }
  
  
  /*==ヘッダーのテキストナビゲーションの形状*/
  #g-navi ul{
  list-style: none;
  display: flex;
  justify-content: center;
  }
  #g-navi ul li .contact-btn{
    color: #fff!important;
  }
  #g-navi ul li a{
  display: block;
  text-decoration: none;
  color: #24292e;
  padding:10px;
  }
  
  #g-navi ul li.current a,
  #g-navi ul li a:hover{
  color:#fff; 
  }
  
  /*.doneクラスがついたヘッダーのテキストナビゲーションの形状*/
  #header.dnone #g-navi{
    /*固定位置にして最背面に*/
    position:fixed;
  top: 0;
    left: 0;
  z-index: -1;
    /*高さと幅*/  
  width:100%;
  height: 100vh;
    /*天地中央＆テキスト中央揃え*/  
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
    /*はじめは透過0に*/  
    opacity: 0;
  transition: all 0.4s;
  }
  
  /*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたナビゲーションの形状*/
  #header.dnone.panelactive #g-navi{
  opacity: 1;/*不透明に*/
  z-index:3;/*最前面に*/
  background:#eee;
  }
  
  #header.dnone.panelactive #g-navi ul{
  display:block;/*flexの横並びをblockにして縦並びに*/
  }
  #header.dnone.panelactive #g-navi .no {
    display: block;
  }
  .no {
    display: none;
  }
  /*リストの形状*/
  
  #header.dnone.panelactive #g-navi li a{
  color: #333;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  transition:all 0.3s;
  text-align: center;
  }
  
  section{
    position: relative;
    z-index: 1;
  }
  

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
.mainvisual {
  margin: 0 auto 100px auto;
}
.mainvisual img {
  width: 100%;
  max-width: 1920px;
  height: auto;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}
/*-------------------------------------------
tab
-------------------------------------------*/
/*tabの形状*/
.tab{
  display: flex;
  flex-wrap: wrap;
}
.tab li a{
  display: block;
  background:#9AC954;
  color: #fff;
  margin:0 2px;
  padding:10px 20px;
}

.tab1-box {
  display: flex;
  justify-content: left;
  height: auto;
  width: 100%;
  
}
.tab1-text {
  width: 70%;
  z-index: 10;

}
.tab1-img {
  width: 30%;
 
}
/*liにactiveクラスがついた時の形状*/
.tab li.active a{
  background:#fff;
  color: #9AC954;
}


/*エリアの表示非表示と形状*/
.area {
  display: none;/*はじめは非表示*/
  opacity: 0;/*透過0*/
  background: #fff;
  padding:50px 20px;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.timetable {
  /*
  padding-left: 20px;
  border-left: 6px solid #9AC954;
  */
  padding-top: 20px;
  border-top: 3px solid #9AC954;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 30px;
}

.timetable li{
  width: 100%;
  height: auto;
  background-color: #eeeeee;
text-align: center;


}

.timetable li p {
  padding: 10px 20px 20px 20px;
  width: 100%;
  height: auto;
}
.timetable li span {
  
  display: inline-block;

  vertical-align: top;
  position: relative;
  top: -50px;
  box-sizing: border-box;
  text-align: center;
  width: 100%;
}
.timetable li span::after {
  content: "";
  position: absolute;
  left: 45%;
  bottom: -18px;
  background: #9AC954;
  width: 20px;
  height: 20px;
  border-radius: 10px;
}

.taime-text-setumei {
  text-align: justify;
  display: block;
  margin-top: -20px;
}
h4 {
  font-size: 20px;
  color: #9AC954;
}
.study {
  margin-top: 50px;
}

.table2 p {
  text-align: left;
}


#worak {
  background-color: #fdfdfd;
  height: auto;
  padding: 50px 0;
}
/*画像の横幅を100%にしてレスポンシブ化*/
 .web {
  width:60%;
  max-width:900px;
  margin:0 auto;
 }

 .web h3 {
  margin-bottom: 40px;
 }
 .webh {
  margin-top: 100px;
  margin-bottom: -50px;
 }
.gallery li img{
  width: 100%;
  height: auto;
  vertical-align: top;/*画像の下にできる余白を削除*/
}
.gallery li {
  width: 100%;
  height: auto;
}

.gallery li p{
  padding: 20px 0;
}
.gallery li p a {
  font-size: 14.4px;
  border-bottom: 2.5px solid #9ac9549c;
  font-weight: bold;
}
.gallery li p a:hover {
  opacity: 0.6;
}
/*メイン画像下に余白をつける*/
.gallery{
  margin:0 0 5px 0;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
  z-index: 3;
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #ccc;/*矢印の色*/
    border-right: 2px solid #ccc;/*矢印の色*/
    height: 25px;
    width: 25px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left:2.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right:2.5%;
    transform: rotate(45deg);
}

/*選択するサムネイル画像の設定*/

.choice-btn li{
  cursor: pointer;
  outline: none;
  background:#333;
  height: auto;
}

.choice-btn li img{
  opacity: 0.4;/*選択されていないものは透過40%*/
}

.choice-btn li.slick-current img{
  opacity: 1;/*選択されているものは透過しない*/
}


.pgallery li img{

  margin: 0 auto;
}
.paimg{
  width: 60%;
  height: auto;
  margin: 0 auto;
}
.paimg img{
  width: 60%;
  height: auto;
}
.pgallery li p{
  padding: 20px 0;
}
.pppimg {
  width: 80%;
  margin: 0 auto;
 padding-top: 15%;
}
.ppp {
  width: 90%;
}

/*メイン画像下に余白をつける*/
.pgallery{
  margin:0 0 5px 0;
}

/*選択するサムネイル画像の設定*/

.pchoice-btn li{
  cursor: pointer;
  outline: none;
  background:#333;

  width: 100%;
  height: 80px;
}

.pchoice-btn li img{
  opacity: 0.4;/*選択されていないものは透過40%*/
}

.pchoice-btn li.slick-current img{
  opacity: 1;/*選択されているものは透過しない*/
}



/*-------------------------------------------
plofile-box
-------------------------------------------*/
.plofile-box {
  display: flex;
  justify-content: space-around;
}

.plofile-box img {
  width: 100%;
}
#ttt ul {
  display: flex;
  justify-content: left;
  align-items: center;
}
.ttt-boxx li {
  width: 100px;
  height: auto;
}
/*-------------------------------------------
Work-box
-------------------------------------------*/
.work-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 50px;
  margin-bottom: 200px;
}

.work-text {
  margin-bottom: 50px;
}


.work-img {
  width:47%;
}

.work-img img {
  box-shadow: 0 2px 7px rgba(83, 78,61,0.3);
}
.work-link {
    margin: 10px auto;
    color: #333333;
    background-color: #fff100;
    border-bottom: 5px solid #ccc100;
    width: 120px;
    height: 36px;
    text-align: center;
    padding: 5px;
    font-size: 1.1em;
    
    border-radius: 100vh;
  }


  .work-link:hover {
    padding-top: 3px;
    color: #333333;
    background: #fff20a;
    border-bottom: 2px solid #ccc100;
    font-size: 1.2em;
}


  /***
.work-link a:hover {
  border-bottom: 1.5px solid #000;
}
**/
.work-box p {
  margin-top: 5px;
}





/*========= 流れるテキスト ===============*/

/*全共通*/

/*全共通*/

.slide-in {
  overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
  display: inline-block;

}

/* 上下のアニメーション*/
.upAnime{
    opacity: 0;/* 事前に透過0 にして消しておく*/
}

.slideAnimeDownUp {
    animation-name:slideTextY100;
    animation-duration:2s;
    animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextY100 {
    from {
        transform: translateY(100%);/* 要素を上の枠外に移動*/
        opacity: 0;
    }
    to {
        transform: translateY(0);/* 要素を元の位置に移動*/
        opacity: 12;
    }
}
.slideAnimeUpDown {
    animation-name:slideTextY-100;
    animation-duration:2s;
    animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextY-100 {
    from {
    transform: translateY(-100%);/* 要素を下の枠外に移動*/
    opacity: 0;
    }
    to {
    transform: translateY(0);/* 要素を元の位置に移動*/
    opacity: 2;
    }
}

.thankyou {
  text-align: center;
  font-size: 1.1rem;
}
.slide-in_inner img {
  width: 150px;
  height: auto;
 display: block;
 margin: 0 auto;
}



/*-------------------------------------------
フッター
-------------------------------------------*/
#footer {
  background-color: #9AC954;
  color: #fff;
  font-size: 0.7rem;
  padding: 10px 20px;
  text-align: center;
  position: relative;
}

.copy-icon {
 
  color: #fff;
}

/*========= ページトップのためのCSS ===============*/

/*リンクの形状*/
#page-top a{
  display: flex;
  justify-content:center;
  align-items:center;
  background:#fff;
  border: 2px solid #9AC954;
  font-size: 0.9rem;

  color: #9AC954;
  white-space: nowrap;
  padding: 5px 4px;
  text-transform: uppercase; 
  text-decoration: none;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  transition:all 0.3s;
}

#page-top a span {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #9AC954;
  margin-bottom: 5px;
}



#page-top a:hover{
  background: #777;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
    /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
  
}

/*　上に上がる動き　*/

#page-top.UpMove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 1;
  transform: translateY(110px);
  }
}
/*-------------------------------------------
404
-------------------------------------------*/
#notpage {
  margin: 0 auto;
  width: 100%;
  background-color: #9ac95413;
  text-align: center;
  height: auto;
  padding: 75px 50px;
}
#notpage h2 {
  width: 100%;
  line-height: 1.2;
}
#notpage h2 span {
  font-size: 50%;

}

#notpage
.notpage-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1020px;
  padding: 80px 20px 30px 20px;
  background-color: #f7f7f7;
  margin-bottom: -50px;
  padding-bottom: 10%;
  margin-top: -30px;
  height: auto;
}

.notpage-box a {
  padding: 8px 40px;
  background-color: #9AC954;
  border-bottom: 2px solid #83ab48;
  display: block;
  color: #fff;
  border-radius: 5px;
  margin-top: 40px;
  letter-spacing: 0.12rem;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
  transition: .3s;
}
.notpage-box a:hover {
  border-bottom-width: 2px;
  box-shadow: 0 0 rgba(0, 0, 0, 0.2);

  transform: translateY(2px);
}


.notpage-box a {
  text-align: left;
}
.anotherheader .site-title ,
.anotherheader nav ul li a  {
  color: #fff!important;
}

.anotherheader {
  background-color: #9AC954;
  color: #fff;
  max-width: 100%;
  margin: 0 auto;
  margin-top: -10px;
}
.another {
  height: 70px;
  max-width:960px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
    margin: 0 auto;
  text-align: center;
  padding: 10px;
}
.another ul {
  padding: 10px 0;
}
.another h1 a {
  color: #fff;
}
/*-------------------------------------------
form
-------------------------------------------*/
.wpcf7 form.invalid .wpcf7-response-output {
  display: none;
}
.wpcf7-not-valid-tip {
  text-align: left;
}
.form dl {
  display: flex;
  flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 20px;
}

.form dl {
  margin-bottom: 30px;
}

input[type=text], input[type=email], input[type=tel], textarea {
  max-width: 280px;
  padding: 6px 10px;
  border: 1px solid #9AC954;
  border-radius: 5px;
  outline: none;
}

.required::before {
  content: "必須";
  display: inline-block;
  padding: 0.2em;
  color: #fff;
  background-color: #9AC954;
  font-size: 90%;
  margin-right: 5px;
}
.btn-wrapper {
  margin-top: -20px;
    text-align: center;
}
.btn-submit {
  padding: 8px 20px;
  background-color: #9AC954;
  border-bottom: 2px solid #83ab48;
  display: block;
  color: #fff;
  border-radius: 5px;
  margin-top: 40px;
  letter-spacing: 0.12rem;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
  transition: .3s;
  text-align: center;
  display: inline-block;
}
.btn-submit:hover {
  border-bottom-width: 2px;
  box-shadow: 0 0 rgba(0, 0, 0, 0.2);
 
  transform: translateY(2px);
}

/*-------------------------------------------
contact-btn
-------------------------------------------*/
.contactbtn-box{
  margin: 50px auto;
  text-align: center;
}
.contact-btn {
  padding: 8px 40px;
    background-color: #9AC954;
    border-bottom: 2px solid #83ab48;
    display: inline-block;
    color: #fff;
    border-radius: 5px;
    margin: 0 auto;
    letter-spacing: 0.12rem;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
    transition: .3s;
   text-align: center;
   position: relative;
}

.contact-btn:hover {
  border-bottom-width: 2px;
  box-shadow: 0 0 rgba(0, 0, 0, 0.2);
  background-color: #8eba4c;
  transform: translateY(2px);
}

/*thumbnail*/
.thumbnail-text {
	margin-bottom:10px;
}
	.thumbnail ul{
		display:flex;
		flex-wrap:wrap;
	}
	.thumbnail ul li {
		width: calc(100% / 2);
		height:auto;
	}
.thumbnail ul li a {
	display:block;
}
.thumbnail ul li a img{
	width: 96%;
	height:auto;
	box-shadow: 5px 5px 6px -6px rgba(0, 0, 0, 0.4);
	transition: 0.4s ease;
}

.thumbnail ul li a img:hover {
	box-shadow: 4px 4px 8px -6px rgba(0, 0, 0, 0);
	filter: brightness(82%); 
}
.thumb2 {
	margin-bottom:100px;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 780px) {
  .no-sp {
    display: none;
  }
  .wrapper {
    margin-bottom: 70px;
  }
  .site-title {
    margin-top: 20px;
  }
  .sec-title {
    margin-bottom: 40px;
  }
  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  #header,
  .another {
    max-width: 100%;
    height: auto;

  }
  h1 a{
    font-size: 80%;
  }
  #header li,
  .another li {
    font-size: 0.8rem;
    margin: 20px 5px;
  }
  #header li:first-child {
    margin-left: 0;
  }
/*tab*/
.tab1-box {
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.tab1-text {
  width: 100%;
  height: auto;
}
.tab1-img {
  width: 80%;
  height: auto;
}
.timetable {
  flex-direction: column;
  gap: 40px;
  border-top: 0;
  border-left: 3px solid #9AC954;
}
.timetable li span {
  top: -20px;
  left: 2.5%;
  text-align: left;
}
.timetable li span::after {
  left: -9.5%;
  bottom: 18px;
  top: 0;
}
.time-text {
  width: 100%;
}
.timetable li {
  padding: 0 10px;
}

.tttimg img{
  width: 75%;
}
.ttt-boxx {
  margin-top: 10px;
}
.ttt-text {
  display: block;
  margin-top: 10px;
}

/*web*/
#worak {
  padding: 25px 0;
  margin-bottom: 100px;
  margin-top: -20px;
}
.web {
  width: 100%;
}
  .plofile-box {
    background: url(../img/me-sp.png)center no-repeat;
  }
  .plofile-box img {
    display: none;
  }
  
  .plofile-text p{
    text-align: center;
  }
/*thankyou*/
.thankyou {
  font-size: 0.9rem;
}
.slide-in_inner img {
  width: 120px;
}
  .work-box {
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }

  .work-img {
    width: 100%;
  }

  iframe {
    display: block;
    margin: 0 auto;
    max-width: 100%;
  }
  .move-text {
    max-width: 62%;
    margin: 5px auto;
  }
 

#notpage {
  width: 100%;
  padding: 80px 10px 30px 10px;
  height: auto;
}

/*contact*/
.form dl {
  flex-direction: column;
  align-items: left;
 
 margin-bottom: 20px;
 text-align: left;
}
input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%;
  display: block;
}
.form dd {
  
  width: 100%;
  height: 100%;
}
label {
width: 100%;
  }
}

  @media screen and (min-width: 600px) {
.nav-sp {
  display: none;
}
  }
  @media screen and (min-width: 781px) {
    .pc-none {
      display: none;
    }
  }


/*========= 途中からハンバーガーメニューに変化するのためのCSS ===============*/

/*========= ボタンのためのCSS ===============*/

/*ボタン全体の形状*/
.openbtn1{
  /*はじめは非表示に*/
display: none;
  /*ボタンの位置*/
position:fixed;
top:10px;
right: 10px;
z-index: 999;
  /*ボタンの形状*/
background:#9AC954;
cursor: pointer;
  width: 50px;
  height:50px;
border-radius: 5px;
}

/*ボタンのアイコン設定*/
.openbtn1 span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
background-color: #fff;
  width: 45%;
}

.openbtn1 span:nth-of-type(1) {
top:15px; 
}

.openbtn1 span:nth-of-type(2) {
top:23px;
}

.openbtn1 span:nth-of-type(3) {
top:31px;
}

/*activeクラスが付与された後のボタンのアイコン設定*/
.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
h1 {
  padding-bottom: 5px;
}
/*fadeDownクラスが付与された後のボタンの出現アニメーション設定*/
.fadeDown {
  animation-name: fadeDownAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
  display: block;
}
@keyframes fadeDownAnime{
from {
  opacity: 0;
transform: translateY(-100px);
}

to {
  opacity: 1;
transform: translateY(0);
}
}

