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: #1ca9e3;
}

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;
}

h2::first-letter{
  color:#C33;
}

h4{
  margin:40px 0 0 0;
}

/*--------------------------------
 レイアウト
---------------------------------*/
.wrapper {
  padding-top: 73px;
}

.section {
  padding: 90px 0;
}

.section:nth-of-type(odd) {
  background-color: #f7f7f7;
  background-image: repeating-linear-gradient(-45deg,#f5f5f5, #f5f5f5 2px,transparent 0, transparent 10px);
  background-repeat: repeat;
}

.inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  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%;
  color: #FFF;
  background-color: #CCC;
  box-shadow: 0 5px 10px -6px rgba(0,0,0,.1);

  background-color: #CCC;
  background-image: repeating-linear-gradient(-45deg,#CECECE, #CECECE 7px,transparent 0, transparent 14px);
  background-repeat: repeat;
}
/*---*/
.header img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}
/*---*/
.header .inner {
  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;
}

.header-nav-list {
  display: flex;
  justify-content: space-between;
}

.header-nav-item:not(:last-child) {
  margin-right: 20px;
}

.header-nav-item a {
  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%;
}

/*--------------------------------
 メインビジュアル
---------------------------------*/
.main-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 85vh;
  text-align: center;
  background-image: url("../img/mainvisual.png");
  background-size: 400px 400px;
  background-position: 50%;
}

.main-visual-inner {
  padding: 0 40px;
}

.main-visual-title {
  font-size: 96px;
  font-weight: bold;
  line-height: 1.2;
  -webkit-text-stroke: 3px #FFFFFF;
  text-stroke: 3px #FFFFFF;
  letter-spacing: .1em;
  margin-top: 420px;
  font-family: "Segoe UI Black","Montserrat","游ゴシック","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  color:#CC3333;
}
.main-visual-subtitle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 0.2em;
  font-family: "メイリオ",Arial;
  color:#FFFFFF;
  -webkit-text-stroke: 1px #CC3333;
  text-stroke: 1px #CC3333;
}
.main-visual-text {
  -webkit-text-stroke: 0.3px #FFF;
  text-stroke: 0.3px #FFF;
}

/*--------------------------------
 Works
---------------------------------*/
.works-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -40px;
}

.works-item {
  width: 31.74603%;
  margin-right: 1.58730%;
  margin-bottom: 40px;
  color: #333;
}

.works-item:hover {
  opacity: .9;
}

.works-item:nth-of-type(3n) {
  margin-right: 0;
}

.works-img img {
  border: 1px solid #e6e6e6;
}

.works-name {
  font-size: 12px;
  font-weight: bold;
  margin-top: 8px;
}

.works-info {
  font-size: 10px;
}
#works h3{
  margin:4rem 0.3rem 1rem 0.3rem;
  padding: 0 0.6rem;
  -webkit-transform: skew(-15deg);
  transform: skew(-15deg);
  line-height: 1.4;
  border-left:9px solid #444;
}

/*--------------------------------
 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:not(:last-child) {
  margin-bottom: 30px;
}

/*--------------------------------
 Contact
---------------------------------*/
.contact {
  text-align: center;
}

.contact-item {
  padding-left: 20px;
  background-image: url(../img/Icon-Mail.png);
}

.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-text {
  margin-top: 10px;
}


/*--------------------------------
 お問い合わせテーブル
---------------------------------*/
.contact-table{
  font-size:16px;
  max-width: 800px;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  margin: 0 auto 14px auto;
  width: 60%;
}

.contact-table th{
  text-align: center;
  padding: 7px 24px;
  border:solid 1px #FFF;
  width:30%;
}

.contact-table tr:nth-child(1) th{
  background-color:#CCC;
}

.contact-table tr:nth-child(2) th{
  background-color:#EEE;
}

.contact-table tr:nth-child(3) th{
  background-color:#f5b932;
  color: white;
}

.contact-table  td{
  text-align: center;
  padding: 7px 0;
  border-bottom:solid 1px #DDD;
  background-color:#FFF;
}

/*--------------------------------
 SNSLink
---------------------------------*/
.link-body {
  display: flex;
  flex-wrap: wrap;
  max-width: 600px;
  margin: -40px auto;
  text-align: center;
}

.link-body ul {
  margin: 0 auto;
}

.link-body ul li {
  display: inline;
}

.link-item {
  display: block;
  width: 120px;
  height:120px; 
}
.link-item:not(:last-child){
  margin-right:60px;
}

.link-item:hover {
  opacity: .9;
}

.link-item:nth-of-type(3n) {
  margin-right: 0;
}

.link-body img {
  width: 50px;
  height: 50px;
}

