:root {
  --accent: #ac1e2d;
  --text: #25201c;
  --bg: #f6efe8;
  --card-bg: #ffffff;
  --line: #F0EDEB;
  --max-width: 448px; 
  --min-width: 375px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Meiryo", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

.page,
.site-header__inner,
.site-footer,
.page-decoration-bottom {
  max-width: var(--max-width);
  min-width: var(--min-width);
  margin: 0 auto;
}

.page {
  display: flow-root;
  padding: 0px 8px;
  background-image: url(./images/headLineBG.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
}

.page-decoration-bottom {
  background: var(--bg);
  line-height: 0;
}
.page-decoration-bottom img {
  width: 100%;
  display: block;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 16px;
  background: #fff;
}
.site-header__logo img {
  width: 160px;
  height: auto;
  display: block;
}

.page-title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 32px;
  text-align: center;
}
.intro {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 24px;
  padding: 0 24px;
}

.anchors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 24px;
}
.anchor-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  min-height: 90px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 8px 8px 10px 16px;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
}
.anchor-btn__icon {
  width: 28px;
  height: 28px;
}
.anchor-btn__label {
  font-size: 14px;
  margin-right: 24px;
  font-weight: 700;
  line-height: 1.4;
}
.anchor-btn__arrow {
  position: absolute;
  right: 8px;
  bottom: 10px;
  width: 24px;
  height: 24px;
}

.section {
  margin-bottom: 24px;
  scroll-margin-top: 12px;
}
.section__title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.section__title-icon {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px 18px;
  border-radius: 4px;
  background: var(--card-bg);
  text-decoration: none;
  color: var(--text);
}
.card:active { background: #faf8f6; }

.card__body { flex: 1 1 auto; min-width: 0; }
.card__title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
}
.card__desc {
  display: block;
  font-size: 12px;
  color: var(--text);
  margin-top: 4px;
}
.card__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.card__icon-img {
  width: 20px;
  height: 20px;
  display: block;
}

.back-to-top {
  display: flex;
  align-items: center;
  height: 44px;
  gap: 8px;
  margin-top: 32px;
  margin-bottom: 40px;
  margin-left: 32px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.back-to-top__icon {
  width: 24px;
  height: 24px;
}

.site-footer {
  background: #fff;
}
.site-footer__inner {
  padding: 40px 20px;
  border-bottom: 1px solid var(--line);
}
.site-footer__logo img {
  width: 246px;
  height: auto;
  display: block;
}
.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 8px;
  margin-top: 32px;
}
.site-footer__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}
.site-footer__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 32px;
  gap: 12px;
}
.site-footer__copy img {
  width: 117.5px;
  height: auto;
}
.site-footer__copytext {
  font-size: 10px;
  color: var(--text);
}
