:root {
  --orange: #ff8a00;
  --blue: #2c9cdb;
  --blue-dark: #0f57af;
  --green: #428bc8;
  --cream: #f5f4df;
  --paper: #f7f7f7;
  --text: #1f2933;
  --muted: #666;
  --line: #85c4ec;
  --font-base:
    "Noto Sans JP", Helvetica, Arial, "Hiragino Kaku Gothic Pro", Meiryo, Osaka,
    "MS PGothic", sans-serif;
}

* {
  box-sizing: border-box;
  font-family: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-base);
  font-size: 18px;
  line-height: 1.8;
  background: #fff;
  padding-bottom: 92px;
}

.sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }
}

button,
input,
select,
textarea {
  font: inherit;
}

main,
.copyright {
  width: 100%;
  margin: 0;
  background: #fff;
}

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

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

.container {
  width: min(100% - 32px, 820px);
  margin: 0 auto;
}

.narrow {
  width: min(100% - 32px, 720px);
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1080;
  min-height: 620px;
  height: auto;
  margin-bottom: 16px;
  overflow: hidden;
  background: #eef0e4 url("../img/fv.png") center top / cover no-repeat;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.cta-band {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  min-height: 76px;
  background: var(--cream);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100% - 32px, 460px);
  min-height: 56px;
  padding: 13px 30px;
  background: var(--orange);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.cta-button span {
  font-size: 16px;
}

.section {
  padding: 60px 0;
}

h2 {
  margin: 0 0 36px;
  color: #111;
  font-size: 32px;
  line-height: 1.5;
  text-align: center;
  font-weight: 700;
}

.intro {
  text-align: center;
  padding-top: 52px;
}

.intro-logo {
  display: block;
  width: min(100%, 220px);
  margin: 0 auto 28px;
}

.intro p {
  margin: 0 auto 14px;
  font-weight: 700;
}

.compare .container {
  width: min(100% - 32px, 980px);
  padding: 42px 44px 36px;
  background: var(--cream);
}

.compare img {
  margin: 0 auto 22px;
}

.compare img:first-child {
  width: min(100%, 640px);
}

.compare img:nth-child(2) {
  width: min(100%, 650px);
}

.compare .note {
  margin: 18px auto 0;
  max-width: 820px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
}

.note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.features {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 54px 0 84px;
  background: #fff;
}

.features .container {
  width: min(100% - 40px, 900px);
}

.features h2 {
  margin-bottom: 72px;
}

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

.feature-card {
  position: relative;
  min-height: 368px;
  padding: 60px 28px 30px;
  background: rgba(245, 239, 215, 0.78);
  border-radius: 8px;
  text-align: center;
}

.feature-card span {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 170px;
  min-height: 70px;
  border-radius: 8px;
  background: #568fc8;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.feature-card strong {
  display: block;
  margin: 24px 0 42px;
  color: #5596d3;
  font-size: 88px;
  line-height: 1;
}

.feature-card img {
  width: 200px;
  margin: 0 auto 13px;
}

.feature-card p {
  margin: 0;
  color: #111;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 700;
}

.feature-card sup {
  margin-left: 2px;
  font-size: 11px;
  vertical-align: super;
}

.features .note {
  margin-top: 48px;
  font-size: 13px;
  line-height: 1.75;
}

.price {
  background: var(--paper);
}

.price .container {
  width: min(100% - 32px, 920px);
}

.table-block {
  margin: 0 0 42px;
}

.table-block h3,
.option-title {
  margin: 0 0 16px;
  color: #111;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  font-size: 16px;
}

th {
  padding: 14px 10px;
  border: 2px solid #fff;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
}

th small {
  display: block;
  font-size: 11px;
  font-weight: 700;
}

td {
  padding: 18px 14px;
  border: 2px solid var(--line);
  text-align: center;
  vertical-align: middle;
  font-weight: 800;
  font-size: 19px;
}

td:first-child {
  text-align: center;
}

td b {
  font-size: 30px;
  line-height: 1;
}

.price-table {
  border: 1px solid var(--line);
}

.price-table th {
  height: 72px;
  font-size: 21px;
  vertical-align: middle;
}

.price-table th sup {
  margin-left: 2px;
  font-size: 9px;
  vertical-align: super;
}

.price-table td {
  font-size: 19px;
}

.line-table th:nth-child(1),
.line-table td:nth-child(1) {
  width: 39%;
}

.line-table th:nth-child(2),
.line-table td:nth-child(2) {
  width: 24%;
}

.line-table th:nth-child(3),
.line-table td:nth-child(3) {
  width: 37%;
}

