/* PC、スマホ共通スタイル */

body {
  font-family: "Source Sans Pro", "Hiragino Kaku Gothic ProN", Meiryo, Arial,
    sans-serif;
}

p {
  font-size: 15px;
}

/*================
PC用のスタイル 
=================*/
/* 横幅設定 */
body {
  max-width: 1080px;
  min-width: 960px;
  margin: 0 auto 0 auto;
}

/* ヘッダー */
header {
  display: flex;
  justify-content: space-between;
}

/* ナビゲーションのレイアウト */
#nav-pc {
  text-align: right;
  font-size: 14px;
  padding-top: 15px;
}

/* ナビゲーションのリンクの装飾設定 */
#nav-pc>a {
  text-decoration: none;
  margin-left: 20px;
}

#nav-pc>a:link {
  color: #0d0d0d;
}

#nav-pc>a:visited {
  color: #0d0d0d;
}

#nav-pc>a:hover {
  color: #0d0d0d;
  text-decoration: underline;
}

#nav-pc>a:active {
  color: #0d0d0d;
}

/* メインビジュアル*/
#main-visual {
  position: relative;
  height: 400px;
}

#main-message {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #2710d5;
  color: #ffffff;
  border-radius: 0 0 476px 0;
  max-width: 620px;
  height: 100%;
  width: 100%;
  z-index: 11;
}

#main-message>h1 {
  font-size: 60px;
  font-weight: bold;
  margin: 100px 0 0 50px;
}

#main-message>p {
  font-size: 28px;
  margin: 0 0 0 50px;
}

#main-visual>img {
  max-width: 620px;
  border-radius: 476px 0 0 0;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
}

/* 見出し */
h2 {
  margin: 40px 0 0 0;
}

h2::after {
  content: url("images/line.png");
  margin-left: 10px;
}

h3 {
  font-size: 27px;
}

/* ミッション */
#mission {
  margin: 80px auto 80px auto;
  width: 100%;
}

#mission-flex {
  width: 100%;
  display: flex;
}

#mission-flex>div {
  width: 50%;
  margin: 20px;
}

#mission-photo {
  width: 100%;
}

#s2dgs {
  margin-top: 50px;
}

/* プロダクト */
#product {
  background-color: #fafafa;
  margin: 80px 0 80px 0;
  padding: 10px 40px 0px 40px;
}

/* 外枠 */
#product>div {
  margin-top: 40px;
  display: flex;
}

/* 左のカラム */
#product-left {
  width: 50%;
  margin-right: 20px;
}

/* 右のカラム */
#product-right {
  width: 50%;
  margin-left: 20px;
  margin-top: 80px;
}
/* 隙間追加 */
.product-section .product-section-img img{
  box-sizing: border-box;
}

/* 画像＋説明の枠 */
#product-left >div {
  position: relative;
  height: 480px;
  margin-right: 20px;
  margin-bottom: 50px;
}

#product-right>div {
  position: relative;
  height: 500px;
  margin-left: 20px;
  margin-bottom: 50px;
}

/* 画像 */
.product-photo {
  width: 100%;
}

/* 説明文の枠 */
.product-explain {
  background-color: #ffffff;
  position: absolute;
  left: 0;
  top: 280px;
  margin: 0 40px 0 40px;
  padding: 20px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
}

/* 説明文の英語 */
.product-explain>span {
  color: #2710d5;
  font-weight: bold;
  font-size: 16px;
  margin: 0;
}

/* 説明文の見出し */
.product-explain>h3 {
  margin: 5px 0 5px 0;
}

/* 説明文 */
.product-explain>p {
  margin: 0;
}

/* 「もっとみる」ボタン */
#product-more {
  margin: 0 auto -42px auto;
}

/* ABOUT US */
#aboutus {
  margin: 80px auto 80px auto;
}

/* 3つの組織文化と画像を入れる枠 */
#aboutus>div {
  display: flex;
}

/* 画像 */
.culture-img {
  width: 100%;
  align-self: flex-start;
}

