*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
ul[role='list'],
ol[role='list'] {
  list-style: none;
}
html:focus-within {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: 1.5;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
}
img,
picture {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
}
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html {
  font-size: 10px;
}

@media (min-width: 320px) {
  html {
    font-size: 3.125vw;
  }
}

@media (min-width: 960px) {
  html {
    font-size: 30px;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Hiragino Sans', 'Noto Sans CJK JP', sans-serif;
  color: #333333;
  background-color: #ffffff;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

#header {
  width: 100%;
  max-width: 960px;
  height: 3rem;
  margin: 0 auto;
  padding: 1rem 0.5rem 0 0.5rem;
}

#header h1 {
  width: 10rem;
  float: left;
}

#header ul {
  list-style-type: none;
  margin: 0 0 0 4rem;
  padding: 0;
  float: left;
}

#header li {
  display: block;
  float: left;
}

#header li a {
  display: block;
  border-left: 1px solid #333333;
  padding: 0 0 0 0.5rem;
  width: 4rem;
  height: 1.5rem;
  color: #333333;
  font-size: 0.5rem;
  line-height: 1.5rem;
  text-decoration: none;
}

#header li a:hover {
  color: #999999;
}

#main {
  width: 100%;
}

#main h2 {
  background: url('../images/line_art.png'),
    linear-gradient(90deg, #0066aa, #0099ee);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  padding: 2.5rem 0 0 0;
  width: 100%;
  height: 10rem;
  color: #ffffff;
  font-size: 1.7rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  line-height: 2.5rem;
  text-align: center;
  text-shadow: 0.05rem 0.05rem 0.4rem #0066aa;
}

#main h2 span {
  display: block;
  font-size: 0.8rem;
  font-weight: normal;
}

#contact a {
  display: block;
  background-color: #0066aa;
  border-radius: 0.3rem;
  width:13rem;
  color: #ffffff;
  font-size: 0.8rem;
  line-height: 2.5rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.15s;
}

#contact a:hover {
  transform: scale(1.02, 1.02);
}

#privacy {
  list-style-type: none;
  background-color: #eeeeee;
  margin: 2rem auto;
  padding: 0;
  line-height: 2rem;
  text-align: center;
}

#privacy li {
  display: inline-block;
}

#privacy li a {
  border-right: 1px solid #666666;
  padding: 0 0.5rem;
  color: #666666;
  font-size: 0.5rem;
  text-decoration: none;
}

#privacy li a:hover {
  color: #999999;
}

#privacy li:last-child a {
  border-right: none;
}

#footer {
  margin: 2rem 0;
  color: #999999;
  font-size: 0.5rem;
  text-align: center;
}

/* TOP */
#top_image {
  background: linear-gradient(90deg, #0066aa, #0099ee);
  padding: 0 0 2rem 0;
  width: 100%;
}

#top_image img {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

#top_links {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

#top_links a {
  display: block;
  margin: 1.5rem auto;
  transition: all 0.15s;
}

#top_links a:hover {
  transform: scale(1.02, 1.02);
}

/* VISION */
#vision {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

#vision img:first-of-type {
  margin: 1.5rem 0;
}

#vision h3 {
  margin: 1rem 0;
  font-size: 1.6rem;
  font-family: serif;
}

#vision h3:first-letter {
  color: #cc0000;
}

#vision p {
  margin: 1rem 0;
  font-size: 0.7rem;
  line-height: 2rem;
}

#vision p.strong {
  font-size: 1rem;
  font-family: serif;
  font-weight: bold;
}

/* SERVICE */
#service {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

#service img:first-of-type {
  margin: 1.5rem 0;
}

#service h3 {
  margin: 1rem 0;
  font-size: 1.6rem;
  font-family: serif;
}

#service h3:first-letter {
  color: #cc0000;
}

#service p {
  margin: 1rem 0;
  font-size: 0.7rem;
  line-height: 2rem;
}

#service h4 {
  border-bottom: 1px solid #333333;
  margin: 0.5rem 0;
  font-size: 0.8rem;
}

#service ul {
  margin: 0;
  padding: 0 0 0 1rem;
  font-size: 0.6rem;
  line-height: 1.5rem;
}

/* ABOUT */
#about {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

#about dl {
  margin: 1rem 0;
  font-size: 0.6rem;
  line-height: 3rem;
  letter-spacing: 0.05rem;
}

#about dt {
  width: 5rem;
  float: left;
}

#about dd {
  border-bottom: 1px solid #cccccc;
}

#about dd a {
  color: #333333;
}

#about iframe {
  margin: 2rem 0;
  width: 29rem;
  height: 17rem;
}

/* MOBILE */
@media (max-width: 512px) {
  #header {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    height: 8rem;
  }

  #header h1 {
    width: 22rem;
    clear: both;
  }
  #header ul {
    margin: 1.5rem 0 0 0;
  }

  #header li a {
    padding: 0 1rem;
    width: auto;
    font-size: 1.5rem;
  }

  #main h2 {
    font-size: 2rem;
  }

  #main h2 span {
    font-size: 1rem;
  }

  #vision h3,
  #service h3 {
    font-size: 1.9rem;
  }

  #vision p,
  #service p {
    font-size: 1.3rem;
    line-height: 2.5rem;
  }

  #vision p.strong {
    font-size: 1.3rem;
    font-family: serif;
    font-weight: bold;
  }

  #service h4 {
    font-size: 1.3rem;
  }

  #service ul {
    padding-left: 1.5rem;
    font-size: 1.2rem;
    line-height: 2rem;
  }

  #about dl {
    font-size: 1.2rem;
    line-height: 4rem;
    letter-spacing: 0;
  }

  #about dt {
    width: 6.5rem;
  }
}
