/* グローバルリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HTML要素の基本設定 */
html,
body {
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
    /* 必要に応じて変更 */
    background-color: #f9f9f9;
    color: #433430;
    line-height: 1.6;
}

/* 画像の最大幅を親要素に合わせる */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* リストのスタイルをリセット */
ul,
ol {
    list-style: none;
}

/* テキスト装飾のリセット */
a {
    text-decoration: none;
    color: inherit;
}

/* フォーム要素のスタイルをリセット */
button,
input,
textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* タイポグラフィの調整 */
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-bottom: 1.5rem;
    font-weight: normal;
}

/* ボックスサイズを要素のサイズに合わせる */
*::before,
*::after {
    box-sizing: inherit;
}

header {
    background-color: #2b2e26;
    color: #FFFFFF;
    padding: 1rem;
    position: relative;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #dddfd3;
    /* 緑色の丸 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    display: none;
    /* デスクトップでは非表示 */
}

.menu-icon span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #fff;
    /* 二本線の色を白に設定 */
    margin: 6px 0;
    /* 二本線の間隔を広げる */
}

nav {
    flex-grow: 1;
    text-align: right;
    display: block;
    /* PC画面では常にナビゲーションを表示 */
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #FFFFFF;
    /* ナビゲーションリンクの色を黒に設定 */
    text-decoration: none;
}

/* モバイル用のナビゲーションメニューのスタイル */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
        /* モバイル画面向けに文字サイズを小さく設定 */
    }

    .menu-icon {
        display: flex;
        /* モバイルでは表示 */
        z-index: 9999;
        /* ボタンを最前面に配置 */
        position: fixed;
        /* ボタンを固定 */
        top: 1rem;
        right: 1rem;
        /* ボタンの位置を右上に固定 */

    }

    /* ナビゲーションメニューが開いたときのスタイル */
    .menu-icon.active {
        background-color: #dddfd3;
        border-radius: 50%;
        /* ボタンを丸くする */
    }

    nav {
        display: none;
        /* 最初は非表示 */
        position: fixed;
        /* 固定位置にする */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* 全画面を覆う */
        background-color: #2b2e26;
        color: #fff;
        z-index: 9999;
        /* 常に最前面に表示 */
        flex-direction: column;
        /* 縦並びに変更 */
        justify-content: center;
        /* メニューを中央に配置 */
        align-items: center;
        /* 水平方向でも中央に */
        text-align: center;
        z-index: 9998;
        /* ボタンが前面に表示されるように */
    }

    nav ul {
        flex-direction: column;
        text-align: left;
    }

    nav ul li {
        margin: 0;
        padding: 1rem;
        border-top: 1px solid #ddd;
    }

    nav ul li a {
        display: block;
        width: 100%;
        color: #fff;
        /* リンクの文字色を白に設定 */
        text-decoration: none;
        font-size: 1.5rem;
    }

    nav ul li a:hover {
        background-color: #196F1A;
        /* ホバー時の背景色も少し濃い緑色に設定 */
    }

    /* ハンバーガーメニューを押して表示時 */
    .menu-icon.active+nav {
        display: flex;
        /* メニューが開いたときに表示 */
    }

    /* メニューアイコンがアクティブなときのアイコンの色 */
    .menu-icon.active span {
        background-color: #2b2e26;
    }
}

@media (min-width: 768px) {
    #hero {}
}

/* Heroセクションのコンテンツ部分 (パディングあり) */
.hero-content {
    padding: 0.5rem;
    background: #dddfd3;
    background-image: url(../images/tree-silhouette-dddfd3.webp);
    background-repeat: no-repeat;
}

/* スライダーコンテナのスタイル (パディングなし) */
.image-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* パララックス効果 */
    transition: background-image 1.5s ease-in-out;
}

/* スライダー全体のスタイル */
.parallax-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* パララックス効果 */
    transition: background-image 1.5s ease-in-out;
    /* 背景画像の切り替えをフェードで行う */
}


/* レスポンシブ対応 */
@media (min-width: 768px) {

    .border-box {
        padding: 40px;
    }

    .hero-content {
        padding: 20px;
    }
}

