@charset "utf-8";

/* common
---------------------------------------------*/
* {
    margin: 0;
    padding: 0;
}

a:link,
a:visited {
    color: #ffffff;
    text-decoration: underline;
}

a:hover,
a:active {
    color: #d90909;
    text-decoration: underline;
}

.impact {
    font-size: 20pt;
    font-weight: bold;
}

.impact2 {
    color: red;
}

.impact3 {
    background: yellow;
    color: #000;
}

#impact4 {
    underline;
}

.impact5 {
    background: #173B50;
    padding: 2px 5px;
    color: #fff;
}

.impact6 {
    background: #f4f4f4;
    padding: 3px;
    line-height: 1.1;
}

.impact7 {
    background: #B60000;
    padding: 2px 5px;
    color: #fff;
}

.style2 {
    color: #FF0000
}

.style3 {
    color: #333333
}

.style4 {
    color: #000000
}

img {
    border: none;
}

/* ボタンのマウスオーバーで明るくする */
.btn:hover {
    filter: brightness(120%);
}

/* animation
---------------------------------------------*/
.feedInUp {
    opacity: 0;
    transform: translate(0, 30px);
    -webkit-transform: translate(0, 30px);
    transition: 1.5s;
}

.feedInUp_On {
    opacity: 1.0;
    transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
}

/* layout
---------------------------------------------*/
/*TopIntro-Start*/
body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    min-width: 1002px;

    background-image: url(../images/bg.jpg);
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: top center;

    -webkit-text-size-adjust: none;

    text-align: center;
    font-size: 18px;
    font-family: 'meiryo', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
    color: #463d3a;
    line-height: 1.6;
    /* 行間を広げる */
    letter-spacing: 0.08em;
    /* 文字間を少し広げる */
    margin-bottom: 15px;
    /* 下のボタンとの余白を追加 */
}


@media (max-width: 1023px) {
    body {
        width: 100%;
        height: 100%;
        margin: 0px;
        padding: 0px;
        min-width: 1002px;

        background-image: url(../images/bg.jpg);
        background-repeat: repeat;
        background-attachment: fixed;
        background-position: top center;

        -webkit-text-size-adjust: none;

        text-align: center;
        font-size: 40px;
        font-family: 'meiryo', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
        color: #463d3a;
        line-height: 1.6;
        /* 行間を広げる */
        letter-spacing: 0.08em;
        /* 文字間を少し広げる */
        margin-bottom: 15px;
        /* 下のボタンとの余白を追加 */


    }

}

/* 📱 スマホ時のフォントサイズ */
@media (max-width: 1023px) {
    .subtitle {
        font-size: 80px;
    }

}


#form {
    background: url("../images/form.png") no-repeat top center;
    height: 390px;
}

#wrap {

    background-image: url("../images/wrap.png");
    background-repeat: repeat-y;
    background-position: center top;
    background-position: 50% 0%;
}

#wrapform {

    background-image: url("../images/wrapform.png");
    background-repeat: repeat-y;
    background-position: center top;
    background-position: 50% 0%;
}


#container {

    text-align: left;
    width: 1000px;
    margin: 0 auto;


}

#text {

    text-align: left;
    width: 850px;
    margin: 0 auto;


}

#textwhite {

    text-align: left;
    width: 850px;
    margin: 0 auto;
    color: #fff;

}

#texts2 {

    text-align: left;
    width: 750px;
    position: relative;
    margin-top: 170px;
    margin-left: 400px;


}

#texts3 {

    text-align: left;
    width: 850px;
    margin-top: 250px;
    margin-left: 170px;


}


.container {

    text-align: left;
    width: 1200px;
    margin: 0 auto;


}

.white {
    color: #fff;
}

.text-center {
    text-align: center;
}

#footer {
    background-color: #84be43;
    padding: 30px 0;
    color: white;
    text-align: center;
}

--------------------------- */ ol,
ul {
    list-style-position: inside;
    padding-left: 10px;
}

ol li,
ul li {
    text-align: left;
}

/*----------追加------------*/
/* メニューバーのスタイル */

.bg01 {
    background-color: #f4f0eb;
}

.bg02 {
    background-color: #84be43;
    font-size: 14px;
    padding-top: 5%;
    padding-bottom: 0%;
}

.cp {
    color: white;
}

@media (max-width: 1023px) {
    .cp {
        color: white;
        font-size: 28px;
    }
}

.navbar {
    background-color: #84be43;
    /* グリーン */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    /* 余白を追加 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* 📱 スマホ時（1023px以下）のナビバー調整 */
@media (max-width: 1023px) {
    .navbar {
        height: 150px;
        /* ★ナビバーの高さを大きく */
        padding: 20px;
        /* ★余白を増やす */
    }

    .hamburger-menu {
        width: 100px;
        /* ★スマホ時はさらに大きく */
        height: 70px;
        right: 30px;
        /* ★少し左に寄せる */
        top: 15px;
    }

    .hamburger-menu span {
        height: 12px;
        /* ★線をもっと太く */
    }

    .menu-container {
        padding-top: 120px;
        /* ★ナビバーの高さ分の余白を確保 */
    }
}

/* メニューのスタイル */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-right: 40px;
}

