/* ===============================
   トップページのみの設定
   =============================== */

/* トップ メインイメージ */
/* PC/タブレット (768px以上) 設定 */
@media (min-width: 768px) {
.top-mainImg-area {
    background-image: url("../img/top_bk_mainImg.png");
    background-repeat: repeat-x;
    text-align: center;
}
}

/* ===============================
   私たちの理念
   =============================== */
.concept {
    position: relative;
    overflow: hidden;
    /* セクション全体の余白は、下のグリーンエリアで確保 */
    margin-top:30px;
}

/* 【白いエリア】: ボタンが半分隠れる上部の領域 */
.concept__top-content {
    background-color: #ffffff;
    /* ボタンがちょうど半分隠れる高さ（例: 60px）を設定 */
    height: 60px;
}

/* 【薄緑のエリア】: コンテンツと背景 */
.concept__green-area {
    background-color: #DCFBE4;
    padding-top: 100px; /* テキストの上部余白 */
    padding-bottom: 50px;
    position: relative;
    z-index: 1;
    font-size: 24px;
    font-weight: bold;
}
/* 薄緑エリア内のテキストを中央寄せ */
.concept__green-area .container {
    text-align: center;
}
/* 【ボタン】: セクション全体を基準に配置 */
.concept__button {
    display: block;
    margin-left: auto;
    margin-right: auto; /* 中央寄せ */
    padding-top:40px;

    background-color: #14A83C;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    line-height: 30px;
    text-align: center;

    /* 配置方法を変更 */
    position: absolute; /* 親要素 .concept を基準にする */
    top: 0px; /* 白いエリアの高さ（60px）の真下にボタンの上端が来るように */
    left: 50%; 
    transform: translateX(-50%); /* 完璧な中央寄せ */

    z-index: 3; /* 最も手前に配置 */
}



/* ===============================
   パートナーエリア
   =============================== */

.section__subtitle {
    /* 中央揃えと上下の余白 */
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 20px;
    font-weight: bold;
}

/* パートナーカードのリスト（Flexboxの親要素） */
.partners__list {
    display: flex;
    flex-direction: column; /* 【モバイルファースト】デフォルトは縦積み */
    gap: 30px; /* カード間の縦の隙間 */
}

/* カード内のテキストや画像のマージン調整 */
.partners__card {
    /* カード内のテキストは左寄せ */
    text-align: left;
}

.partners__image {
    /* 画像の下部にマージン */
    margin-bottom: 15px;
}
/* PC/タブレット (768px以上) 設定 */
@media (min-width: 768px) {
    .partners__list {
        flex-direction: row;
        flex-wrap: wrap;
        margin-left: 30px;
        margin-right: 30px;
        gap: 0px;
    }
    .partners__card {
        width: 50%;
        flex-basis: calc(50% - 10px); /* 50%を基準に隙間分を引く */
        flex-grow: 1; /* ブラウザ幅に合わせて広がる */
        flex-shrink: 1; /* ブラウザ幅に合わせて縮む */
        padding: 0 20px 30px 20px;
    }

.partners__title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}
.partners__text {
    font-size: 18px;
    margin-bottom: 20px;
}
}



/* ===============================
   メンバー紹介エリア
   =============================== */

/* メンバーリスト全体（PCで2列にするための親要素） */
.member__list {
    display: flex;
    flex-direction: column; /* 【モバイルファースト】デフォルトは縦積み */
    gap: 40px; /* カード間の縦の隙間 */
    margin-left: 30px;
    margin-right: 30px;
}

/* メンバーカード内部 (画像とテキストの横並び) */
.member__card {
    gap: 20px;
}

/* 画像エリア (丸くする処理) */
.member__photo-area {
    /* 固定幅を設定し、テキストの幅に影響されないようにする */
    width: 300px;
    height: 300px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}
.member__photo {
}
/* テキストエリア */
.member__text-area {
    flex-grow: 1; /* 残りのスペースを全て使う */
    text-align: left;
}
.member__name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}
.member__text {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: normal;
}

