/* リセット */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Noto Sans JP", "Hiragino Maru Gothic Pro", "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro",
    "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック",
    Osaka, sans-serif;
  color: #2a2118;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

p {
  margin: 0 0 1.4em;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0 0 1.6em;
  padding-left: 1.6em;
}

ul li {
  margin-bottom: 0.55em;
  line-height: 1.85;
}

ul li:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.7em;
  color: #c46a0e;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

h3 {
  font-size: 1.35rem;
  margin-top: 2.2em;
  margin-bottom: 0.85em;
  padding-bottom: 0.35em;
  border-bottom: 1px solid #f0d9b8;
}

.contents .row > h3 {
  font-family: "Rubik", "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
}

h3:first-child {
  margin-top: 0;
}

a:link {
  color: #5a5f9a;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #e58011;
}

a:visited {
  color: #3c6478;
}

a.noline,
a.noline:link,
a.noline:visited,
a.noline:hover,
a.noline:active {
  color: #c46a0e;
  text-decoration: none;
}

h2 a,
h2 a:link,
h2 a:visited,
h2 a:hover,
h2 a:active {
  color: #c46a0e;
  text-decoration: none;
}

.feature-title span,
.faq-title span {
  color: #c46a0e;
}

/* コンテナ */
.container {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* ヘッダー */
.header {
  background-image: linear-gradient(135deg, #ffb347 0%, #e58011 55%, #c46a0e 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 220px;
}

.header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1140px;
  padding: 56px 32px;
}

.header .header-logo-link {
  display: block;
  flex-shrink: 0;
}

.header .header-logo {
  width: 96px;
  height: 96px;
  display: block;
}

.header .header-copy {
  min-width: 0;
}

.header h1 {
  margin: 0;
  color: #fff;
  font-family: "Rubik", "Noto Sans JP", sans-serif;
  font-size: 2.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-shadow: 0 1px 0 rgba(120, 60, 0, 0.15);
}

.header h1 a {
  color: inherit;
  text-decoration: none;
}

.header h1 a:hover {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.header .header-logo-link:focus-visible,
.header h1 a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.header .header-tagline {
  max-width: 48rem;
  margin: 20px 0 0;
  color: #241400;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* ナビ */
.gnavi {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #fff4e6;
  border-bottom: 1px solid #f0d9b8;
}

.gnavi-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gnavi-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: 4px 12px 4px auto;
  padding: 10px 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.gnavi-toggle-bar {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #c46a0e;
}

.gnavi-list {
  display: flex;
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  justify-content: space-between;
  background: #fff4e6;
}

.gnavi-list li {
  flex: 1 1 0;
}

.gnavi-list a {
  display: block;
  height: 50px;
  border-left: 1px dotted #e58011;
  text-align: center;
  text-decoration: none;
  line-height: 50px;
  color: #5a3a12;
  outline: none;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.gnavi-list li:last-child a {
  border-right: 1px dotted #e58011;
}

.gnavi-list a:hover,
.gnavi-list a:focus {
  background: #e58011;
  color: #fff;
  text-decoration: none;
}

/* 各コンテンツ */
.contents {
  margin: 48px 0 0;
}

section[id] {
  scroll-margin-top: 72px;
}

.contents .container {
  padding: 0 24px 40px;
  border-bottom: solid 3px #e58011;
}

.contents .row {
  display: block;
  font-size: 1.05rem;
  margin: 0;
  padding: 8px 8px 8px 52px;
  max-width: 46em;
}

.contents .row.feature,
.contents .row.faq {
  display: flex;
  flex-direction: column;
  max-width: none;
  margin: 0 0 1.75em;
  padding: 1.25em 1.5em 1.25em 52px;
  background: #fffaf5;
  border-radius: 8px;
  border: 1px solid #f3e2c8;
}

.contents .row.feature:last-child,
.contents .row.faq:last-child {
  margin-bottom: 0.5em;
}

.contents h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Rubik", "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: 700;
  margin: 0 0 1.25em;
  padding: 8px 8px 0;
}

.contents h2 .section-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.contents h2 span {
  font-size: 1.65rem;
  text-align: left;
  padding: 12px 0;
  letter-spacing: 0.08em;
}

.contents .feature-title,
.contents .faq-title {
  margin-bottom: 0.35em;
}

.contents .feature-title > span,
.contents .faq-title > span {
  display: inline;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.05em;
  border-bottom: solid 3px #ffe194;
  padding-bottom: 0.15em;
}

.contents .feature-body,
.contents .faq-body {
  margin: 0.85em 0 0;
  padding-left: 0.15em;
  color: #3a3128;
  line-height: 1.95;
}

.contents .feature-body > span,
.contents .faq-body > span {
  display: block;
}

.contents .compare-table {
  width: 100%;
  max-width: none;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 1.5em 0 2em;
  letter-spacing: 0.03em;
}

.contents .compare-table th,
.contents .compare-table td {
  border: 1px solid #e0c9a8;
  padding: 14px 16px;
  vertical-align: top;
  text-align: left;
}

.contents .compare-table th {
  background: #fff4e6;
  font-weight: 700;
  white-space: nowrap;
}

.contents .compare-table tbody tr:nth-child(even) {
  background: #fffaf3;
}

.contents .compare-table td:first-child {
  font-weight: 600;
  color: #5a3a12;
  background: #fff8ef;
  white-space: nowrap;
}

.contents .warning-box {
  background: #fff4e6;
  border-left: 4px solid #e58011;
  margin: 1.6em 0;
  padding: 1.1em 1.25em;
  font-size: 0.98rem;
  line-height: 1.9;
  border-radius: 0 6px 6px 0;
}

.contents .license-price {
  display: inline-block;
  margin: 0.2em 0 1.2em;
  padding: 0.45em 0.85em;
  background: #fff4e6;
  border-radius: 6px;
  color: #8a4b09;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
}

.contact-block {
  background: #faf7f2;
  border: 1px solid #edd9bd;
  border-radius: 8px;
  margin: 8px 8px 24px 52px;
  padding: 1.5em 1.75em 1.75em;
  text-align: center;
}

.contact-block p {
  max-width: 40em;
  margin: 0 auto;
  line-height: 1.9;
}

.contact-block .contact-intro {
  margin-bottom: 0.4em;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-block .contact-address {
  margin-bottom: 0.6em;
  color: #8a5a20;
  font-family: "Rubik", "Noto Sans JP", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-block .contact-note {
  font-size: 0.95rem;
}

pre {
  background: #f7f3ec;
  border: 1px solid #e8dcc8;
  padding: 0.9em 1.1em;
  border-radius: 6px;
  overflow-x: auto;
  margin: 1em 0 0.25em;
  line-height: 1.6;
}

code {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 0.88em;
  letter-spacing: 0;
  background: #f3ebe0;
  padding: 0.12em 0.35em;
  border-radius: 3px;
}

pre code {
  font-size: 0.9rem;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

/* フッターナビ */
.navi-section {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  padding: 28px 24px;
  background-color: #fff4e6;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.navi-section .menu-left,
.navi-section .menu-center,
.navi-section .menu-right {
  flex: 0 1 220px;
  margin: 0;
  text-align: left;
}

.navi-section .parent {
  margin: 0 0 0.65em;
  line-height: 1.6;
}

.navi-section .parent:last-child {
  margin-bottom: 0;
}

.footer {
  background: #e5e5e5;
  color: #444;
  font-size: 0.95rem;
  padding: 28px 0;
  text-align: center;
  letter-spacing: 0.03em;
}

/* タブレット以下 */
@media (max-width: 991px) {
  .header .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
  }

  .header h1 {
    font-size: 2.15rem;
  }

  .gnavi {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .gnavi-toggle {
    display: flex;
  }

  .gnavi-list {
    display: none;
    width: 100%;
    flex-direction: column;
  }

  .gnavi-checkbox:checked ~ .gnavi-list {
    display: flex;
  }

  .gnavi-list li {
    flex: none;
    width: 100%;
  }

  .gnavi-list a {
    height: auto;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px dotted #e58011;
    line-height: 1.5;
    padding: 12px 16px;
    text-align: left;
  }

  .gnavi-list li:first-child a {
    border-top: 1px dotted #e58011;
  }

  .contents .container {
    padding: 0 16px 32px;
  }

  .contents .row {
    padding: 8px 4px 8px 0;
  }

  .contents .row.feature,
  .contents .row.faq {
    padding: 1.1em 1.15em;
  }

  .contents h2 {
    padding-left: 0;
  }

  .contents h2 span {
    font-size: 1.4rem;
  }

  .contact-block {
    margin-left: 0;
    margin-right: 0;
    padding: 1.25em 1.15em 1.4em;
  }

  .navi-section {
    display: block;
    gap: 0;
    padding: 18px 16px;
    text-align: center;
  }

  .navi-section .menu-left,
  .navi-section .menu-center,
  .navi-section .menu-right {
    display: block;
    margin: 14px 0;
    text-align: center;
    width: auto;
  }
}

/* スマートフォン */
@media (max-width: 767px) {
  body {
    font-size: 16px;
    line-height: 1.85;
  }

  h3 {
    font-size: 1.2rem;
  }

  .contents .row > h3 {
    font-size: 1.15rem;
  }

  .header h1 {
    font-size: 1.75rem;
  }

  .header .header-logo {
    width: 72px;
    height: 72px;
  }

  .header .header-tagline {
    font-size: 1rem;
  }

  section[id] {
    scroll-margin-top: 72px;
  }

  .contents {
    margin-top: 28px;
  }

  .contents .row {
    font-size: 1rem;
  }

  .contents .row.feature,
  .contents .row.faq {
    padding: 1em;
    margin-bottom: 1.1em;
  }

  .contents .feature-title > span,
  .contents .faq-title > span {
    font-size: 1.05rem;
  }

  .contents .compare-table {
    display: block;
    overflow-x: auto;
    font-size: 0.88rem;
    -webkit-overflow-scrolling: touch;
  }

  .contents .compare-table th,
  .contents .compare-table td {
    padding: 10px 12px;
  }

  .contents .compare-table td:first-child,
  .contents .compare-table th {
    white-space: nowrap;
  }

  .contact-block .contact-intro {
    font-size: 1rem;
  }

  .contact-block .contact-address {
    font-size: 1.1rem;
  }

  .contact-block .contact-note {
    font-size: 0.9rem;
  }
}

@media (max-width: 575px) {
  .gnavi-list a {
    font-size: 15px;
    padding: 11px 12px;
  }

  .contents h2 span {
    font-size: 1.25rem;
  }

  .footer {
    font-size: 0.85rem;
    padding: 20px 12px;
  }
}
