* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
  color: #222;
  background: #fff;
  font-size: 16px;
}

.wrap {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.breadcrumbs {
  padding: 14px 0;
  font-size: 13px;
  color: #666;
  border-bottom: 1px solid #eee;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.breadcrumbs li::after {
  content: "›";
  margin-left: 6px;
  color: #aaa;
}

.breadcrumbs li:last-child::after {
  content: "";
  margin: 0;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.hero {
  padding: 42px 0 28px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 16px;
  color: #111;
}

.hero p {
  color: #444;
  max-width: 860px;
}

.quickLinks {
  position: relative;
  margin-bottom: 20px;
  /* margin-bottom: 40px; */
}

.quickLinks ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.quickLinks li {
  min-width: 0;
}

.quickLinks a {
  display: flex;
  align-items: center;
  justify-content: center;
  /* min-height: 72px; */
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px 12px;
  background: #fafafa;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  font-size: 14px;
  transition: .25s ease;
}

.quickLinks a:hover {
  border-color: #111;
  background: #fff;
  transform: translateY(-2px);
}

.swipeHint {
  display: none;
  margin-top: 10px;
  font-size: 12px;
  color: #666;
  text-align: center;
  letter-spacing: .02em;
}

.swipeHint span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
}

.section {
  padding: 22px 0 40px;
}

.section h2 {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  margin-bottom: 14px;
  font-weight: 800;
  color: #111;
}

.sectionIntro {
  color: #555;
  margin-bottom: 24px;
}

.appGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.appCard {
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
  transition: .25s ease;
}

.appCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.08);
}

.appThumb {
  display: block;
  aspect-ratio: 1 / 1;
  /* aspect-ratio: 4 / 3; */
  overflow: hidden;
  background: #f5f5f5;
}

.appThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.appCard:hover .appThumb img {
  transform: scale(1.04);
}

.appBody {
  display: block;
  padding: 18px 18px 20px;
  background: #fff;
  position: relative;
  z-index: 1;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #d14;
  background: #fff3f6;
  border: 1px solid #ffd7e2;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.appTitle {
  display: block;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 800;
  margin-bottom: 10px;
}

.appTitle a {
  color: #111;
}

.appTitle a:hover {
  text-decoration: underline;
}

.appText {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 14px;
}

.appMore {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
}

.meritBox {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 24px;
  margin-top: 10px;
}

.meritBox ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}

.meritBox li {
  position: relative;
  padding-left: 1.2em;
  color: #444;
}

.meritBox li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: #3F51B5;
  /* color: #111; */
  font-size: 12px;
  line-height: 2.1;
}

.flowGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.flowItem {
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #fff;
  padding: 20px 16px;
}

.flowNum {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #3F51B5;
  /* background: #111; */
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
}

.flowItem h3 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.flowItem p {
  color: #555;
  font-size: 14px;
}

.relatedLinks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.relatedLinks a {
  display: block;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  font-weight: 700;
  transition: .25s ease;
}

.relatedLinks a:hover {
  border-color: #111;
  transform: translateY(-2px);
}

.ctaBox {
  margin: 18px 0 60px;
  padding: 32px 24px;
  border-radius: 22px;
  background: #3F51B5;
  /* background: #111; */
  color: #fff;
  text-align: center;
}

.ctaBox h2 {
  color: #fff;
  margin-bottom: 12px;
}

.ctaBox p {
  max-width: 760px;
  margin: 0 auto 20px;
  color: rgba(255,255,255,.9);
}

.ctaBtns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.ctaBtn {
  display: inline-block;
  min-width: 220px;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  transition: .25s ease;
}

.ctaBtn.primary {
  background: #fff;
  color: #111;
}

.ctaBtn.secondary {
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  background: transparent;
}

.ctaBtn:hover {
  transform: translateY(-2px);
  opacity: .92;
}

.footerSpace {
  height: 20px;
}

@media screen and (max-width: 960px) {
  .quickLinks ul,
  .appGrid,
  .meritBox ul,
  .flowGrid,
  .relatedLinks {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .wrap {
    width: min(100% - 24px, 1100px);
  }

  .hero {
    padding: 30px 0 20px;
  }

  .quickLinks {
    overflow: hidden;
  }

  .quickLinks::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 78px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
    z-index: 2;
  }

  .quickLinks ul {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 24px 8px 4px;
    margin: 0 -4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    grid-template-columns: none;
  }

  .quickLinks ul::-webkit-scrollbar {
    height: 6px;
  }

  .quickLinks ul::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 999px;
  }

  .quickLinks li {
    flex: 0 0 42%;
    scroll-snap-align: start;
  }

  .quickLinks a {
    /* min-height: 76px; */
    padding: 14px 10px;
    font-size: 13px;
    border-radius: 12px;
    word-break: break-word;
  }

  .swipeHint {
    display: block;
  }

  .appGrid,
  .meritBox ul,
  .flowGrid,
  .relatedLinks {
    grid-template-columns: 1fr;
  }

  .appBody {
    padding: 16px;
  }

  .appTitle {
    font-size: 18px;
  }

  .ctaBox {
    padding: 28px 16px;
  }

  .ctaBtn {
    width: 100%;
    min-width: 0;
  }
}