@charset "utf-8";
html{
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body{
    position: relative;
    margin: 0;
    font-family: 'Meiryo UI', Meiryo, メイリオ,'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}
.wrap{
    max-width: 1040px;
    margin:0px auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding:0 16px;
}
header .wrap{
    max-width: 940px;
}
header{
    padding: 30px 0;
    border-top:40px solid #231815;
}
header h1 {
    width: 220px;
}
header h1 img{
    width: 220px;
    height: auto;
}
header h1 .artec-jp{
    display: inline-block;
    margin: 0 0 0 0;
}
header h2{
    vertical-align: bottom;
    margin-left:auto;
}
header .txt-box{
    max-width: 660px;
    width: 100%;
    border-top:1px solid #231815;
    border-bottom:1px solid #231815;
    font-size: 1.3rem;
    padding:2em 1em;
    margin: 0 15px;
}
.ceo_name{
    text-align: right;
    font-size: 1.2rem;
    margin-top: 16px;
}
nav{
    position: sticky;top: 0;
    background: #DFDAD9;
    padding: 0 16px;
    transition: all 0.2s;
    border-bottom: 1px solid #fff;
}
nav ul{
    max-width: 1040px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    list-style-type:none;
}
nav ul li{
    padding: 8px 16px;
    line-height: 40px;
    font-size: 1.3rem;
    position: relative;
}
nav ul li a{
    text-decoration: none;
    color:#231815;
}
nav ul li a:before{
    content:"";
    display: block;
    position: absolute;
    border-top: 1px solid #231815;
    border-bottom: 1px solid #231815;
    width: 0%;
    top:5px;
    left:50%;
    height: 45px;
    transition:all 0.2s;
    
}
nav ul li a:hover:before{
    width: 100%;
    left:0%;
}
.title-box{
    min-width:270px; 
    
}
.title-box h2,
.title-box p{
    margin: 0;
}
.title-box p{
    font-size: 1.2rem;
    margin-bottom: 32px;
}
.contents-box{
    max-width: 640px;
    width: 100%;
}

section{
    padding:140px 0 64px;
}
#service {
    background: url(img/service.png) no-repeat;
    background-position: center 40px;
}
#service ul {
    max-width: 560px;
    display: flex;
    list-style-type:none;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 auto;
}
#service ul li{
    border-left:9px solid #231815;
    width: 50%;
    min-width: 240px;
    box-sizing: border-box;
    margin-bottom: 20px;
}
#service ul li h3,
#service ul li p{
    margin:0 0 0 8px;
}
#service ul li h3{
    font-weight: bold;
    font-size: 1.4rem;
}
#service ul li p{
    font-size: 1.2rem;
}
#overview{
    background:#DFDAD9 url(img/overview.png) no-repeat;
    background-position: center 40px;
}
#overview dl{
    font-size: 1.4rem;
    width: 100%;
	line-height:150%;
    font-style:italic;
}
#overview dt{
    text-align: right;
    float: left;
    width: 5em;
    margin-right: 1em;
    font-weight: bold;
    margin-bottom: 1em;
}
#overview dd{
    width: calc(100% - 6em);
    margin-bottom: 1em;
}
#license{
    background:#9b9897 url(img/license.png) no-repeat;
    background-position: center 40px;
    font-family: 'Meiryo UI', Meiryo, メイリオ,'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    font-style:italic;
}
#license table {
    margin:1em 0em 4em;
    width:100%;
}

#license table thead th{
    font-size: 1.6rem;
    font-weight: bold;
}
#license table th{
    padding: 8px 0 8px 32px;
}
#license table td{
    padding: 8px 32px 8px 0;
}
#license table tbody th{
    font-size: 1.4rem;
    text-align: left;
}
#license table tbody td{
    font-size: 1.4rem;
    text-align: right;
}
#license .flex-box{
    display: flex;
}
#license .flex-box > div{
    width: 50%;
}
#contact{
    background:url(img/contact.png) no-repeat;
    background-position: center 40px;
}
.contactform{
    max-width: 640px;
    margin: 0 auto;
}
.contactform p{
    font-size: 1.3rem;
}
.goblin-one-regular {
  font-family: "Goblin One", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.6rem;
}
footer{
    background: #231815;
    color:#fff;
    line-height: 40px;
    text-align: center;
    font-size: 1.3rem;
    padding-top: 32px;
}
.thanks h4{
    font-size: 3.6rem;
    margin: 0;
}
.thanks h3{
    font-size: 2.4rem;
    margin: 0;
}
/*1030px以下*/
@media screen and (max-width: 1090px){
  /*必要ならばここにコードを書く*/
    .title-box{
        text-align: center;
        margin: 0 auto;
    }
    .contents-box{
        margin: 0 auto;
    }
}
/*982px以下*/
@media screen and (max-width: 982px){
  /*必要ならばここにコードを書く*/
header h1 {
    width: 100%;
}
header h1 .artec-jp{
    margin-left: calc(100% - 220px);
}
    header .txt-box{
        max-width: 100%;
    }
}

/*768px以下*/
@media screen and (max-width: 768px){
  /*必要ならばここにコードを書く*/
  #license .flex-box{
    display: block;
  }
  #license .flex-box div{
    width: 100%;
  }
}
/*480px以下*/
@media screen and (max-width: 480px){
}