body{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
@media screen and ( max-width:600px )
{/* ボディ */
	body
	{
		font-size: 12px ;	/* 文字サイズ */
	}
    .main p{
        font-size: 12px ;	
    }
}
/*   　　　ヘッダー　　　　　　*/　　　
　
header{
    height:620px;
    margin:auto;
}
h1{
    width:25%;
    float:left;
    margin-left: 10px;
}

.header-list{
    float:right;
    padding-right: 20px;
    margin: 0 auto;
}
.SNS{
  float:left;
  padding:20px 15px; 
}
.header-list a{
    text-decoration: none;    
    color:#FD665E;
}
.header-list li{
    float:left;
    padding:20px 15px;
    list-style: none;
    color:#FD665E;
    }
.header-list li:hover{
    opacity:0.8;
    text-decoration: underline;
}
.header-list a:hover{
    color:rgb(55,29,1);
}
.menu-icon{
    display:none;
  }
@media all and (max-width: 599px) {
    /* header-rightにあるメニュー要素を消す  */
     .header-list{
         display:none;
     }
    /* メニューアイコンを表示させる  */
     .menu-icon{
        display: block;
     	padding: 12px;
        cursor: pointer;
        border-radius: 50%;
        text-align: right;
        font-size: 30px;
        color:#FD665E;
        position: fixed;
        top: 0;
        left: 100%;/*leftの値を変更してメニューを画面外へ*/
        z-index: 80;
        background-color: #3584bb;
        transition: all 0.5s;/*アニメーション設定*/
     }
     .menu-icon ul li{
      border-bottom: solid 1px #ffffff;
      list-style: none; 
    }
    .menu-icon ul li a{
      display: block;
      width: 100%;
      font-size: 15px;
      box-sizing: border-box;
      color:#ffffff;
      text-decoration: none;
      padding: 9px 15px 10px 0;
      position: relative;
    }
    .menu-icon ul li a{
      content: "";
      width: 7px;
      height: 7px;
      border-top: solid 2px #ffffff;
      border-right: solid 2px #ffffff;
      transform: rotate(45deg);
      position: absolute;
      right: 11px;
      top: 16px;
      }
  }

/*   　　　メイン　　　　　　*/　　　
h2{
    font-size:28px;
    color:#FD665E;
    margin-top:50px;
    text-align:center;
}
h2,h3,h4{
    font-size:34px;
    color:#FD665E;
    margin-top:50px;
    text-align:center;
    letter-spacing: 0.3em;
}
.main{
    margin-bottom: 30px;
}
.main p{
    font-size:18px;
    letter-spacing: 0.2em;
}
@media screen and (max-width: 599px) {
    .main p{
        font-size:12px;
        letter-spacing:0em;
    }
}

.back{
    opacity: 0.8;
    background-color:rgb(198,147,49);
}
.contents{
    width: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 15px;  
}
.container2{
    padding: 1px 5px 30px;
    background-color: #fcf5e6;
}
.contents img{
    width: 30%;
}
p{
    margin-left: 30px;
    display: flex;
}
.next{
    border:2px solid rgb(193,135,13);
    border-radius: 10px;
    background-color:rgb(193,135,13);
    width:200px;
    height:60px;
    margin: 0 auto;
    margin-bottom: 20px;
    display: flex;
}
.next a{
    color:#ffffff;
    font-size:16px;
    text-align: center;
    padding-bottom:10px;
    padding-left:60px;
    text-decoration: none;
    line-height: 55px;
}
.next:hover{
    opacity:0.8;
    background-color:rgb(55,29,1);
    border:2px solid rgb(55,29,1);
}
/*.bottun{
    display: inline-block;
    margin: 0 10px;
    border:2px solid rgb(193,135,13);
    border-radius: 3%;
    background-color:rgb(193,135,13);
    width:250px;
    height:60px;
    color:#ffffff;
    font-size:16px;
    text-align: center;
    padding-bottom:10px;
    padding-left:60px;
    text-decoration: none;
    line-height: 65px;
  }

.bottuns{
    margin-bottom: 30px;
    display: flex;
    justify-content: space-evenly;
}
 
.bottun:hover{
    opacity:0.8;
    background-color:rgb(55,29,1);
    border:2px solid rgb(55,29,1);
}*/

/*       footer        */

.footer{
    height:180px;
}
.footer p{
    width:350px;
    display: inline-block;
}
.footer ul{
    float:right;
    padding-right: 30px;
}
.footer ul a{
    text-decoration: none;    
    color:#FD665E;
}
.footer ul li{
    float:left;
    padding:20px 15px;
    list-style: none;
    color:#FD665E;
}
.footer ul li:hover{
    opacity:0.8;
    text-decoration: underline;
}
.footer ul a:hover{
    color:rgb(55,29,1);
}
#copyright{
    height:25px;
    text-align: center;
    background-color: #FD665E;
    color: #fff;
}
@media screen and (max-width: 599px) {
     .footer li{
         display:none;
     }
     #page_top{
        width: 60px;
        height: 60px;
        position: fixed;
        right: 0;
        bottom: 0;
        opacity: 0.6;
      }
      #page_top a{
        width: 60px;
        height: 60px;
        text-decoration: none;
      }
      #page_top a::before{
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        content: '\f139';
        font-size: 50px;
        color: #314701;
      }
    }