.culture-img2 {
  margin-top: 50px;
  width: 100%;
}

/* 3つの組織文化の表 */
.culture-table {
  max-width: 500px;
  margin-right: 50px;
}

/* 番号 */
.culture-num {
  font-size: 80px;
  color: #2710d5;
  margin: 0 20px 0 0;
}

/* 組織文化英語 */
.culture-en {
  color: #2710d5;
  font-weight: bold;
  font-size: 24px;
  display: block;
}

/* 組織文化日本語 */
.culture-jp {
  font-size: 28px;
  font-weight: bold;
}

/* 説明文 */
.culture-description {
  margin: 0;
}

/* ビジョン */
#vision {
  margin: 80px auto 80px auto;
}

/* セクション内の外枠 */
#vision>div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* 7つの行動指針の枠 */
.vision-box {
  width: 300px;
  height: 300px;
  margin-bottom: 30px;
  position: relative;
}

.vision-box>img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
}

.vision-box>span {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 31;
  margin-right: 20px;
}

.vision-box>span>h4 {
  color: #2710d5;
  font-size: 19px;
  margin: 80px 0 0 0;
  
}

.vision-box>span>h4::first-letter {
  font-size: 40px;
}

.vision-box>span>h5 {
  font-size: 20px;
  margin: 0 0 0 0;
}

.vision-box>span>p {
  margin: 10px 0 0 0;
}

/* 導入企業 */
#cases{
  margin: 40px auto 40px auto;
  width: 100%;
}
.case-card li{
  list-style: none;
  width: 33%;
  margin: 20px;
  background-color: #FFFFFF;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.case-img{
 width: 100%;
}


.case-card {
display: flex;
 background-color: #ffffff;
 min-height: 400px;

}

.case-info{
  padding: 10px 20px 10px 20px;
}

.case-name{
  color: #2710d5;
  font-size: 19px;
}

.case-content{
  font-size: 14px;
}


/* 会社概要 */
#company {
  margin: 80px auto 80px auto;
}

#company-table {
  width: 100%;
}

.tableheader {
  text-align: left;
  padding: 20px;
  border-bottom-color: #2710d5;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  width: 100px;
}

.tableheader-first {
  text-align: left;
  padding: 20px;
  border-bottom-color: #2710d5;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-top-color: #2710d5;
  border-top-width: 1px;
  border-top-style: solid;
  width: 100px;
}

.cell {
  padding: 30px;
  border-bottom-color: #ececec;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.cell-first {
  padding: 30px;
  border-bottom-color: #ececec;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-top-color: #ececec;
  border-top-width: 1px;
  border-top-style: solid;
}

#company>iframe {
  width: 100%;
  height: 368px;
  margin-top: 40px;
}

/* お問い合わせ */
#contact {
  margin: 80px auto 80px auto;
}

/* 外枠 */
#contact>form>div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-bottom: 30px;
}

/* 左列の見出し */
.contact-heading {
  width: 240px;
  align-self: center;
}

/* 見出しのラベル */
.contact-label {
  font-weight: bold;
}

/* 必須 */
.contact-span {
  color: #ce2222;
  margin: 0 0 0 20px;
  font-weight: bold;
}

/* テキストボックス */
.contact-textbox {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom-width: 1px;
  border-bottom-color: #707070;
  border-bottom-style: solid;
  background-color: #fafafa;
  width: 400px;
  height: 56px;
}

/* お問い合わせ内容のテキストエリア */
.contact-textarea {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom-width: 1px;
  border-bottom-color: #707070;
  border-bottom-style: solid;
  background-color: #fafafa;
  width: 400px;
  height: 200px;
}

/* 個人情報の取り扱い */
details {
  width: 700px;
}

details>div {
  background-color: #fafafa;
  padding: 20px;
}

details>div>span {
  font-weight: bold;
}

/* フッター */
footer {
  background-color: #0d0d0d;
  text-align: center;
  padding: 80px 80px 30px 80px;
}

