:root {
    --main-color: #8bd321;
    --secondary-color: #8bd321;
    --font-size-medium: 18px;
    --padding-standard: 12px;
    --content-max-width: 1200px;
    --content-width: 90%;
}


.container {
    margin: 0 ;
    padding: 20px 0; /* 上下に十分な余白を追加 */
    max-width: var(--content-max-width);
    width: var(--content-width);
    margin: 0 ;
    padding: 0 20px;
    text-align: left;
}

li {
    list-style: none;
}


h2, h3 {
    text-align: center;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    padding-bottom: 10px;
    border-bottom: 2px solid #8bd321;
}

h3 {
    font-size: 1.5em;
    margin-top: 40px; /* セクション上部に余白を追加 */
    text-align: left;
    margin-left: 50px;
}

h4 {
    font-size: 1.4em;
    margin-top: 40px; /* セクション上部に余白を追加 */
    text-align: left;
    margin-left: 50px;
}

section {
    margin-bottom: 60px; /* 各セクションの上下に余白を追加 */
}
p {
    line-height: 17px;
    color: #333;
}

/* ナビゲーションリンクのホバー */
nav a:hover {
    color: #8bd321;  /* 変更 */
}

/* アティブンリ */
nav a.active {
    color: #8bd321;  /* 変更 */
}

/* ボタンやリンクの共通スタイル */
.button, 
.link-button {
    background-color: #8bd321;
    /* ... 他のスタイル ... */
}

.button:hover,
.link-button:hover {
    background-color: #8bd321;
}

.header {
    background-color: #ffffff;
    color: #8bd321;
    text-align: center;
    padding: 10px 0;
    margin: 0px; /* 上部に余白を追加 */
}
/*header.phpのレイアウト*/
.site-header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    padding: 0;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    align-items: center;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0px 40px;
    width: 95%;
    position: relative;
}

.logo-link {
    text-decoration: none;
    color: #8bd321;
}

.site-logo {
    margin: 0;
    font-size: 1.1rem;  /* フォントサイズも少し大きく */
    font-weight: bold;
    color: #8bd321;
}

.nav-link {
    text-decoration: none;
    color: #333;
    padding: 4px 12px;  /* パディングも調整 */
    border-radius: 12px;
    transition: all 0.3s;
    font-size: 0.9rem;  /* フォトサイズも整 */
}

.nav-link:hover {
    background-color: #8bd321;
    color: white;
}

.footer {
    width: 100%;
    background-color: #8bd321;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin: 0px; /* 上部に余白を追加 */
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* リンク間のスペースを追加 */
}

.footer ul li {
    margin: 0 60px;
}

.footer ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #ffe4e1;
}

.social-icons {
    margin-top: 20px; /* SNSアイコンとの間に余白を追加 */
}

.social-icons a {
    margin: 0 10px;
}

.social-icons {
    margin-top: 20px; /* SNSアイコンとの間に余白を追加 */
}

.social-icons a {
    margin: 0 10px;
}

.social-icons img {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.social-icons a:hover img {
    opacity: 0.7; /* ホバー時にアイコンを少し透明にする */
}


.redContent {
    color: red;
}