section.contact {
    padding: 0;
}

.pageTitle {
     position: relative;
    overflow: hidden;
    padding: 140px min(7vw, 120px) 120px;
min-height: 470px;
    background: url("/img/contact/title_business.jpg") no-repeat right center;
    background-size: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    position: relative;
}

.pageTitleInner {
    position: relative;
    z-index: 2;
}

.pageTitleEn {
    display: block;
    margin-bottom: 18px;
    margin-left: 120px;
    color: #0186d1;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 900;
    line-height: 0;
    letter-spacing: .06em;
}

.pageTitleLine {
    width: 360px;
    height: 6px;
    margin-left: 120px;
    background: linear-gradient(90deg, #0186d1, #19c4de, #8ce8d9);
}

.pageTitleJa {
    margin-left: 120px;
    color: #233c78;
    font-size: clamp(42px, 5vw, 50px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .04em;
}

.pageTitle::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(111,211,216,.18), transparent 42%);
    pointer-events: none;
}

@media (max-width: 767px) {
    .pageTitle {
      
min-height: 0;
height: 220px;
        padding: 0 20px;
        background-image: url("/img/contact/title_businesssp.jpg");
        background-repeat: no-repeat;
    background-position: center center ;
        background-size: 160% auto;
        display: flex;
        align-items: center;
    }

    .pageTitleInner {
        display: block;
        margin-left: 0;
        z-index: 2;
    }

    .pageTitleEn {
        display: block;
        margin: 0;
        color: #0186d1;
        font-size: 10px;
        font-weight: 900;
        line-height: 1;
        letter-spacing: .08em;
    }

    .pageTitleLine {
        display: block;
        width: 75px;
        height: 2px;
        margin: 0 0 3px;
        background: linear-gradient(90deg, #0186d1, #19c4de, #8ce8d9);
    }

    .pageTitleJa {
        display: block;
        margin: 0;
        color: #233c78;
        font-size: 14px;
        font-weight: 900;
        line-height: 1.25;
    }
}

.step_container{
    height: 100px;
    display: flex;
    gap: 20px;
}

.step_container div{
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.step_container div::after{
    content: "";
    width: 100px;
    height: 100px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #dce9f1;
    border-radius: 100px;
}

.step_container div.active::after{
    background-color: var(--Color-HeartsBlue);
}

.step_container span{
    position: relative;
    color: var(--Color-HeartsBlue);
    z-index: 10;
}

.step_container div.active span{
    color: var(--Color-White);
}

.explain{
    padding:0 16px;
}

.warning{
    color: #E82A2A;
    text-indent: -1.2em;
    margin-left: 1.2em;
}

.red_txt{
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #ffe5e5;
    margin-bottom: 12px;
}

.red_txt li{
    color: #E82A2A;
    list-style: none;
    padding: 6px 16px 0 16px;
}

.red_txt li:last-child{
    padding-bottom: 6px;
}

#wrapper{
    width: 100%;
}

@media (min-width: 768px) {
    #wrapper{
        padding: 0 16px;
    }
}

.red{
    position: relative;
    color: #E82A2A;
}

.red::after {
    content: "必須";
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    color: #E82A2A;
    font-size: 12px;
    padding: 2px 6px;
    margin: 0 0 0 1px;
    vertical-align: middle;
    white-space: nowrap;
    background-color: #dce9f1;
    border-radius: 4px;
}

.section__body{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.table{
    width: 100%;
    margin-bottom: 36px;
}

.table tbody{
    display: flex;
    flex-direction: column;
}

.table tr{
    display: flex;
    flex-direction: column;
}

.table tr:not(:last-child){
    padding-bottom: 16px;
}

@media (min-width: 768px) {
    .table tr{
        flex-direction: row;
        border-top: 1px solid #017ac24d;
    }

    .table tr:last-child{
        border-bottom: 1px solid #017ac24d;
    }

    .table tr:not(:last-child){
        padding: 0;
    }
}

.table th{
    width: 100%;
    text-align: left;
    font-weight: 400;
    background-color: #dce9f1;
    padding: 16px;
}

@media (min-width: 768px) {
    .table th{
        width: 300px;
        flex-direction: row;
        align-items: center;
    }
}

.table td{
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding: 6px 16px;
}

input[type="text"]{
    width: 100%;
    padding: 6px 12px;
    color: var(--Default-FontColor);
    border: 1px solid #969696;
    border-radius: 4px;
}

input[name="item_name_1"],
input[name="item_name_2"],
input[name="item_kana_1"],
input[name="item_kana_2"]{
    width: 100px !important;
}

@media (min-width: 768px) {
    input[name="item_name_1"],
    input[name="item_name_2"],
    input[name="item_kana_1"],
    input[name="item_kana_2"]{
        width: 120px !important;
    }
}

textarea{
    width: 100%;
    display: block;
    border: 1px solid #969696;
    border-radius: 4px;
    padding: 6px 12px;
    color: var(--Default-FontColor);
    resize: none;
}


select {
    width: 100%;
    border: 1px solid #969696;
    border-radius: 4px;
    padding: 6px 36px 6px 12px;
    color: var(--Default-FontColor);
    background-image: linear-gradient(45deg, transparent 50%, #969696 50%), linear-gradient(135deg, #969696 50%, transparent 50%);
    background-position: calc(100% - 20px) 1em, calc(100% - 15px) 1em, 100% 0;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    background-repeat: no-repeat;
    cursor: pointer;
}

@media (min-width: 768px) {
    select{
        width: 100%;
    }
}

input[type="checkbox"] {
    width: 16px !important;
    height: 16px;
    cursor: pointer;
    accent-color: var(--Color-HeartsBlue);
    margin-right: 6px;
}

label{
    cursor: pointer;
}

.privacy{
    color: var(--Color-HeartsBlue);
}

.privacy:hover{
    opacity: 0.8;
}

.button_container{
    display: flex;
    gap: 24px;
    justify-content: center;
}

.button_box{
    min-width: 120px;
    display: inline-flex;
    align-items: stretch;
    border-radius: 4px;
    background-color: #017ac2;
    transition: all 0.4s ease-in-out;
    position: relative;
}

.button_box::after{
    content: "";
    width: 0%;
    height: 100%;
    position: absolute;
    right: 0;
    border-radius: 4px;
    background-color: #44D5B3;
    transition: all 0.4s ease-in-out;
}

.button_box:hover::after {
    width: 100%;
    right: auto;
    left: 0;
}

.button_box a,
.button_box input[type="submit"] {
    flex-grow: 1;
    color: var(--Color-White);
    font-size: 18px;
    line-height: 3;
    padding: 0 1.5em;
    z-index: 10;
}