#footer-logo {
  margin-bottom: 30px;
}

#footer-link {
  margin-bottom: 50px;
}
#footer-link > a {
  text-decoration: none;
  margin: 10px;
}
#footer-link > a:link {
  color: #ffffff;
}
#footer-link > a:visited {
  color: #ffffff;
}
#footer-link > a:hover {
  color: #ffffff;
  text-decoration: underline;
}
#footer-link > a:active {
  color: #ffffff;
}

#sns-footer {
  text-align: left;
  width: 100%;
}

#sns-footer > a {
  margin-right: 30px;
}

#copyright {
  color: #ffffff;
  float: right;
}

  @media screen and (min-width: 768px){
    #nav-sp{
      display: none;
    }
    #menu-sp{
      display: none;
    }
  }

    /*====================
   スマートフォン用のスタイル
  =====================*/
  @media screen and (max-width: 767px) {
        /* PC用ナビゲーション非表示 */
        #nav-pc {
          display: none;
        }

        body{
          min-width: 375px;
          margin: 0;
        }
      
        /* ハンバーガーメニュー */
        #menu-sp {
          display: block;
          background-color: transparent;
          float: right;
          padding: 0;
          border: none;
        }
      
        /* スマホ用ナビゲーションの表示切替*/
        /* 初期状態、レイアウトと非表示設定 */
        #nav-sp {
          background-color: #2710d5;
          position: fixed;
          left: 0;
          top: 0;
          height: 100%;
          width: 100%;
          display: none;
          z-index: 100;
        }

                  /* ×ボタン */
          #close {
            position: absolute;
            top: 20px;
            right: 20px;
            background-color: transparent;
            border: none;
          }
        
          #nav-sp nav ul {
            padding-left: 0;
          }
        
          #nav-sp nav li {
            list-style: none;
          }
        
          /* ナビゲーションメニュー用ロゴ */
          #logo-sp {
            margin: 80px 0 30px 20px;
          } 
        #nav-sp >a{
          display: block;
        }
        #nav-sp>a:link{
          color: #ffffff;
        }
        #nav-sp>a:visited{
          color: #ffffff;
        }

        #nav-sp a:hover {
          color:#ffffff;
          text-decoration: underline;
        }

        #nav-sp>a:active{
          color: #ffffff;
        }

        #nav-sp>.menu {
          text-decoration: none;
          display: block;
          margin: 0 20px 0 20px;
          height: 44px;
          font-size: 44px;
          font-size: 16px;
          background-image: url("images/arrow.png");
          background-repeat: no-repeat;
          background-position: right top;
        }

          /* メインビジュアル */
      #main-visual {
        position: relative;
        height: 470px;
      }
    
      #main-visual > div {
        text-align: center;
        height: 280px;
      }
    
      #main-visual h1 {
        font-size: 28px;
        margin: 90px 0 0 0;
      }
    
      #main-visual > div > p {
        margin: 0;
        font-size: 15px;
      }
    
      #main-visual > img {
        width: 100%;
        border-radius: 476px 0 0 0;
        top: auto;
        bottom: 0;
      }

      #mission{
        margin: 20px 0 20px 0;
        padding: 0 20px 0 20px;
      }

      #mission-flex{
        flex-direction: column;
      }
      #mission-flex div{
        width: 100%;
        margin: 0;
      }

      #product {
        margin: 0;
        padding: 10px 20px 0 20px;
      }
    
      /* 外枠 */
      #product .product-flex {
        flex-direction: column;
        margin-top: 0;
      }


      /* 左右のカラム　スマホでは縦並び */
      #product-left,
      #product-right {
        width: 100%;
        margin: 0;
        }

      #product-explain{
        top: 100px;
      }

      /* ABOUT US */
      #aboutus {
        margin: 80px 20px 80px 20px;
      }
    
      #aboutus > div {
        flex-direction: column;
     }
    
      .culture-table th {
        font-size: 16px;
      }
    
      .culture-table {
        margin-right: 0;
        padding-right: 20px;
        order: 2;
      }
    
      .culture-img {
        width: 100%;
        order: 1;
      }
    
      .culture-img2 {
        margin-top: 0;
      }
    
      .culture-num {
        padding: 0;
      }
    
      .culture-description {
        margin: 0;
      }
      
      /* VISION */
      #vision{
        margin: 80px 20px 80px 20px;
      }
  
      .vision-box >img{
        position: absolute;
        top:0;
        left: 0;
       }
  
       .vision-box >div >h4{
        margin: 60px 0 0 0;
       }

       /* CASES */
       .case-card{
        flex-direction: column;
       }

       .case-card >li {
        width: 80%;
       }

       /* COMPANY */
       #company{
        margin: 0 20px 0 20px;
       }

       #company>h3{
        margin-bottom: 20px;
       }

       .tableheader{
        width: 50px;
       }
       .cell{
        padding: 20px;
       }

       #company >iframe{
        height: 240px;
       }


       /* CONTACT */
       #contact{
        margin: 80px 20px;
       }


       #contact >h3{
        margin-bottom: 20px;
       }

       #contact >form >div{
        flex-direction: column;
        margin-bottom: 20px;
       }

       .contact-heading{
        align-self: auto;
        margin-bottom: 20px;
       }

       .contact-textbox{
        min-width: 300px;
        width: 100%;
       }

       .contact-textarea{
        height: 150px;
        width: 100%;
       }

       .radiobutton{
        margin-bottom: 20px;
       }

       /* フッター */
     
       footer{
        padding: 30px 20px 50px 20px;
        text-align: left;
       }

       #footer-link >a{
        margin: 0 20px 30px 0;
        display: block;
        background-image: url("images/arrow.png");
        background-repeat: no-repeat;
        background-position: right top;
       }

       #footer-link >a{
        text-decoration: underline;
       }

       #sns-footer{
        flex-direction: column;
        justify-content: flex-start;
       }

       #copyright{
        font-size: 12px;
        margin-top: 30px;
       }

       details{
        width: auto;
       }

  }
   /* スマフォ用終了ダグ */

