@charset "utf-8";

body {
    font-size: 1.6rem;
    font-size: 16px;
    background-color: #005bac;
}

hr {
    border-color: #ff0000;
}

main {
    max-width: 860px;
    margin: 50px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
}

header{
    background-color: #005BAC;
    height: 80px;
    width: 100%;
    color: #ffffff;
    position: relative;
}

header figure{
    position: absolute;
    top: 10px;
    left: 30px;
}

header h1{
    position: absolute;
    top: 32px;
    left: 230px;
    font-size: 12px;
}

@media screen and (max-width: 925px) {
    header h1 {
        font-size: 10px;
        left: 220px;
    }
}

header .FormLink {
    display: block;
    background-color: #FECC17;
    width: 280px;
    color: #003462;
    border-radius: 100px;
    font-weight: 600;
    padding: 15px;
    font-size: 18px;
    text-align: center;
}

@media screen and (max-width: 925px) {
header .FormLink {
    width: 240px;
    color: #003462;
    border-radius: 100px;
    font-weight: 600;
    padding: 15px;
    font-size: 18px;
    text-align: center;
}
}

.spTop{
    display: none;
}

.HeaderDesc {
    display: flex;
    position: absolute;
    top: 10px;
    justify-content: flex-end;
    width: 100%;
    align-items: center;
    padding: 0 30px 0 0;
}

.HeaderDesc p {
    font-family: din-2014, sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: right;
    line-height: 0.6;
    margin: 0 15px 0 0;
}

.HeaderDesc p i{
    font-size: 20px;
    margin: 0 3px 0 0;
}

.HeaderDesc p span{
    font-size: 12px;
    font-weight: 400;
    font-family:'Noto Sans JP','游ゴシック体', YuGothic,sans-serif;  
    letter-spacing: 0;
    font-feature-settings: "palt";

}


h1 {
    margin: 0 0 30px;
}

h2 {
    padding: 0 0 15px;
    border-bottom: 1px solid #000000;
    margin: 0 0 15px;
    font-size: 24px;
}

h3 {
    text-align: center;
    margin: 30px 0;
}

form {
  margin: 50px;
  text-align: center;

  input[type=button] {
    background: #ddd;
    border: #aaa solid 1px;
    border-radius: 10px;
    color: #aaa;
    padding: 10px 80px;
    pointer-events: none;
    transition: background-color .3s, color .5s;
    margin: 10px 0 0 0;
    
    &:focus {
      visibility: hidden;
    }
  }
  
  &:has(input:checked) input[type=button] {
    background: #fff;
    border: #000 solid 1px;
    color: #333;
    cursor: pointer;
    pointer-events: auto;

    &:focus {
      visibility: visible;
    }
  }
  
  @media (hover: hover) {
    &:has(input:checked) input[type=button]:hover {
      background: #000;
      color: #fff;
    }
  }
}

main p span{
    font-size: 0.8em;
    color#000000;
}