body {
	background: linear-gradient(to bottom, #add8e6 0%, #fffff0 50%, #add8e6 100%);
	height: auto;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
        font-family: Arial, sans-serif;
        padding: 0;
        background-color: #f5f5f5;
        text-align: center;
        }

        .banner {
            width: 60%;
            margin-top: 70px;
        }

        h1 {
            margin-bottom: 10px;
        }

        h1, h2, p, ul {
            text-align: center;
        }

h3 {
  width: 50%;
  font-size: 180%;
  margin : 1px ;
  padding: 0.5em;/*文字周りの余白*/
  color: #010101;/*文字色*/
  background: #eaf3ff;/*背景色*/
  border-bottom: solid 3px #516ab6;/*下線*/
}

        p {
            margin-bottom: 5px;
        }
        .button-container {
            margin-top: 10px;
        }
        .button-container a {
            display: inline-block;
            margin: 3px;
            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);
        }






//@aineko411リンク用のカスタムボタン//

//@aineko411リンク用のカスタムボタンここまで//

//フッター//
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}
//フッターここまで//

.container {
    max-width: 1200px;
    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;
}

    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: 50%; 
	display: block; 
	margin: 0 auto;
}
.box7 p {
    margin: 0; 
    padding: 0;
}



p {
    font-size: 100%; /* 親要素のフォントサイズの100% */
}

p2 {
    font-size: 100%; /* 親要素のフォントサイズの100% */
}

p3 {
  margin: 10px;
  font-size: 95%; /* 親要素のフォントサイズの100% */
  background: #dfefff;
  box-shadow: 0px 0px 0px 5px #dfefff;
  border: dashed 2px white;
  padding: 0.5em 0.5em;
 text-align: left;
}

p4 {
    font-size: 100%; /* 親要素のフォントサイズの100% */
text-decoration: none;
}




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: 50%;
	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: 52%;
    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: 800px;
        margin: 2px auto;
        gap: 20px;
    }

    .profile-image {
        width: 30%;
        height: auto;
        border-radius: 10px;
    }

    .profile-text {
        flex: 1;
        text-align: left;
    }



    /* イベント告知用のポスター */
    .poster-image  {
        width: 35%;
        height: auto;
        border-radius: 10px;
    pointer-events: none;
    }




//体験コーナー//
.tab-1 label:has(:checked) + div {
    display: block;
}
    .taiken-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        max-width: 900px;
        margin: 2px auto;
        gap: 20px;
    }

    .taiken-image {
        width: 35%;
        height: auto;
        border-radius: 10px;
    }

    .taiken-text {
        flex: 1;
        text-align: left;
    }

//更新情報//

.content-wrapper {
    width: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.updates-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80vw; /* 画面の90%を使用 */
    max-width: 62%; /* 最大幅を1200pxに制限 */
    margin: 20px auto; /* 中央寄せ */
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 15px;
}

iframe {
    width: 100%;
    max-width: 1400px;
    max-height: 800px; /* 必要なら上限を設定 */
    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 {
            display: inline-block;
            background: linear-gradient(145deg, #ffffff, #e6e6e6);
            border-radius: 12px;
            box-shadow: 5px 5px 10px #c9c9c9, -5px -5px 10px #ffffff;
            padding: 20px 40px;
            margin-top: 20px;
        }


        #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 {
    margin: 0 auto; /* 水平中央揃え */
}
/* タイトル部分のスタイル */
.gallery-title {
    display: block !important;
    text-align: left !important;
    align-self: flex-start !important;
    justify-self: start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}
/* Flexboxによるレイアウト */
.gallery-flex {
    display: flex; /* 子要素を横並びに配置 */
    justify-content: space-between; /* 子要素間を均等に分ける */
    margin-bottom: 2em; /* 下に余白を設定 */
    flex-wrap: wrap; /* 子要素を折り返し可能に */
    row-gap: 2em; /* 行間の余白を設定 */
}
/* 各セクション（カード）のスタイル */
section.gallery-box {
    width: 30%; /* 子要素の幅を30%に設定 */
    text-align: center; /* テキストを中央揃え */
    background-color: #fff; /* 背景を白に設定 */
    border: 1px solid #333; /* ボーダーを設定 */
    padding: 1em; /* 内側の余白を追加 */
    box-sizing: border-box; /* パディングとボーダーを含めたサイズ計算 */
}
/* セクション内の見出し（写真名）のスタイル */
section.box h1 {
    margin-bottom: 1rem; /* 見出し下の余白 */
}
/* ホバー時のエフェクト設定 */
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: 800px;
            margin: 0 auto;
        }

.gallery img {
    width: 150px;
    height: 150px;
    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: 90%;
            max-height: 90%;
            border-radius: 10px;
    pointer-events: none;
        }
        .close-btn {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 30px;
            color: white;
            cursor: pointer;
        }
     ///* 動的な写真ギャラリーのスタイルここまで *///



