/*
Theme Name: Design Reform
Theme URI: https://www.sejuku.net/
Description: Design Reformのwordpress
Version: 1.0.0
Author: Yu Sanda
Author URI: https://www.sejuku.net/
*/



/* 共通スタイル */
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Source Sans Pro", "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif, "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
}

p {
  font-size: 15px;
}

/* ============
  PC用スタイル
============== */
@media screen and (min-width: 768px) {

body {
  max-width: 1080px;
  min-width: 960px;
  margin: 0 auto 0 auto;
  background-color: #f1f4ff;
}

/* サイドバーの配置 */
.allFlex {
  display: flex;
}

.article-div {
  width: 90%;
  background-color: #ffffff;
}

.first-view-img {
  width: 100%;
}


#menu-sp {
  display: none;
}

#nav-sp {
  display: none;
}



/* サイドバー */
.sideber-div {
  width: 10%;
 
}

#nav-pc {
  width: 100%;
  position: fixed;
}



#nav-pc > ul > li {
  width: 100%;
  list-style: none;
  margin: 10px auto;
}

#nav-pc > ul > li > a {
  white-space: nowrap;
  
}

#nav-pc > ul > li > a:link {
  text-decoration: none;
  color: #0d0d0d;
}

#nav-pc > ul > li > a:visited {
  text-decoration: none;
  color: #0d0d0d;
}

#nav-pc > ul > li > a:active {
  text-decoration: none;
  color: #0d0d0d;
}

#nav-pc > ul > li > a:hover {
  text-decoration: none;
  color: #0d0d0d;
  font-size: 20px;
}



/* ファーストビュー */
#first-view-relative {
  width: 100%;
  height: 700px;
  position: relative;
}

.first-view-img {
  width: 972px;
  position: absolute;
}

.first-view-text {
  position: absolute;
  top: 200px;
  left: 50px;
  color: #ffffff;
  font-size: 70px;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
  text-shadow: 1px 1px 3px #0d0d0d;
  letter-spacing: 10px;
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-style: normal;
}


/* ギャラりー */


.wrap {
  display: flex;
  overflow: hidden;
  height: 255px;
  background-color: #f5f1ff;
}

.slidshow {
  display: flex;
  list-style: none;
  padding: 0;
  margin-top: 25px;
  animation: loop-slide 40s infinite linear 1s both;
  text-align: center;
}

.photo {
  width: 300px;
  height: 250px;
  margin: 0 5px;
  text-align: center;
}

.photo > img {
  width: 100%;
  
}

@keyframes loop-slide {
  form {
    transform: translate(0)
}
 to {
  transform: translate(-100%);
 }
}


/* サービス案内 */
#mainService {
  width: 100%;
}

.section-title {
  text-align: center;
  
}


#service-text {
  margin-right: 25px;
  background-image: url(img/社員」.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-color:rgba(255,255,255,0.6);
  background-blend-mode:lighten;

}

#service-text > p {
  width: 100%;
  height: 410px;
  writing-mode: vertical-rl;
  text-shadow: 1px 1px 10px #ffffff;
}

.service-text-paragraph:hover {
  font-size: 18px;
  background-color: #ffffff;
}

#service-display-sp {
  display: none;
}


/* お知らせ＆ブログ */

#news-blog-flex {
  display: flex;
}

#news-div {
  width: 50%;
  margin-right: 15px;
}

#blog-div {
  width: 50%;
  margin-left: 15px;
}


/* news */
.news-blog-title {
  background-color: #e7ecfe;
}

.news-blog-textArea {
  border-bottom: solid 1px #0d0d0d;
  margin-bottom: 10px;
  background-color: #fffdf6;
  box-shadow: 1px 1px 3px #605f5f;
  border-radius: 5px;
}

.news-blog-date {
  color: #858585;
  margin: 0;
}

.news-blog-subText {
  margin-top: 3px;
  margin-bottom: 13px;
}

.news-blog-title > a {
  text-decoration: none;
  color: #0d0d0d;
}

.news-blog-title > a:link {
  color: #0d0d0d;
}

.news-blog-title > a:active {
  color: #0d0d0d;
}

.news-blog-title > a:hover {
  color: #0d0d0d;
}

