@charset "utf-8";

/* ==========================================================================
   Global
========================================================================== */
html {
  font-size: 20px;
}
body {
  color: #555;
  font-family:"Montserrat", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  line-height: 1.6;
  letter-spacing: .05em;
}
#wrapper {
  max-width: 95%;
  margin: 0 auto; 
}
a {
  color: #333;
  text-decoration: none;
  transition: 0.3s;
}
a:hover { 
  color: #f3b70d;
}
img {
  max-width: 100%;
  height: auto;
}
/* ==========================================================================
   Header
========================================================================== */
#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid #ccc;
}
#header h1 {
  letter-spacing: .2em;
}

/* ==========================================================================
   main
========================================================================== */
#main {
  padding: 48px 0; 
}
#main h2 {
  margin-bottom: 80px;
  letter-spacing: .2em;
  text-shadow: 2px 2px 3px rgba(168, 124, 1, 0.3);
  border-bottom: 3px solid #000;
}
#main h3 {
  margin-bottom: 30px;
  letter-spacing: .2em;
  text-shadow: 2px 2px 3px rgba(0,0,0,0.3);
}
#main .top-img {
  margin-bottom: 80px;
}
#main .top-about .intro {
  margin-bottom: 80px;
  color: #777777;
}
#main .top-about ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 16px;
}
#main .top-about li {
  background: #fff;
  width: calc((100% - 32px) / 3);
  padding: 8px 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 2px 2px 8px rgba(110,110,110,.1);
}
#main .top-about li a:hover {
  opacity: 0.7;
}
#main .top-about li .ttl {
  margin: 6px 0 0 6px;
}

/* ==========================================================================
   footer
========================================================================== */
#footer {
  border-top: 1px solid #ccc;
  padding: 32px 0;
}
#footer ul {
  display: flex;
  justify-content: center;
  gap: 0 24px;
  margin-bottom: 12px;
}
#footer p {
  text-align: center;
}
@media screen and (max-width: 600px) {
  #wrapper {
  max-width: 100%;
  margin: auto; 
  margin-left: 10%;
  margin-right: 10%;
}
.main-title {
  font-size: 1rem;
}
#main .top-about ul {
  display: block;
}
#main .top-about li {
  background: #fff;
  width: 100%;
  margin: auto;
  padding: 8px 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 2px 2px 8px rgba(110,110,110,.1);
}
#main img {
  width: 95%;
}
}