/*--------------------------------
 ページトップ
---------------------------------*/
.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;
  border:solid 2px #EEE;
  border-radius:50%;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: #333;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #797979;
}

/*--------------------------------
 下層：Worksページ（未使用）
---------------------------------*/
.article {
  padding: 80px 0;
}

.article-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-title {
  margin-bottom: 30px;
  text-align: center;
}

.article-img {
  margin-bottom: 20px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.article-info-title {
  font-size: 15px;
}

.article-body img {
  margin-bottom: 30px;
}

.article-body p {
  margin-bottom: 30px;
}

.home-link {
  text-align: center;
}

/*--------------------------------
 media Queries 767
--------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 13px;
    line-height: 1.7;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* 見出し */
  .title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  /* レイアウト */
  .wrapper {
    padding-top: 57px;
  }

  .section {
    padding: 60px 0;
  }

  .inner {
    padding: 0 20px;
  }

  /* ヘッダー */
  .header .inner {
    padding: 15px;
  }

  .header-logo {
    font-size: 15px;
    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;
  }

  /*  メインビジュアル */
  .main-visual {
    height: 75vh;
    background-size: 300px 300px;
  }

  .main-visual-inner {
    padding: 0 20px;
  }

  .main-visual-title {
    font-family: "Segoe UI Black","Montserrat","游ゴシック","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
    font-size: 50px;
    -webkit-text-stroke: 0px #FFF;
    text-stroke: 0px #FFF;
  }
  .main-visual-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    -webkit-text-stroke: 0.5px #C33;
    text-stroke: 0.5px #C33;
  }

  /* Works */
  .works-name {
    font-size: 10px;
  }

  .works-list {
    justify-content: space-between;
  }

  .works-item {
    flex: 0 0 48%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  /* Skill */
  .skill-list {
    display: block;
    margin-bottom: 0;
  }

  .skill-item {
    width: 100%;
    margin-bottom: 35px;
  }

  .skill-item:last-child {
    margin-bottom: 0;
  }

  /* About */
  .profile {
    display: block;
  }
  .profile-img {
    width: 150px;
    margin: 0 auto;
    margin-bottom: 25px;
  }

  .profile-body p:not(:last-child) {
    margin-bottom: 20px;
  }

  /* フッター */
  .footer {
    padding: 20px;
  }

  /* 下層ページ */
  .article {
    padding: 50px 0;
  }

  /* お問い合わせテーブル */
  .contact-table{
  width: 100%;
}
  .contact-table th {
  border-bottom: none;
  display: block;
  width: 100%;
  }
  .contact-table td {
  border-bottom: none;
  display: block;
  width: 100%;
  }
}

/*--------------------------------
 スマホ横向き
---------------------------------*/
@media screen and (max-width: 896px) and (orientation: landscape){
  .main-visual {
    height: 82vh;
    background-size: 250px 250px;
  }

  .main-visual-inner {
    padding: 0 20px;
  }

  .main-visual-title {
    font-size: 42px;
    margin-top: 60vh;
    -webkit-text-stroke: 3px #FFF;
    text-stroke: 3px #FFF;
  }
  .main-visual-subtitle {
    font-size: 10px;
    margin-bottom: 0;
    -webkit-text-stroke: 0.5px #C33;
    text-stroke: 0.5px #C33;
  }
  .contact-table{
    width: 100%;
  }
}

/*--------------------------------
 動画サムネ表示
---------------------------------*/
.yt { /* 動画をレスポンシブ表示、無駄な余白出さないようにパディング設定 */
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	display: block;
}

.yt2 { /* 動画をレスポンシブ表示、無駄な余白出さないようにパディング設定 */
	position: relative;
	width: 100%;
	padding-top: 100%;
	display: block;
}

.yt iframe { /* 親要素内100%で動画を表示する */
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	width: 100%;
	height: 100%;
}

.yt_video,.yt_stream { /* 親要素内100%でサムネイル画像を表示する */
	position: absolute;
	width:100%;
	height:100%;
	top:0;
}

.yt_video img,.yt_video img { /* 親要素内100%でサムネイル画像を表示する */
	width:100%;
	height:100%;
	object-fit:cover;
}

.yt_video::before { /* FontAwesomeで再生ボタンを画像上に。あっても無くても可 */
	position: absolute;
	font-family: "Font Awesome 5 Free";
	content: "\f04b";
	font-weight:900;
	color: #FFF;
	font-size: 40px;
	top: 50%;
	left: 50%;
	transform : translate(-50%,-50%);
	opacity: .90;
	transition:.5s;
}

.yt_video:hover::before { /* ホバー時アイコンの色変える */
	color:#CC3333;
	transition:.5s;
}
