@charset "utf-8";

/* ==========================================================================
   Global
========================================================================== */

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding: 110px;
}
body {
  color: #555;
  font-family:"Montserrat", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-optical-sizing: auto;
  line-height: 1.6;
  letter-spacing: .05em;
}
#wrapper {
  width: 100%;
}
.inner {
  max-width: 1020px;
  padding: 0 10px;
  margin: 0 auto;
}
a {
  color: #333;
  text-decoration: none;
  transition: 0.3s;
}
a:hover { 
  color: #f3b70d;
}
img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Header
========================================================================== */

header {
  padding: 32px 0;
  border-bottom: 1px solid #ccc;
}
header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header h1 {
  letter-spacing: .2em;
}
header ul {
  display: flex;
  gap: 0 24px;
  padding-top: 8px;
}

/* ==========================================================================
   main
========================================================================== */

main {
  padding: 48px 0 0; 
}
main section {
  margin-bottom: 100px;
}
main h2 {
  margin-bottom: 30px;
  letter-spacing: .2em;
  text-shadow: 2px 2px 3px rgba(0,0,0,0.3);
}
main .top-img {
  margin-bottom: 100px;
}

/*↓about追加*/
main .top-about .about-blk {
  display: flex;
  align-items: center;
  gap: 30px 100px;
        padding: 0 0 48px 100px;
        /*↑aboutの下にスペース入れるため*/
}
main .top-about .about-blk figure {
  width: 25%;
  position: relative;
}
main .top-about .about-blk figure img {
  border: 1px solid rgba(110, 110, 110, .5);
  padding: 5px;
}
main .top-about .about-blk .lead {
  width: 60%;
  line-height: 2;
  text-align: justify;
}
            
/*↑about追加*/

main .top-works {
  background: #eee;
  padding: 60px 0 72px;
}
main .top-works .intro {
  margin-bottom: 48px;
  color: #777;
}
main .top-works ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 16px;
}
main .top-works li {
  background: #fff;
  padding: 8px 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 2px 2px 8px rgba(110,110,110,.1);
}
main .top-works li a:hover {
  opacity: 0.7;
}
main .top-works li .ttl {
  margin: 6px 0 0 6px;
}
main .top-contact {
  margin-bottom: 100px;
}
main .top-contact .mail a {
  display: block;
  padding: 16px 20px 16px 56px;
  border-radius: 2px;
  background: #eee url(../images/ico_mail.svg) no-repeat 18px center / 24px 24px;
}

/* ==========================================================================
   footer
========================================================================== */

footer {
  border-top: 1px solid #ccc;
  padding: 32px 0;
}
footer ul {
  display: flex;
  justify-content: flex-end;
  gap: 0 24px;
  margin-bottom: 12px;
}
footer p {
  text-align: right;
}