/* mission.html用スタイル */

  .mission-main-inner{
    background-image: url(images/mission/mission-main.png);
    background-repeat: no-repeat;
    background-position-y: center;
  }


   #mission-title{
    background-color: #2710d5;
    width: 368px;
    color: #ffffff;
    height: 496px;
    border-radius: 0 248px 248px 0;
    position: relative;
   }


   #mission-title h1{
   position: absolute; 
   top:0;
   left: 100px;
   font-size: 80px;
   line-height: 1;
   }

   #mission-title h1 span{
    font-size: 26px;
   }

   #mission-title >p{
    position: absolute;
    top:350px;
    left:100px;
    font-size: 16px;
   }

/* S2DGs のスタイル */

#mission-s2dgs{
  padding: 20px;
}

.mission-h2{
  color: #2710d5;
  font-size: 40px;
}

.mission-h2::after{
  content: none;
}

/* mission ５つのゴール装飾 */

#mission-five-goals{
  padding: 20px;
  display: flex;
}

#mission-five-goals .five-goals-image{
  width: 30%;
  padding: 20px;
}

#mission-five-goals .fivegoals-image img{
  width: 100%;
}

#mission-five-goals .five-goals-read{
  width: 70%;
  padding: 20px;
}

#mission-five-goals .five-goals-read >div{
  margin-bottom: 40px;
}


.fivegoals-image-right{
  float: right;
  margin: 20px;
}

.fivegoals-image-left{
  float: left;
  margin: 20px;
}


.fivegoals-number{
  color: #2710d5;
  font-size: 48px;
  font-weight: bold;
  margin: 0;
}

.fivegoals-h3{
  font-size: 28px;
  margin: 0;
}

/* ミッションページのスマホ用 */

