body {
    background: linear-gradient(to bottom, #add8e6 0%, #fffff0 50%, #add8e6 100%);
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;

}

  <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f5f5f5;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
            text-align: center;
        }
        .banner {
            width: 100%;
            margin-top: 20px;
        }
        h1 {
            margin-bottom: 10px;
    font-size: 150%; /* 親要素のフォントサイズの100% */
        }
        h1, h2, p, ul {
            text-align: center;
        }
        p {
            margin-bottom: 5px;
        }
        .button-container {
            margin-top: 5px;
        }
        .button-container a {
            display: inline-block;
            margin: 2px;
            padding: 10px 20px;
            background-color: #007BFF;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            border: 1px solid #0056b3;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
            background: linear-gradient(145deg, #0056b3, #007BFF);
            transition: all 0.3s ease;
        }
        .button-container a:hover {
            background: linear-gradient(145deg, #007BFF, #0056b3);
            box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
        }
//フッター//
        .footer {
            margin-top: auto;
            padding: 10px;
            font-size: 14px;
            color: #666;
            width: 100%;
            text-align: center;
            position: absolute;
            bottom: 0;
            left: 0;
        }
//フッターここまで//

.container {
    max-width: 768px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    button {
        width: 100%;
    }
}

.box7{
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #474747;
    background: whitesmoke;/*背景色*/
    border-left: double 7px #4ec4d3;/*左線*/
    border-right: double 7px #4ec4d3;/*右線*/
	width: 85%; 
	display: block; 
	margin: 0 auto;
}
.box7 p {
    margin: 0; 
    padding: 0;
}



p {
    font-size: 100%; /* 親要素のフォントサイズの100% */
}

p2 {
    font-size: 100%; /* 親要素のフォントサイズの100% */
}

p4 {
    font-size: 150%; /* 親要素のフォントサイズの100% */
text-decoration: none;
}


.sample_h_9{
font-size: 1.5em;/* フォントサイズ */
font-weight: bold;/* フォント太さ */
padding: 1em;
margin-bottom: 1em;
border: 4px double #619f60;/* 線 */
border-radius: 15px;/* 角丸 */
text-align: center;/* テキストの位置 */
color: #62a061;/* フォント色 */
}



h5 {
     text-align: center;
	font-size: 180%;/* フォントサイズ */
}
 
h5 span{
     position: relative;
     display: inline-block;
     padding-bottom:0.1em;
     border-bottom: 1px solid black;
}
      
h5 span::before,
h5 span::after {
     position: absolute;
     top: 100%;
     left:50%;
     transform:translateX(-50%);
     content: '';
     border: 40px solid transparent;
}
 
h5 span::before {
     border-top: 20px solid black;
}
 
h5 span::after {
     margin-top: -1px;
     border-top: 20px solid white;
}




.introduction{
	width: 80%;
	font-size: 85%; /* 親要素のフォントサイズの100% */
	border:2px dashed #C1AA9F; 
	background:#f0f8ff; 
	border-radius:15px; 
	box-shadow:0px 0px 0px 7px #f0f8ff; 
	padding:15px 20px; 
	color:#000000;
	margin: 15px;
	text-align: left;
}



.tab-1 {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    margin-top: 5px;
}

.tab-1 > label {
    flex: 1 1;
    order: -1;
    min-width: 70px;
    padding: .7em 1em .5em;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
    background-color: #e9f0f6;
    color: #535353;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
}

.tab-1 > label:hover {
    opacity: .8;
}

.tab-1 input {
    display: none;
}

.tab-1 > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #fff;
}

.tab-1 label:has(:checked) {
    background-color: #fff;
    border-color: #2589d0 #f0f0f0 #fff;
    border-style: solid;
    border-width: 4px 1px 1px;
    border-radius: 5px;
    color: #333333;
}

.tab-1 label:has(:checked) + div {
    display: block;
}
    .profile-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        max-width: 100%;
        margin: 20px auto;
        gap: 20px;
    }

    .profile-image {
        width: 70%;
        height: auto;
        border-radius: 10px;
    pointer-events: none;
    }

    .profile-text {
        flex: 1;
        text-align: left;
    }


    /* イベント告知用のポスター */
    .poster-image  {
        width: 80%;
        height: auto;
        border-radius: 10px;
    pointer-events: none;
    }




    /* 画面が縦長の端末（幅が768px以下）の場合は縦並びに */
    @media (max-width: 768px) {
        .profile-container {
            flex-direction: column;
            text-align: center;
    pointer-events: none;
        }

        .profile-image {
            width: 50%;
    pointer-events: none;
        }
    }



