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;
}
/*--------------------------------
 レイアウト
---------------------------------*/
.section {
  padding: 80px 0;
}

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

/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-size: 34px;
  font-weight: normal;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  letter-spacing: .05em;
  color: #333;
}

.lead {
  margin-bottom: 30px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 3;
  width: 86%;
  box-shadow: 1px -7px 49px -3px #777777;
  border-radius: 30px;
  background-color: #fff;
  margin-top: 10px; 
  right: 7%;
  left: 7%;
}

.header-inner {
  justify-content: space-between;
  display: flex;
  align-items: center;
  padding: 20px 30px;
}

.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 {
  font-size: 13px;
  font-weight: bold;
  padding: 5px 0;
  letter-spacing: .05em;
  color: #333;
}

.header-nav-item a:hover {
  opacity: .8;
}

/*--------------------------------
 スプリットスクリーン
---------------------------------*/
.split {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.split-body {
  width: 50%;
  padding-right: 3%;
  padding-left: 10%;
}

.split-img {
  width: 50%;
  height: 95vh;
  border-radius: 0.5%;
  background-image: url(../img/mv.jpg); 
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.split-title1 {
  font-size: 40px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: .05em;
}

.split-title2 {
  font-size: 50px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: .05em;
}
/*--------------------------------
 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;
}

/*--------------------------------
 links
---------------------------------*/
.links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -50px;
}

.links-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 48%;
  margin-bottom: 50px;
  display: block;
  box-shadow: 0px 9px 28px -5px;
  border-radius: 23px;
  padding: 20px;
}

.links-img {
  width: 60px;
  height: auto;
  margin-right: 20px;
}

.links-body {
  flex: 1;
  color: black;
}

.links-name {
  margin-bottom: 3px; 
}

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

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

/*--------------------------------
 device
---------------------------------*/
.device-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -50px;
}
.device-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 30%;
  height: auto;
  margin-bottom: 50px;
  border: 4px solid #bebebe;
  box-shadow: 4px 4px;
  border-radius: 20px;
  padding: 20px;
}
.device-body {
  flex: 1;
  color: black;
}

.device-name {
  margin-bottom: 3px; 
}
.device-img {
  width: 60px;
  height: auto;
  margin-right: 20px;
}

/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #f3f3f3;
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
}

/*--------------------------------
 フッター
---------------------------------*/
.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: 20px;
  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: 26px;
    margin-bottom: 20px;
  }

  /* レイアウト */
  .section {
    padding: 60px 0;
  }

  .inner {
    padding: 0 20px;
  }

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

  .header-logo {
    font-size: 16px;
  }

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

  .header-nav-item a {
    font-size: 11px;
  }

  /* スプリットスクリーン */
  .split {
    flex-direction: column-reverse;
  }

  .split-body {
    width: 100%;
    padding-right: 3%;
    padding-left: 8%;
  }

  .split-img {
    width: 100%;
    height: 67vh;
    margin-bottom: 20px;
    background-image: url(../img/sp_mv.jpg);
  }

  .split-title {
    font-size: 32px;
  }

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

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

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

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

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

  .links-item:last-child {
    margin-bottom: 0;
  }
  
  /* device */
  .device-list {
    display: block;
    margin-bottom: 0;
  }
  .device-item {
    width: 100%;
    margin-bottom: 35px;
  }
  .device-item:last-child {
    margin-bottom: 0;
  }

  /* フッター */
  .footer {
    padding: 20px;
  }
}
  /* Dark-theme */
