@import url('css/blog.css');
@import url('css/slideshow.css');
/* main_style.css */

/* General styles */
body {
    font-family: 'Arial', 'Helvetica', sans-serif; /* フォントを丸みの帯びた見やすいフォントに変更 */
    margin: 0;
    padding: 0;
    background: #f5f5dc; /* 背景色を薄いベージュに設定 */
    color: #333333; /* テキストをダークグレーに設定 */
    font-size: 16px; /* 基本のフォントサイズを一般的なサイズに設定 */
}

/* Container styles */
#container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    max-width: 1000px; /* 最大幅を少し小さく設定 */
    background-color: #ffffff; /* コンテナの背景を白に設定 */
    padding: 20px; /* パディングを一般的なサイズに設定 */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
}

/* Header styles */
header {
    background: url('images/headback.webp') no-repeat center center; /* 背景画像を設定 */
    background-size: cover; /* 背景画像をカバーサイズに設定 */
    color: #333333; /* テキストをダークグレーに設定 */
    padding: 20px; /* パディングを一般的なサイズに設定 */
    text-align: left; /* ヘッダー全体を左寄せに設定 */
    border-bottom: 3px solid #dbc4a2; /* 暖かい黄色のボーダー */
    position: relative; /* 相対位置を設定 */
    padding-bottom: 20px; /* Social iconsの下に20pxの余白を確保 */
}

header h1 a {
    color: inherit; /* リンクの色を継承 */
    text-decoration: none; /* リンクの下線を削除 */
}

header h1 a:hover {
    text-decoration: underline; /* ホバー時に下線を追加 */
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.74); /* 白いぼやかしを追加 */
    z-index: 0; /* 重なり順を設定 */
}

header h1, header p {
    position: relative;
    z-index: 2; /* テキストを前面に表示 */
}

.header-title {
    margin: 0;
    font-size: 2.5em; /* フォントサイズを一般的なサイズに設定 */
    font-family: 'Arial', 'Helvetica', sans-serif; /* フォントを変更 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* テキストに軽い影を追加 */
    border-bottom: 2px dashed #ff9900; /* 下線を暖かい黄色の破線に設定 */
    padding-bottom: 5px; /* 下線との間隔を調整 */
    text-align: center; /* タイトルを中央寄せに設定 */
    background-color: transparent; /* 背景色を透明に設定 */
    padding: 10px 0; /* パディングを調整 */
    letter-spacing: 2px; /* 文字間隔を広げる */
    text-transform: uppercase; /* すべて大文字に変換 */
}

/* Subtitle styles */
.subtitleheader {
    font-size: 1em; /* フォントサイズを大きく設定 */
    color: #666666; /* テキストを薄いグレーに設定 */
    text-align: left; /* 左揃えに設定 */
    margin-top: -5px; /* 上のマージンを調整 */
    padding-left: 20px; /* 左のパディングを追加 */
}

/* Navigation styles */
nav {
    background-color: #ffffff; /* ナビゲーションを白に設定 */
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 0; /* ナビゲーションの上のマージンを削除 */
    padding-top: 0; /* ナビゲーションの上のパディングを削除 */
    margin-bottom: 0; /* ナビゲーションの下のマージンを削除 */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: space-between; /* 左右に要素を配置 */
    align-items: center; /* 垂直方向に中央揃え */
}

nav .menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0px; /* inlineblockの間のスペースを消す */
}

nav .menu-items li {
    display: inline;
    font-size: 15px;  /* inlineblockの間のスペースを消す */
}

nav .menu-items li a {
    display: inline-block;
    color: #333333; /* リンクをダークグレーに設定 */
    text-align: center;
    padding: 15px 15px; /* パディングを一般的なサイズに設定 */
    text-decoration: none;
    font-size: 1.1em; /* フォントサイズを一般的なサイズに設定 */
    transition: background-color 0.3s ease;
    height:1.2em;
    line-height:1.2em;

}

nav ul .menu-items a.active {
    color: #333333;
    /* font-weight: bold; */
    text-decoration: underline;
}
nav ul li .active {
    background-color: #f9e8cf; /* 現在のページを強調する色に設定 */
    color: #333333; /* テキストをダークグレーに設定 */
}


.social-icons{
    display: flex;
    gap: 10px; /* アイコン間の間隔を設定 */
    justify-content: flex-end;
    margin-bottom: 0; /* 下部のマージンを0に設定 */
}

.social-icons a {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 18px; /* 右に余白を追加 */
    z-index: 3; /* テキストを前面に表示 */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* アニメーションを追加 */
}