.menu li {
    display: inline;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
    transition: opacity 0.3s;
}

.menu a:hover {
    opacity: 0.8;
}

/* メニューバーが固定されるため、上部に余白を確保 */
main {
    margin-top: 70px;
}

/* 各セクションのスタイル */
section {
    padding: 100px 0px;
    text-align: center;
}


/*プロフィールテキストボックス*/
.container02 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    /* 左寄せにする */
    align-items: center;
    max-width: 90%;
    /* コンテンツ幅の指定 */
    margin: 20px auto;
    /* 上下中央寄せ */
    padding: 20px;
    gap: 70px;
    /* 画像とテキストの間隔 */
}

.container03 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    /* 左寄せにする */
    align-items: center;
    max-width: 90%;
    /* コンテンツ幅の指定 */
    margin: 20px auto;
    /* 上下中央寄せ */
    padding: 20px;
    gap: 70px;
    /* 画像とテキストの間隔 */
}

@media (max-width: 1023px) {
    .container02 {
        flex-direction: column;
        /* ★ スマホ時に縦並び */
        align-items: center;
        /* ★ 中央揃え */
        text-align: center;
        /* ★ テキストも中央揃え */
        max-width: 95%;
        width: 95%;
        padding: 50px 50px;
        gap: 40px;
        /* ★ 間隔を調整 */
    }

    .container03 {
        flex-direction: column;
        /* ★ スマホ時に縦並び */
        align-items: center;
        /* ★ 中央揃え */
        text-align: center;
        /* ★ テキストも中央揃え */
        max-width: 95%;
        width: 95%;
        padding: 50px 50px;
        gap: 40px;
        /* ★ 間隔を調整 */
    }
}

.image-box img {
    max-width: 100%;
    /* 画像の最大幅を親要素に合わせる */
    height: auto;
    display: auto;
}