.news-blog-title > a:visited {
  color: #0d0d0d;
}


/* 参考事例 */
#example {
  width: 100%;
}

#example-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}


.example-textArea {
  width: 48%;
  margin-bottom: 30px;
}

.example-photo {
  width: 97%;
  margin: 2px 2px 2px 6px;
}

.example-photo:hover {
  width: 110%;
}

.clientName {
  margin: auto 5px;
  color: #4000ff;
}

.example-text {
  margin: auto 5px;
  color: #0d0d0d;
}


/* 会社概要 */
#company-title {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 40px;
}

#company-title > img {
  width: 7%;
  height: 7%;
}

#company-title > h1 {
  margin: 0;
}

#company-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

#company-photo {
  width: 30%;
  margin-right: 10px;
}

#company-photo > img {
  width: 100%;
}

#company-table {
  margin-left: 10px;
  height: 350px;
}

.tableheader {
  width: 125px;
}

iframe {
  width: 100%;
  margin: 20px auto;
  text-align: center;
}


/* お問い合わせ */
#contact {
  background-color: #f4ffff;
}


#wpforms-79-field_1-container {
  margin-left: 30px;
}

#wpforms-79-field_2-container {
  margin-left: 30px;
}

#wpforms-79-field_3-container {
  margin-left: 30px;
  margin-right: 30px;
}

#wpforms-79-field_5-container {
  margin-left: 30px;
}

#wpforms-submit-79 {
  margin-left: 30px;
  
}


/* お知らせ＆ブログ一覧ページ */
.sp-listPage-textArea{
  display: none;
}

.listPage-link {
  text-decoration: none;
  color: #0d0d0d;
  
}

.listPage-link:link {
  text-decoration: none;
}

.listPage-link:active {
  text-decoration: none;
}

.listPage-link:visited {
  text-decoration: none;
}

.listPage-link:hover {
  text-decoration: none;
}

.listPage-flex {
  width: 98%;
  display: flex;
  border-bottom: 1px solid #0d0d0d;
  margin-bottom: 5px;
  margin-left: 5px;
  background-color: #efefef;
  border-radius: 5px;
}

.listPage-photo {
  width: 500px;
  margin-right: 15px;
}

.listPage-photo > img {
  width: 100%;
  border-radius: 5px;
}

.listPage-date {
  margin-top: 0;
}

.listPage-title {
  margin: 0;
}

.listPage-text {
  margin: 3px 10px 0 1px;
}





/* お知らせページ */
#news-detail-flex {
  display: flex;
}

#news-gallery {
  width: 50%;
  margin-left: 10px;
}

#news-gallery > a >img{
  width: 100%;
}

#news-gallery-sp {
  display: none;
}



#news-detail-text {
  width: 50%;
  margin-left: 100px;
  margin-right: 20px;
}

#news-detail-text > p {
  font-size: 20px;
}

}



/* ============
スマホ用スタイル
=============== */
@media screen and (max-width: 767px) {
  
  body {
    min-width: 375px;
    margin: 0;
  }

  .sideber-div {
    display: none;
  }

  #menu-sp {
    float: right;
    padding: 0;
  }

  #nav-sp {
    background-color: #000000;
    position: absolute;
    right: 0;
    top: 0;
    height: 30%;
    width: 80%;
    display: none;
    z-index: 100;
    border-radius: 15px 0 15px 15px;
  }

  #menu-sp {
    width: 50px;
  }

  #close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
  }

#nav-sp-div {
  position: absolute;
  top: 50px;
  left: 50px;
}

  .menu {
    display: block;
    color: #ffffff;
    text-decoration: none;
    margin: 0 20px;
    height: 30px;
    font-size: 16px;
    background-image: url(img/矢印ボタン\　右3.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 20px;
    width: 200px;
  }

  #nav-sp > a:link {
    color: #ffffff;
  }

  #nav-sp > a:visited {
    color: #ffffff;
  }

  #nav-sp > a:hover {
    color: #ffffff;
  }

  #nav-sp > a:active {
    color: #ffffff;
  }

  

#logo {
  height: 40px;
}



/* ファーストビュー */
#first-view-relative {
  width: 100%;
  position: relative;
}

.first-view-img {
  width: 100%;

}

