/*
Theme Name: くらしサポート三重
Version: 2.0
*/
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,sans-serif;background:#f7f7f7;color:#333}
header{background:#2e7d32;color:#fff;padding:18px 24px;position:sticky;top:0}
.wrap{max-width:1100px;margin:auto}
.hero{background:linear-gradient(135deg,#2e7d32,#66bb6a);color:#fff;padding:80px 20px;text-align:center}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin:30px 0}
.card{background:#fff;color:#333;padding:24px;border-radius:14px;text-decoration:none;box-shadow:0 2px 8px rgba(0,0,0,.1)}
.section{padding:60px 20px}
.formbox{background:#fff;padding:24px;border-radius:14px;max-width:800px;margin:auto}
input,textarea,select{width:100%;padding:12px;margin-top:6px;box-sizing:border-box}
label{display:block;margin-top:12px}
button{background:#2e7d32;color:#fff;border:0;padding:14px 24px;border-radius:10px;margin-top:18px}
footer{text-align:center;padding:30px}

input,
textarea,
select {
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    background: #f8fff8;
    border-color: #2e7d32;
    box-shadow:
        0 0 0 4px rgba(46,125,50,.15);
    outline: none;
}
.error {

    border-color: #d32f2f !important;

    background: #fff5f5;
}
button {
    transition: all .2s ease;
}

button:hover {
    transform: translateY(-2px);
    opacity: .9;
}

button:active {
    transform: translateY(0);
}

.message{
    max-width:800px;
    margin:20px auto;
    padding:15px 20px;
    border-radius:8px;
    font-weight:bold;
}

.success{
    background:#e8f5e9;
    color:#2e7d32;
    border:1px solid #81c784;
}

.error{
    background:#ffebee;
    color:#c62828;
    border:1px solid #ef9a9a;
}
.board-item{

    display:flex;
    gap:20px;

    background:#f7f5f1;
    border-radius:18px;

    padding:22px;
    margin-bottom:25px;

    box-shadow:0 2px 8px rgba(0,0,0,.04);
}

.board-icon{

    width:55px;
    flex-shrink:0;
}

.board-icon img{

    width:40px;
}

.board-title{

    color:#b89b55;
    font-size:18px;
    margin-bottom:10px;
}

.board-text{

    color:#666;
    line-height:1.9;
}

.board-footer{

    margin-top:15px;
    color:#999;
    font-size:13px;
}

.board-main-title{
    text-align:center;
    color:#b89b55;
    font-size:48px;
    margin-bottom:10px;
}

.board-description{
    text-align:center;
    color:#666;
    margin-bottom:40px;
}

.board-form-wrap{

    background:#fff;
    border-radius:24px;

    padding:40px;

    box-shadow:0 4px 20px rgba(0,0,0,.05);

    margin-bottom:60px;
}

.board-form-title{

    color:#b89b55;

    font-size:32px;

    margin-bottom:30px;

    padding-bottom:15px;

    border-bottom:1px solid #e5d8b5;
}

.board-row{

    display:flex;
    gap:30px;

    margin-bottom:25px;
}

.board-field{
    flex:1;
}

.board-field label{

    display:block;

    margin-bottom:10px;

    font-weight:600;
}

.board-field label span{

    background:#b89b55;

    color:#fff;

    font-size:12px;

    padding:3px 8px;

    border-radius:5px;

    margin-left:8px;
}

.board-field input,
.board-field textarea{

    width:100%;

    border:1px solid #ddd;

    border-radius:12px;

    padding:15px;

    font-size:16px;

    box-sizing:border-box;
}

.board-field input:focus,
.board-field textarea:focus{

    outline:none;

    border-color:#b89b55;
}

.board-submit-wrap{

    text-align:center;

    margin-top:35px;
}

.board-submit{

    background:#b89b55;

    color:#fff;

    border:none;

    border-radius:999px;

    padding:16px 80px;

    font-size:18px;

    cursor:pointer;

    transition:.3s;
}

.board-submit:hover{

    opacity:.85;
}

.board-list-title{

    text-align:center;

    color:#b89b55;

    margin:60px 0 40px;
}

@media(max-width:768px){

    .board-row{
        display:block;
    }

    .board-field{
        margin-bottom:20px;
    }

    .board-main-title{
        font-size:36px;
    }
}