.social-icons a:hover {
    transform: scale(1.2); /* カーソルを当てたときに拡大 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* カーソルを当てたときに影を追加 */
}

social-icons a:last-child {
    margin-right: 18px; /* 右に余白を追加 */
}

.social-icons img {
    width: 100%;
    height: auto;
}

nav ul li a:hover {
    background-color: #f9e8cf; /* ホバー時に暖かい黄色に設定 */
    color: #333333; /* ホバー時にテキストをダークグレーに設定 */
}
/* Mobile menu button */
.menu-button {
    display: none;
    background-color:  #e3e3e3; /* メニューボタンの背景色を設定 */
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 15px;
    color: #333333;
    align-items: center;
    gap: 5px;
}

.menu-button::after {
    content: "▼";
    font-size: 0.8em;
    transition: transform 0.3s;
}

.menu-button.open::after {
    transform: rotate(180deg);
}

/* Main content styles */
main {
    padding: 50px; /* パディングを広く設定 */
    background-color: #ffffff; /* メインコンテンツの背景を白に設定 */
    margin-top: 20px; /* マージンを広く設定 */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: auto; /* mainを画像にあわせて縦に引き伸ばす */
}
.top-image {
    width: 50%;
    height: auto;
    float: right; 
    margin: 0 0 100px 100px;
}

main h2 {
    font-size: 1.5em; /* フォントサイズを一般的なサイズに設定 */
    margin-top: 0;
    color: #333333; /* 見出しをダークグレーに設定 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* 見出しに軽い影を追加 */
    background-color: transparent; /* 背景色を透明に設定 */
    padding: 6px; /* パディングを追加 */
    border-radius: 4px; /* 角を丸くする */
    border-left: 5px solid #834e00; /* 左に太い線を追加 */

    padding-left: 10px; /* 左のパディングを追加 */
    font-family: 'Arial', 'Helvetica', sans-serif; /* フォントを変更 */
}

main p {
    line-height: 1.8; /* 行間を一般的なサイズに設定 */
    color: #333333; /* テキストをダークグレーに設定 */
    font-size: 1.0em; /* テキストサイズを一般的なサイズに設定 */
}


h3.honbun {
    border-bottom: 2px solid #00000047; /* 境界線を濃く設定 */
    padding-bottom: 1px; /* 間隔を広く設定 */
    width: fit-content; /* 下線の幅をテキストの幅に合わせる */
}

h3 {
    padding-bottom: 1px; /* 間隔を広く設定 */
    width: fit-content; /* 下線の幅をテキストの幅に合わせる */
}

/* Column styles */
.column {
    border: 2px solid #834e00; /* 枠線の色を設定 */
    padding: 5px 15px; /* パディングを追加 */
    background-color: #f9f9f9; /* 背景色を設定 */
    border-radius: 8px; /* 角を丸くする */
    margin: 5px 0; /* 上下のマージンを追加 */
}

/* Footer styles */
footer {
    background-color: #333333; /* フッターをダークグレーに設定 */
    color: #ffffff; /* テキストを白に設定 */
    text-align: center;
    padding: 20px 0; /* パディングを一般的なサイズに設定 */
    margin-top: 15px; /* マージンを少し小さく設定 */
    border-top: 3px solid #dbc4a2; /* 暖かい黄色のボーダー */
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Additional styles for better appearance */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', 'Helvetica', sans-serif; /* 見出しのフォントを変更 */
}

a {
    color: blue; /* ハイパーリンクの色を青に設定 */
    text-decoration: none; /* 通常時は下線を表示しない */
}

a:hover {
    text-decoration: underline; /* カーソルを当てたときに下線を表示 */
}

ul li {
    margin-bottom: 10px; /* リストアイテムの下にマージンを追加 */
}


/* FAQ styles */
.faq-section {
    margin-top: 40px;
}

.faq-title {
    font-size: 1.8em;
    color: #333333;
    margin-bottom: 20px;
    text-align: left; /* 中央揃えから左揃えに変更 */
}

