/* =========================================
   Base & Resets
   ========================================= */
:root {
    --primary-color: #0d8262; /* より鮮やかで信頼感のあるグリーン */
    --primary-dark: #095f47;
    --accent-color: #f39c12;  /* アクセント（オレンジ/イエロー系） */
    --accent-hover: #e67e22;
    --text-main: #2b2b2b;
    --text-muted: #666666;
    --bg-main: #ffffff;
    --bg-gray: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-jp);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Typography & Utilities
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.bg-gray {
    background-color: var(--bg-gray);
}

.badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.2rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
    text-decoration: none;
    font-family: inherit;
}

.btn--primary {
    background-color: var(--accent-color);
    color: var(--white) !important;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.btn--primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(243, 156, 18, 0.4);
}

.btn--white {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn--white:hover {
    background-color: #f1f1f1;
    transform: translateY(-2px);
}

.btn--outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn--large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo a {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.header__nav.active {
    right: 0;
}

.header__nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.header__nav-list a {
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    display: block;
    padding-bottom: 0.5rem;
}

.header__contact-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.header__contact {
    display: none; /* Hide on mobile by default */
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================================
   Sections General
   ========================================= */
.section {
    padding: 5rem 1.5rem;
}

.section__container {
    max-width: 1200px;
    margin: 0 auto;
}

.section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section__subtitle {
    display: block;
    color: var(--accent-color);
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section__title {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section__desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1542621334-a254cf47733d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    padding: 0 1.5rem;
    margin-top: 60px; /* Offset for fixed header */
}

.hero--lp-pigeon {
    background-image: url('images/lp-pigeon-bg.png') !important;
}

.hero--lp-pest {
    background-image: url('images/lp-pest-bg.png') !important;
}

.hero__overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(13, 130, 98, 0.85) 0%, rgba(9, 95, 71, 0.7) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

.hero__title {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero__title span {
    color: var(--accent-color);
}

.hero__subtitle {
    font-size: clamp(0.95rem, 3vw, 1.2rem);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero__badges {
    margin-bottom: 2.5rem;
}

.hero__badges .badge {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255,255,255,0.4);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.tel-cta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.tel-cta__small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tel-cta__large {
    font-size: 1.3rem;
    font-weight: 900;
    font-family: var(--font-en);
}

/* =========================================
   Services Grid
   ========================================= */
.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-speed), box-shadow var(--shadow-speed);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card__img {
    height: 220px;
    overflow: hidden;
}

.card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card__img img {
    transform: scale(1.05);
}

.card__content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card__title {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 0.5rem;
}

.card__desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.card__btn {
    margin-top: auto;
    padding-top: 1rem;
}

/* =========================================
   Pricing Rules
   ========================================= */
.pricing__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing__box {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-color);
}

.pricing__box-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.pricing__box-header h3 {
    font-size: 1.4rem;
    margin: 0;
}

.pricing__box-body {
    padding: 1.5rem;
}

.pricing__list li {
    padding: 1.2rem 0;
    border-bottom: 1px solid #eee;
}

.pricing__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pricing__item-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-main);
}

.pricing__item-price {
    font-family: var(--font-en);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
}

.pricing__item-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================
   Area Section
   ========================================= */
.area {
    background: url('https://images.unsplash.com/photo-1549487928-875fba18db72?w=1920&q=80') center/cover no-repeat;
    position: relative;
    color: var(--white);
}

.area::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(9, 95, 71, 0.9);
}

.area__box {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
}

.area__box h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.area__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.area__list li {
    background: rgba(255,255,255,0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
}

/* =========================================
   Company Section
   ========================================= */
.company__content {
    --profile-size: 120px; /* モバイル版の基本サイズ。ここを変更すると枠も写真も連動します */
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.company__photo-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem; /* 写真とお名前の間の余白を調整 */
}

.company__photo {
    width: var(--profile-size);
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-md);
    margin-bottom: 0; /* Wrapperのgapで制御するため0に変更 */
}

.company__photo-caption {
    display: flex;
    flex-direction: column;
}

.company__photo-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.company__photo-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.company__table-wrapper {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    padding: clamp(1rem, 4vw, 2rem);
    width: 100%;
}

.company__table {
    width: 100%;
    border-collapse: collapse;
}

.company__table th, .company__table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.company__table th {
    width: 30%;
    color: var(--primary-dark);
    font-weight: 700;
    vertical-align: top;
}

.company__table tr:last-child th,
.company__table tr:last-child td {
    border-bottom: none;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 4rem 1.5rem 1.5rem;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__brand h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer__tel {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 1rem;
}

.footer__links {
    display: flex;
    gap: 3rem;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer__links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer__bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* =========================================
   Animations & Reveals
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Contact Section
   ========================================= */
.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: clamp(1rem, 4vw, 2rem);
    box-shadow: var(--shadow-sm);
    max-width: 1000px;
    margin: 0 auto;
}

.simulator-container {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 2.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.simulator-box {
    margin-bottom: 3rem;
}

.simulator-box__title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.simulator-box__desc {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.sim-select,
.sim-input-group input,
.sim-input-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid #e1e8ed;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.sim-select:focus,
.sim-input-group input:focus,
.sim-input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 130, 98, 0.1);
}

.sim-details {
    background: #f4f7f6;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 1.5rem;
    border-left: 4px solid var(--primary-color);
    animation: fadeIn 0.3s ease forwards;
}

.sim-input-group {
    display: flex;
    gap: 1rem;
}

.sim-input-group input {
    flex: 2;
}

.sim-input-group select {
    flex: 1;
}

.sim-helper {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.sim-result {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    border-radius: var(--radius);
    box-shadow: 0 10px 20px rgba(13, 130, 98, 0.2);
    animation: slideUp 0.4s ease forwards;
}

.sim-result__header {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.sim-result__price {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.sim-result__note {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact__info {
    background: var(--bg-gray);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 10px;
    height: 100%;
}

.contact__info h3,
.contact__form-container h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-gray);
}

.contact__info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.contact__tel a {
    display: block;
    font-size: clamp(1.2rem, 6vw, 2rem);
    font-weight: 900;
    color: var(--accent-color);
    font-family: var(--font-en);
    margin: 1.5rem 0;
    text-align: center;
}

.contact__hours ul {
    margin-top: 0.5rem;
    list-style: disc inside;
}

.contact__form-container h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.required {
    background-color: #e74c3c;
    color: var(--white);
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit button {
    width: 100%;
}

/* =========================================
   Honeybee Banner
   ========================================= */
.honeybee-banner {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 3.5rem;
    border: 3px solid #f9ca24;
}

.honeybee-banner__img {
    height: 250px;
    overflow: hidden;
}

.honeybee-banner__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.honeybee-banner__content {
    padding: 2rem;
    background: linear-gradient(135deg, #fffcf0 0%, #fff9e6 100%);
}

.honeybee-banner__title {
    font-size: 1.6rem;
    color: #b08d00;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(249, 202, 36, 0.3);
    padding-bottom: 0.5rem;
}

.honeybee-banner__desc {
    color: var(--text-main);
}

.honeybee-banner__desc strong {
    color: #d35400;
    font-weight: 900;
}

/* =========================================
   Desktop Media Queries
   ========================================= */
@media (min-width: 768px) {
    /* 2列表示から、画面幅に合わせて3列へスムーズに移行 */
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .honeybee-banner {
        flex-direction: row;
        align-items: center;
    }
    
    .honeybee-banner__img {
        flex: 0 0 35%; /* 画像の幅をコンテナの35%に固定 */
        height: 100%;
        min-height: 250px;
        max-height: 350px; /* PCでの高さも抑える */
    }
    
    .honeybee-banner__content {
        flex: 1;
        padding: 3rem;
    }    
    .pricing__wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__wrapper {
        grid-template-columns: 1fr 1.5fr;
        padding: 3rem;
    }

    .hero__title {
        font-size: 3.5rem;
    }
    
    .hero__actions {
        flex-direction: row;
        justify-content: center;
    }

    .company__content {
        --profile-size: 160px; /* PC版の基本サイズ。ここでPCでの大きさを一括調整できます */
        flex-direction: row;
        align-items: center; /* 垂直中央揃えにしてテーブルとのバランスを改善 */
        gap: 4rem;
    }

    .company__table-wrapper {
        flex: 1;
    }

    .company__photo-wrapper {
        flex: 0 0 var(--profile-size); /* 枠の幅を写真のサイズ変数と同期 */
        position: sticky;
        top: 100px;
    }
}

@media (min-width: 992px) {
    .header__container {
        padding: 1rem 2rem;
    }

    .header__logo a {
        font-size: 1.5rem;
    }

    .hamburger {
        display: none;
    }

    .header__nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        display: block;
    }

    .header__nav-list {
        flex-direction: row;
        margin: 0;
        gap: 2rem;
    }

    .header__nav-list a {
        font-size: 1rem;
        border: none;
        padding: 0;
        position: relative;
    }

    .header__nav-list a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        left: 0;
        background-color: var(--primary-color);
        transition: width 0.3s;
    }

    .header__nav-list a:hover::after {
        width: 100%;
    }

    .header__contact-mobile {
        display: none;
    }

    .header__contact {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .tel-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
    }

    .tel-btn__number {
        font-family: var(--font-en);
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--primary-color);
        display: block;
    }
    
    .tel-btn__label {
        font-size: 0.7rem;
        display: block;
        color: var(--text-muted);
        line-height: 1;
        margin-bottom: 2px;
    }

    /* 業務案内を3列表示に最適化（6項目あるため、3x2で収まりが良い） */
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__container {
        grid-template-columns: 1fr 1fr;
        justify-items: end;
    }
}
