body {
  font-family: "Montserrat","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 15px;
  letter-spacing: .05em;
  color: #333;
}

a {
  transition: opacity .3s;
  text-decoration: none;
  color: #1ca9e3;
}

a[href*="subhead"] {
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}

pre {
  overflow: auto;
  background-color:#F7F7F7;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/*--------------------------------
 共通デザイン
---------------------------------*/
.inline-block {
  display: inline-block;
  vertical-align: middle;
}

.border {
  border: 1px solid rgb(67, 160, 160);
}

.mb30 {
  margin-bottom: 30px;
}

.flex {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.flex.i2 img {
  width: calc((100% - (8px * (2 - 1)))* 1 / 2);
}
/*--------------------------------
 レイアウト
---------------------------------*/
.wrapper {
  padding-top: 73px;
}

.section {
  padding: 90px 0;
}

.section:nth-of-type(odd) {
  background-color: #f7f7f7;
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

.center {
  text-align: center;
}

/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: .05em;
  color: #333;
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.remark {
  color: #FF2F63;
  font-size: 0.8em;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 5px 10px -6px rgba(0,0,0,.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.header-logo {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  margin-right: 20px;
  letter-spacing: .05em;
}

.header-logo a {
  color: #333;
}

.gnav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.gnav-item:not(:last-child) {
  margin-right: 20px;
}

.gnav-item a {
  position: relative;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
}
.gnav-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;
}

.gnav-item a:hover:after {
  width: 100%;
}

/*--------------------------------
 メインビジュアル
---------------------------------*/
.mv {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  text-align: center;
}

.mv-container {
  position: relative;
  padding: 0 20px 7px;
  min-width: 700px;
}

.mv-container img {
  /* width: 100%; */
  width: 100%;
  height: auto;
}

.mv-container p {
  position: absolute;
  top: calc((100% - 30px)*0.55);
  left: 0;
  width: 100%;
  padding: 0 40px;
  color:#fff;
  font-size: 35px;
}

#date {
  text-align: right;
}

#top-title {
  font-size: 50px;
  top: calc((100% - 70px)*0.5);
  letter-spacing: .5em;
}

.mv-container .top-title {
  font-size: 20px;
  top: calc((100% - 30px)*0.25);
  letter-spacing: .5em;
}
/*--------------------------------
 Hello
---------------------------------*/
#hello p {
  text-align: center;
}

/*--------------------------------
 Knowledges
---------------------------------*/
.knowledges a {
  position: relative;
  font-size: 17px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
}
.knowledges 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;
}

.knowledges a:hover:after {
  width: 100%;
}

.knowledges ul {
	list-style: none;
}
.knowledges ul li {
  padding: 5px 0 5px 65px;
  line-height: 1.2em;
  background: url(../img/point-right.png) left 20px top 3px no-repeat;
  background-size: 31px auto;
}



/*--------------------------------
 About
---------------------------------*/
.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.profile-img {
  width: 20%;
  margin-right: 30px;
  border-radius: 50%;
}
.profile-img img {
  border-radius: 50%;
}
.profile-body {
  flex: 1;
}

.profile-body p {
  font-size: 15px;
  line-height: 1.8;
}

.profile-body p:not(:last-child) {
  margin-bottom: 30px;
}

/*--------------------------------
 Contact
---------------------------------*/
.contact {
  text-align: center;
}

.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-text {
  margin-top: 10px;
}

#icon-mail {
  width: 50px;
  margin: 12px;
}

.contact a,
.contact button {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  margin: 20px 25px;
  transition: .3s;
}

.contact a::after,
.contact button::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #333;
}
.contact a:hover:after,
.contact button:hover:after {
  width: 100%;
}
/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #4c4c4c;
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
  color: #fff;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: #333;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #797979;
}

/*--------------------------------
 下層：Knowledgesページ
---------------------------------*/
.article {
  padding: 80px 0;
}

.article-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-title {
  margin-bottom: 30px;
  text-align: center;
}

.article-body {
  /* max-width: 720px; */
  margin: 0 auto;
  margin-bottom: 80px;
}

.article-body h3 {
  position: relative;
  font-size: 18px;
  margin-bottom: 15px;
  padding-left: 1em;
}

.article-body img {
  width: 100%;
  height: auto;
}
.article-body img.w4 {
  width: 40%;
}
.article-body img.w6 {
  width: 60%;
}
.article-body img.w8 {
  width: 80%;
}

.article-body h3:not(:first-child) {
  margin-top: 50px;
}

.article-body h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  border-radius: 3px;
  background-color: #333;
}

.article-body p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.home-link {
  text-align: center;
}

.leftBlk {
  display: inline-block;
  margin-right: 15px;
  width: 50%;
  vertical-align: top;
}

.rightBlk {
  display: inline-block;
  width: 45%;
}

.ppt {
  padding: 5px 0 8px 5px;
}

.ppt.border {
  margin: 5px 0 10px 0;
}