@media (prefers-color-scheme: dark) {
  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: rgb(255, 255, 255);
    background-color: rgb(66, 66, 66);
  }
  
  a {
    transition: opacity .3s;
    text-decoration: none;
    color: #ffffff;
  }
  
  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;
  }
  /*--------------------------------
   レイアウト
  ---------------------------------*/
  .section {
    padding: 80px 0;
  }
  
  .inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 40px;
  }
  
  /*--------------------------------
   見出し
  ---------------------------------*/
  .title {
    font-size: 34px;
    font-weight: normal;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 40px;
    letter-spacing: .05em;
    color: rgb(255, 255, 255);
    text-shadow: 4px 3px 5px rgba(255, 255, 255, 0.8);
  }
  
  .lead {
    margin-bottom: 30px;
  }
  
  /*--------------------------------
  ヘッダー
  ---------------------------------*/
  .header {
    position: fixed;
    top: 0;
    z-index: 3;
    width: 86%;
    box-shadow: 1px -7px 49px -3px #777777;
    border-radius: 30px;
    background-color: black;
    margin-top: 10px; 
    right: 7%;
    left: 7%;
  }
  
  .header-inner {
    justify-content: space-between;
    display: flex;
    align-items: center;
    padding: 20px 30px;
  }
  
  .header-logo {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    margin-right: 20px;
    letter-spacing: .05em;
  }
  
  .header-logo a {
    color: rgb(255, 255, 255);
  }
  
  .header-nav-list {
    display: flex;
    justify-content: space-between;
  }
  
  .header-nav-item:not(:last-child) {
    margin-right: 20px;
  }
  
  .header-nav-item a {
    font-size: 13px;
    font-weight: bold;
    padding: 5px 0;
    letter-spacing: .05em;
    color: rgb(255, 255, 255);
  }
  
  .header-nav-item a:hover {
    opacity: .8;
  }
  
  /*--------------------------------
   スプリットスクリーン
  ---------------------------------*/
  .split {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .split-body {
    width: 50%;
    padding-right: 3%;
    padding-left: 10%;
  }
  
  .split-img {
    width: 50%;
    height: 95vh;
    background-image: url(../img/mv.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }
  
  .split-title1 {
    font-size: 40px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: .05em;
  }
  
  .split-title2 {
    font-size: 50px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: .05em;
  }
  /*--------------------------------
   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;
  }
  
  /*--------------------------------
   links
  ---------------------------------*/
  .links-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: -50px;
  }
  
  .links-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 48%;
    margin-bottom: 50px;
    display: block;
    box-shadow: 2px -1px 15px 1px #ffffff;
    border-radius: 23px;
    padding: 20px;
  }
  
  .links-img {
    width: 60px;
    height: auto;
    margin-right: 20px;
  }
  
  .links-body {
    flex: 1;
    color: rgb(255, 249, 249);
  }
  
  .links-name {
    margin-bottom: 3px; 
  }
  
  /*--------------------------------
   Contact
  ---------------------------------*/
  .contact-item:not(:last-child) {
    margin-right: 10px;
  }
  
  .contact-text {
    margin-top: 10px;
  }
  
  /*--------------------------------
   device
  ---------------------------------*/
  .device-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: -50px;
  }
  .device-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 30%;
    height: auto;
    margin-bottom: 50px;
    border: 4px solid #bebebe;
    box-shadow: 4px 4px;
    border-radius: 20px;
    padding: 20px;
  }
  .device-body {
    flex: 1;
    color: rgb(255, 255, 255);
  }
  
  .device-name {
    margin-bottom: 3px; 
  }
  .device-img {
    width: 60px;
    height: auto;
    margin-right: 20px;
  }
  
  /*--------------------------------
   ページトップ
  ---------------------------------*/
  .page-top {
    font-weight: bold;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    background-color: #000000;
  }
  
  .page-top .material-icons-outlined {
    vertical-align: bottom;
  }
  
  /*--------------------------------
   フッター
  ---------------------------------*/
  .footer {
    padding: 30px;
    background-color: rgb(173, 173, 173);
  }
  
  .copyright {
    font-size: 10px;
    text-align: center;
    color: #d1d0d0;
  }
  /*--------------------------------
   下層：Worksページ
  ---------------------------------*/
  .article {
    padding: 80px 0;
  }
  
  .article-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .article-title {
    margin-bottom: 20px;
    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: 26px;
    margin-bottom: 20px;
  }

  /* レイアウト */
  .section {
    padding: 60px 0;
  }

  .inner {
    padding: 0 20px;
  }

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

  .header-logo {
    font-size: 16px;
  }

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

  .header-nav-item a {
    font-size: 11px;
  }

  /* スプリットスクリーン */
  .split {
    flex-direction: column-reverse;
  }

  .split-body {
    width: 100%;
    padding-right: 3%;
    padding-left: 8%;
  }

  .split-img {
    width: 100%;
    height: 67vh;
    margin-bottom: 20px;
    background-image: url(../img/sp_mv.jpg);
  }

  .split-title {
    font-size: 32px;
  }

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

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

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

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

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

  .links-item:last-child {
    margin-bottom: 0;
  }
  
  /* device */
  .device-list {
    display: block;
    margin-bottom: 0;
  }
  .device-item {
    width: 100%;
    margin-bottom: 35px;
  }
  .device-item:last-child {
    margin-bottom: 0;
  }

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