/* 
 * 岡山遺品整理サービス スタイルシート
 * 作成日: 2025年5月
 */

/* ベース設定 */
:root {
    --primary-color: #1b5e20;
    --secondary-color: #ff8f00;
    --accent-color: #0277bd;
    --light-color: #f5f5f5;
    --dark-color: #333333;
    --gray-color: #757575;
    --light-gray: #e0e0e0;
    --white-color: #ffffff;
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-family: 'Kosugi Maru', sans-serif;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--gray-color);
}

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

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #0d4715;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-secondary:hover {
    background-color: #f57c00;
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white-color);
}

.btn-accent:hover {
    background-color: #01579b;
}

.btn-line {
    background-color: #06C755;
    color: var(--white-color);
}

.btn-line:hover {
    background-color: #05a849;
}

.btn-estimate {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-estimate:hover {
    background-color: #f57c00;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* ヘッダー */
.header {
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo img {
    height: 50px;
}

.nav-pc ul {
    display: flex;
}

.nav-pc li {
    margin-left: 20px;
}

.nav-pc a {
    color: var(--dark-color);
    font-weight: bold;
    position: relative;
}

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

.nav-pc a:hover::after {
    width: 100%;
}

.contact-info {
    display: flex;
    align-items: center;
}

.header-contact-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone {
    text-align: right;
}

.phone a {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.reception {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1010;
    position: relative;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* ハンバーガーメニューのアクティブ状態 */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

.nav-sp {
    display: flex;
    flex-direction: column;
    background-color: var(--white-color);
    padding: 20px;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    overflow-y: auto;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.nav-sp.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-sp ul {
    display: flex;
    flex-direction: column;
    padding-top: 60px;
}

.nav-sp li {
    margin-bottom: 15px;
    text-align: center;
}

.nav-sp a {
    color: var(--dark-color);
    font-weight: bold;
    display: block;
    padding: 10px 0;
    font-size: 1.2rem;
}

.nav-sp a:hover {
    color: var(--primary-color);
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .header-inner {
        justify-content: space-between;
    }

    .nav-pc,
    .contact-info {
        display: none;
    }

    .logo img {
        height: 40px;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .nav-sp {
        display: none !important;
    }

    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
    }

    .nav-pc,
    .contact-info {
        display: flex;
    }

    .logo img {
        height: 50px;
    }
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 500px;
    background-image: url('../images/korakuenzen.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Kosugi Maru', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-campaign {
    font-size: 1.1rem;
    font-weight: bold;
}

.hero-campaign span {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.hero-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.8rem;
    opacity: 0.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* サービス紹介 */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(27, 94, 32, 0.1);
    margin-bottom: 15px;
}

.service-icon i {
    font-size: 4rem;
    color: var(--primary-color);
}

.service-card h3 {
    padding: 0 20px 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
    text-align: center;
}

.service-card p {
    padding: 0 20px 20px;
    color: var(--gray-color);
    text-align: center;
}

.service-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.feature {
    text-align: center;
    width: 120px;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature p {
    font-weight: bold;
    font-size: 0.9rem;
}

/* 対応エリア */
.area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.area-map {
    text-align: center;
}

.area-map img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.area-message {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.area-message strong {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.area-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.area-list ul {
    flex: 1;
    min-width: 150px;
}

.area-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.area-list li::before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* ご利用の流れ */
.flow-container {
    max-width: 800px;
    margin: 0 auto;
}

.flow-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.flow-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 40px;
    width: 2px;
    height: 20px;
    background-color: var(--primary-color);
}

.flow-number {
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.flow-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(27, 94, 32, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.flow-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.flow-content {
    flex: 1;
}

.flow-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.flow-content p {
    color: var(--gray-color);
}

/* お問い合わせ */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-method {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(27, 94, 32, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-method h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-phone, .contact-email, .contact-id {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-hours {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.contact-method .btn {
    width: 100%;
}

/* フッター */
.footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-address, .footer-tel {
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-social i {
    font-size: 1.2rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-nav-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-nav-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-nav-column li {
    margin-bottom: 10px;
}

.footer-nav-column a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* トップに戻るボタン */
.to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.to-top.active {
    opacity: 1;
    visibility: visible;
}

.to-top:hover {
    background-color: #0d4715;
}

/* 固定お問い合わせボタン */
.fixed-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
}

.fixed-phone, .fixed-line {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.fixed-phone {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.fixed-phone:hover {
    background-color: #0d4715;
}

.fixed-line {
    background-color: #06C755;
    color: var(--white-color);
}

.fixed-line:hover {
    background-color: #05a849;
}

.fixed-buttons i {
    font-size: 1.5rem;
}

/* 料金ページ専用スタイル */
.page-title {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0;
    text-align: center;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: 'Kosugi Maru', sans-serif;
}

.price-features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.price-feature-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.price-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.price-feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(27, 94, 32, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.price-feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.price-feature-card h3
    margin-bottom: 30px;
}

.price-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: var(--shadow);
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
}

.price-table th, .price-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--light-gray);
}

.price-table th {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-weight: bold;
}

.price-table tr:nth-child(even) {
    background-color: rgba(27, 94, 32, 0.05);
}

.price-table tr:hover {
    background-color: rgba(27, 94, 32, 0.1);
}

.price-notes {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 20px;
}

.price-notes p {
    margin-bottom: 5px;
}

.discount-note {
    font-weight: bold;
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 15px !important;
}

.discount-note span {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 60px; /* コンテナの下にスペースを追加 */
}

.faq-item {
    background-color: var(--white-color);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}



.faq-answer {
    padding: 20px;
    color: var(--gray-color);
}

.faq-answer p {
    margin: 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 60px; /* コンテナの下に    .area-content {
        grid-template-columns: 1fr;
    }

    .area-map {
        margin-bottom: 20px;
    }

    .area-list ul {
        flex: none;
        width: 100%;
    }

    .area-list {
        flex-direction: column;
        gap: 10px;
    }
}

    
    .menu-toggle {
        display: flex;
    }
    
    .header-inner {
        justify-content: space-between;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .service-features {
        gap: 20px;
    }
    
    .feature {
        width: 100px;
    }
    
    .flow-item {
        flex-direction: column;
        text-align: center;
    }
    
    .flow-number, .flow-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .flow-item:not(:last-child)::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }
    
    .btn-lg {
        padding: 10px 18px;
        font-size: 0.95rem;
        min-width: 120px;
    }
    
    .area-list {
        flex-direction: column;
    }
    
    .contact-email {
        font-size: 0.95rem;
    }
}




.faq-container {
    max-width: 800px;
    margin: 0 auto 60px; /* コンテナの下にスペースを追加 */
}




.faq-answer {
    padding: 20px;
    color: var(--gray-color);
}

.faq-answer p {
    margin: 0;
}




.faq-question {
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}




.faq-question {
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.faq-answer {
    padding: 0 20px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* 十分な高さを設定 */
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    color: var(--gray-color);
}




.faq-question {
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.faq-answer {
    padding: 0 20px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* 十分な高さを設定 */
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    color: var(--gray-color);
}




@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