/* さらに大きな画面向けのスタイル */
@media (min-width: 1024px) {
    .border-box {
        padding: 60px;
    }

    .hero-content {
        padding: 20px;
    }
}

.border-box {
    border: 1px solid #2b2e26;
    padding: 120px;
}

@media (max-width: 768px) {
    .border-box {
        padding: 20px;
    }
}

/* 共通のスタイル */
.content-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 2rem;
}

.content-image {
    width: 50%;
    padding: 10px;
}

.content-image img {
    width: 100%;
    height: auto;
}

.content-text {
    width: 50%;
    padding: 10px;
}

/* 画像とテキストの位置を逆にする */
.content-container.reverse {
    flex-direction: row-reverse;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

    .content-container,
    .content-container.reverse {
        flex-direction: column;
    }

    .content-image,
    .content-text {
        width: 100%;
    }
}

#our-strengths {
    text-align: center;
    padding: 40px 20px;
}

.strengths-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* 各アピールのアイテム */
.strength-item {
    flex: 1 1 100%;
    /* デフォルトでは1つずつ表示 */
    margin: 20px 0;
    padding: 10px;
}

.appeal-text,
.lead-text {
    margin-bottom: 10px;
    text-align: left;
}

.strength-image img {
    width: 100%;
    height: auto;
}

/* PC表示用に3列並べる */
@media (min-width: 768px) {
    .strength-item {
        flex: 1 1 30%;
        /* 3つずつ並べる */
        margin: 20px;
    }
}

.fixed-background {
    background-image: url('../images/1263818_m.webp');
    /* 背景画像を指定 */
    background-size: cover;
    /* 画像を全体にフィットさせる */
    background-position: center;
    /* 画像を中央に配置 */
    background-attachment: fixed;
    /* 背景画像をスクロール時に固定 */
    height: 100vh;
    /* ビューポートの高さを指定 */
    width: 100%;
}

.problem-section-wrapper {
    padding: 40px 20px;
    border-radius: 10px;
    /* 角を少し丸くする */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* ボックスシャドウで立体感を追加 */
}

.problem-section-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.problem-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* 各問題のアイテム */
.problem-item {
    flex: 1 1 100%;
    /* モバイル表示では1つずつ表示 */
    margin: 20px 0;
    padding: 10px;
    text-align: center;
    border: 1px dashed #dddfd3;
}

.problem-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.problem-item p {
    margin-top: 10px;
    font-size: 1.1rem;
}

/* PC表示用に3列並べる */
@media (min-width: 768px) {
    .problem-item {
        flex: 1 1 30%;
        /* 3つずつ並べる */
        margin: 20px;
    }
}

#problems {
    background-color: #2b2e26;
    /* 背景色をダークに設定 */
    color: #FFFFFF;
    /* テキストを白に設定 */
    background-image: url(../images/tree-silhouette.webp);
}

#menu-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #2b2e26;
    color: #FFFFFF;
}

#menu-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.menu-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.menu-item {
    flex: 1 1 100%;
    /* モバイルでは1つずつ表示 */
    margin: 20px 0;
    text-align: center;
}

.menu-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.menu-item p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* PC表示用に2つずつ並べる */
@media (min-width: 768px) {
    .menu-item {
        flex: 1 1 45%;
        /* 2つずつ並べる */
        margin: 20px;
    }
}

.fixed-background2 {
    background-image: url('../images/1263817_m.webp');
    /* 背景画像を指定 */
    background-size: cover;
    /* 画像を全体にフィットさせる */
    background-position: center;
    /* 画像を中央に配置 */
    background-attachment: fixed;
    /* 背景画像をスクロール時に固定 */
    height: 100vh;
    /* ビューポートの高さを指定 */
    width: 100%;
}

.comparison-section {
    text-align: center;
    padding: 40px 20px;
    background: #dddfd3;
}

.comparison-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    /* モバイルで横スクロール可能にする */
    margin: 0 auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.comparison-table th,
.comparison-table td {
    padding: 10px;
    border: 1px solid #333;
}

