:root {
  --text-main: #444;
  --text-sub: #777;
  --card-bg: #fdf8ee;
  --card-border: #eee8d8;
  --accent: #f2b8c6;
  --x-color: #b48fd6;
  -x-color-hover: #9f75c9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #ffffff;
  line-height: 1.7;
}

header {
  padding: 32px 16px 24px;
  text-align: center;
}

.logo {
  max-width: 900px;
  margin: 0 auto;
}

.logo img {
  width: 100%;
  height: auto;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.intro {
  text-align: center;
  margin-bottom: 48px;
}

.intro h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.intro p {
  color: var(--text-sub);
  margin: 0;
}

.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
}

.app-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  background: #fffefb;
}

.app-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.app-card p {
  margin: 0;
  color: var(--text-sub);
  font-size: 0.95rem;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  background: #fff;
  padding: 4px;
}

.app-card:hover .app-icon {
  transform: scale(1.03);
  transition: transform 0.15s ease;
}

.x-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.x-link-section {
  display: flex;
  justify-content: center;
  margin: 48px 0; /* About と footer の間の余白 */
}

footer {
  text-align: center;
  padding: 24px 16px;
  font-size: 0.85rem;
  color: var(--text-sub);
  border-top: 1px solid #f0f0f0;
}

@media (max-width: 600px) {
  header {
    padding-top: 24px;
  }

  .intro h2 {
    font-size: 1.2rem;
  }
}

.section-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-main);
  letter-spacing: 0.05em;
}

.about {
  margin-top: 64px;
}

.about-text {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-bottom: 8px;
}

.about::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--card-border);
  margin: 32px auto 0;
}

.top-bar {
  display: flex;
  justify-content: flex-end;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 16px 0;
}

.lang-switch {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.lang-switch a,
.lang-switch .lang-current {
  text-decoration: none;
  color: var(--text-sub);
  margin-left: 12px;
}

.lang-switch a:hover {
  color: var(--text-main);
}

.lang-current {
  font-weight: 600;
  color: var(--text-main);
  cursor: default;
}

/* ===== X link section ===== */
.x-link-section {
  text-align: center;
  margin: 48px 0 16px;
}

.x-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--x-color);
  transition: color 0.2s ease;
}

.x-link:hover {
  color: var(--x-color-hover);
}

.x-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.paw {
  font-size: 1.0rem;
  opacity: 0.3; /* うすーく */
}
