@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&family=DotGothic16&family=Noto+Sans+JP:wght@100..900&display=swap");
@-webkit-keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

@keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

body {
  background: #fef1dc url(./images/bg.png) center top repeat-x;
  margin: 0 auto;
  font-family: "FOT-ドット明朝 12 Std M", "DotGothic16", sans-serif;
  line-height: 1.4;
  font-weight: 400;
  font-style: normal;
  text-align: center; }
  body img {
    max-width: 100%; }
  body a {
    color: #333;
    text-decoration: none;
    transition: 0.2s; }
    body a:hover {
      color: #666; }
      body a:hover img {
        opacity: 0.8; }
  body * {
    box-sizing: border-box; }

#header {
  background-image: url(./images/icon-uma.png), url(./images/cloud-l.png), url(./images/cloud-r.png);
  background-position: right 20%, -20% top, 120% top;
  background-size: auto, 40%, 40%;
  background-repeat: no-repeat; }
  #header .header-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0 0 0;
    position: relative; }
  #header h1 {
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2; }
    #header h1 img {
      vertical-align: bottom; }
  #header .icon-matsu {
    position: absolute;
    z-index: 3;
    width: 210px;
    height: 100px;
    top: 0;
    bottom: 0;
    left: 30%;
    margin: auto; }
  @media screen and (min-width: 671px) {
    #header .sp-main {
      display: none; } }
  @media screen and (max-width: 1800px) {
    #header .icon-matsu {
      width: 160px;
      left: 22%; } }
  @media screen and (max-width: 670px) {
    #header {
      background-position: 110% 20%, -80% top, 180% top;
      background-size: 40%, 70%, 70%; }
      #header .pc-main {
        display: none; }
      #header .icon-matsu {
        width: 80px;
        left: 5px; }
      #header .icon-build {
        background-image: url(./images/build-l.png), url(./images/build-r.png);
        background-position: left top, right top;
        background-repeat: no-repeat;
        background-size: 100px;
        position: absolute;
        width: 100%;
        height: 170px;
        bottom: 0;
        margin: auto; } }

#main {
  background: url(./images/bg-red.png) center top repeat;
  padding: 20px 0 20px 0;
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 0 0 20px 20px;
  position: relative;
  top: -1px;
  transition: 1s; }
  #main .main-content {
    background: #fef1dc url(./images/bg-white.png) center top repeat;
    width: 600px;
    max-width: 90%;
    padding: 20px;
    margin: 0 auto;
    border-radius: 16px; }
  #main .caution {
    display: none; }
  #main .img-tda {
    display: none; }
  #main.on {
    padding: 20px 0 300px 0; }
    #main.on .caution {
      display: block;
      opacity: 0;
      text-align: center;
      margin: 40px auto 20px auto;
      font-size: 0.8rem;
      -webkit-animation-name: fadeIn;
      animation-name: fadeIn;
      -webkit-animation-duration: 1s;
      animation-duration: 1s;
      -webkit-animation-delay: 0s;
      animation-delay: 0s;
      -webkit-animation-fill-mode: forwards;
      animation-fill-mode: forwards; }
    #main.on .img-tda {
      display: block;
      opacity: 0;
      position: absolute;
      bottom: -10px;
      left: 0;
      right: 0;
      width: 800px;
      max-width: 96%;
      margin: 0 auto;
      text-align: right;
      -webkit-animation-name: fadeIn;
      animation-name: fadeIn;
      -webkit-animation-duration: 2s;
      animation-duration: 2s;
      -webkit-animation-delay: 8s;
      animation-delay: 8s;
      -webkit-animation-fill-mode: forwards;
      animation-fill-mode: forwards; }

.card {
  margin: 0 auto;
  text-align: left; }
  .card .description {
    text-align: center; }
    .card .description span {
      display: block;
      font-size: 0.9rem; }
  .card label {
    display: block;
    margin-top: 12px;
    font-size: 0.9rem; }
  .card input, .card select, .card button {
    margin-top: 4px;
    font-size: 1rem;
    padding: 8px 10px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #ccc; }
  .card button {
    margin-top: 16px;
    cursor: pointer;
    border: none;
    font-weight: 600; }
  .card button:disabled {
    opacity: 0.6;
    cursor: default; }
  .card .btn-primary {
    background: #b0904c;
    color: #fff;
    font-family: 'FOT-ドット明朝 12 Std M';
    font-size: 1.4rem;
    padding: 20px 0;
    transition: 0.5s; }
    .card .btn-primary:hover {
      background: #8c6c2a; }
  .card .result {
    margin-top: 20px;
    white-space: pre-wrap;
    font-size: 0.95rem;
    font-family: "DotGothic16", sans-serif; }
  .card small {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 0.75rem; }

#footer {
  margin: 20px auto;
  text-align: center; }
  #footer .flow a {
    margin: 0 auto; }
  #footer .flow img {
    width: 100px; }
  #footer .illust {
    font-family: "Assistant", sans-serif;
    margin: 20px auto;
    font-size: 0.8rem; }