/*       会社概要ページ       */
.company{
    /*text-align: center;  */
    padding-top: 150px;
}
.message{
    height: 900px;
    letter-spacing: 0.3em;
    background-image: url(Images/top/honsya.png);
    background-repeat: no-repeat;
    background-position: top;
    background-color:rgba(255,255,255,0.8);
    background-blend-mode:lighten;     
}
.message p{
    font-size: 24px;
    font-family: YuGothic;
    padding-top:50px;
    line-height: 150%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
@media screen and (max-width: 599px) {
    .main p{
        font-size:12px;
        letter-spacing:0em;
    }
}

.syomei{
    margin-top:10px;
    text-align: right;
    }
   .about dl {
    display: flex;
    /*flex-flow: wrap;*/
    flex-wrap: wrap;
    width: 100%;     
    border: 1px solid #ccc;
    border-top: none;
    }
    
    .about dt {
        background: #f1f1f1;
        width: 30%;
        padding: 10px;
        box-sizing: border-box;
        border-top: 1px solid #ccc; 
        text-align: center;
    }

    .about dd {
    padding: 10px;
    margin: 0;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc; 
    width: 70%;
    background: #fff;
    box-sizing: border-box;
    text-align: left;
    }
    @media screen and (max-width: 599px) {
    .about dl {
    flex-flow: column nowrap;
    }
    .about dt, .about dd{
    width: 100%;
    text-align: center;
  }
    }

/*       サービス紹介ページ       */
.service{
    padding-top: 100px;
}
.service-item{
    font-size: 24px;
    margin-top:10px
}
@media screen and (max-width: 599px) {
    .service-item{
        font-size: 14px;
        margin-top:8px
    }
}

.item {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 2em;
/**/
    flex-direction: row;
    justify-content: space-around;
  }
  .item:nth-child(odd) {
    flex-direction: row-reverse;
  }
  .item-image {
    width: 50%;
  }
  .item-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    flex-basis: 20%;
  }
  .item-text {
    display: flex;
    flex-wrap: wrap;
    flex-basis: 80%;
    justify-content: center;
    align-content: center;
    align-items: center;
    padding: 3em;
    background: #fcf5e6;
  }
  @media screen and (max-width: 599px) {
    .item-text {
        padding: 0;
        font-size: 8px;
    }  
    .item-text p{
        margin:8px;
    }
  }
/*       ライブラリページ       */
.library{
    padding-top: 100px;
    margin-bottom: 80px;
}
.libraries{
    color:#FD665E;
    text-align: center;
}
.libraries p{
    display: inline-block;
    width: 220px;
    font-size: 18px;
    margin:0;
    padding-bottom: 20px;
}
h5{
  font-size:30px;
  color:#FD665E;
  margin:15px 5px;
  text-align:left;
}
.Lcontents {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  }
.Lcontents .Litem {
  display: flex;
  flex-direction: column;
  width: 32%;
  margin:5px;
  padding: 1em;
  border: 1px solid #7c5804;
  box-sizing: border-box;
  }
.Lcontents .L-image {
  min-height: 0%;
  margin-bottom: 1em;
  }
.Lcontents .L-image img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  }
  
@media screen and (max-width: 599px) {
  .Lcontents {
  flex-direction: column;
  }
  .Lcontents .Litem {
  width: 100%;
  }
  }


/*       お問い合わせページ       */
.contact{
    padding-top: 100px;
    margin-bottom: 80px;
}
fieldset{
    margin: 15px;
}
.Form {
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
  }
  @media screen and (max-width: 599px) {
    .Form {
      margin-top: 40px;
    }
  }
  .Form-Item {
    border-top: 1px solid #ddd;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    align-items: center;
  }
  @media screen and (max-width: 599px) {
    .Form-Item {
      padding-left: 14px;
      padding-right: 14px;
      padding-top: 16px;
      padding-bottom: 16px;
      flex-wrap: wrap;
    }
  }
  .Form-Item:nth-child(5) {
    border-bottom: 1px solid #ddd;
  }
  .Form-Item-Label {
    width: 100%;
    max-width: 248px;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
  }
  @media screen and (max-width: 599px) {
    .Form-Item-Label {
      max-width: inherit;
      display: flex;
      align-items: center;
      font-size: 15px;
    }
  }
  .Form-Item-Label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
  }
  @media screen and (max-width: 599px) {
    .Form-Item-Label.isMsg {
      margin-top: 0;
    }
  }
  .Form-Item-Label-Required {
    border-radius: 6px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: #FD665E;
    color: #fff;
    font-size: 14px;
  }
  @media screen and (max-width: 599px) {
    .Form-Item-Label-Required {
      border-radius: 4px;
      padding-top: 4px;
      padding-bottom: 4px;
      width: 32px;
      font-size: 10px;
    }
  }
  .Form-Item-Input {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
  }
  @media screen and (max-width: 599px) {
    .Form-Item-Input {
      margin-left: 0;
      margin-top: 18px;
      height: 40px;
      flex: inherit;
      font-size: 15px;
    }
  }
  .Form-Item-Textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
  }
  @media screen and (max-width: 599px) {
    .Form-Item-Textarea {
      margin-top: 18px;
      margin-left: 0;
      height: 200px;
      flex: inherit;
      font-size: 15px;
    }
  }
  .Form-Btn {
    border-radius: 6px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: #FD665E;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
  }
  @media screen and (max-width: 599px) {
    .Form-Btn {
      margin-top: 24px;
      padding-top: 8px;
      padding-bottom: 8px;
      width: 160px;
      font-size: 16px;
    }
  }
  