/* PC/タブレット (768px以上) 設定 */
@media (min-width: 768px) {
    /* リスト全体を2列にする */
    .member__list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center; /* 中央寄せ */
        gap: 40px;
    }
    .member__card {
        /* 2枚が均等な幅になるように計算 */
        /* Flexboxの柔軟な均等幅計算 */
        flex-basis: calc(50% - 20px); /* 50%を基準に隙間分を引く */
        flex-grow: 1;
        flex-shrink: 1;
    }
    .member__text-area {
        margin: auto 20px auto;
    }
}


/* ===============================
   会社概要エリア
   =============================== */

/* 【ボタン】 */
.green__button {
    display: block;
    margin-left: auto;
    margin-right: auto; /* 中央寄せ */
    padding-top:53px;

    background-color: #14A83C;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    line-height: 30px;
    text-align: center;

    z-index: 3; /* 最も手前に配置 */

    margin-bottom: 50px;
}

.info-list__item {
    display: flex;
    /* スマホでは縦並びにして、項目名と説明を分けて表示 */
    flex-direction: column;
    border-bottom: 2px solid #999; /* 項目ごとに下に線 */
    padding: 15px 0px;
}
.info-list__term {
    width: 100%; /* 幅を解除 */
    margin-bottom: 5px;
    font-weight: 700;
}

/* PC/タブレット (768px以上) 設定 */
@media (min-width: 768px) {
    /* リスト全体の設定 */
    .info-list {
        margin-left: 30px;
        margin-right: 30px;
    }

    /* 項目ごとの行（Flexboxを適用して横並びにする） */
    .info-list__item {
        flex-direction: row;
        border-bottom: none;
    }

    /* 項目名（左側） */
    .info-list__term {
        /* 項目名の幅を固定し、右側の説明文に場所を取らせない */
        width: 200px;
        padding-bottom: 15px;
        padding-right: 15px;
        margin-right: 20px;
        margin-bottom: 0px;
        border-bottom: 3px solid #999; /* 項目ごとに下に線 */
        text-align: right;
    }

    /* 項目説明（右側） */
    .info-list__description {
        /* 残りのスペースを全て取る */
        flex-grow: 1;
        padding-left: 15px;
        border-bottom: 2px solid #999; /* 項目ごとに下に線 */
    }
}
@media (min-width: 1150px) {
    .info-list {
        margin-left: 150px;
        margin-right: 150px;
    }
}

/* ===============================
   お問い合わせエリア
   =============================== */
.contact-area {
    background-color: #14A83C;
}
.contact-area__inner {
    /* テキストとインライン要素（<a>タグなど）をまとめて中央寄せ */
    text-align: center;
    padding: 60px 0; /* 上下の余白 */
}
.contact-area__text {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 40px;
}
.contact-area_button {
    /* インラインブロックにして幅を持たせる */
    display: inline-block;

    /* 文字色を濃い緑に（#14A83C） */
    color: #14A83C;

    /* 背景を白に、文字の装飾をなしに */
    background-color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;

    /* パディング（内側の余白）でボタンの大きさを調整 */
    padding: 20px 100px;

    /* 【重要！】極端な角丸を設定 */
    border-radius: 100px;

    /* アニメーション（ホバー時） */
    transition: opacity 0.3s;
}

.contact-area_button:hover {
    opacity: 0.8; /* ホバーで少し透明にする */
}


/* ===============================
   フェードインアニメーション
   =============================== */

/* 初期状態：ふわっと消えている状態 */
.js-fadein-target {
    opacity: 0;
    /* 動きの起点を少し下に設定 (ふわっと浮き上がるように) */
    transform: translateY(30px); 
    /* アニメーション時間 */
    transition: opacity 0.8s, transform 0.8s;
}

/* 最終状態：アニメーション実行後の状態 (JSでこのクラスが付与される) */
.js-fadein-target.is-fadein {
    opacity: 1; /* 見えるように */
    transform: translateY(0); /* 元の位置に戻る */
}