/* ==================================================
  Reset
================================================== */

@charset "UTF-8";

*,
*::before,
*::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
}

main {
  display: block;
}

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

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

img {
  max-width: 100%;
  vertical-align: bottom;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: inherit;
  text-transform: inherit;
  vertical-align: middle;
  background: transparent;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}


/* ==================================================
  Base
================================================== */

:root {
  --color-main: #F66A2D;
  --color-orange: #ff9b53;
  --color-brown: #804f21;
  --color-text: #2f241d;
  --color-bg: #fff7ef;
  --color-card: #ffffff;
  --color-line: #f0d8c4;
  --radius: 24px;
}

body.service-page {
  color: var(--color-text);
  background:
    radial-gradient(circle at 8% 8%, rgba(246, 106, 45, 0.08), transparent 30%),
    radial-gradient(circle at 92% 20%, rgba(255, 155, 83, 0.12), transparent 26%),
    var(--color-bg);
  font-family: "M PLUS Rounded 1c", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.8;
}

body.service-page a {
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.service-page a:hover {
  opacity: 0.82;
}


/* ==================================================
  Service Page
================================================== */

.page {
  min-height: 100vh;
  padding: 48px;
}

.container {
  margin: 0 auto;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 56px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(240, 216, 196, 0.9);
  border-radius: 36px;
  box-shadow: 0 16px 40px rgba(128, 79, 33, 0.12);
}

.service-card::before,
.service-card::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  pointer-events: none;
}

.service-card::before {
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: rgba(246, 106, 45, 0.08);
}

.service-card::after {
  bottom: -70px;
  left: -70px;
  width: 160px;
  height: 160px;
  background: rgba(255, 155, 83, 0.12);
}

.service-header {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  text-align: center;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-main);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
}

.logo strong {
  color: var(--color-text);
  font-weight: 800;
}

.logo em {
  margin-left: 4px;
  color: var(--color-main);
  font-style: normal;
  line-height: 1;
}

.label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 7px 18px 6px;
  color: var(--color-main);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  background: rgba(246, 106, 45, 0.1);
  border-radius: 999px;
}

.service-header h1 {
  margin: 0;
  color: var(--color-brown);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-align: left;
}

.lead {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
  text-align: left;
}

.content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.section {
  padding: 32px;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  padding: 0;
  color: var(--color-brown);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
  background: none;
  border: none;
}

.section-title::before {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin: 0;
  content: "";
  background: var(--color-main);
  border-radius: 50%;
}

.section-title::after {
  content: none;
}

.description-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.description-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  font-weight: 500;
}

.description-list li::before {
  position: absolute;
  top: 0.75em;
  left: 2px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--color-orange);
  border-radius: 50%;
}

.note {
  margin-top: 20px;
  padding: 18px 20px;
  color: #6b5442;
  font-size: 13px;
  line-height: 1.8;
  background: #fff7ef;
  border-radius: 16px;
}

.link-area {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  background: #fff7ef;
  border: 1px solid #f4d9c2;
  border-radius: var(--radius);
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(128, 79, 33, 0.12);
}

.link-card-label {
  color: var(--color-main);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.link-card-title {
  color: var(--color-brown);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.link-card-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 180px;
  margin-top: auto;
  padding: 12px 22px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  background: var(--color-main);
  border-radius: 999px;
}

.button.sub {
  background: var(--color-brown);
}

.support p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 13px 26px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  background: #06c755;
  border-radius: 999px;
}

.service-footer {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  color: #8c735f;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}


/* ==================================================
  Responsive
================================================== */

@media screen and (max-width: 768px) {
  .page {
    padding: 28px 14px;
  }

  .service-card {
    padding: 34px 22px;
    border-radius: 28px;
  }

  .service-header {
    margin-bottom: 32px;
  }

  .brand-row {
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 24px;
  }

  .logo {
    font-size: 26px;
  }

  .label {
    padding: 6px 14px 5px;
    font-size: 11px;
  }

  .service-header h1 {
    font-size: 24px;
    text-align: left;
  }

  .lead {
    margin-top: 18px;
    font-size: 14px;
    text-align: left;
  }

  .section {
    padding: 24px 20px;
  }

  .section-title {
    align-items: flex-start;
    font-size: 18px;
  }

  .description-list li {
    font-size: 14px;
  }

  .link-area {
    grid-template-columns: 1fr;
  }

  .link-card {
    padding: 24px 20px;
  }

  .link-card-title {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }
}
