@charset "UTF-8";
/* CSS Document */
.main {
    margin: 0 auto;
    background-color: #fffcfc;
}
.about-top {
    margin: 20px auto 20px;
    padding: 0 8px 40px;
    width: 100%;
    text-align: center;
}
.page_title-wrapper h1 {
    font-size: 2.1875rem;
    font-weight: 600;
    font-family:
        "Noto+Sans+JP", sans-serif, "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    color: #47539e;
}
.page_title-wrapper h5 {
    font-size: 1rem;
    font-weight: 400;
    font-family:
        "Noto+Sans+JP", sans-serif, "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    color: #888787;
    margin: -3px 0 3px 0;
}
.page-image {
    display: inline-block;
    /*position: relative;*/
    width: 230px;
    height: 160px;
    /* text-align: center;
   display: flex;
    align-items: center;
    justify-content: center;*/
    background-color: #dfeaf0;
    /*border-radius: 3px;
    box-shadow: 10px 10px 0px 0px #dfeaf0;*/
}
.page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page_contents {
    padding: 0 20px;
    margin: 0 auto;
}
.page_contents h3 {
    font-size: 1.25rem;
    font-weight: 300;
    margin: 10px 0 20px;
}
.grid-box {
    display: grid;
    gap: 20px;
    margin: 0 auto;
    max-width: 360px;
    grid-template-rows: 1fr 1fr;
}
.contents_grid {
    display: grid;
    grid-template-columns: 60px 1fr; /* 左アイコン / 右テキスト */
    grid-template-rows: auto auto auto;
    gap: 4px 12px;
    align-items: stretch;
    position: relative;
    padding: 6px 14px;
    font-size: 1.1rem;
    line-height: 1.4rem;
}
.contents_grid::before {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1.5px solid #87b2d9;
    pointer-events: none;
    border-radius: 4px;
}
.contents_grid a {
    text-decoration: none;
}

.tel_image,
.email_image {
    grid-row: 1 / 4;
    /*display: flex;
    align-items: center;
    justify-content: center;*/
    display: grid;
    place-items: center;
    align-self: center;
}
.tel_image img,
.email_image img {
    display: block;
    width: 60px;
    height: auto;
}
.contents_grid h2 {
    position: relative;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    padding: 0 0 6px 0;
}
.tel_number,
.tel_time,
.email_to {
    text-align: center;
}
.tel_number,
.email_to {
    font-size: 1.6rem;
    font-weight: 700;
    color: #47539e;
}
.tel_number a:hover,
.email_to a:hover {
    color: #7d7d7d;
}
@media (min-width: 768px) {
    .about-top {
        margin: 20px auto 20px;
        padding: 0 8px 40px;
        width: 100%;
        text-align: center;
    }
    .page_title-wrapper {
        padding: 0 20px;
        max-width: 1080px;
    }
    .page_title-wrapper h1 {
        font-size: 2.375rem;
        font-weight: 600;
        text-align: left;
    }
    .page_title-wrapper h5 {
        font-size: 1rem;
        font-weight: 400;
        margin: 0px 0 7px 0;
        text-align: left;
    }
    .page-image {
        display: inline-block;
        width: 100%;
        max-width: 1080px;
        margin: 0 auto;
        height: 425px;
        text-align: left;
    }
    .page_contents {
        max-width: 840px;
        padding: 0 24px;
    }
    .page_contents h3 {
        font-size: 1.3rem;
        font-weight: 300;
    }
    .grid-box {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        max-width: 840px;
    }
    .contents_grid {
        line-height: 1.8rem;
        grid-template-columns: 60px 1fr; /* 左アイコン / 右テキスト */
        gap: 8px 12px;
        padding: 6px 14px;
        font-size: 1.1rem;
    }
    .contents_grid::before {
        inset: -8px;
        border: 2.2px solid #87b2d9;
        border-radius: 10px;
    }
    .tel_image img,
    .email_image img {
        width: 60px;
    }
    .contents_grid h2 {
        font-size: 1.5rem;
        font-weight: 700;
        padding: 0 0 6px 0;
    }
    .tel_number,
    .email_to {
        font-size: 1.8rem;
        font-weight: 700;
    }
    .tel_time{
        line-height: 1.4rem;
    }
}
