@charset "utf-8";
.container-6 {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 3%; /* 画像の間に余白を設定 */
	justify-content: center;
}
/*.container-6 img {
    width: %; /* 3列に設定 
}*/
/* YouTube動画のラッパーのスタイル */
.youtube-wrapper {
    position: relative;
    padding-bottom: 50%; /* 16:9のアスペクト比を保持 */
    height: 0;
    overflow: hidden;
    max-width: 80%; /* レスポンシブ対応 */
    background-color: #232323; /* 動画がロードされるまでの背景色 */
    margin: 0 auto; /* 中央に配置 */
	margin-top: 20px;
}

.youtube-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    border: 0;
}
/* 見出し全体のスタイル */
.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: -60px 0 30px 0;
}

/* 見出しテキストのスタイル */
.section-heading h2 {
    font-size: 2.5rem; /* デスクトップ向けのサイズ */
    font-weight: bold;
    text-align: center;
    color: #fff; /* 白色 */
    padding: 0 20px;
    background-color: #232323; /* 背景色 */
    z-index: 1; /* 見出しを最前面に */
}

/* 見出しの左右に配置される線 */
.section-heading::before, .section-heading::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50%;
    height: 1px;
    background-color: #fff; /* 線の色 */
}

.section-heading::before {
    left: 0;
}

.section-heading::after {
    right: 0;
}
/* 見出し全体のスタイル */
.section-heading2 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0px 0 30px 0;
}

/* 見出しテキストのスタイル */
.section-heading2 h2 {
    font-size: 2.5rem; /* デスクトップ向けのサイズ */
    font-weight: bold;
    text-align: center;
    color: #fff; /* 白色 */
    padding: 0 20px;
    background-color: #232323; /* 背景色 */
    z-index: 1; /* 見出しを最前面に */
}

/* 見出しの左右に配置される線 */
.section-heading2::before, .section-heading2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50%;
    height: 1px;
    background-color: #fff; /* 線の色 */
}

.section-heading2::before {
    left: 0;
}

.section-heading2::after {
    right: 0;
}
/* 014 */
.button014 a {
    background: #384456;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 40px auto;
    max-width: 400px;
    padding: 5px 20px;
	height: 70px;
    color: #fff;
    transition: 0.3s ease-in-out;
	font-size: 1.3em;
    font-weight: 500;
    z-index:0;
	border: 1px solid #5f6867;
	
}

.button014 a:hover {
    color: #fff;
	background-color: #1F2934;
}

/* 014 */
.button015 a {
    background: #131313;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 40px auto;
    max-width: 400px;
    padding: 5px 20px;
	height: 70px;
    color: #fff;
    transition: 0.3s ease-in-out;
	font-size: 1.3em;
    font-weight: 500;
    z-index:0;
	border: 1px solid #5f6867;
	
}

.button015 a:hover {
    color: #fff;
	background-color: #232323;
}

@media (max-width: 768px) {
    .container-6{
        gap:10px 3%;
    }
	.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 20px 20px;
}

	.section-heading h2 {
        font-size: 1.8rem; /* タブレット向け */
    }
	
	.section-heading2 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 20px 20px;
}

	.section-heading2 h2 {
        font-size: 1.8rem; /* タブレット向け */
    }
    /*.container-6 img {
        width:48.5%; /* 2列に設定 
    }*/
}
@media (max-width: 600px) {
    .container-6{
        gap:10px 3%;
    }
    .container-6 img {
	width:100%; }
}
@media (max-width: 480px) {
/* YouTube動画のラッパーのスタイル */
.youtube-wrapper {
    position: relative;
    padding-bottom: 50%; /* 16:9のアスペクト比を保持 */
    height: 0;
    overflow: hidden;
    max-width: 100%; /* レスポンシブ対応 */
    background-color: #232323; /* 動画がロードされるまでの背景色 */
    margin: 0 auto; /* 中央に配置 */
	margin-top: 20px;
	margin-bottom: 20px;
}

.youtube-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
	}}