﻿@charset "utf-8";
/* CSS Document */

#container #syousai_p {
	text-align: left;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 20px;
	font-size: 130%;
}

#container #width_fl {
	width: 100%;
}

	#container #width_fl table {
	margin-right: auto;
	margin-left: auto;
	text-align: left;
	width: 90%;
	}

		#container #width_fl table th {
			color: #FFF;
			background-color: #24AAE2;
			padding: 5px;
			border: 1px solid #333;
			font-size: 130%;
			width: 25%;
		}

		#container #width_fl table td {
			padding: 5px;
			border: 1px solid #333;
			font-size: 130%;
		}

#container #syousai_h3 {
	color: #5EC1EA;
	font-size: 160%;
	padding-top: 5px;
	padding-bottom: 5px;
}

#container #syousai_p2 {
	font-size: 160%;
	padding-top: 5px;
	padding-bottom: 5px;
}

#container #syousai_p3 {
	font-size: 160%;
	padding-top: 5px;
	padding-bottom: 5px;
}

#container #syousai_p6 {
	font-size: 160%;
	padding-top: 5px;
	padding-bottom: 5px;
}

#container #syousai_p4 {
	background-color: #F7941D;
	padding-top: 15px;
	padding-right: 10px;
	padding-bottom: 15px;
	padding-left: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	width: 300px;
	font-size: 160%;
	color: #FFF;
	margin-right: auto;
	margin-left: auto;
	border-radius: 30px;
}

#container #syousai_p5 {
	background-color: #18A79D;
	padding-top: 15px;
	padding-right: 10px;
	padding-bottom: 15px;
	padding-left: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	width: 300px;
	font-size: 160%;
	color: #FFF;
	margin-right: auto;
	margin-left: auto;
	border-radius: 30px;
}

#container a {
	/* [disabled]color: #000; */
	text-decoration: none;
}

/* Swiper全体のサイズ指定 */
.swiper {
    width: 90%;
    height: 760px; 
    position: relative;
    background: #f5f5f5; 
}

/* スライドの箱をシンプルな中央揃えの箱に戻す */
.swiper-slide {
    display: flex;
    justify-content: center;  
    align-items: center;      /* 💡これで画像が「絶対に」ど真ん中（上下中央）になります */
    height: 100%;
    box-sizing: border-box;
    padding-bottom: 40px;     /* 下側の文字が入るスペースだけをあらかじめ確保 */
    position: relative;       /* 文字を絶対配置するための基準 */
}

/* 縦長・横長画像を絶対に枠内に収める指定 */
.swiper-slide img.slider-img {
    width: auto !important;   
    height: auto !important;  
    max-width: 70% !important;
    max-height: 70% !important; /* 箱の高さ（paddingを引いた分）いっぱいに安全に収める */
    object-fit: contain;      
}

/* 💡 テキストをスライドの最下部に「絶対配置」で固定する */
.swiper-slide p.slide-caption {
    position: absolute !important;
    bottom: 15px;             /* 下から15pxの位置に文字を固定 */
    left: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px;
    color: #333;
    font-size: 160%;
    text-align: center;
    width: 100%;
    font-weight: bold;
    z-index: 10;
}