/*ボタンのリスト*/
.btn{
  list-style: none;
  text-align:center;
  margin: 0 0 20px 0;
  padding: 0;
}
.btn a{
  margin: 5px 0 0 0;
  display: inline-block;
  padding: 5px;
  font-size: 12px;
  border: solid 1px #000;
  border-radius: 3px;
  cursor: pointer;
}
.btn a:hover{
  background-color: #ffd700;
  color: white;
}
.btn a.is_active{
  background-color: #ffd700;
  color: white;
}

.btn2{
  list-style: none;
  text-align:center;
  margin: 0 0 20px 0;
  padding: 0;
}
.btn2 a{
  margin: 5px 0 0 0;
  display: inline-block;
  padding: 5px;
  font-size: 12px;
  border: solid 1px #000;
  border-radius: 3px;
  cursor: pointer;
}
.btn2 a:hover{
  background-color: #ffd700;
  color: white;
}
.btn2 a.is_active{
  background-color: #ffd700;
  color: white;
}

/*コンテンツのリスト*/

.list{
  display: flex;
  flex-wrap: wrap;
}
 


.list li{
  
  width: 32.6%;
  margin-bottom: 40px;
  justify-content: space-between;
  list-style:none;
  animation: test .4s;
}
 
.list li:nth-child(even){
 margin-right: 0;
}

.list2{
  display: flex;
  flex-wrap: wrap;
}
 


.list2 li{
  
  width: 32.6%;
  margin-bottom: 40px;
  justify-content: space-between;
  list-style:none;
  animation: test .4s;
}
 
.list2 li:nth-child(even){
 margin-right: 0;
}





body {
  font-family: "Montserrat","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .8px;
  color: #333;
}

a {
  transition: opacity .3s;
  text-decoration: none;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}

ul,
li {
  list-style: none;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}


/*--------------------------------
 レイアウト
---------------------------------*/
.wrapper {
  padding-top: 73px;
}

.section {
  padding: 90px 0;
}

.section2 {
  padding: 90px 0;
}

.section:nth-of-type(odd) {
  background-color: #f7f7f7;
}

.inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}



/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: .05em;
  color: #333;
}

.highlight {
    background: linear-gradient(transparent 60%, #ffd700 0%);
    line-height: 1.3em;
}

.sub-title{
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  margin-top: 60px;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: .05em;
  color: #333;

}

.lead {
  margin-bottom: 30px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #ffd700;
  box-shadow: 0 5px 10px -6px rgba(0,0,0,.1);
  
}

.header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;

}

.header-logo {
width: 40px;
}

.header-logo:hover {
  opacity: 0.5;
}

.header-nav-list {
  display: flex;
  justify-content: space-between;
}

.header-nav-item:not(:last-child) {
  margin-right: 20px;
}

.header-nav-item a {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  position: relative;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
}
.header-nav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #333;
}

.header-nav-item a:hover:after {
  width: 100%;
}

.icon{
  width: 30px;
}



/*--------------------------------
 メインビジュアル
---------------------------------*/
.main-visual {
  background-image: url(../img/background_top.jpg);
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: center;
  height: 85vh;
  text-align: center;
}

.main-visual-inner {
  padding: 130px 130px 130px 130px;
  background-color: #fff;
}

.main-visual-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 60px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 5px;
  letter-spacing: .1em;  
}



.main-section{
  display: flex;
  justify-content: center;
  align-items: center;
  
}
.main-section span {
  display: inline-block;
  font-size: 60px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  width: 9ch;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 400;
  border-right: 2px solid transparent;
  animation: typing 2s steps(3), caret 0.8s steps(1) infinite;
}
@keyframes typing {
  from {
    width: 0;
  }
}
@keyframes caret {
  50% {
    border-right-color: currentColor;
  }
}





.main-visual-subtitle {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  letter-spacing: .08em;
}
.atama{
  font-weight: bold;
  margin-top: 40px;
  padding: 10px 0 10px 0;
  background: #ffd700;
  border-radius: 15px;
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .5);
  
}
.atama a:hover { 
  opacity: 0.5;
}
 
/*--------------------------------
 Works
---------------------------------*/
.works-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.works-item {
  width: 33.3333%;
  
  margin-bottom: 40px;
  color: #333;
}

.works-item:hover {
  opacity: 0.6;
}

.works-item:nth-of-type(3n) {
  margin-right: 0;
}

.works-img img {
  border: 1px solid #e6e6e6;
  border-radius: 10px;
}

