:root {
    --primary-blue: #4a90e2;
    --accent-blue: #357abd;
    --bg-light-blue: #f0f7ff;
    --card-bg: #ffffff;
    --text-color: #444;
    --border-blue: #b3d4fc;
}

body {
    background-color: var(--bg-light-blue);
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 40px 20px;
    -webkit-text-size-adjust: 100%;
}

@media screen and (max-width: 450px) {
  h1 {
    font-size: 18px;
  }
}

h2 {
    display: flex;
    align-items: center;
    font-size: 21px;
    margin: 0 0 20px 0;
    color: #333;
    line-height: 1.4;
}

@media screen and (max-width: 450px) {
  h2 {
    font-size: 18px;
  }
}

.sp-br {
    display: none;
}

@media screen and (max-width: 450px) {
    .sp-br {
        display: inline;
    }
}

/* AdSence */

.ad-spacer {
    margin: 40px auto;
    text-align: center;
    max-width: 900px;
    min-height: 100px;
    background: transparent;
    overflow: hidden;
}

.ad-spacer::before {
    content: "スポンサーリンク";
    display: block;
    font-size: 10px;
    color: #bbb;
    margin-bottom: 5px;
}

/* system */

.system-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

@media screen and (max-width: 450px) {
  .system-section {
    padding: 60px 0;
  }
}

.system_service_title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.system_service_title_en {
  text-align: center;
  font-size: 0.9rem;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.system-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto 0;
  padding: 0 20px;
}

@media screen and (max-width: 768px) {
  .system-gallery-grid {
    grid-template-columns: 1fr; 
  }
}

@media screen and (max-width: 450px) {
  .system-gallery-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
    padding: 0 10px;
    margin-top: 45px;
    margin-bottom: 0px;
  }
}

.system-card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.system-card-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.system-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.system-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

@media screen and (max-width: 450px) {
  .system-card-title {
    font-size: 13px;
  }
}

.system-card-tags {
  font-size: 0.85rem;
  font-weight: 700;
  color: #666;
  margin-bottom: 20px;
}

@media screen and (max-width: 450px) {
  .system-card-tags {
    font-size: 12px;
  }
}

.system-card-tags-mini {
  margin: -10px 0 0 0;
  font-size: 9.5px;
}

@media screen and (max-width: 450px) {
  .system-card-tags-mini {
    font-size: 9px;
  }
}

.system-card-footer {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.system-detail-link {
  color: #0047ff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

.system-favorite-btn {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 1.2rem;
}

/* tool */

.tool-footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.8rem;
}

.tool-footer a {
    color: var(--primary-blue);
    text-decoration: none;
}

/* copyright */

.copyright { 
    margin-top: 20px; 
    grid-row-start: 2; 
    grid-row-end: 3; 
    width: 100%; 
}

.copyright_text { 
    font-weight: 500; 
    font-size: 12px; 
    color: var(--text-gray-color); 
    margin-top: 16px; 
    text-align: center; 
    padding-bottom: 8px; 
    letter-spacing: 0.08em; 
}