@media (max-width: 1023px) {
    .image-box {
        position: relative;
        /* ★ 親要素を基準にする */
        width: 100%;
        /* ★ ボックスを画面幅に合わせる */
        height: auto;
        /* ★ 高さは自動 */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .image-box img {
        width: 200%;
        /* ★ 画像自体を2倍のサイズにする */
        height: auto;
        position: absolute;
        /* ★ ボックス内で自由に配置 */
        left: 50%;
        /* ★ 中央揃え */
        transform: translateX(-50%);
        /* ★ 中央揃え */
    }

}


.text-box {
    flex: 1;
    justify-content: center;
    text-align: left;
    width: 20%;
    /* 幅を調整（必要なら変更） */

    /* 自動改行を有効にする */
    white-space: normal;
    /* 自動改行を許可 */
    word-wrap: break-word;
    /* 単語の途中でも改行可能 */
    overflow-wrap: break-word;
    /* 同様に長い単語を折り返し */

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    text-overflow: ellipsis;
    /* 省略記号「…」を表示 */
    max-width: 30%;
    min-width: 100px;
    /* 最小幅を設定 */
    flex-shrink: 0;
    /* 勝手に縮小しないようにする */
}

.text-box02 {
    flex: 1;
    justify-content: center;
    text-align: left;
    width: 20%;
    /* 幅を調整（必要なら変更） */

    /* 自動改行を有効にする */
    white-space: normal;
    /* 自動改行を許可 */
    word-wrap: break-word;
    /* 単語の途中でも改行可能 */
    overflow-wrap: break-word;
    /* 同様に長い単語を折り返し */

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    text-overflow: ellipsis;
    /* 省略記号「…」を表示 */
    max-width: 30%;
    min-width: 100px;
    /* 最小幅を設定 */
    flex-shrink: 0;
    /* 勝手に縮小しないようにする */
}

@media (max-width: 1023px) {

    .text-box {
        text-align: left;
        width: 100%;
        /* 幅を調整（必要なら変更） */

        flex-direction: column;
        align-items: flex-end;

        text-overflow: ellipsis;
        /* 省略記号「…」を表示 */
        max-width: 30%;
        min-width: 800px;
        /* 最小幅を設定 */
        flex-shrink: 0;
        /* 勝手に縮小しないようにする */

        padding: 600px 0px 0px 0px;
    }

    .text-box02 {
        text-align: left;
        width: 100%;
        /* 幅を調整（必要なら変更） */

        flex-direction: column;
        align-items: flex-end;

        text-overflow: ellipsis;
        /* 省略記号「…」を表示 */
        max-width: 30%;
        min-width: 800px;
        /* 最小幅を設定 */
        flex-shrink: 0;
        /* 勝手に縮小しないようにする */

        padding: 10px 0px 10px 0px;
    }

}

/* スマホ時に全体のbox-sizingを調整（影響があれば追加） */
* {
    box-sizing: border-box;
}

.text-box img {
    width: 50%;
    height: auto;
    display: block;
    margin-left: auto;

}


.text-box02 img {
    width: 50%;
    height: auto;
    display: block;
    margin-left: auto;

}

/* 詳しくはこちらのボタン */
@media (max-width: 1023px) {
    .text-box img {
        width: 100%;
        /* ★ 画像を2倍に拡大 */
        height: auto;
        display: block;
        margin: 0 auto;
        /* ★ 中央揃え */
        padding: 0px 0px 0px 0px;

    }

    .text-box02 img {
        width: 100%;
        /* ★ 画像を2倍に拡大 */
        height: auto;
        display: block;
        margin: 0 auto;
        /* ★ 中央揃え */
        padding: 0px 0px 0px 0px;

    }

}

/* アニメーション */
.fade-in {
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in-sc {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.fade-in-sc.active {
    opacity: 1;
}

/* footer */

/* フッターのレイアウト（3ブロック） */
.footer-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ロゴのスタイル */
.footer-logo img {
    max-width: 150px;
    /* ロゴ画像のサイズ調整 */
    height: auto;
}

@media (max-width: 1023px) {
    .footer-logo img {
        width: 150%;
        /* ★ ロゴを2倍のサイズにする */
        height: auto;
        max-width: none;
        /* ★ サイズ制限を解除 */
    }
}

/* 住所ブロック */
.footer-address {
    flex: 1;
    /* フレキシブルに中央配置 */
    text-align: left;
    font-size: 14px;
    padding-left: 20%;
}

@media (max-width: 1023px) {
    .footer-address {
        flex: 1;
        /* フレキシブルに中央配置 */
        text-align: left;
        font-size: 24px;
        padding-left: 20%;
    }
}

/* メニューブロック（左寄せ） */
.footer-menu {
    flex: 1;
    text-align: left;
    /* 左寄せ */
    padding-left: 10%;

}

/* メニューリンク */
.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 5px;
}

.footer-menu a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    /*font-weight: bold;*/
    transition: opacity 0.3s;
}

@media (max-width: 1023px) {
    .footer-menu a {
        text-decoration: none;
        color: white;
        font-size: 28px;
        /*font-weight: bold;*/
        transition: opacity 0.3s;
    }

}

.footer-menu a:hover {
    opacity: 0.8;
}

/* レスポンシブ対応（スマホではメニューを中央揃え） */
@media screen and (max-width: 1023px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        width: auto;
        /* ロゴのボックスサイズを適用 */
        height: auto;
        display: flex;
        justify-content: left;
        align-items: left;
        margin-right: auto;
    }

    .logo img {
        width: 200%;
        /* ★ ロゴを2倍のサイズにする */
        height: auto;
        max-width: none;
        /* ★ サイズ制限を解除 */
    }

    .menu {
        justify-content: center;
        padding-right: 0;
    }
}

/* TOP */
/* TOP画像のスタイル */
.top-image {
    background: none;
    /* 背景画像オフ */
    height: auto;
    margin-top: 100px;
    padding: 0;
}

.top-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: fadeInOnly 3s ease-out forwards;
}