.comparison-table th {
    background-color: #2b2e26;
    /* ヘッダー部分（伐採、弊社、A社、B社）の背景色 */
    color: #fff;
    font-weight: bold;
}

.comparison-table td:first-child {
    background-color: #2b2e26;
    /* 左列の料金、見積もり、定休日のセルの背景色 */
    color: #fff;
    /* テキストを白に */
}

.comparison-table td {
    background-color: #f9f9f9;
    /* その他のセルの背景色は変更なし */
}

.highlight {
    color: red;
    font-weight: bold;
}

/* モバイル表示の調整（スクロールを適用） */
@media (max-width: 768px) {
    .comparison-table-wrapper {
        display: block;
        width: 100%;
        overflow-x: scroll;
    }

    .comparison-table {
        min-width: 600px;
        /* 横スクロールができるように最低幅を設定 */
    }

    .parallax-container,
    .fixed-background,
    .fixed-background2 {
        background-attachment: scroll;
        /* 固定背景を解除 */
    }
}

/* 横スクロール可能な領域 */
#latest-posts {
    display: flex;
    overflow-x: auto;
    /* 横スクロールを有効にする */
    white-space: nowrap;
    padding: 10px;
}

#latest-posts li {
    list-style-type: none;
    margin-right: 20px;
    flex-shrink: 0;
    width: 400px;
    /* 画像と同じ幅に設定 */
    text-align: center;
    box-sizing: border-box;
    overflow-wrap: break-word;
    /* 幅を超えた文字列を強制的に改行 */
    word-wrap: break-word;
    /* 旧ブラウザ対応のため */
    white-space: normal;
    /* テキストの改行を許可 */
}

#latest-posts img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    /* 画像を正方形に収める */
    border-radius: 10px;
    /* 角丸にする */
}

#latest-posts a {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #06A55B;
    font-weight: bold;
    font-size: 25px;
    width: 100%;
    word-wrap: break-word;
    /* タイトルが画像の幅を超えた場合の改行処理 */
    overflow-wrap: break-word;
    /* 改行を強制 */
    text-align: left;
}

@media (max-width: 768px) {
    #latest-posts li {
        width: 150px;
    }

    #latest-posts img {
        width: 150px;
        height: 150px;
    }

    #latest-posts a {
        font-size: 14px;
    }
}

.latest-posts-section {
    text-align: center;
    padding: 40px 20px;
    background: #dddfd3;
}

#workflow-section {
    text-align: center;
    padding: 40px 20px;
    background: #dddfd3;
}

.workflow-step {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-direction: row;
    /* PCで画像を左、テキストを右に配置 */
}

.workflow-image {
    flex: 1 1 45%;
    text-align: center;
}

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

.workflow-text {
    flex: 1 1 45%;
    text-align: left;
}

/* モバイル表示用に縦並びに変更 */
@media (max-width: 768px) {
    .workflow-step {
        flex-direction: column;
        text-align: center;
    }

    .workflow-text,
    .workflow-image {
        flex: 1 1 100%;
    }

    .workflow-text {
        margin-top: 20px;
    }
}

/* 全体のスタイル */
#customer-reviews {
    padding: 40px 20px;
    background-color: #dddfd3;
    text-align: center;
}

.reviews-container {
    display: flex;
    overflow-x: scroll;
    /* 横スクロールを許可 */
    gap: 20px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    /* スナップ効果 */
    scroll-padding: 20px;
    justify-content: start;
}

/* 各レビューの基本スタイル */
.review {
    flex: 0 0 500px;
    /* 各レビューの横幅を300pxに設定 */
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    text-align: left;
    scroll-snap-align: start;
    /* スクロール時に位置を固定 */
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.review-name {
    font-size: 1.2rem;
    font-weight: bold;
}

.review-rating {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: orange;
}

.rating-value {
    margin-left: 5px;
    color: #616161;
}

.review-date {
    font-size: 0.9rem;
    color: #777;
}

/* レビュー詳細のスタイル */
.review-details {
    display: flex;
    flex-direction: column;
    /* 縦並びに変更 */
    justify-content: flex-start;
    padding: 16px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px dashed #9e9e9e;
}

.detail-item {
    display: block;
    /* 縦並びにするためブロック表示に変更 */
    padding: 10px 0;
    border-bottom: thin dashed #9e9e9e;
}

.detail-item:last-child {
    border-bottom: none;
}

.info-data {
    /* margin-left: 10px; */
    color: #616161;
    display: block;
    /* ブロック表示にして確実に次の行に表示 */
    margin-top: 5px;
}

/* レビュー本文 */
.review-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .reviews-container {
        flex-direction: row;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        scroll-padding: 20px;
    }

    .review {
        flex: 0 0 100%;
        /* モバイルではフル幅表示 */
        max-width: 85%;
        /* 横幅の最大を100%に */
    }
}

