@charset "UTF-8";
/* Scss Document */

/*トップページ*/

h1 {
    background: url(../../about/images/title.png) no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 0.5rem;
    padding: 0.5rem 0;
    margin-bottom: 2rem;
}

h2 {
	text-align: left;
	padding:right 20px;
}

.style{
	padding-right: 20px;
}



.txet {
	padding-right: 20px;
}



.info dl {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    line-height: 2rem;
    text-align: left;
    
}

.info dt {
    width: 10rem;
    border-bottom: 1px solid #333;
    padding: 0.5rem 3rem 0.5rem 0;
}
.info dd {
    width: calc(100% - 10rem);
    border-bottom: 1px solid #333;
    padding: 0.5rem 0;
}
.info dt:first-of-type, .info dd:first-of-type {
    border-top: 1px solid #333;
}

/*企業理念・社訓*/

.Idea {
    width: 540px;
	margin: 0 auto;
	border: 1px solid #333; 
    margin-bottom: 3rem;
}


.txt {
    text-align: left;
    padding: 1rem 2rem;
}


/*社長のご挨拶 */
.president {
    position: relative;
    width: 540px;
    margin: 0 auto;
}
.president img {
    max-width: 100%;
	    
}
.president-photo {
    position: relative;
}
.president span {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    font-size: 2rem;
    color: #fff;
}

.president-name {
    width: 540px;
    margin: 0 auto;
    font-family: "Sawarabi Mincho"; 
    font-size: 2rem;
    text-align: right;
    margin-bottom: 1rem;
}
.president-name span {
    font-size: 1.2rem;
    margin-right: 2rem;
}



.company-img ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.company-img ul li {
    margin: 0.5rem;
}
.company-img ul li div {
    display: flex;
}
.company-img ul li div p:last-of-type {
    margin-left: auto;
}
.rinen h2 {
    padding: 1rem 0;
    font-weight: normal;
}
.rinen ul, .rinen ol {
    text-align: left;
    margin-bottom: 2rem;
}
.rinen ul li {
    list-style: disc;
}
.rinen li {
    margin-left: 2rem;
    line-height: 2rem;
}

/* for smart phone & tablet*/
@media screen and (max-width: 768px) {
  #main-visual {

  }
   
}
/* smartphone */
@media screen and (max-width: 480px) {
    .president, .president-name, .Idea {
        width: 100%;
    }

}
