/*!
 * Theme Name: デモサイト
 * Author: AkiRa Workshop
 * Copyright (C) 2026 AkiRa Workshop. All Rights Reserved.
 */
@charset 'UTF-8';

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Zen Kaku Gothic New",
    "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  background: #f7f6f3;
  color: #1c1a17;
  line-height: 1.8;
  /* min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 20px; */
}
/* ------------------------
  ヘッダーとナビゲーション
--------------------------- */
.logo__box {
  margin: 0;
  margin-block-end: 0;
}
.logo {
  text-align: left;
}
.logo__img {
  height: 50px;
  width: 100%;
}
.header {
  width: 100%;
  background-color: rgba(75, 75, 75, 0.9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}
.header__inner {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 10px 20px;
  height: 70px;
}
main {
  max-width: 1280px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 20px;
}
.title {
  text-align: center;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #8a8578;
  margin-bottom: 10px;
}
.title h1 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
}
.title p.desc {
  font-size: 14.5px;
  color: #57534a;
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: 1280px;
  width: 100%;
  margin-top: 50px;
}
@media (width < 768px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e5e2da;
  border-radius: 8px;
  padding: 36px 28px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.card.type-a {
  border: 1px solid #2f8f9d;
  border-top: 4px solid #2f8f9d;
}

.card.type-b {
  border: 1px solid #b5542f;
  border-top: 4px solid #b5542f;
}

.card.type-c {
  border: 1px solid #1f2a44;
  border-top: 4px solid #1f2a44;
}

@media (any-hover: hover) {
  .card:hover {
    transform: translateY(-2px);
  }
  .card.type-a:hover {
    border-color: #2f8f9d;
    box-shadow: 0px 2px 2px rgb(47, 143, 157, 0.5);
  }
  .card.type-b:hover {
    border-color: #b5542f;
    box-shadow: 0px 2px 2px rgb(181, 85, 47, 0.5);
  }
  .card.type-c:hover {
    border-color: #1f2a44;
    box-shadow: 0px 2px 2px rgb(31, 42, 68, 0.5);
  }
}
.card .label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #8a8578;
  margin-bottom: 8px;
}
.card h2 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  font-size: 13.5px;
  color: #57534a;
  margin-bottom: 20px;
}
.card .link {
  font-size: 13.5px;
  font-weight: 500;
}
.card.type-a .link {
  color: #2f8f9d;
}
.card.type-b .link {
  color: #b5542f;
}
.card.type-c .link {
  color: #1f2a44;
}

/* ------------------------
  フッター
--------------------------- */
footer {
  background-color: #636363;
  margin-top: 100px;
}
.footer__logo-box {
  text-align: center;
  padding: 2em;
}
.footer__logo-box img {
  display: inline-block;
  height: 50px;
  width: auto;
}
.footer__logo-box span {
  display: inline-block;
  color: #fff;
  font-size: 0.75rem;
  margin-top: 10px;
}
.footer__logo {
  width: 150px;
}
.footer__author {
  color: #eee;
  font-size: 0.75rem;
  border-top: 1px solid #eee;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
}
.copyright {
  margin-bottom: 0;
  color: #fff;
}
.privacy-law a {
  display: inline-block;
  margin-left: 10px;
  transition: all 0.3s ease;
  color: #fff;
  text-decoration: none;
}
.privacy-law a:first-child {
  margin-left: 0;
}
@media (any-hover: hover) {
  .privacy-law a:hover {
    color: #f7ee9b;
  }
}
@media (width < 768px) {
  .footer__author {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  .copyright {
    margin-bottom: 10px;
    text-align: center;
  }
}