.price-table td sup {
  margin-left: 2px;
  font-size: 10px;
  vertical-align: super;
}

.provider-table th:nth-child(1),
.provider-table td:nth-child(1) {
  width: 39%;
}

.provider-table th:nth-child(2),
.provider-table td:nth-child(2) {
  width: 36%;
}

.provider-table th:nth-child(3),
.provider-table td:nth-child(3) {
  width: 25%;
}

.provider-table td:nth-child(2) {
  text-align: left;
}

.provider-table ul {
  margin: 0;
  padding-left: 1.1em;
  line-height: 1.65;
}

.price-cell {
  text-align: right;
  white-space: nowrap;
}

.price-cell b {
  display: inline-block;
  min-width: 92px;
  text-align: right;
}

.price-cell span {
  margin-left: 4px;
  font-weight: 700;
}

.price-cell sup {
  margin-left: 3px;
  font-size: 9px;
  vertical-align: super;
}

.option-accordion {
  margin-top: 44px;
}

.option-table th {
  height: 72px;
  font-size: 21px;
  vertical-align: middle;
}

.long {
  margin-bottom: 40px;
}

.option-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 300px;
  margin-top: 0;
  margin-bottom: 16px;
  padding: 9px 24px;
  border: 3px solid var(--line);
  color: var(--blue);
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
}

.option-title::-webkit-details-marker {
  display: none;
}

.option-title::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--blue);
  background: transparent;
  font-size: 22px;
  line-height: 1;
}

.option-accordion[open] .option-title::after {
  content: "-";
}

.billing {
  background: #fff;
}

.billing .container,
.flow .container {
  width: min(100% - 32px, 800px);
}

.billing .container {
  width: min(100% - 32px, 920px);
}

.billing-copy {
  margin: 0 0 48px;
  max-width: none;
  font-size: 15px;
  font-weight: 700;
}

.billing-copy p {
  margin: 0 0 10px;
}

.billing-copy span {
  color: #0068b7;
  font-weight: 700;
}

.billing-small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

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

.billing-grid article {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 18px;
  align-items: center;
  min-height: 135px;
  padding: 24px 22px;
  background: #f2f6f9;
}

.billing-grid img {
  width: 58px;
  margin: auto;
}

.billing-grid h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
}

.billing-grid p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 700;
}

.billing-notes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.billing-notes p {
  margin: 0;
}

.billing-notes p:first-child {
  grid-column: 1 / span 1;
}

.billing-notes p:last-child {
  grid-column: 3 / span 1;
}

.billing-support {
  margin-top: 58px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.7;
}

.billing-support p {
  margin: 0 0 4px;
}

.billing-support a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.flow {
  padding-top: 70px;
}

.flow .container {
  width: min(100% - 32px, 920px);
}

.flow-lead {
  margin: -6px 0 58px;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
}

.flow-heading {
  margin: 0 0 18px;
  padding-left: 20px;
  border-left: 10px solid currentColor;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
}

.flow-heading.blue {
  color: var(--blue-dark);
}

