label {
    position: relative;
    cursor: pointer;
    padding-left: 40px;
  }
  
  label::before,
  label::after {
    content: "";
    display: block; 
    border-radius: 50%;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
  }
  
  label::before {
    background-color: #fff;
    border: 1px solid #707070;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    left: 5px;
  }
  
  label::after {
    background-color: #707070;
    border-radius: 50%;
    opacity: 0;
    width: 16px;
    height: 16px;
    left: 8px
  }
  label.privacy::before {
    border-radius: 4px;
  }
  
  label.privacy::after {
    border-radius: 4px;
  }
  
  input:checked + label::after {
    opacity: 1;
  }
  
  .visually-hidden {
   position: absolute;
   white-space: nowrap;
   border: 0;
   clip: rect(0 0 0 0);
   clip-path: inset(50%);
   overflow: hidden;
   height: 1px;
   width: 1px;
   margin: -1px;
   padding: 0;
  }
    .kv {
        padding-top: 256px;
        text-align: center;
    }
    .kv .container {
        position: absolute;
        top: 200px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        color: #051739;
        text-align: center;
    }
    .kv .container .title {
        font-size: 37px;
        letter-spacing: 0.2em;
    }
    .kv .container .title-en {
        font-size: 30px;
    }

    .container.commentbox {
        position: relative;
        width: 1143px;
        background-color: white;
        border-radius: 20px;
        padding-top: 89px;
        padding-bottom: 100px;
    }
    .container.commentbox .title {
        padding-top: 65px;
        text-align: center;
        font-size: 37px;
        letter-spacing: 0.2em;
    }
    .container.commentbox p {
        font-size: 23px;
        font-family: var(--font-family-hiragino);
        line-height: 40px;
        padding: 0 72px;
    }

    #detail {
        margin-bottom: 138px;
        min-width: 1440px;
        padding-top: 150px;
    }
    #detail .container,
    #policy .container {
        padding-bottom: 0;
    }
    #detail .container > div {
        position: relative;
        width: auto;
        height: auto;
        top: 0;
        right: 0;
    }
    #detail .container > div:nth-child(2) {
        padding-top: 108px;
        padding-bottom: 70px;
        color: #707070;
    }
    .caption p {
        color: #2D6CE3;
        font-size: 25px;
        letter-spacing: 0.1em;
        margin-bottom: 10px;
        text-align: center;
    }
    .caption {
        color: #2D6CE3;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .caption > div{
        width: 460px;
        border-bottom: 2px solid #2D6CE3;
    }

    /* table */
    #detail .container .input-area {
       color: #707070;
       border-collapse: collapse;
       font-family: var(--font-family-hiragino);
       font-size: 20px;
       margin: 0 47px;
    }
    /* tr */
    #detail .container .input-area > div {
        width: 100%;
        display: flex;
    }
    /* td */
    #detail .container .input-area > div > div {
        vertical-align: top;
        min-height: 74px;
        line-height: 2.1em;
        padding-bottom: 2.5em;
    }
    #detail .container .input-area > div > div:nth-child(1) {
        width: 370px;
    }
    #detail .container .input-area > div > div:nth-child(2) {
        width: 668px;
        padding-left: 0;
    }
    #detail .container .input-area input[type="text"] {
        width: 461px;
        height: 55px;
        font-size: 20px;
    }
    #detail .container .input-area input[name="address"] {
        width: 667px;
    }
    #detail .container .input-area .rightpadding {
        padding-right: 108px;
    }
    #detail .container .input-area textarea {
        width: 667px;
        height: 251px;
        font-size: 20px;
    }
    #detail button {
        position: absolute;
        left: -80px;
        bottom: -130px;
        width: 148px;
        margin: 30px 71px 64px 0;
    }

    #policy {
        margin-bottom: 138px;
        min-width: 1440px;
        padding-top: 0;
    }
    #policy .container {
        padding-top: 0;
    }
    #policy .container .privacy {
        font-size: 20px;
        padding: 60px;
        overflow-y: scroll;
        height: 362px;
        color: #707070;
    }

    .privacy .container {
        padding-bottom: 48px;
    }

    .confirm,
    .complete {
        height: 300px;
        display: flex;
        justify-content: center;
    }
    .confirm .entry,
    .complete .entry {
        background-color: #2D6CE3;
        color: white;
    }
    .confirm .back {
        border: 3px solid #9A9A9A;
        border-radius: 20px;
        padding: 25px 32px;
        font-family: var(--font-family-hiragino);
        font-size: 23px;
        font-weight: 600;
        background-color: #9A9A9A;
        color: white;
        margin-right: 12px;
    }

    #detail .container.commentbox.complete {
        color: #707070;
        padding-top: 100px;
        padding-bottom: 100px;
    }
    #detail .container.commentbox.complete p {
        margin: 0;
    }
    .complete .entry {
        width: 284px;
    }

    @media screen and (max-width:740px){
        .kv {
            min-width: auto;
            padding-top: calc(72px + 15px);
            height: 200px;
        }
        .kv .white-grade-mask {
            margin: 0 21px;
        }
        .kv .pc-hdn {
            width: 100%;
            border-radius: 15px;
        }
        .kv .container {
            width: 100%;
            right: auto;
            padding: 0;
            top: 50%;
            transform: translateY(-50%);
            text-align: center;
            position: static;
            padding-top: 142px;
        }
        .kv .container .title {
            font-size: 25px;
            letter-spacing: 0;
        }
        .kv .container .title-en {
            font-size: 16px;
        }
        .container.commentbox {
            padding: 0 18px;
            margin: 0 21px;
            width: auto;
            color: #051739;
        }
        #message .container.commentbox .title {
            font-size: 15px;
            color: #707070;
        }
        .container.commentbox .title-en {
            font-size: 14px;
        }
        .caption > div {
            width: 100%;
        }
        .container.commentbox .caption p {
            font-size: 18px;
        }
        .container.commentbox p {
            font-size: 15px;
            padding: 0;
            line-height: 1.9;
            font-family: var(--font-family-default);
        }
        .container.commentbox p.signature {
            padding-bottom: 40px;
            padding-right: 10px;
        }
        #message {
            min-width: auto;
        }
        #message .container.commentbox {
            left: 0;
            top: 28px;
            width: 175px;
            height: 109px;
        }
        #detail {
            margin-bottom: 43px;
            min-width: auto;
            padding-top: 48px;
        }
        #detail .container > div:nth-child(2) {
            padding-top: 36px;
            padding-bottom: 42px;        
        }
        /* table */
        #detail .container .input-area {
            margin: 0;
            font-size: 15px;
        }
        /* tr */
        #detail .container .input-area > div {
            flex-direction: column;
            padding-bottom: 2.0em;
        }
        /* td */
        #detail .container .input-area > div > div {
            min-height: auto;
            line-height: 2.0em;
            padding-bottom: 0;
        }
        #detail .container .input-area > div > div:nth-child(1) {
            width: 100%;
        }
        #detail .container .input-area > div > div:nth-child(2) {
            width: 100%;
            padding-left: 0;
            display: flex;
            flex-direction: column;
        }
        #detail .container .input-area input[type="text"] {
            width: 100%;
            font-size: 15px;
        }
        #detail .container .input-area input[name="address"] {
            width: 100%;
            font-size: 15px;
        }
        #detail .container .input-area textarea {
            width: 100%;
            font-size: 15px;
        }
        

        #detail button {
            width: 102px;
            left: 12px;
        }

        #policy {
            min-width: auto;
            width: 100%;
            margin-bottom: 43px;
        }
        #policy .container {
            height: 620px;
        }
        #policy .container .privacy {
            font-size: 15px;
            color: #707070;
            padding: 44px 21px 30px;
            height: 100%;
        }
        .privacy .caption > div {
            width: 240px;
        }
        .privacy .caption p {
            font-size: 18px;
            letter-spacing: 0;        
        }
        .confirm {
            height: 120px;
        }
        .confirm,
        .complete {
            height: 120px;
            justify-content: space-evenly;
        }
        .confirm > div {
            width: 42%;
        }
        .confirm .entry {
            width: 100%;
            height: 73px;
        }
        .confirm .back {
            border-width: 2px;
            font-size: 16px;
            padding: 10px 24px;
            border-radius: 10px;
            height: 73px;
            width: 100%;
        }

        #detail .container.commentbox.complete {
            padding: 36px 16px;
            height: auto;
        }

    }