/* スマホ時の背景画像変更 */
@media (max-width: 1023px) {
    .top-image {
        background-image: url("../images/top_sp.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        height: 1797px;
        display: block;
        margin-top: 150px;
        position: relative;
    }

    .top-img {
        display: none;
        /* スマホは画像タグを非表示にする */
    }
}


/* フェードインアニメーション（拡大なし） */
@keyframes fadeInOnly {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* 準備中ページのデザイン */
.maintenance {
    text-align: center;
    /* テキストを中央揃え */
    margin: 100px auto;
    /* 画面中央付近に配置 */
    padding: 30px;
    max-width: 600px;
    /* コンテンツ幅を制限 */
    background-color: #f4f4f4;
    /* 背景色を追加 */
    border-radius: 10px;
    /* 角を丸くする */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    /* 軽い影をつける */
}

/* ボタン風のリンク */
.maintenance a {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #84be43;
    /* メインカラーのグリーン */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.maintenance a:hover {
    background-color: #6ea037;
    /* 少し暗めのグリーン */
}

/* ハンバーガーメニューのスタイル（スマホ用） */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 100px;
    top: 20px;
    width: 100px;
    height: 90px;
    justify-content: space-between;
    z-index: 100;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 5px;
    transition: all 0.3s;
}

/* スマホ表示時のみ適用 */
@media (max-width: 1023px) {
    .hamburger-menu {
        display: flex;
    }

    /* メニューを最初は非表示 */
    .menu-container {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.95);
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* ★ 中央配置を追加 */
        z-index: 99;
        padding: 50px 0;
        /* 上下の余白を増やす */
    }

    .menu {
        flex-direction: column;
        padding: 0;
        gap: 15px;
        /* メニューの間隔を調整 */
    }

    .menu li {
        display: block;
        /* ★ リストをブロック要素化 */
        width: 100%;
        text-align: center;
        /* ★ テキストを中央に */
    }

    .menu a {
        font-size: 70px;
        color: #463d3a;
        text-decoration: none;
        display: block;
        /* ★ クリックしやすくする */
        width: 100%;
        padding: 15px 0;
        /* クリック範囲を広げる */
    }

    /* メニューが開いた時のスタイル */
    .menu-container.active {
        display: flex;
    }


    /* メニューが開いた時（✖️）のスタイル */
    .hamburger-menu.active {
        right: 100px;
        /* ★ 開いた時も適切な位置 */
        transform: translateX(0);
        /* ★ ずれを防ぐ */
    }

    /* ハンバーガーメニューのアニメーション */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* メニューが開いた時にスクロールを無効化 */
    body.no-scroll {
        overflow: hidden;
    }
}

.adjust {
    padding: 0;
    margin: 0;
}

@media (max-width: 1023px) {
    .adjust {
        margin: 500px 0 100px 0;
    }
}


/*　プロフィール */
.page-title {
    padding: 50px 0 30px;
    text-align: center;
}

.profile-intro {
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.profile-photo img {
    max-width: 300px;
    height: auto;
}

.profile-details {
    text-align: left;
    font-size: 16px;
}

.profile-message {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: left;
}

.profile-message p {
    margin-bottom: 1em;
}

.profile-message.container {
    margin-bottom: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.member-link {
    /*display: inline-block;*/
    color: #1076bc !important;
    text-decoration: none !important;
    /* アンダーライン消す*/
    font-weight: bold;
    margin-top: 50px !important;
    transition: color 0.3s !important;
}

.member-link:hover {
    color: #a8d8ff !important;
    text-decoration: underline;
}

.profile-activity {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 1023px) {
    .profile-activity {
        flex-direction: column;
        align-items: center;
        /* 中央揃えにしたい場合 */
    }
}

.profile-message.container {
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}



@media (max-width: 1023px) {
    .profile-activity {
        flex-direction: column;
        /* 縦並び */
    }

    .profile-activity .activity-photo {
        width: 100%;
    }

    .profile-activity .activity-photo img {
        display: block;
        width: 80%;
        /* 親要素の幅を全画面に */
        height: auto;
        margin: 0 auto;

    }
}


/* 活動報告 */

.newsletter-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0px 20px 40px 20px;
    text-align: center;
}

.newsletter-section h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* ▼ グリッドコンテナ */
.newsletter-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
}

/* ▼ 各アイテム */
.newsletter-item {
    width: 100%;
    max-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-item a img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-item p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #666;
}

/* ▼ レスポンシブ対応 */
@media screen and (max-width: 1024px) {

    .newsletter-container {
        grid-template-columns: repeat(3, 1fr);
    }
 
    .newsletter-section {
        padding: 15px 15px;
    }

    .newsletter-section p {
        font-size: 32px;
        line-height: 1.4;     /* 行間を少しだけ空ける（初期値は1.6前後） */
        margin-bottom: 12px;  /* 下の余白を明示的に小さく調整 */
    }
}

/* お問い合わせボタン */
.btn-push {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background-color: #f4511e;
    /* オレンジ */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 30px;
    /* 楕円に！ */
    transition: background-color 0.3s, transform 0.2s;
}

.btn-push:hover {
    background-color: #d84315;
    /* ホバーで濃いめに */
    transform: scale(1.05);
    /* 少し拡大 */
}

.btn-push .icon {
    font-size: 18px;
    line-height: 1;
}

.btn-push,
.btn-push:visited,
.btn-push:hover,
.btn-push:active {
    text-decoration: none !important;
}

@media (max-width: 1023px) {
    .btn-push {
        display: block;
        width: 95%;
        max-width: 600px;
        margin: 40px auto;
        padding: 28px 48px;
        font-size: 38px;
        font-weight: bold;
        border-radius: 999px;
        text-align: center;
        justify-content: center;
    }

    .btn-push .icon {
        font-size: 38px;
        margin-right: 12px;
    }
}

.sns-icon {
    width: 80%;
    max-width: 40px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
}

@media (max-width: 1023px) {
    .sns-icon {
        width: 90%;
        max-width: 72px;
        /* 上限を設けたい場合は追加 */
        height: auto;
        margin-right: 5px; /* 右側にスペースを追加 */

    }
}