@charset "utf-8";
/* ===================== */
/* === 共通設定 === */
/* ===================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* 共通 */
.pc { display: block !important; width: 1000px; }
.sp { display: none !important; }

.main-text {
    text-align: center;
    margin: 10px 0 20px;
    font-size: 16px;
    color: #555;
}

h1 {
    width: 60%;
    background-color: #83C4BB;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 22px;
    border-radius: 10px;
    margin: 20px 0 10px;
}

.h1-blue { background-color: #4A90E2; }

/* ===================== */
/* === button-003 ボタン === */
/* ===================== */

.button-003 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    margin:0px auto 8px;
    padding: .9em 2em;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgb(0 0 0 / 25%), 0 2px 3px -2px rgb(0 0 0 / 15%);
    background-color: #336666;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.button-003::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
}

.button-003:hover {
    background-color: #99cccc;
}

a {
  text-decoration: none;
}

/* ===================== */
/* === バナーエリア === */

.container {
    width: 60%;
    margin: 0 auto 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    background-color: #FFFFFF;
    font-size: 16px;
}

.box {
    width: calc(25% - 12px);
    margin: 6px;
    border: solid 1px #ddd;
    background-color: #fefefe;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: 20px;
    min-height: 280px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.box:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.box a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.box-img {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.box-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

.box-text {
    text-align: center;
    padding: 8px 0;
    min-height: 50px;
    font-size: 14px;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
    .container {
        width: 94%;
        margin: 0 auto 15px;
        justify-content: flex-start;
    }

    .box {
        width: calc(50% - 8px);
        margin: 4px;
        min-height: 220px;
    }

    .box-img {
        height: 110px;
        align-items: flex-start;
    }

    .box-text {
        min-height: 40px;
    }
	
	h1 {
	width: 100%;
	}

.button-003 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    margin:0px auto 8px;
    padding: .9em 2em;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgb(0 0 0 / 25%), 0 2px 3px -2px rgb(0 0 0 / 15%);
    background-color: #336666;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

}

/* --- 改行位置 --- */
.phone { display: none; }
@media screen and (max-width: 767px) {
    .phone { display: block; }
}