.flow-heading.green {
  margin-top: 62px;
  color: var(--green);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.step-grid article {
  min-height: 210px;
  border: 2px solid currentColor;
  background: #fff;
  text-align: center;
}

.blue-steps article {
  color: var(--blue-dark);
}

.green-steps article {
  color: var(--green);
}

.step-grid span {
  display: block;
  padding: 14px 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.blue-steps span {
  background: var(--blue-dark);
}

.green-steps span {
  background: var(--green);
}

.step-grid p {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  margin: 20px 10px 4px;
  color: #222;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 700;
}

.step-grid .no-icon p {
  display: grid;
  place-items: center;
  min-height: 130px;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.65;
}

.step-grid .no-icon em {
  display: block;
  font-style: normal;
  white-space: nowrap;
}

.step-grid sup {
  margin-left: 2px;
  color: currentColor;
  font-size: 10px;
  line-height: 1;
  position: relative;
  top: -0.5em;
  vertical-align: super;
}

.step-grid img {
  width: 69px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.flow-note {
  margin: 14px 0 0 8px;
  color: #555;
  font-size: 13px;
  line-height: 1.7;
}

.contact {
  padding: 62px 0 30px;
  background: #fff;
}

.contact .container {
  width: min(100% - 64px, 1120px);
}

.contact-inner {
  display: grid;
  grid-template-columns: 250px 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-logos {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.footer-logos img {
  display: block;
}

.footer-dalia-logo {
  width: 130px;
}

.footer-usen-logo {
  width: 220px;
}

.contact-box {
  padding-top: 10px;
}

.contact-box h2 {
  margin: 0;
  padding: 8px 12px;
  background: var(--blue-dark);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.04em;
}

.contact-box p {
  margin: 18px 0 8px;
  color: #111;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.contact-box small {
  display: block;
  color: #111;
  font-size: 13px;
  line-height: 1.7;
}

.copyright {
  display: grid;
  place-items: center;
  min-height: 22px;
  background: var(--blue-dark);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.sp-only {
  display: none;
}

@media (max-width: 780px) {
  .container,
  .narrow,
  .billing .container,
  .flow .container,
  .contact .container {
    width: min(100% - 24px, 720px);
  }

  .billing .container {
    width: min(100% - 24px, 720px);
  }

  .flow .container {
    width: min(100% - 24px, 720px);
  }

  .hero {
    height: auto;
    min-height: 0;
    margin-bottom: 0;
    aspect-ratio: 1081 / 1921;
    background-image: url("../img/fv_sp.png");
    background-size: cover;
    background-position: center top;
  }

  .intro {
    padding-top: 42px;
  }

  .intro p {
    text-align: center;
    font-size: 18px;
    line-height: 1.9;
  }

  .compare .container {
    width: min(100% - 32px, 520px);
    padding: 28px 18px 24px;
  }

  .compare .note {
    font-size: 11px;
  }

  .feature-grid,
  .billing-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 52px 0 28px;
  }

  .contact .container {
    width: min(100% - 32px, 720px);
  }

  .contact-inner {
    gap: 28px;
    align-items: start;
  }

  .footer-logos {
    gap: 18px;
  }

  .footer-dalia-logo {
    width: 108px;
  }

  .footer-usen-logo {
    width: 190px;
  }

  .billing-copy {
    max-width: none;
    font-size: 14px;
  }

  .billing-grid article {
    grid-template-columns: 56px 1fr;
    min-height: 110px;
    padding: 18px;
  }

  .billing-grid img {
    width: 48px;
  }

  .billing-notes {
    grid-template-columns: 1fr;
  }

  .billing-notes p:first-child,
  .billing-notes p:last-child {
    grid-column: auto;
  }

  .features {
    width: 100%;
    padding: 48px 0 58px;
  }

  .features .container {
    width: min(100% - 40px, 430px);
  }

  .features h2 {
    margin-bottom: 54px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .feature-card {
    min-height: 0;
    padding: 66px 22px 30px;
  }

  .feature-card span {
    width: 150px;
    min-height: 52px;
    font-size: 24px;
  }

  .feature-card strong {
    font-size: 70px;
    margin: 10px 0 24px;
  }

  .feature-card img {
    width: 220px;
    margin: 0 auto;
  }

  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .flow-lead {
    margin-bottom: 34px;
    font-size: 18px;
  }

  .flow-heading {
    font-size: 22px;
  }

  .step-grid article {
    min-height: 176px;
  }

  .step-grid span {
    padding: 12px 4px;
    font-size: 18px;
  }
  */ .step-grid img {
    width: 50px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
    padding-bottom: 70px;
  }

  .cta-band {
    min-height: 70px;
  }

  .cta-button {
    width: min(100% - 20px, 380px);
    min-height: 50px;
    padding: 11px 22px;
    font-size: 15px;
  }

  .section {
    padding: 52px 0;
  }

  h2 {
    margin-bottom: 26px;
    font-size: 28px;
  }

  .features h2 {
    margin-bottom: 70px;
  }

  .feature-card {
    padding: 15px 18px 28px;
  }

  .feature-card span {
    min-height: 52px;
    font-size: 27px;
  }

  .feature-card strong {
    font-size: 68px;
  }

  .feature-card p {
    font-size: 20px;
  }

  .features .note {
    font-size: 11px;
  }

  .intro-logo {
    width: min(100%, 180px);
  }

  table {
    font-size: 12px;
    table-layout: fixed;
  }

  th,
  td {
    padding: 10px 5px;
    word-break: keep-all;
  }

  td b {
    font-size: 21px;
  }

  .table-block h3,
  .option-title {
    font-size: 19px;
  }

  .price-table th {
    height: 54px;
    font-size: 15px;
    line-height: 1.25;
  }

  .option-table th {
    height: 54px;
    font-size: 12px;
  }

  .price-table td {
    font-size: 14px;
    line-height: 1.45;
  }

  .price-cell b {
    min-width: 0;
    font-size: 18px;
  }

  .price-cell span {
    margin-left: 1px;
    font-size: 11px;
  }

  .price-cell sup {
    margin-left: 1px;
    font-size: 8px;
  }

  .line-table th:nth-child(1),
  .line-table td:nth-child(1) {
    width: 39%;
  }

  .line-table th:nth-child(2),
  .line-table td:nth-child(2) {
    width: 24%;
  }

  .line-table th:nth-child(3),
  .line-table td:nth-child(3) {
    width: 37%;
  }

  .line-table th:nth-child(2) {
    font-size: 15px;
  }

  .line-table th:nth-child(3) small {
    font-size: 9px;
    line-height: 1.25;
  }

  .provider-table th:nth-child(1),
  .provider-table td:nth-child(1) {
    width: 36%;
  }

  .provider-table th:nth-child(2),
  .provider-table td:nth-child(2) {
    width: 38%;
  }

  .provider-table th:nth-child(3),
  .provider-table td:nth-child(3) {
    width: 26%;
  }

  .provider-table td:nth-child(1) {
    font-size: 14px;
    line-height: 1.55;
  }

  .provider-table td:nth-child(2) {
    padding-left: 7px;
    padding-right: 4px;
    font-size: 11px;
  }

  .provider-table ul {
    padding-left: 1em;
    line-height: 1.55;
  }

  .provider-table .price-cell {
    text-align: center;
  }

  .sp-only {
    display: block;
  }

  .option-title {
    width: 100%;
    margin-top: 0;
    padding: 8px 16px;
  }

  .billing-grid article {
    grid-template-columns: 54px 1fr;
    min-height: 104px;
    padding: 16px;
  }

  .billing-grid h3 {
    font-size: 15px;
  }

  .billing-grid p {
    font-size: 12px;
  }

  .step-grid {
    grid-template-columns: 1fr;
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .step-grid article {
    min-height: 166px;
  }

  .flow-lead {
    font-size: 18px;
    font-weight: 800;
  }

  .flow-heading {
    width: min(100%, 330px);
    margin-right: auto;
    margin-left: auto;
    font-size: 18px;
  }

  .step-grid span {
    font-size: 18px;
  }

  .step-grid p {
    min-height: 50px;
    margin: 16px 10px 4px;
    font-size: 18px;
  }

  .step-grid .no-icon p {
    min-height: 88px;
    font-size: 18px;
    margin-bottom: 20px;
  }

  .step-grid img {
    width: 90px;
    margin-bottom: 10px;
  }

  .flow-note {
    width: min(100%, 330px);
    margin-right: auto;
    margin-left: auto;
    font-size: 11px;
  }

  .contact {
    padding-top: 50px;
  }
}

/* provider table mobile overflow fix */
@media (max-width: 560px) {
  .provider-table th:nth-child(1),
  .provider-table td:nth-child(1) {
    width: 34%;
  }

  .provider-table th:nth-child(2),
  .provider-table td:nth-child(2) {
    width: 42%;
  }

  .provider-table th:nth-child(3),
  .provider-table td:nth-child(3) {
    width: 24%;
  }

  .provider-table td:nth-child(2) {
    padding-left: 3px;
    padding-right: 3px;
    font-size: 10px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .provider-table ul {
    padding-left: 0.9em;
    line-height: 1.45;
  }

  .provider-table .price-cell b {
    font-size: 18px;
  }
}
/* option table mobile overflow fix */
@media (max-width: 560px) {
  .option-table th:nth-child(1),
  .option-table td:nth-child(1) {
    width: 42%;
  }

  .option-table th:nth-child(2),
  .option-table td:nth-child(2) {
    width: 24%;
  }

  .option-table th:nth-child(3),
  .option-table td:nth-child(3) {
    width: 34%;
  }

  .option-table td {
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .option-table .price-cell {
    text-align: center;
  }

  .option-table .price-cell b {
    font-size: 18px;
  }
}

/* table list marker reset */
table li {
  list-style: none;
}

/* billing item notes */
.billing-item {
  min-width: 0;
}

.billing-item-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
/* compare table responsive images */
.compare-table-sp {
  display: none;
}

@media (max-width: 780px) {
  .compare-table-pc {
    display: none;
  }

  .compare-table-sp {
    display: grid;
    gap: 14px;
    margin: 0 auto 18px;
  }

  .compare-table-sp img {
    width: min(100%, 420px);
    margin: 0 auto;
  }
}
/* mobile footer logos horizontal */
@media (max-width: 780px) {
  .footer-logos {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 22px;
    width: 100%;
  }

  .footer-dalia-logo {
    width: 150px;
  }

  .footer-usen-logo {
    width: 200px;
  }
}
