/* ヘッダー */
.header {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0px 2px 6px rgba(83, 47, 10, 0.15);
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
  min-height: 60px;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2vw;
}
.logo-area {
  height: 100%;
  display: flex;
  align-items: center;
}
.logo-area .logo {
  height: 40px;
  display: block;
}
.header-nav a {
  color: #1e1c1c;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 400;
  font-size: 1rem;
  transition: color 0.2s;
}
.header-nav a:hover {
  color: #ff8800;
}

/* Footer */
.footer {
  background: #ec9f34;
  padding: 80px 0 40px;
  color: #fff;
}

.footer-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 900px) {
  .footer-content {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
  }
}
.footer-content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 60px;
}
.footer-brand {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 0;
  margin-left: 0;
  margin-top: 0;
  margin-right: 60px;
}
.footer-logo {
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
}
.footer-company {
  font-size: 0.8rem;
  font-weight: 700;
}
.footer-navs {
  display: grid;
  grid-template-columns: repeat(4, 120px);
  gap: 0px;
  margin-bottom: 48px;
}
.footer-navcol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 120px;
  max-width: 140px;
}
.footer-nav-title {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-nav-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav-content a {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  transition: opacity 0.3s;
}
.footer-nav-content a:hover {
  opacity: 0.7;
}
.footer-copy {
  text-align: center;
  font-size: 14px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 32px;
  width: 100%;
  align-self: center;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .header {
    height: 56px;
    min-height: 56px;
  }
  .header-inner {
    min-height: 56px;
    height: 56px;
    padding: 0 4vw;
  }
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0 4vw;
  }
  .footer-brand {
    align-items: flex-start;
    margin-left: 0;
    margin-top: 32px;
  }
  .footer-content {
    margin-bottom: 24px;
  }
  .footer-copy {
    text-align: left;
    padding-top: 24px;
    margin-top: 16px;
  }
}
@media (max-width: 600px) {
  .header {
    height: 48px;
    min-height: 48px;
  }
  .header-inner {
    min-height: 48px;
    height: 48px;
    padding: 0 4vw;
  }
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0 4vw;
  }
  .footer-brand {
    align-items: flex-start;
    margin-left: 0;
    margin-top: 24px;
  }
  .footer-content {
    margin-bottom: 16px;
  }
  .footer-copy {
    text-align: left;
    padding-top: 16px;
    margin-top: 8px;
  }
}

.section-header {
  position: relative;
  z-index: 1;
  text-align: left;
  width: auto;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
.main-title {
  color: #6a5647;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
.sub-title {
  color: #bcb3a2;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 2em;
  line-height: 1.4;
}
.contents-inner {
  padding-left: 30px;
  padding-right: 30px;
}
@media (max-width: 900px) {
  .contents-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 600px) {
  .contents-inner {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Sub Pages Common */
main {
  padding-top: 80px; /* header height */
  background-color: #fffdf9;
}

.page-hero {
  padding: 60px 0;
}

@media (max-width: 900px) {
  main {
    padding-top: 56px;
  }
  .page-hero {
    padding: 40px 0;
  }
}

@media (max-width: 600px) {
  main {
    padding-top: 48px;
  }
  .page-hero {
    padding: 30px 0;
  }
}