.faq-item {
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.faq-question {
    font-size: 1.2em;
    cursor: pointer;
    color: #834e00;
    margin: 0;
}

.faq-answer {
    display: none;
    font-size: 1em;
    color: #333333;
    margin-top: 10px;
    padding-left: 20px;
}

.section-title {
    font-size: 1.8em;
    color: #333333;
    margin-bottom: 20px;
    text-align: left;
}

.faq-category {
    margin-top: 40px;
}

.faq-category h3 {
    font-size: 1.5em; /* フォントサイズを大きく設定 */
    color: #834e00; /* 色を変更 */
    margin-bottom: 20px;
    text-align: left;
    border-bottom: 2px solid #834e00; /* 線の色を変更 */
    padding-bottom: 5px;
}

/* Member stats styles */
.member-stats {
    margin: 1.0em 0;
    padding: 1em;
    background: #f8f9fa;
    border-radius: 6px;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: space-between;
    margin-top: 0.5em;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 0.8em;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stat-item h4 {
    margin: 0 0 0.5em 0;
    font-size: 1em;
    color: #666;
}

.stat-number {
    font-size: 1.5em;
    font-weight: bold;
    color: #2c5282;
    margin: 0.3em 0;
}

.stat-list {
    margin: 0;
}

.stat-list li {
    margin: 0.3em 0;
    padding-left: .4em;
    font-size: 0.9em;
}

.stat-details {
    display: flex;
    gap: 1em;
    color: #666;
    font-size: 0.9em;
}

/* Note styles */
.note {
    font-size: 14px;
}

/* Update history styles */
.update-history {
    max-height: 200px;
    overflow-y: scroll; /* 常にスクロールバーを表示 */
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Member table styles */
.member-table {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
}

.member-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.member-table th, 
.member-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.member-table th {
    background: linear-gradient(to bottom, #c49a6c, #b68d5f);
    color: #ffffff;
    font-weight: normal;
    padding: 10px 8px; /* 左右のパディングを12pxから8pxに減少 */
    font-size: 0.9em; /* フォントサイズを0.95emから0.9emに縮小 */
    letter-spacing: 1px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #a67c4a;
    line-height: 1.2; /* 行の高さを追加して適切なサイズに調整 */
}

.member-table td {
    padding: 10px 8px; /* 左右のパディングを12pxから8pxに減少 */
    font-size: 0.9em; /* tdのフォントサイズを設定 */
    line-height: 1.0;
}

.member-table th:first-child {
    border-top-left-radius: 6px;
}

.member-table th:last-child {
    border-top-right-radius: 6px;
}

.member-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

@media (max-width: 700px) {
    .member-table {
        margin: 10px -15px;
    }
}

/* Feature section styles */
.feature-section {
    margin: 40px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    padding: 20px;
    background: #f9f6f2;
    border-radius: 8px;
    border-left: 4px solid #834e00;
    transition: transform 0.3s ease;
}

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

.feature-item h4 {
    color: #834e00;
    margin: 0 0 15px 0;
    font-size: 1.2em;
}

.feature-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 700px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    header{
        padding-bottom: 20px; /* Social iconsの下に20pxの余白を確保 */
    }
    body {
        font-size: 14px; /* フォントサイズを小さく設定 */
    }

    #container {
        width: 95vw;
        padding: 10px; /* パディングを小さく設定 */
    }

    header {
        text-align: center; /* ヘッダーを中央寄せに設定 */
        padding: 10px; /* パディングを小さく設定 */
    }

    .header-title {
        font-size: 2em; /* フォントサイズを小さく設定 */
    }

    nav ul {
        display: flex;
        flex-direction: column; /* ナビゲーションを縦方向に設定 */
        padding: 0;
    }

    nav .menu-items {
        display: flex;
        flex-direction: column; /* メニューアイテムを縦方向に設定 */
        padding: 0;
    }

    nav .menu-items li {
        display: block;
        margin: 0px 0; /* リストアイテムの間隔を設定 */
    }

    nav .menu-items li a {
        padding: 10px; /* パディングを小さく設定 */
    }

    .top-image {
        width: 100%;
        height: auto;
        margin: 0 0 20px 0;
    }
    main {
        padding: 20px; /* パディングを小さく設定 */
    }

    footer {
        padding: 10px 0; /* パディングを小さく設定 */
    }

    .menu-button {
        font-size: 1.2em;
        display: flex;
        width: 100%;
        justify-content: center;
    }

    nav .menu-items {
        display: none;
        width: 100%;
    }

    nav .menu-items.show {
        display: block;
    }

    nav .menu-items li {
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    nav .menu-items li:last-child {
        border-bottom: none;
    }

    nav .menu-items li a {
        width: 100%;
        padding: 15px 0;
    }

    /* モバイル用のスライドショースタイル */
    .slideshow-container {
        height: 32vh; /* モバイルでは高さを40vhに変更 */
        width: auto; /* 画面幅いっぱいに広げる */
        object-fit: cover; /* 画像を横長にトリミング */
    }
}


