@charset "utf-8";

html {
  font-size: 18px;
  line-height: 1.8;
  font-family: "UD Shin Go Regular","UDDigiKyokasho R JIS2004","メイリオ","Meiryo","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #3d1f0f;
}

body{
  background-image: url(../image/background_4_20211216.png);
  width: 100%;
  display: flex;
  flex-flow: column;
  min-height: 100vh;
}

a{
  color: #0d5eaf;
}

h1 {  
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 40px;
}

h2 {
  font-size: 1.4rem;
  font-weight: bold;
}

h3 {
  font-size: 1.3rem;
  font-weight: bold;
}

h4{
  font-size: 1.2rem;
  font-weight: bold;
}

.container {
  /*display: flex;*/  
  display: block;
  margin-left:10%;
  margin-right:10%;  
  text-align: center;
  margin-top: 50px;
}

.container_contact {
  text-align: center;
  margin-top: 50px;    
}

img{
  border-radius: 5px;
}

background-image{
  border-radius: 10px;
}

header{
  height: 100px;
  background-image: url(../image/header.png);
}

header a,footer a{
  border: none;
  color: #fff;
}

header li a:hover{
  border-bottom: 2px solid #fff;
}

.top-navi a,.service-navi a,.faq-navi a,.about-navi a,.contact-navi a,.create_it-support a,.construction a,.teaching a,.development-support a{
  border-bottom: 2px solid #fff;
}

.header-container{
  /* margin: 0 5%; */
  margin: 0 20px;
}

.logo{
  float: left;
}

.logo a{
  border: none;
}

.logo img{
  max-width: 400px;
  height: 100px;
}

.navi{
  display: flex;
  float: right;
  font-size: 20px;
  font-weight: bold;
  margin-left: 20px;
}

.navi li{
  /* margin-left: 30px; */
  margin-left: 20px;
  line-height: 100px;
  font-weight: bold;
  color: #fff;
}

main{
    margin-left: 10%;
    margin-right: 10%;
}

/* サイドバーここから */

aside{
  margin-left: 100px;
  width: 300;
}

aside img{
  width: 100%;
}

.side-content{
  margin-bottom: 20px;
  border-radius: 5px;
}

.side-news-inner{
  overflow-y: auto;
  max-height: 300px;
  text-align: left;
  padding: 0 0 20px 30px;
}

.side-news-inner dt{
  font-weight: bold;
  /* display: list-item; */
  /* list-style-type: square; */
  /* list-style-position: inside; */
  font-weight: normal;
  margin-bottom: -5px;
}

.side-news-inner dd{
  margin-bottom: 10px;
  font-weight: bold;
}

.side-news-inner a{
  border-bottom: none;
  font-weight: bold;
}

.aside-style{
  margin-top: 90px;
}

.side-contact {
  height: auto;
  margin-bottom: 20px;
  line-height: 70px;
}

.side-contact a{
  border: none;
}

.news-list{
  margin-bottom: 20px;
  margin: auto auto;
  /*background-image: url(../image/tsuki.png);*/
}

.news-list h3{
  font-size: 2rem;
}

.news-list p{
  padding-top: 15px;
  font-weight: bold;
}

/* サイドバーここまで */

hp-img {
    width: 320px;
    height: 200;
}

footer {
  /* background-color: rgba(67,63,51,0.7); */
  background-image: url(../image/header.png);
  color: #fff;
  text-align: center;
  margin-top: auto;
  /* position: absolute;
  bottom: 0;
  width: 100%; */
}

footer a{
  border-bottom: 1px solid #fff;
  display: inline-block;
  margin-top: 40px;
  opacity: .85;
}

footer a:hover{
  opacity: 1;
}

footer p {
  padding: 40px 0;
}

/* ここからパッド以下 */

@media screen and (max-width: 1497px){
  header{
    border-bottom: none;
    background-color: rgba(67,63,51,0);
    height: auto;
  }
  
  .header-container{
    margin: 0;
    height: 70px;
  }
  
  .pc-header{
    display: none;
  }
  
  .pc-navi{
    display: none;
  }
  
  .sumaho-header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
  }
  
  #menubtn{
    float: right;
    position: relative;
    top: 10px;
    right: 10px;
  }
  
  .logo{
    float: none;
    background-image: url(../image/header.png);
  }
  
  .logo img{
    width: 70%;
    height: 70%;
  }
  
  .sumaho-navi{
    text-align: center;
    background-color: rgba(12,96,169,0.7);
    transform: translateX(100%);
    transition: 0.5s;
  }
  
  .sumaho-navi ul{
    display: block;
    font-size: 16px;
    float: none;
  }
  
  .sumaho-navi li{
    line-height: 3;
    margin: 0;
    border-bottom: 1px solid #000;
  }
  
  .sumaho-navi li:first-child{
    border-top: 1px solid #000;
  }
  
  .sumaho-navi li a{
    border-bottom: none;
    display: block;
  }

  .sumaho-navi li a:hover{
    border-bottom: none;
  }
  
  .menu-ber{
    display: flex;
  }
  
  .menu-ber p{
    float: left;
  }
  
  .menu-ber img{
    transform: scale(0.5);
  }
  
  .drawer-btn{
    display: none;
  }
  
  .drawer-btn:checked ~ .sumaho-navi{
    transform: translateY(0%);
  }
  
  main{
    margin-top: 20%;
  }
  
  .aside-style{
    margin-top: 0px;
  }
  
  /*==================================================
  5-2-4 MENUがCLOSEに
  ===================================*/
  
  /*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
  .openbtn{
    /*ボタン内側の基点となるためrelativeを指定。
  追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
    position: relative;
    background: rgba(12,96,169,0.7);
    cursor: pointer;
    width: 50px;
    height:50px;
    border-radius: 5px;
    border: 1px solid #fff;
  }
  
  /*ボタン内側*/
  .openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 5px;
    background: #fff;
    width: 45%;
  }
  
  
  .openbtn span:nth-of-type(1) {
    top:13px;	
  }
  
  .openbtn span:nth-of-type(2) {
    top:19px;
  }
  
  .openbtn span:nth-of-type(3) {
    top:25px;
  }
  
  .openbtn span:nth-of-type(3)::after {
    content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
    position: absolute;
    top:5px;
    left:-5px;
    color: #fff;
    font-size: 0.6rem;
    text-transform: uppercase;
  }
  
  /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
  
  .openbtn.active span:nth-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }
  
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  
  .openbtn.active span:nth-of-type(3){
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
  
  .openbtn.active span:nth-of-type(3)::after {
    content:"Close";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
    top:5px;
    left:2px;
  }

  .container{
  display: block;
}

  .mini-container{
    margin-top: 150px;
  }

main{
  text-align: center;
  width: 80%;
  margin: 0 auto;
}

.min-style{
  margin-top: 20px;
}

aside{
  width: 60%;
  max-width: none;
  margin: 40px auto 0 auto;
}

aside img{
  width: 80%;
}
}

/*** ここからスマホ ***/
@media screen and (max-width: 624px){
html{
  font-size: 14px;
}

.mini-container{
  margin: 20% 10px 0 10px;
}

main{
  width: 100%;
  min-width: auto;
}

aside{
  width: 90%;
  max-width: none;
  margin-left: 0;
}
}

@media screen and (min-width: 1497px){
  .sumaho-navi{
    display: none;
  }
  
  .drawer-btn{
    display: none;
  }
  
  .menu-ber{
    display: none;
  }
  
  #menubtn{
    display: none;
  }
  
  .sumaho-header{
    display: none;
  }
  
  }