header {
    background: url('../img/photo_main02.png') no-repeat;
    background-size: cover;
    background-position-x: center;
    height: 320px;
}

main {
    margin: 100px auto 0 auto;
    width: 100%;
    text-align: left;
    padding-bottom: 70px;
}

.logo {
    padding: 10px;
}

.header-title {
    text-align: center;
    transform: translateY(113px);
}

.header-title-jp {
    color: #fff;
    font-size: 1.6rem;
}

.header-title-en {
    color: #0000ff;
    font-size: 7rem;
    margin-top: 70px;
}

.contents-wrap {
    width: 100%;
    background: #fff;
    margin-top: 50px;
}

.contents-wrap.bg-gray {
    background: #ddd;
}

.contents {
    width: 72%;
    max-width: 1024px;
    min-width: 600px;
    margin: 0 auto;
    padding: 30px 0;
}

.contents-title {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.contents-title-jp,
.contents-title-en {
    text-align: left;
}

.contents-title-jp span,
.contents-title-en span {
    display: block;
}

.contents-title-jp {
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-weight: 600;
    padding-top: 10px;
    padding-right: 10px;
}

.contents-title-jp span:first-child::first-letter {
    color: #0000ff;
}

.contents-title-en {
    font-size: 6rem;
    color: #0000ff;
    letter-spacing: 11px;
}

.info-header {
    text-align: center;
}

.info-header h2 {
    font-size: 1.4rem;
}

.info-header h2::first-letter {
    color: #0000ff
}

.info-header p {
    font-size: 0.8rem;
    color: #0000ff;
    margin: 10px 0;
}

.info-header div {
    margin: 10px 0;
    padding: 10px;
    text-align: left;
    white-space: pre-line;
    letter-spacing: 1px;
    line-height: 1.5;
}

.line-frame {
    display: flex;
    position: relative;
    width: 100%;
    max-width: 840px;
    padding: 20px;
    margin: 40px auto 100px auto;
    border: 1px solid #aaa;
    border-radius: 5px;
}

.line-frame-contents-box {
    width: 80%;
    line-height: 1.4rem;
}

.line-frame-qr-box {
    width: 100px;
    padding: 20px 5px;
}

.line-frame-qr-box img {
    width: 100%;
    object-fit: contain;
}

.about-line-contact {
    font-size: 1.6rem;
    color: #0000ff;
    font-weight: 600;
}

.about-line-contact-textbox {
    margin: 32px 10px 10px 10px;
    line-height: 1.5;
}

.about-line-contact-textbox div {
    font-weight: 600;
}

.about-line-contact-textbox p {
    margin-top: 20px
}

.qr-frame {
    width: 110px;
    height: 110px;
    border: 1px solid #ddd;
}

.line-btn-in-frame {
    position: absolute;
    right: -25px;
    bottom: -25px;
    width: 200px;
    background: #fff;
}

.line-btn-in-frame img {
    width: 100%;
}

.form-notion {
    text-align: center;
    white-space: pre-line;
    line-height: 1.6;
    margin-bottom: 20px;
}

.form-notion strong {
    color: #ff0000;
}

table.form-table {
    margin: 0 auto;
}

table.form-table th {
    padding: 10px 4px;
    vertical-align: top;
    text-align: left;
}

table.form-table td {
    padding: 0 4px 10px 4px;
    vertical-align: top;
}

table.form-table tr>td:nth-child(2) {
    color: #ff0000;
    padding-top: 9px;
}

table.form-table input,
table.form-table textarea {
    font-size: 1rem;
}

table.form-table input[type='text'],
table.form-table textarea {
    width: calc(100% - 22px);
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form>p.submit-box {
    text-align: center;
}

form>p.submit-box input[type="submit"] {
    display: inline-block;
}

.select-wrap select {
    outline: none;
    text-indent: 0.01px;
    text-overflow: '';
    background: none transparent;
    vertical-align: middle;
    font-size: inherit;
    color: inherit;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
}

.select-wrap {
    overflow: hidden;
    width: 90%;
    text-align: center;
}

.select-wrap select {
    width: 100%;
    padding-right: 1em;
    cursor: pointer;
    text-indent: 0.01px;
    text-overflow: ellipsis;
    border: none;
    outline: none;
    background: transparent;
    background-image: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.select-wrap select::-ms-expand {
    display: none;
}

.select-wrap {
    position: relative;
    border: 1px solid #bbbbbb;
    border-radius: 2px;
    background: #ffffff;
}

.select-wrap::before {
    position: absolute;
    top: 1.1em;
    right: 0.9em;
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666666;
    pointer-events: none;
}

.select-wrap:after {
    position: absolute;
    top: 0;
    right: 2.5em;
    bottom: 0;
    width: 1px;
    content: '';
    border-left: 1px solid #bbbbbb;
}

.select-wrap select {
    padding: 8px 38px 8px 8px;
    color: #666666;
}

.submit-box a {
    display: block;
    position: relative;
    width: 170px;
    height: 50px;
    line-height: 1.5rem;
    font-size: 1rem;
    color: #fff;
    background-color: #0000ff;
    text-decoration: none;
    padding-left: 10px;
    margin: 0 auto;
}

.submit-box a span {
    display: inline-block;
    transform: translateY(50%);
}

.submit-box a span.btn-text {
    padding-left: 48px;
}

.submit-box a span.arrow {
    position: absolute;
    right: 10px;
    display: inline-block;
    text-align: center;
    border: 0.5px solid #888;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    transform: translateY(5px);
}

.submit-box a span.arrow i {
    transform: translateY(6px);
}

.privacy-check-box {
    margin: 20px auto;
    text-align: center;
}

.privacy-check-box p {
    line-height: 1.4rem;
}

.privacy-check-box .privacy-check {
    margin-top: 20px;
}

.privacy-check-box .privacy-check label {
    color: #0000ff;
}

.other-contact-body {
    display: flex;
}

.other-contact {
    margin: 40px 0;
}

.other-contact h4 {
    margin: 16px;
}

.other-contact h4::first-letter  {
    color: #0000ff;
}

.other-contact-text {
    padding: 30px 18px;
    line-height: 1.6;
}

.tel-frame {
    margin: 10px;
    padding: 20px;
    border: 1px solid #0000ff;
    text-align: center;
    height: 75px;
}

.tel-number-box {
    white-space: nowrap;
}

.tel-number-box img {
    height: 1.6rem;
}

.tel-number-box span.tel-number {
    font-size: 1.6rem;
    font-weight: 600;
}

.tel-frame>p {
    font-weight: 600;
    margin-top: 20px;
}



@media (max-width: 768px) {
    main {
        width: calc(100% - 10px);
        padding: 0 5px;
        min-width: auto;
    }

    .header-title {
        transform: translateY(139px);
    }

    .header-title-en {
        font-size: 4rem;
    }

    .info-header h2 {
        font-size: 1.4rem;
    }

    .contents {
        max-width: none;
        min-width: 0;
        width: 95%;
    }

    .contents-title {
        display: block;
    }

    .contents-title-jp,
    .contents-title-en {
        text-align: center;
    }

    .contents-title-jp span,
    .contents-title-en span {
        display: block;
    }

    .contents-title-jp {
        font-size: 1.2rem;
        letter-spacing: 1px;
        font-weight: 600;
        padding-top: 10px;
        padding-right: 10px;
    }

    .contents-title-en {
        font-size: 2rem;
        color: #0000ff;
        letter-spacing: 11px;
        padding: 10px;
    }

    .line-frame {
        display: block;
        width: calc(100% - 20px);
        text-align: center;
        padding: 20px 10px;
    }

    .line-frame-contents-box {
        width: 100%;
    }

    .line-frame-qr-box {
        width: 100%;
    }

    .qr-frame {
        margin: 0 auto;
    }

    .line-btn-in-frame {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
    }

    table.form-table th {
        display: inline-block;
        text-align: center;
    }

    table.form-table tr>td:nth-child(2) {
        display: inline-block;
    }

    table.form-table tr>td:nth-child(3) {
        display: block;
    }

    .other-contact-body {
        display: block;
    }

    .tel-number-box img {
        height: 1.4rem;
    }

    .tel-number-box span.tel-number {
        font-size: 1.45rem;
    }

    .tel-number-box span:last-child {
        font-size: 0.9rem;
    }
}