@media screen and (max-width:767px) {

#mission-main{
  height: 256px;
  margin-top:4%;
  position:relative;
}

.mission-main-inner{
  height: 80%;
  background-size: cover;
}

 #mission-title{
  width: 136px;
  height: 256px;
  position: absolute;
  top: -10%;
 }

 #mission-title h1{
  left: 20px;
  font-size: 40px;
 }

 #mission-title>p{
  top: 180px;
  left: 20px;
  font-size: 13px;
 }

 .mission-h2{
  font-size: 38px;
  margin: 0px;
 }

 .mission-h2::after{
  content: none;
 }

 #mission-s2dgs>img{
  width: 100%;
 }

 #mission-five-goals{
  flex-direction: column;
 }

 #mission-five-goals >div{
  padding: 0;
 }  

 #mission-five-goals .five-goals-image,
 #mission-five-goals .five-goals-read{
  width: 100%;
  padding: 0;
 }
 
 #mission-five-goals .five-goals-read >div{
  display: flex;
  flex-direction: column;
 }
  
 .fivegoals-image-right,
 .fivegoals-image-left{
  align-self: center;
 }

  /*終了タグ  */
}

/* product PC用 */

.product-main-inner{
  background-image: url("images/product/product-main.png");
  background-repeat: no-repeat;
  background-position-y:center ;
}

#product-title{
  background-color: #2710d5;
  width: 368px;
  color: #ffffff;
  height: 496px;
  border-radius: 0 248px 248px 0 ;
  position: relative;
}

#product-title h1{
  position: absolute;
  top: 0;
  left: 100px;
  font-size: 80px;
  line-height: 1;
}

#product-title h1 span{
  font-size: 26px;
}

#product-title>p{
  position: absolute;
  top: 350px;
  left: 100px;
}

/* プロダクト　スタイル */
.product-section{
  display: flex;
  padding: 20px 20px 0;
}

.product-section .product-section-img{
  width: 450px;
}

.product-section-left .product-section-img img{
  width: 100%;
  padding: 0 40px 30px 0;
  border-radius: 0 432px 0 0;
}

.product-section-left .product-read{
  width: 50%;
  flex-grow: 1;
}

.product-section-left .product-read p{
  margin-bottom: 0;
}

.product-section-left{
  justify-content: space-between;
}

.product-section-right{
  justify-content: space-between;
}

.product-section-right .product-section-img img{
  width: 100%;
  padding: 0 0 30px 40px;
  border-radius: 432px 0 0 0;
}

.product-section-right .product-read{
  width: 500px;
}

.product-h2{
  color: #2710d5;
  font-size: 24px;
  margin: 0;
}

.product-h3{
  font-size: 28px;
  margin: 0;
}

/* プロダクト　スマホ用 */

@media screen and (max-width:767px) {
 
  #product-main{
    height: 256px;
    margin-top: 4%;
    position: relative;
  }

  .product-main-inner{
    height: 80%;
    background-size: cover;
  }

  #product-title{
    width: 136px;
    height: 256px;
    position: absolute;
    top: -10%;
  }

  #product-title h1{
    left: 20px;
    font-size: 40px;
  }

  #product-title h1 span{
    font-size: 18px;
  }

  #product-title >p{
    top: 180px;
    left: 20px;
    font-size: 13px;
  }

  .product-section {
    flex-direction: column;
  }

  .product-section .product-section-img {
    width: 100%;
  }
  
  .product-section .product-section-img img {
    width: 100%;
    padding: 0;
  }

  /* 左が画像のセクション*/
  .product-section-left .product-section-img img {
    border-radius: 0 300px 0 0;
  }

  .product-section-left .product-read {
    width: 100%;
    flex-grow: 1;
  }

  /* 右が画像のセクション*/
  .product-section-right .product-section-img img {
    order: 1;
    border-radius: 300px 0 0 0;
  }

  .product-section-right .product-read {
    order: 2;
    width: 100%;
  }
}
  /*プロダクト　スマホ用 終了タグ */