/* FAQセクションの基本スタイル */
#faq {
    padding: 40px 20px;
    background-color: #dddfd3;
    text-align: left;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    width: 100%;
    background-color: #2b2e26;
    color: white;
    padding: 15px;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #3e4039;
}

.faq-answer {
    display: none;
    /* デフォルトは非表示 */
    padding: 10px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 5px;
}

/* アコーディオンの開閉アニメーション */
.faq-item.open .faq-answer {
    display: block;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .faq-container {
        padding: 0 10px;
    }
}

/* 対応エリアセクション */
#service-area {
    padding: 40px 20px;
    background-color: #dddfd3;
    text-align: center;
}

#service-area h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#service-area p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.area-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.area-item {
    flex: 1 1 30%;
    margin: 10px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.area-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.area-item p,
.area-item ul {
    font-size: 1rem;
    line-height: 1.6;
}

.area-item ul {
    list-style-type: disc;
    margin-left: 20px;
}

.area-item ul li {
    margin-bottom: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .area-container {
        flex-direction: column;
    }

    .area-item {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
}

/* 固定ボタン全体のスタイル */
.fixed-contact-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 1000;
    /* 他のコンテンツの上に表示されるように */
}

/* ボタンのスタイル */
.contact-button {
    width: 49%;
    /* 画面の50%ずつに分割、少し隙間を持たせる */
    padding: 10px 0;
    font-size: 1rem;
    color: #ffffff;
    background-color: #2b2e26;
    /* 背景色 #2b2e26 */
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
    margin: 0 0.5%;
    /* ボタンの間に少し隙間を追加 */
}

.contact-button:hover {
    background-color: #1f241b;
    /* ホバー時の色変化 */
}

/* モバイル対応 */
@media (max-width: 768px) {
    .contact-button {
        font-size: 1rem;
        padding: 8px 0;
    }
}

/* フッター全体のスタイル */
footer {
    background-color: #2b2e26;
    color: white;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
}

.footer-info h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.footer-info p {
    margin: 5px 0;
}

.footer-map {
    flex: 1;
    /* min-width: 300px; */
    margin-bottom: 20px;
    width: 100%; /* 幅を100%に設定 */
    max-width: 100%; /* 親要素の幅を超えないようにする */
    overflow-x: hidden; /* 横にはみ出しを防ぐ */
}

.footer-map iframe {
    width: 100%; /* iframeを親要素にフィット */
    height: 400px; /* デスクトップ用の高さを設定 */
    border: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-map iframe {
        height: 300px; /* モバイル用の高さ */
    }
}

#subsidy {
    padding: 40px 20px;
    background: #dddfd3;
    text-align: center;
}

#concerns {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: left;
    background-color: #2b2e26;
    color: #FFFFFF;
    background-image: url(../images/tree-silhouette.webp);
}

#concerns h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.concern-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.concern-item {
    flex: 1 1 calc(50% - 20px);
    /* PCでは2列に配置 */
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.concern-item:hover {
    transform: translateY(-5px);
}

.concern-item h3 {
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 15px;
}

.concern-item p {
    font-size: 1rem;
    color: #666;
}

@media (max-width: 768px) {
    .concern-item {
        flex: 1 1 100%;
        /* モバイルでは1列表示 */
    }
}

#trustworthy-service {
    background-color: #dddfd3;
    padding: 50px 20px;
    text-align: left;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item img {
    width: 40%;
    border-radius: 10px;
}

.service-item.image-left {
    flex-direction: row;
}

