@charset "utf-8";

/* 複数画像切り替え---------------------------------------------- */
.slider-container {
	position: relative; /* コンテナ内でスライド位置を相対的に設定 */
	width: 100%; /* コンテナ幅を100%に */
	height: calc(100vh - 110px); /* コンテナの高さを固定 */
	overflow: hidden; /* スライドがコンテナ外に出ないように非表示 */
}

/*画像の配置*/
.slideimg {
	position: absolute; /* 位置を絶対指定で重ねて配置 */
 	inset: 0; /*親要素内にフルサイズで配置*/
	opacity: 0; /* 初期状態で透明に */
	background-size: cover; /* 画像をスライド全体にカバー */
	animation: slideAnime 15s infinite; /* 1サイクル15秒を無限ループ */
}

/* スライド個別設定 */
.slideimg:nth-of-type(1) { background-image: url('../images/index/Top-01-2.jpg'); animation-delay: 0s; }
.slideimg:nth-of-type(2) { background-image: url('../images/index/Top-02-2_72.jpg'); animation-delay: 5s; }
.slideimg:nth-of-type(3) { background-image: url('../images/index/Top-03-2_72.jpg'); animation-delay: 10s; }

/*タイミング設定*/
@keyframes slideAnime {
	0%, 63%, 100% { opacity: 0; } /* 非表示のタイミング */
	20%, 33% { opacity: 1; } /* 表示されるタイミング */
}

.lead {
    max-width: 1200px;
    margin: 60px auto;
}

.lead p {
    line-height: 2;
    text-align: center;
}

.link-button-area {
    text-align: center;
    margin-top: 40px;
}

.link-button {
    background-color: #f4dd64;
    display: inline-block;
    min-width: 180px;
    line-height: 48px;
    border-radius: 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.link-button:hover {
    background-color: #d8b500;
}

.service {
    background-color: #f8f8f8;
    padding-top: 45px;
    padding-bottom: 55px;
}

.service h2 {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.service h2::after {
    content: '';
    display: block;
    width: 200px;
    height: 3px;
    background-color: #f85206ce;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

.service-list {
    display: flex;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 10px;
}

.service-list li {
    flex-shrink: 0;
    width: 260px;
    padding-left: 30px;
    padding-right: 30px;
}

.service-list dl {
    margin-top: 20px;
}

.service-list dt {
    font-weight: bold;
    text-align: center;
}

@media (max-width: 800px) {
    .lead {
        padding-left: 20px;
        padding-right: 20px;
    }

    .lead p {
        text-align: left;
    }
}