@charset "UTF-8";



/* スマートフォン対応 */
@media screen and (max-width: 768px) {
  #header,
  #footer {
    background-color: #F6F6F6;
    z-index: 999;
  }



  #navi ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* 端に寄せる */
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  #navi li {
    flex: 1;
    text-align: center;
    padding: 0;
    font-size: 1.5rem;
    line-height: 50px;
  }

  #navi li:first-child {
    text-align: left;
    padding-left: 20px; /* 左端に寄せる */
  }

  #navi li:last-child {
    text-align: right;
    padding-right: 20px; /* 右端に寄せる */
  }



  #navi2 ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  #navi2 li {
    flex: 1;
    text-align: center;
    padding: 0;
    font-size: 1.5rem;
    line-height: 50px;
  }

  #navi2 li:first-child {
    text-align: left;
    padding-left: 20px;
  }

  #navi2 li:last-child {
    text-align: right;
    padding-right: 20px;
  }

  main#main.wrapper {
    margin-top: 50px;
    margin-bottom: 60px;
    padding: 0 15px;
  }


  /* ロゴ中央配置 */
  #logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    width: 100%;
    padding: 0;
  }

  #logo h1,
  h1.site-title2 {
    margin: 0 auto;
    text-align: center;
    display: block;
  }

  h1.site-title2 img {
    width: 150px;
    display: block;
    margin: 0 auto;
  }


  #main p,
  #consultant p,
  #contact p {
    padding: 0 10px;
  }

  section,
  #consultant,
  #contact {
    padding-left: 10px;
    padding-right: 10px;
  }
	
	
	
	
	
	
	
	
.button a {
    background:#944a73;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 100%;
    padding: 10px 25px;
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-weight: 500;
	 color: #FFF;
	font-size: 1.2rem;
}
.button a:hover {
    background:#944a73;
		 color: #fff;
   
}
.button a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button a:hover:after {
    border-color: #FFF;
}
	
	
	
	
	
	
}
