@charset "utf-8";

.appContainer {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding: 20px 0;
}

.detailTxt {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #333;
}

.detailTxt .ippan {
    font-weight: bold;
    color: #823;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.detailTxt u {
    text-decoration: none;
    color: #c00;
    font-weight: bold;
}


#form-main {
    width: 100%;
    float: left;
    padding-top: 0px;
}

#form-div {
    background-color: #fcfcfc;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.form p {
    margin-bottom: 20px;
}

/* Input Fields */
.feedback-input {
    color: #333;
    font-family: inherit;
    font-weight: 500;
    font-size: 15px;
    border-radius: 3px;
    line-height: 22px;
    background-color: #fff;
    padding: 12px 15px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    transition: all 0.3s;
}

.feedback-input:focus {
    background: #fff;
    border-color: #823;
    outline: none;
    box-shadow: 0 0 5px rgba(136, 34, 51, 0.1);
}

textarea.feedback-input {
    height: 180px;
    resize: vertical;
}


.formplate {
    margin-bottom: 15px;
}
.formplate label {
    font-size: 14px;
    cursor: pointer;
}


.privacy_checkbox {
    margin: 30px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    text-align: center;
}
.privacy_checkbox p {
    margin-bottom: 10px;
}
.privacy_checkbox a {
    color: #823;
    text-decoration: underline;
}

/* Submit Button */
.submit {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
}

#button-blue {
    font-family: inherit;
    width: 100%;
    background-color: #823;
    color: white;
    font-size: 18px;
    padding: 15px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    letter-spacing: 0.05em;
    -webkit-appearance: none;
}

#button-blue:hover {
    background-color: #601a22;
    opacity: 0.9;
}


.kakuninWrap {
    margin-bottom: 30px;
}

.error_messe {
    color: #d9534f;
    background: #fdf7f7;
    border: 1px solid #d9534f;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.func_table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    margin-bottom: 40px;
}

.func_table th {
    width: 30%;
    background: #f5f5f5;
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    color: #333;
    vertical-align: top;
}

.func_table td {
    width: 70%;
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    color: #333;
}

/* Buttons on Confirmation */
.btnFlex {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.btnBox {
    width: 200px;
}

.back {
    width: 100%;
}

#button-blue2 {
    font-family: inherit;
    width: 100%;
    background-color: #888;
    color: white;
    font-size: 16px;
    padding: 15px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    -webkit-appearance: none;
}

#button-blue2:hover {
    background-color: #666;
}


@media screen and (max-width: 768px) {
    #form-div {
        padding: 20px;
        border: none;
        background: transparent;
    }
    
    .feedback-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .func_table, .func_table tbody, .func_table tr, .func_table th, .func_table td {
        display: block;
        width: 100%;
    }
    
    .func_table th {
        background: #eee;
        border-bottom: none;
        padding-bottom: 5px;
    }
    
    .func_table td {
        padding-top: 5px;
        border-bottom: 1px solid #ddd;
    }
    
    .btnFlex {
        flex-direction: column-reverse;
        align-items: center;
    }
    
    .btnBox {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
}


.aC {
    text-align: center;
}

.mont {
    font-family: "Montserrat", sans-serif;
}

.appContainer h2 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
    color: #333;
}

.appContainer h2 .jap {
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin-top: 10px;
}

@media screen and (min-width: 769px) {
    .spView { display: none; }
}
@media screen and (max-width: 768px) {
    .spView { display: block; }
    br.spView { display: inline; }
}