@charset "utf-8";

/** google fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/**
  * reset
  */

body, p, h1, h2, article {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


/**
  * base
  */

:root {
  --baseColor: #4d5251;
  --bgColor: #5a9cb5;
  --whiteColor: #fefefe;
  --grayBgColor: #5a9cb5;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--baseColor);
  font-size: 1rem;
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-optical-sizing: auto;
  line-height: 1.6;
  background-color: var(--bgColor);
}

h1, h2, strong, em {
  font-weight: 700;
}

em {
  font-style: normal;
}

canvas {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 739px) { /** SP */
  .pc {
    display: none;
  }
}

@media screen and (min-width: 740px) { /** PC */
  .sp {
    display: none;
  }
}


/**
  * link
  */

a {
  color: var(--whiteColor);
  text-decoration: none;
  transition: all 0.3s;
}

a:link,
a:visited {
  text-decoration: underline;
}

a:hover,
a:active {
  text-decoration: none;
}


/**
  * contents
  */

.wrapper {
  margin: 3em auto 4em;
  width: min(90%, 700px);
}

.back {
  margin-bottom: 2em;
  font-size: 0.85em;
}

h1 {
  color: var(--whiteColor);
  font-size: 1.5em;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
}

.report_area {
  margin-top: 1.5em;
}

.report_conte {
  padding: 1.5em 1em;
  background-color: var(--whiteColor);
  border-radius: 10px;
}
.report_area .report_conte:not(:last-child) {
  margin-bottom: 1.5em;
}

h2 {
  font-size: 1.35em;
  line-height: 1.4;
  text-align: center;
}

.report_area .report_conte:not(:first-child) h2 {
  margin-bottom: 3em;
  position: relative;
}
.report_area .report_conte:not(:first-child) h2::before {
  content: '';
  margin-inline: auto;
  background-color: var(--grayBgColor);
  width: 3em;
  height: 1px;
  position: absolute;
  bottom: -1.5em;
  inset-inline: 0;
  display: inline-block;
}

h3 {
  margin-bottom: 1em;
  font-size: 1.15em;
  line-height: 1.4;
  text-align: center;
}

script + h3 {
  margin-top: 2em;
}

.report_area .report_conte:first-child p {
  margin-top: 1em;
  text-align: center;
}
.report_area .report_conte:first-child p strong {
  font-size: 1.75em;
}

.graph_area + p {
  margin-top: 1em;
}

.error {
  color: var(--whiteColor);
  text-align: center;
}

@media screen and (min-width: 740px) { /** PC */
  .back {
    margin-bottom: 3em;
  }

  h1 {
    font-size: 2.25em;
  }

  .report_area {
    margin-top: 2.75em;
  }

  .report_conte {
    padding: 2.5em 2em;
    border-radius: 20px;
  }
  .report_area .report_conte:not(:last-child) {
    margin-bottom: 2.5em;
  }

  h2 {
    font-size: 1.75em;
  }

  .report_area .report_conte:first-child p {
    margin-top: 1.5em;
  }
  .report_area .report_conte:first-child p strong {
    font-size: 2em;
  }

  h3 {
    font-size: 1.35em;
  }

  .graph_area + p {
    margin-top: 1.5em;
    font-size: 1.1em;
    text-align: center;
  }
}