.service-item.image-right {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .service-item {
        flex-direction: column;
    }

    .service-item img {
        width: 100%;
        margin-bottom: 20px;
    }

    /* 画像とテキストの配置をモバイルでは縦並びにする */
    .service-item.image-left,
    .service-item.image-right {
        flex-direction: column;
    }

}

#expert-service {
    background-color: #dddfd3;
    padding: 50px 20px;
    text-align: left;
}

#expert-service h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #333;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.service-item {
    flex: 1 1 calc(33% - 20px);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1rem;
    color: #666;
}

@media (max-width: 768px) {
    .service-item {
        flex: 1 1 100%;
    }
}

#dangerous-trees {
    background-color: #fff8e1;
    padding: 50px 20px;
    text-align: center;
}

#dangerous-trees h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #d32f2f;
}

.problem-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

/*
.problem-item {
    flex: 1 1 calc(50% - 20px);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
}

.problem-item h3 {
    font-size: 1.5rem;
    color: #d32f2f;
    margin-bottom: 15px;
}

.problem-item p {
    font-size: 1rem;
    color: #666;
}

@media (max-width: 768px) {
    .problem-item {
        flex: 1 1 100%;
    }
}
*/

#dangerous-trees-unique {
    background-color: #2b2e26;
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #FFFFFF;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.problem-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-10px);
}

.problem-icon {
    text-align: center;
    margin-bottom: 20px;
}

.problem-icon img {
    max-width: 80px;
}

.problem-content h3 {
    font-size: 1.4rem;
    color: #34495e;
    margin-bottom: 10px;
}

.problem-content p {
    font-size: 1rem;
    color: #7f8c8d;
}

@media (max-width: 768px) {
    .problem-card {
        padding: 15px;
    }
}

#safe-secure {
    background-color: #dddfd3;
    padding: 60px 20px;
    text-align: center;
}

#safe-secure h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
}

.reasons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.reason-item {
    flex: 1 1 calc(33% - 20px);
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-5px);
}

.reason-item h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.reason-item p {
    font-size: 1rem;
    color: #7f8c8d;
}

@media (max-width: 768px) {
    .reason-item {
        flex: 1 1 100%;
    }
}

#what-is {
    padding: 60px 20px;
    background-color: #dddfd3;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.what-is-item {
    flex: 1 1 48%; /* デスクトップで2列 */
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
}

.what-is-item h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2b2e26;
}

.what-is-item p, .what-is-item ul {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #433430;
}

.what-is-item ul {
    list-style: disc;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .what-is-item {
        flex: 1 1 100%; /* モバイルでは縦並び */
        margin-bottom: 20px;
    }

    .what-is-item h2 {
        font-size: 1.8rem;
    }

    .what-is-item p, .what-is-item ul {
        font-size: 1rem;
    }
}

#special-felling {
    background-color: #2b2e26;
    padding: 40px 20px;
    text-align: center;
    color: #FFFFFF;
}

#special-felling h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#special-felling .intro {
    margin-bottom: 40px;
    font-size: 1.2rem;
}

#special-felling .content-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 2rem;
}

#special-felling .content-image {
    width: 50%;
    padding: 10px;
}

#special-felling .content-image img {
    width: 100%;
    height: auto;
}

#special-felling .content-text {
    width: 50%;
    padding: 10px;
    text-align: left;
}

/* デスクトップ表示での逆向きレイアウト */
#special-felling .content-container.reverse {
    flex-direction: row-reverse;
}

/* モバイル表示で画像を上、テキストを下にする */
@media (max-width: 768px) {
    #special-felling .content-container {
        flex-direction: column;
    }

    /* 画像とテキストの幅を100%に */
    #special-felling .content-image,
    #special-felling .content-text {
        width: 100%;
    }

    /* モバイルで逆向きも縦並びに変更 */
    #special-felling .content-container.reverse {
        flex-direction: column;
    }
}

.government-certification {
    background-color: #f8f9fa;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.certification-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.certification-image {
    max-width: 180px;
    height: auto;
}

.certification-text h3 {
    color: #0056b3;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.certification-text p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
}
