@charset "UTF-8";

/*colum201 Base*/
/* =========================================
   ベース設定
========================================= */
.base {
    margin: 0 auto;
    background-color: aliceblue;
    width: 100%;
    max-width: 1100px;
    box-sizing: border-box;
    padding: 40px;
}

/* タイトル */
.kyoten {
    color: #fff;
    background: #278dd6;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    font-size: 1.5rem;
    margin: 0 0 30px 0;
    padding: 15px;
    background-image: url(../images/bg8.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 4px;
}

/* =========================================
   レイアウト＆カード設定
========================================= */
.base .locations-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.base .location {
    background-color: #fff;
    width: calc(50% - 10px);
    box-sizing: border-box;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.base .location:not(.location-img-only):hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.base .title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #278dd6;
}

/* 住所・電話番号エリア */
.base .location-info {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    line-height: 1.4;
    flex-grow: 1;
}

.base .location-info li,
.base .location-access li {
    margin-bottom: 2px;
}

.base .tel-link {
    color: #333;
    text-decoration: none;
}

/* マップボタン */
.base .map {
    /* ★さらに変更: ボタン下の余白も少し詰める */
    margin: 0 0 12px 0;
    text-align: center;
}

.base .map_button {
    display: flex;
    align-items: center;
    justify-content: center;
    /* ★さらに変更: ボタンの高さを44pxから34pxに縮小 */
    height: 34px;
    /* ★追加: ボタンの文字サイズも少し小さくしてバランスを取る */
    font-size: 0.9rem;
    box-sizing: border-box;
    color: #fff;
    background-color: #85accf;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: opacity 0.3s, background-color 0.3s;
    position: relative;
}

.base .map_button::after {
    content: '→';
    margin-left: 8px;
    font-family: sans-serif;
    transition: transform 0.3s ease;
}

.base .map_button:hover::after {
    transform: translateX(4px);
}

.base .map_button:hover {
    opacity: 0.8;
    background-color: #729bc0;
}

/* アクセス情報 (道案内の表記部分) */
.base .location-access {
    list-style: none;
    background-color: #ededf0;
    padding: 8px 12px;
    border-radius: 4px;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.3;
    min-height: 70px;
    box-sizing: border-box;
}

/* 画像カード */
.base .location-img-only {
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.base .location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.base .location-img-only:hover .location-image {
    transform: scale(1.08);
}

/* =========================================
   スマホ用調整（画面幅768px以下）
========================================= */
@media screen and (max-width: 768px) {
    .base {
        padding: 20px 15px;
    }

    .kyoten {
        font-size: 1.3rem;
        padding: 12px;
        margin-bottom: 20px;
    }

    .base .locations-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .base .location {
        width: 100%;
        padding: 15px;
    }

    .base .location-access {
        min-height: auto;
    }

    .base .tel-link {
        color: #278dd6;
        text-decoration: underline;
    }
}

/*colum201 Base*/

.gaiyou {
    font-weight: bold;
    color: black;
}

/*---------------------------subcontact*/

/*colum202 Safety*/

.safety img {
    justify-content: center;
    /* 【追加】横方向の中央揃え */
}


.colum200-box {
    margin: 0 auto;
    background-color: aliceblue;
    width: 1100px;
    padding: 0px;
    margin-top: 50px;
    font-weight: normal;
}


.colum202-box {
    display: flex;
    /* 中身を横並びにする */
    align-items: flex-start;
    /* 縦方向の上で揃える（上揃えなら flex-start に変更） */
    justify-content: center;
    /* 【追加】横方向の中央揃え */
    gap: 20px;
    /* 図と文章の間の余白を20pxにする */
}

.colum202-box .safety_image {
    width: 500px;
    /* 画像の幅（必要に応じて調整） */
    height: auto;
}

.colum202-box .safety_text {}

/*colum201 Base*/