body {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    

    font-family: source-han-sans-japanese, sans-serif;
    font-weight: 400;
    font-style: normal;
}

#content {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: #000000;
}

a:hover {
    color: #000000;
    text-decoration: none
}

ul {
    padding-left: 0;
}

li {
    list-style: none;
}

.en {
    font-family: europa, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.header > .inner {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
}

#nav {
  list-style: none;
}

#nav ul {
    display: flex;
}
 
#nav li {
  width: 140px;
  text-align: center;
  list-style: none;
}
 
#nav li a {
  text-decoration: none;
}

@media screen and (max-width: 767px) {
    .header > .inner {
        display: block;
    }
    
    #nav {
      margin-top: 30px;
    }
    
    #nav li {
      width: 33%
    }
    
    .nav-list {
        padding-left: 0;
    }
}

.keyvisual-illust{
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.keyvisual-illust > img {
    max-width: 100%;
}

.keyvisual-content{
    text-align: center;
}

.section-title {
    font-size: 24px;
    text-align: center;
    margin-top: 100px;
}

.service-item {
    margin-top: 50px;
}

.service-list {
    display: flex;
    padding-left: 0;
}

.service-list > li {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.service-list > li > img{
    max-width: 50%;
    margin-bottom: 30px;
}

.service-title {
    font-size: 18px;
}

.service-content {
    font-size: 15px;
}

@media screen and (max-width: 450px) {
    .service-list {
        display: block;
    }
    
    .service-list > li {
        width: 80%;
    }
    
    .service-list > li > img{
        max-width: 30%;
    }
    
    .service-content {
        margin-bottom: 70px;
    }
}

#works {
    text-align: center;
}

.works-title{
    margin-top: 80px;
    margin-bottom: 30px;
    font-size: 18px;
    text-align: center;
}

.works-inner {
    text-align: center;
}

.works-list {
    display: flex;
}

.works-list > li {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.works-pic > a > img{
    max-width: 90%;
    margin-bottom: 10px;
}

.web {
    margin-top: 160px;
}

@media screen and (max-width: 450px) {
    .works-list {
        display: block;
    }
    
    .works-list > li {
        width: 80%;
        margin-top: 50px;
        margin-bottom: 20px;
    }
    
    .works-list > li > img{
        max-width: 100%;
    }
}

.btn {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.btn--white,
a.btn--white {
  color: #fff;
  background-color: #000000;
}
.btn--white:hover,
a.btn--white:hover {
  color: #fff;
  background: #00000;
}

a.btn--radius {
   border-radius: 100vh;
}

#about {
    text-align: center;
    margin-top: 160px;
}

.about-inner {
    display: flex;
    margin-top: 80px;
}

.about-pic {
    width: 30%;
}

.about-pic > img {
    width: 70%;
}

.about-content {
    width: 70%;
    text-align: left
}

@media screen and (max-width: 450px) {
    #about {
        margin-top: 60px;
    }
    
    .about-inner {
        display: block;
    }
    
    .about-pic {
        width: 100%;
    }
    
    .about-pic > img {
        width: 60%;
    }
    
    .about-content {
        width: 80%;
        margin-top: 50px;
        margin-right: auto;
        margin-left: auto;
    }
}

footer {
    margin-top: 160px;
    display: flex;
    justify-content: space-between;
}

.footer-nav-list {
    display: flex;
}

.footer-nav-list > li {
  width: 140px;
  text-align: left;
  list-style: none;
}

@media screen and (max-width: 767px) {
    footer {
        display: block;
        text-align: center;
    }
    
    .footer-nav-list > li {
      width: 33%;
      text-align: center;
    }
}

.page-title {
    font-size: 24px;
    text-align: center;
    margin-top: 30px;
}

.history,
.message{
    text-align: left;
    margin-top: 160px;
    max-width: 85%;
    margin-right: auto;
    margin-left: auto;
}

.message {
    margin-bottom: 160px;
}

.about-title {
    margin-bottom: 80px;
}

dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

dl dt {
  text-align: right;
  width: 8.5em;
  padding: 0.5em 1.0em 0.5em 0.5em;
  position: relative;
}

dl dt::after {
  content: '●';
  position: absolute;
  right: -0.55em;
  top: 5px;
  font-size: 22px;
  color: black;
}

dl dd {
  text-align: left;
  width: calc(100% - 8.5em);
  padding: 0.5em 2.0em 3.0em;
  border-left: 2px solid #ccc;
}

@media screen and (max-width: 450px) {
    dl dt {
      width: 4.5em;
    }
    
    dl dd {
      width: calc(100% - 4.5em);
    }
}

.work-list {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.work-list>li{
    display: flex;
    margin-top: 80px;
}

.work-pic {
    width: 60%;
}

.work-pic img {
    max-width: 100%;
}

.work-content {
    width: 40%;
    margin-top: 30px;
    padding: 0 30px;
    text-align: left;
}

/* 後ろを覆う黒い幕 */
.overlay {
  /* 画面いっぱいに表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* 他のコンテンツより上のレイヤーに表示 */
  z-index: 10000;

  /* 初期状態では非表示 */
  display: none;

  /* 透けた黒色にする */
  background-color:rgba(0, 0, 0, 0.8);

  /* マウスカーソルを手の形にする */
  cursor: pointer;
}

/* 拡大写真の表示エリア */
.popup-content {
  /* 60x60で左右中央に表示する */
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin-top: -30px;
  margin-left: -30px;
  text-align: center;
}

@media screen and (max-width: 767px) {
    .work-list>li{
        display: block;
    }
    
    .work-pic {
        width: 100%;
    }
    
    .work-content {
        width: 100%;
    }
}

.contact-inner {
    text-align: center;
    margin-top: 100px;
}