.ppt-name {
  -webkit-transform: skewX(-15deg);
    -moz-transform: skewX(-15deg);
    -o-transform: skewX(-15deg);
    transform: skewX(-15deg);
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1, M12=-0.26794919243112214, M21=0, M22=1, SizingMethod='auto expand')";
    font-weight: bold;
    font-size: 16px;
}

.ppt-content {
  font-size: 14px;
  padding-left: 8px;
}

.memo {
  font-size: 0.8em;
  color: #43A0A0;
}
.ppt-sub {
  padding-left: 20px;
}
.ppt-subsub {
  padding-left: 40px;
}
.ppt-subsubsub {
  padding-left: 60px;
}
.ppt-subsubsubsub {
  padding-left: 80px;
}

.reference a {
  position: relative;
  /* font-size: 13px; */
  font-weight: bold;
  display: inline-block;
  padding: 8px 0;
  margin: 0 25px;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
}

.reference 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;
}
.reference a:hover:after {
  width: 100%;
}

/*--------------------------------
 下層：contact 問い合わせページ
---------------------------------*/
.back a {
  position: relative;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  margin: 20px 25px;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
}

.back 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;
}
.back a:hover:after {
  width: 100%;
}

#contact-form table {
  width: 100%;
}

#contact-form table td {
  padding: 10px 10px;
  text-align: left;
}

#contact-form table .label {
  width: 35%;
  text-align: right;
}


#contact-form table input,
#contact-form table textarea {
  width: 75%;
  border: 1px solid #333;
  border-radius: 4px;
  box-shadow: 0 0 1em rgba(88, 241, 241, 0.1);
  padding: 10px;
}
.required {
  color: rgb(67, 160, 160);
  font-size: 0.9em;
}

#contact-form button,
#contactController-form button {
  position: relative;
  font-size: 16px;
  font-weight: bold;
  padding: 5px 0;
  margin: 20px 25px;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
}

#contact-form button:after,
#contactController-form button:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #333;
}
#contact-form button:hover::after,
#contactController-form button:hover::after {
  width: 100%;
}

.error {
  width: 100%;
  text-align: center;
  padding: 7px;
  color: darkslategrey;
}

.hei66 {
  height: 66px;
}


/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* 見出し */
  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* レイアウト */
  .wrapper {
    padding-top: 57px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* ヘッダー */
  .header .container {
    padding: 15px;
  }

  .header-logo {
    font-size: 15px;
    margin-right: 15px;
  }

  .gnav-item:not(:last-child) {
    margin-right: 10px;
  }

  .gnav-item a {
    font-size: 10px;
  }

  .gnav-item a:after {
    display: none;
  }

  /*  メインビジュアル */
  .mv {
    height: 25vh;
  }

  .mv-container {
    padding: 0 20px;
    min-width: 200px;
  }

  .mv-title {
    font-size: 30px;
  }
  .mv-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .mv-text {
    top: 75%;
    font-size: 14px;
    line-height: 1.7;
  }

  .mv-container p {
    top: calc((100% - 30px)*0.55);
    font-size: 16px;
  }
  
  #top-title {
    font-size: 28px;
    top: calc((100% - 44px)*0.5);
    letter-spacing: .5em;
  }
  
  .mv-container .top-title {
    font-size: 16px;
    top: calc((100% - 60px)*0.25);
    letter-spacing: .5em;
  }

  /* Knowledges */
  
  /* Skill */
  .skill-list {
    display: block;
    margin-bottom: 0;
  }

  .skill-item {
    width: 100%;
    margin-bottom: 35px;
  }

  .skill-item:last-child {
    margin-bottom: 0;
  }

  .skill-name {
    margin-bottom: 5px;
  }

  .skill-text {
    font-size: 13px;
    line-height: 1.7;
  }

  /* About */
  .profile {
    display: block;
  }
  .profile-img {
    width: 150px;
    margin: 0 auto;
    margin-bottom: 25px;
  }

  .profile-body p {
    font-size: 14px;
    line-height: 1.7;
  }

  .profile-body p:not(:last-child) {
    margin-bottom: 20px;
  }

  /* フッター */
  .footer {
    padding: 20px;
  }

  /* 下層ページ */
  .article {
    padding: 50px 0;
  }

  .article-body h3 {
    font-size: 16px;
    padding-left: .8em;
  }

  .article-body h3:not(:first-child) {
    margin-top: 30px;
  }

  .article-body p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .article-body img.w4,
  .article-body img.w6,
  .article-body img.w8 {
    width: 100%;
  }

  .leftBlk {
    margin-right: 0;
    width: 100%;
  }
  
  .rightBlk {
    width: 100%;
  }
  
  .ppt {
    padding: 5px 0 8px 5px;
  }
  
  .ppt.border {
    margin: 5px 0 10px 0;
  }
  
  .ppt-name {
      font-size: 13px;
  }
  
  .ppt-content {
    font-size: 12px;
  }
  .ppt-subsub {
    padding-left: 10px;
  }
  .ppt-subsubsub {
    padding-left: 20px;
  }
  img.ppt-subsubsub {
    padding-left: 0;
  }
 
}
