@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: sans-serif;
  font-size: 16px;
  color: #43484b;
  line-height: 1;
  background-color: #ECF8FF;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

main {
  flex: 1;
  min-height: 75vh;
  margin-top: 50px;
  margin-bottom: 80px;
  margin-left: 80px;
  margin-right: 80px;
}

main h1{
  font-size: 100px;
  line-height: 1.15;
  margin-top: 50px;
  margin-bottom: 60px;
  margin-left: 15px;
}

.works {
  padding: 20px;
  width: 30%;
  font-size: 20px;
}

.works p{
  margin-bottom: 15px;
}

img {
  max-width: 100%;
}

.header {
  color: #ECF8FF;
  background-color: #4384A5;
}

.header-inner {
  max-width: 1200px;
  height: 120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 30px;
  padding-right: 40px;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-menu-button {
  display: none;
}

.header-logo {
  display: block;
  width: 105px;
}

.footer {
  color: #ECF8FF;
  background-color: #4384A5;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: block;
  width: 180px;
  margin-top: 40px;
}

.footer-tel {
  font-size: 18px;
  margin-top: 15px;
}

.footer-contact {
  font-size: 18px;
  margin-top: 16px;
}

.copyright {
  font-size: 14px;
  font-weight: bold;
  margin-top: 50px;
}

@media(max-width:800px) {

  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    height: 50px;
    z-index: 10;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  }

  .header-inner {
    padding-left: 20px;
    padding-right: 20px;
    height: 100%;
    position: relative;
  }

  .header-logo {
    width: 100px;
  }

  .toggle-menu-button {
    display: block;
    width: 44px;
    height: 34px;
    background-image: url(../images/common/icon-menu.png);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    border-radius: 0;
    outline: none;
  }

  .main {
    padding-top: 50px;
  }

  .footer-logo {
    margin-top: 60px;
  }

  .footer-tel {
    font-size: 20px;
  }

  .copyright {
    margin-top: 50px;
  }

}