:root {
    --main-green: #2e7d32;
    --sub-green: #81c784;
    --accent-green: #388e3c;
    --white: #fff;
    --gray: #f7f7f7;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    background: var(--gray);
    color: #222;
}
header, footer {
    background: var(--main-green);
    color: var(--white);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: relative;
}
.logo img {
    height: 48px;
}
.nav-menu {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.2s;
}
.nav-menu li a:hover {
    background: var(--sub-green);
    color: var(--main-green);
}
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}
.menu-toggle span {
    display: block;
    height: 4px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        right: 0;
        background: var(--main-green);
        flex-direction: column;
        width: 180px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.08);
        z-index: 99;
    }
    .nav-menu.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
}

.main {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
}

/* 表やカードの装飾 */
.table-style {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    margin-bottom: 2rem;
}
.table-style th, .table-style td {
    border: 1px solid #bdbdbd;
    padding: 0.75rem 1rem;
}
.table-style th {
    background: var(--sub-green);
    color: var(--main-green);
    text-align: left;
}
.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.service-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(46,125,50,0.08);
    padding: 1.5rem;
    width: 300px;
    text-align: center;
    border: 2px solid var(--sub-green);
    transition: transform 0.2s;
}
.service-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--accent-green);
}

.staff-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    margin-bottom: 2rem;
}
.staff-table th, .staff-table td {
    border: 1px solid #bdbdbd;
    padding: 0.75rem 1rem;
    text-align: center;
}
.staff-table th {
    background: var(--sub-green);
    color: var(--main-green);
}
.staff-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

h2, h3 {
    font-family: 'Noto Sans JP', sans-serif;
    color: #2e7d32; /* メイングリーン */
    border-bottom: 3px solid #81c784; /* サブグリーン */
    padding-bottom: 0.3rem;
    margin-bottom: 1rem;
}
h2 {
    font-size: 2rem;
    font-weight: 700;
}
h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
}
.staff-panel-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.staff-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(46,125,50,0.10);
    border: 2px solid #81c784;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem 1.2rem 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.staff-panel:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px rgba(46,125,50,0.18);
    border-color: #388e3c;
}

.staff-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #81c784;
}

.staff-info h3 {
    margin: 0.5rem 0 0.2rem 0;
    color: #2e7d32;
    font-size: 1.2rem;
    font-weight: 700;
}

.staff-role {
    color: #388e3c;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.staff-comment {
    color: #444;
    font-size: 1rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .staff-panel-list {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    .staff-panel {
        width: 90%;
        min-width: 220px;
    }
}


/*Example */
.main-visual {
    position: relative;
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 2rem;
}

.main-visual-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) blur(1px);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.main-visual-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    width: 100%;
}

.main-visual h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(46,125,50,0.18);
    letter-spacing: 0.05em;
}

.main-visual p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(46,125,50,0.18);
}

.mv-btn {
    display: inline-block;
    padding: 0.7em 2em;
    background: linear-gradient(90deg, #81c784, #388e3c);
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(46,125,50,0.14);
    transition: background 0.2s, transform 0.2s;
}
.mv-btn:hover {
    background: linear-gradient(90deg, #388e3c, #81c784);
    transform: translateY(-2px) scale(1.04);
}

@media (max-width: 768px) {
    .main-visual {
        height: 220px;
    }
    .main-visual h1 {
        font-size: 1.3rem;
    }
    .main-visual p {
        font-size: 1rem;
    }
}

.error-box {
    background: #ffeeee;
    border: 2px solid #ff4444;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
}
.error {
    color: #ff4444;
    margin: 0.5rem 0;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.g-recaptcha {
    margin: 1.5rem 0;
}

.terms-box {
    background: #f4fff4;
    border: 1.5px solid #81c784;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    max-height: 200px;
    overflow-y: auto;
    font-size: 0.97rem;
}
.terms-box h3 {
    margin-top: 0;
    color: #2e7d32;
    font-size: 1.1rem;
    font-weight: 700;
}
.terms-content ul {
    margin: 0 0 1rem 1.2rem;
    padding: 0;
}
.terms-content li {
    margin-bottom: 0.5em;
}
.thanks-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}
.thanks-card {
    background: #f4fff4;
    border: 2px solid #81c784;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(46,125,50,0.08);
    padding: 2.5rem 2rem;
    max-width: 420px;
    text-align: center;
}
.thanks-card h2 {
    color: #2e7d32;
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
}
.thanks-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.7em 2em;
    background: linear-gradient(90deg, #81c784, #388e3c);
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(46,125,50,0.14);
    transition: background 0.2s, transform 0.2s;
}
.thanks-btn:hover {
    background: linear-gradient(90deg, #388e3c, #81c784);
    transform: translateY(-2px) scale(1.04);
}

.greeting-card {
    background: #f7f7fa;
    border: 1px solid #390000;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    max-width: 900px;
}

.greeting-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}