//更新情報//

.content-wrapper {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.updates-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw; /* 画面の90%を使用 */
    max-width: 90%; /* 最大幅を1200pxに制限 */
    margin: 16px auto; /* 中央寄せ */
    padding: 5px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 15px;
}

iframe {
    width: 100%; /* 親要素の幅に依存 */
    max-width: 800px; /* 最大幅を1100pxに制限 */
    height: 150px;
    display: block;
    border: none;
}

         .update-item {
            margin-bottom: 15px;
            padding: 10px;
            border-left: 4px solid #007bff;
            background-color: #f1f1f1;
            border-radius: 5px;
        }
        .new-badge {
            color: red !important;  /* 強制的に赤色を適用 */
            font-weight: bold;
            margin-left: 5px;
            display: inline-block;
        }

//更新情報ここまで//



//アクセスカウンター//
.counter-box {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}


        #counter {
            font-size: 14px;
            font-weight: bold;
            color: #20b2aa;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
            display: block;
            margin-top: 10px;
        }

        .info {
            font-size: 10px;
            color: #777;
            margin-top: 1px;
            margin-bottom: 10px;
        }

//アクセスカウンターここまで//
//ギャラリー//
.gallery-container {
    width: 50%	; /* 全体の幅を固定 */
    margin: 0 auto; /* 水平中央揃え */
    align: center;
}
/* タイトル部分のスタイル */
.gallery-title {
    text-align: center; /* 中央揃え */
    padding: 0.5em 0; /* 上下に余白を設定 */
    font-family: 'Oswald', sans-serif; /* 見出し用フォント */
    font-size: 2em; /* フォントサイズを大きく設定 */
}
/* Flexboxによるレイアウト */
.gallery-flex {
    display: flex; /* 子要素を横並びに配置 */
    justify-content: center; /* 子要素間を均等に分ける */
    margin-bottom: 2em; /* 下に余白を設定 */
    flex-wrap: wrap; /* 子要素を折り返し可能に */
    row-gap: 2em; /* 行間の余白を設定 */
    align: center;
}
/* 各セクション（カード）のスタイル */
section.gallery-box {
    width: 30%; /* 子要素の幅を30%に設定 */
    text-align: center; /* テキストを中央揃え */
    background-color: #fff; /* 背景を白に設定 */
    border: 1px solid #333; /* ボーダーを設定 */
    padding: 1em; /* 内側の余白を追加 */
    box-sizing: border-box; /* パディングとボーダーを含めたサイズ計算 */
    align: center;
}
/* セクション内の見出し（写真名）のスタイル */
section.box h1 {
    margin-bottom: 1rem; /* 見出し下の余白 */
    align: center;
}
/* ホバー時のエフェクト設定 */
section.box figure a {
    transition: opacity 0.5s ease; /* スムーズなトランジション効果 */
}
section.box figure a:hover {
    opacity: 0.5; /* ホバー時の透明度を変更 */
}
/* 画像を円形に加工 */
section.box figure img {
    border-radius: 50%; /* 円形にする */
    transition: transform 0.3s ease; /* 拡大縮小のアニメーション効果 */
}
section.box figure img:hover {
    transform: scale(1.1); /* ホバー時に画像を拡大 */
}
/* キャプション部分のスタイル */
section.box figcaption {
    text-align: center; /* キャプションを両端揃え */
    margin-top: 1em; /* 上に余白を追加 */
}



     ///* 動的な写真ギャラリー *///

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    max-width: 100%;
    margin: 20px auto;
    padding: 10px;
}

.gallery img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 18px;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin: 5px;
    padding: 0;
}


        .gallery img:hover {
            transform: scale(1.20);
        }
        /* モーダルのスタイル */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            justify-content: center;
            align-items: center;
        }
        .modal img {
            max-width: 99%;
            max-height: 99%;
            border-radius: 10px;
    pointer-events: none;
        }
        .close-btn {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 30px;
            color: white;
            cursor: pointer;
        }
     ///* 動的な写真ギャラリーのスタイルここまで *///