.first-view-text {
  position: absolute;
  top: 100px;
  left: 3px;
  color: #ffffff;
  font-size: 40px;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
  text-shadow: 1px 1px 3px #0d0d0d;
  /* letter-spacing: 10px; */
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-style: normal;
}



/* ギャラリー */
.wrap {
  display: flex;
  overflow: hidden;
  height: 255px;
}

.slidshow {
  display: flex;
  list-style: none;
  padding: 0;
  margin-top: 25px;
  animation: loop-slide 40s infinite linear 1s both;
  text-align: center;
}

.photo {
  width: 300px;
  height: 250px;
  margin: 0 5px;
  text-align: center;
}

.photo > img {
  width: 100%;
}

@keyframes loop-slide {
  form {
    transform: translate(0)
}
 to {
  transform: translate(-100%);
 }
}



/* サービス案内 */
#service-text {
  margin: auto 10px;
  height: 110px;
}

#service-display-sp {
  background-color: #ffffff;
  }

#service-photo {
  width: 100%;
}

#service-display-sp > a {
  text-decoration: none;
}

#service-button {
  display: block;
  width: 100%;
}

.hide {
  display: none;
}


/* news&blog */
.news-blog-title {
  background-color: #e7ecfe;
  margin: auto 5px;
  height: 300px;
}

.news-blog-textArea {
  border-bottom: solid 1px #0d0d0d;
  margin-bottom: 10px;
  background-color: #fffdf6;
  box-shadow: 1px 1px 3px #605f5f;
  border-radius: 5px;
}

.news-blog-date {
  color: #858585;
  margin-top: 2px 5px auto 5px;
  
}

.news-blog-subText {
  margin: 3px 5px 13px 5px;
  
}

.news-blog-title > a {
  text-decoration: none;
  color: #0d0d0d;
}

.news-blog-title > a:link {
  color: #0d0d0d;
}

.news-blog-title > a:active {
  color: #0d0d0d;
}

.news-blog-title > a:hover {
  color: #0d0d0d;
}

.news-blog-title > a:visited {
  color: #0d0d0d;
}


/* 参考事例 */
.example-textArea {
  width: 98%;
  margin-bottom: 30px;
  box-shadow: 1px 1px 3px #0d0d0d;
  background-color: #efefef;
}

.example-photo {
  width: 95%;
  margin: 10px auto 2px 10px;
}

.clientName {
  margin: auto 5px;
  color: #4000ff;
}

.example-text {
  margin: auto 10px;
  color: #0d0d0d;
}

/* 会社概要 */
#company {
  height: 1350px;
}


#company-title {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 40px;
}

#company-title > img {
  width: 15%;
  height: 15%;
}

#company-title > h1 {
  margin: 0;
}

#company-photo {
  display: flex;
}

#company-photo > img {
  width: 48%;
  margin: auto 3px;
}

#company-table {
  margin-left: 10px;
  height: 350px;
}

.tableheader {
  width: 125px;
}

iframe {
  width: 97%;
  height: 300px;
  margin: 20px 5px 30px 5px;
  text-align: center;
}



/* お知らせ＆ブログ一覧ページ */
.pc-listPage-textArea{
  display: none;
}

.listPage-link {
  text-decoration: none;
  color: #0d0d0d;
}

.listPage-flex {
  width: 97%;
  display: flex;
  border-bottom: 1px solid #0d0d0d;
  margin-bottom: 5px;
  margin-left: 5px;
  margin-right: 5px;
  background-color: #efefef;
  border-radius: 3px;
}

.listPage-photo {
  width: 150px;
  margin-right: 15px;
}

.listPage-photo > img {
  width: 100%;
  border-radius: 3px;
}

.listPage-date {
  margin-top: 0;
  margin-bottom: 0;
}

.listPage-title {
  margin: 0;
  font-size: 13px;
}

.listPage-text {
  margin: 3px 10px 0 1px;
}




/* お知らせページ */
#news-detail{
  height: 1650px;
}

#news-gallery {
  width: 100%;
}

#news-gallery > a {
  display: none;
}

#news-gallery-sp {
  width: 98%;
  margin-left: 2px;
}

#news-detail-text {
  width: 95%;
  margin-left: 7px;
}


.news-detail-title{
  font-size: 20px;
}




}