@charset "UTF-8";
/* CSS Document */

@media screen and (max-width:768px){
    body{font-size: 14px;}
    
    input, button, textarea, select{
        -webkit-appearance:  none;
        -moz-appearance:  none;
        appearance:  none;
        padding: 12px !important;
        font-size: 15px;
        box-sizing: border-box;
        border: 1px solid #d2d2d2;
        box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.2) inset;
    }
    
    input[type="text"],select{
        width: 100%;    
    }
    
    input[type="checkbox"],input[type="radio"]{
        vertical-align: middle;
        position: relative;
    }
    
    input[type="checkbox"]:checked:after {
        position: absolute;
        top: 5px;
        left: 5.5px;
        content: "";
        width: 14px;
        height: 14px;
        background: #54B3DE;
        -webkit-border-radius: 2px;
        border-radius: 2px;
    }
    
    input[type="radio"]{
        box-sizing: border-box;
        border-radius: 50%;
        margin-right: 4px;
        background: #fff !important;
        width: 25px;
        height: 25px;
    }
    
    input[type="radio"]:checked:after {
        display: block;
        position: absolute;
        top: 5.5px;
        left: 6px;
        content: "";
        width: 13px;
        height: 13px;
        background: #54B3DE;
        -webkit-border-radius: 50%;
        border-radius: 50%;
    }
    
    label.labelBtn{
        width: 45%;
        display: inline-block;
    }
    
    .wrap{
        width: 100%;
        max-width: 100%;
    }
    
    .main{
        padding: 0 16px;    
        margin-top: 108px;
    }
    
    .section {
        margin-bottom: 88px;
    }
    
    .header{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0;
    }
    
    .formTable td,.formTable th{
        border: none;   
        width: 100%;    
        display: block;
        box-sizing: border-box;
    }
    
    .formTable td{
        padding: 16px 0;    
    }
    
    input[name="oaddress"],input[size="15"], input[size="16"],input[size="20"] {
        width:100% ;    
    }
    
    input[name^=hphone],input[name^=ophone],input[name^=etcphone],input[name^=fax],input[name^=opost],input.inputS[type="text"]{
        width: 5em; 
        margin-right: 4px;
    }
    
    .footer{
        padding: 16px 0;    
    }
    
    .copyright{
        margin-bottom: 16px;    
    }

    .headerNav{
        order: 2;
        width: 100%;
        margin: 0;
        border-left: none;
        border-right: none;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
    }
    
    .headerNav .headerNav-link{
        font-size: 13px;
        width: 100%;
    }

    .tab-col5 .headerNav-link {
        font-size: 11px;
    }

    .line-id-btn {
        width: 240px;
        border: none;
        box-shadow: none;
        padding: 0 !important;
    }

    .smp-header{
        order: 1;
        display: table; 
        width: 100%;
        background: #f0f0f0;
    }
    
    .memberName,.shopBtnWrap{
        display: table-cell;
        vertical-align: middle;
        padding: 12px;
    }
    
    .memberName{
        font-size: 12px;
        color: #777;    
        flex: 2;
    }
    
    .memberId{
        margin-right: 2px;  
    }

    .shopName {
        display: none;
    }

    .headerContent {
        width: auto;
    }

    .shopBtnWrap{
        text-align: right;  
        padding: 0 12px;
    }
    
    .shopBtn{
        background: #ddd;   
        display: inline-block;
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 4px;
    }
    
    .shopBtn:link,.shopBtn:visited,.shopBtn:active{
        color: #777;
        text-decoration: none;  
    }

    .favorite-list-img {
        width: 25%;
    }
    .favorite-list-content{
        width: 70%;
        margin: 0 0 0 5%;
    }
    .favorite-list-txt{
        width: 100%;
    }
    .favorite-list-txt .favorite-title{
        font-size: 1.0rem;
    }
    .favorite-btnWrap {
        width: 100%;
        margin: 15px 0 0;
    }
    .favorite-btnWrap .favorite-btn{
        width: 100%;
    }
    .favorite-btnWrap .favorite-btn+.favorite-btn{
        margin-top: 15px;
        margin-left: 0;
    }
    input.btnD{
        width: 100%;
        padding: 3px 0 !important;
    }
    .favorite-pager-pc {
        display: none;
    }
    
    .favorite-pager-sp {
        display: block;
    }

    .header-wrap {
        background: #f0f0f0;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: inherit;
        position: relative;
        padding: 12px;
    }

    .header-nav {
        position: absolute;
        right: 0;
        top: 0;
        width: 70%;
        height: 100vh;
        transform: translateX(100%);
        background: rgba(0, 0, 0, 0.7);
        transition: ease .4s;
    }

    .nav-bg {
        display: none;
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: 100vh;
    }

    .nav-bg.active {
        display: block;
    }

    .nav-items {
        position: absolute;
        top: 25%;
        left: 25%;
        transform: translate(-25%, -25%);
        width: 100%;
    }

    .nav-items-item a {
        display: block;
        text-align: left;
        font-size: 16px;
        padding: 15px 20px;
        border-right: none;
        color: #ffffff;
    }

    .nav-items-item.active {
        width: 100%;
        display: block;
        text-align: left;
        font-size: 16px;
        /* padding: 0; 受領物 */
        padding: 15px 20px;
        border-right: none;
        color: #ffffff;
        background: none;
        border-bottom: none;
    }

    .nav-items-item:hover {
        background: none;
        border-bottom: none;
    }

    .nav-items-item a:link {
        text-decoration: none;
    }

    .nav-items-item:last-child a {
        margin-bottom: 0;
    }

    .header-menu {
        width: 24px;
        height: 100%;
    }

    .menu {
        background-color: transparent;
        border-color: transparent;
        z-index: 9999;
    }

    .menu span {
        width: 100%;
        height: 2px;
        background-color: #333333;
        position: relative;
        transition: ease .4s;
        display: block;
    }

    .menu span:nth-child(1) {
        top: 0;
    }

    .menu span:nth-child(2) {
        margin: 6px 0;
    }

    .menu span:nth-child(3) {
        top: 0;
    }

    .header-nav.active {
        transform: translateX(0);
    }

    .menu.active span:nth-child(1) {
        top: 5px;
        transform: rotate(45deg);
        background: #ffffff;
    }

    .menu.active span:nth-child(2) {
        opacity: 0;
    }

    .menu.active span:nth-child(3) {
        top: -10px;
        transform: rotate(-45deg);
        background: #ffffff;
    }

    .address-list-item {
        margin: 20px 0;
        padding: 10px;
    }
    .address-list-txt p {
        line-height: 1.5;
        font-size: 0.75rem;
    }
    .address-list-txt .address-name {
        font-size: 0.75rem;
    }
    .address-edit-icon,
    .address-pin-icon {
        width: 30px;
        height: 30px;
        line-height: 23px;
    }
    .address-edit-icon {
        margin: 0 10px 0 0;
    }
    .address-delete-icon img {
        width: 80%;
    }
    .address-edit-icon img,
    .address-pin-icon img {
        width: 55%;
    }
    .address-delete-icon {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    .address-form .address-form-inner div[class^="w4"] {
        width: 100%;
    }
    .address-input .flex-column {
        flex-direction: column;
    }

    #estimate .formTable {
        width: 100%;
        margin: 0 auto;
    }

    #estimate .formTable .thead {
        display: none;
    }

    #estimate .formTable tr {
        margin: 0 0 15px 0;
        border: solid 1px #999999;
        display: block;
    }

    #estimate .formTable th,
    #estimate .formTable td {
        padding: 0;
    }

    #estimate .formTable td {
        border-top: solid 1px #999999;
        display: flex;
        justify-content: flex-start;
    }

    #estimate .formTable td span {
        display: block;
    }

    #estimate .formTable td:first-child {
        border-top: none;
    }

    #estimate .formTable td:before {
        content: attr(data-label);
        font-weight: bold;
        min-width: 90px;
        background: #EEEEEE;
        padding: 10px 5px;
        border-right: 1px solid #999999;
        text-align: center;
    }

    #estimate .formTable td span {
        padding: 10px;
    }

    #estimate-form .estimate-title {
        display: block;
        margin: 40px auto 32px;
    }

    #estimate-form .estimate-title .estimate-title-detail p {
        text-align: right;
    }

    #estimate-form .estimate-title table {
        width: 100%;
    }

    #estimate-form .estimate-title table th {
        width: 86px;
        vertical-align: top;
    }

    #estimate-form .estimate-title table th,
    #estimate-form .estimate-title table td {
        padding: 0 0 15px 0;
    }

    #estimate-form .estimate-title table #title_error,
    #estimate-form .estimate-title table #user_name_error {
        font-size: 12px;
    }

    #estimate-form .estimate-table {
        width: 100%;
        table-layout: fixed;
    }

    #estimate-form .estimate-table th:nth-child(2) {
        width: 20%;
    }

    #estimate-form .estimate-table th:nth-child(3) {
        width: 30%;
    }

    #estimate-form .estimate-btn-wrap {
        display: block;
        justify-content: center;
        gap: 0 50px;
    }
    .estimate-pager-pc {
        display: none;
    }
    .estimate-pager-sp {
        display: block;
    }
}