.works-name {
  font-size: 12px;
  font-weight: bold;
  margin: 8px;

}

.works-info {
  font-size: 10px;
}

/*--------------------------------
 About
---------------------------------*/
.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.profile-img {
  width: 20%;
  margin-right: 30px;
}
.profile-img img {
  border-radius: 50%;
}
.profile-body {
  flex: 1;
}
.profile-body p:not(:last-child) {
  margin-bottom: 30px;
}

/*--------------------------------
 Contact
---------------------------------*/
.contact {
  text-align: center;
}

.contact-item {
 text-decoration:underline;
}
.contact-item :hover{
  opacity: 0.5;
 }

.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-text {
  margin-top: 10px;
}

.sns img{
  margin-top: -20px;
  padding: 10px;
  width: 60px;
  display: inline-block;
}

#global-nav .sns img{
  margin-top: 8px;
  padding: 8px;
  width: 60px;
  display: inline-block;
}


/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: #333;
  width: 100%;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #797979;
}

/*--------------------------------
 下層：Worksページ
---------------------------------*/


.article-inner {
margin-top: 40px;
  padding: 40px 20px 0px 20px;
}

.article-title {
  padding-top: 60px;
  font-weight: bold;
}

.article-title :hover{
opacity: 0.5;
}

.article-img {
  text-align : center;
}

.article-img img {
 padding: 10px 0px ;
}

.description{
  margin-top: 20px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.article-info-title {
  font-size: 15px;
}

.article-body img {
  margin-bottom: 5px;
}

.article-body p {
  margin-bottom: 15px;
}

.prev {
  display: flex;
  justify-content: space-between;
}

/*--------------------------------
 下層：atamaページ
---------------------------------*/
.subtitle-atama{
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  color: #333;
}

@media (max-width: 1000px) {
  .list li{
    width: 49.5%;
    margin-bottom: 40px;
    justify-content: space-between;
    list-style:none;
    animation: test .8s;
  }
  .list2 li{
    width: 49.5%;
    margin-bottom: 40px;
    justify-content: space-between;
    list-style:none;
    animation: test .8s;
  }
  .works-item {
    width: 50%;
  }
  
}


/*media Queries 767
----------------------------------------------------*/
@media screen and (min-width: 767px) {
  .article-img img{
    width: 600px;
    padding-left: 20px;
  }
}

@media screen and (max-width: 767px) {
  .list li{
    width: 100%;
    margin-bottom: 40px;
    justify-content: space-between;
    list-style:none;
    animation: test .8s;
  }
  .list2 li{
    width: 100%;
    margin-bottom: 40px;
    justify-content: space-between;
    list-style:none;
    animation: test .8s;
  }

  body {
    font-size: 15px;
    line-height: 1.7;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* 見出し */
  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  /* レイアウト */
  .wrapper {
    padding-top: 57px;

  }

  .section {
    padding: 60px 0;
  }

  .inner {
    padding: 0 20px;
  }

  /* ヘッダー */
  .header .inner {
    padding: 15px;
  }

  .header-logo {
    width: 33px;
    margin-right: 15px;
  }

  .header-nav-item:not(:last-child) {
    margin-right: 10px;
  }

  .header-nav-item a {
    font-size: 10px;
  }

  .header-nav-item a:after {
    display: none;
  }

  .icon{
    width: 20px;
  }

  

  /*  メインビジュアル */
  .main-section span {
    font-size: 40px;
  }
  .main-visual {
    height: 75vh;
  }

  .main-visual-inner {
    padding: 50px 50px 50px 50px;
  }

  .main-visual-title {
    font-size: 40px;
  }
  .main-visual-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .atama{
    margin-top: 0px;
  }


  /* あたまの中 */
  iframe[src$=".pdf"]{
    width:100%;
    height:80vh;
}

  /* Works */
  .works-name {
    font-size: 10px;
    
  }

  .works-list {
     flex-wrap: wrap;
    justify-content: space-between;
  }

  .works-item {
    width: 100%;
    margin-bottom: 30px;
  }

  .works-name {
    font-size: 13px;
  }
  
  .works-info {
    font-size: 11px;
  }


  /* About */
  .profile {
    display: block;
  }
  .profile-img {
    width: 150px;
    margin: 0 auto;
    margin-bottom: 25px;
  }

  .profile-body p:not(:last-child) {
    margin-bottom: 20px;
  }

  /* footer */
  .footer {
    padding: 20px;
    width: 100%;
  }
}

