@charset "UTF-8";

/* 共通部分
-------------------------------------------------*/
html {
    font-size: 22px;
}

body {
    font-family: 'Yu Mincho Light', 'YuMincho', 'Yu Mincho', '游明朝体', serif;
    /* font-family: 'Toppan Bunkyu Midashi Mincho'; */
    color: #333333;
    background-color: #fff;
    line-height: 1.2em;
}

a {
    text-decoration: none;
    color: #333333;
    transition: all .3s ease-out;
    /* 元のコードに修正(20220424山﨑) */
}

a:hover {
    color: #B357F5;
    /*     transition: all .3s ease-out;  元のコードに修正(20220424山﨑) */
}

img {
    max-width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

main {
    width: 964px;
    margin: 0 auto;
    overflow: hidden;
}

h2 {
    font-size: 1.5em;
    font-weight: 800;
}

h3 {
    font-size: 1.8em;
    color: #B357F5;
    font-weight: 800;
    font-family: 'Toppan Bunkyu Midashi Mincho', 'YuMincho', 'Yu Mincho', '游明朝体', serif;
}

/* .wrapper {
    margin-left: 13px;
} */
.hamburger_menu,
.sp_img {
    display: none;
}

/*-------------------------------------------------

  index.html トップページ

-------------------------------------------------*/

/* ヘッダー
-------------------------------------------------*/
header {
    height: 110px;
    width: 100%;
    background-color: #fff;
    opacity: 0.9;
    position: fixed;
    /* headerをfixed */
    z-index: 99;
    /* z-indexでヘッダーを最前面に */
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* トップイメージ
-------------------------------------------------*/
.top_image {
    /* トップイメージの写真・・幅はブラウザの幅一杯、高さは519px */
    height: 629px;
    /* タイトル110px文を追加 */
    width: 100%;
    background-image: url(../images/top_image.jpg);
    background-image: -webkit-image-set(url(../images/top_image.jpg) 1x, url(../images/top_image@2x.jpg) 2x);
    background-image: image-set(url(../images/top_image.jpg) 1x, url(../images/top_image@2x.jpg) 2x);
    background-position: center 110px;
    /* 画像の位置を110px下げる */
    background-size: cover;
}

/* トップメニュー（固定）
-------------------------------------------------*/
.top_nav {
    width: 100%;
    height: 78px;
    position: -webkit-sticky;
    position: sticky;
    top: 110px;
    background-color: #fff;
    opacity: 0.9;
    z-index: 99;
    /* z-indexでヘッダーを最前面に */
}

.top_nav ul {
    height: 100%;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top_nav ul li {
    margin-left: 34px;
    font-size: 0.9em;
    font-weight: 800;
}

/* 墓地・納骨堂案内
-------------------------------------------------*/
.info_bochi_top {
    background-image: url(../images/bg_info_bochi.jpg);
    background-image: -webkit-image-set(url(../images/bg_info_bochi.jpg) 1x, url(../images/bg_info_bochi@2x.jpg) 2x);
    background-image: image-set(url(../images/bg_info_bochi.jpg) 1x, url(../images/bg_info_bochi@2x.jpg) 2x);
    background-size: cover;
    margin: 0 auto;
}

.top_section_title {
    padding-top: 60px;
    text-align: center;
}

.bochi_top_container {
    width: 964px;
    margin: 0 auto;
    padding: 38px 0 60px;
    display: grid;
    grid-template-columns: repeat(4, calc(91% / 4));
    justify-content: center;
    row-gap: 3%;
    -moz-column-gap: 3%;
    column-gap: 3%;
}

.bochi_top_grid {
    height: 216px;
    position: relative;
    box-shadow: 2px 2px 9px #0000004D;
    overflow: hidden;
}

.grid_button {
    width: 176px;
    padding: 18px 0;
    /* background-color: #9311F2; */
    background-color: rgba(147, 17, 242, .7);
    border: 2px solid #FFFFFF;
    text-align: center;
    font-size: 1.5em;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 0px 0px 3px #000000;
    position: absolute;
    bottom: 17px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    z-index: 1;
    transition: all .3s ease-out;
    /* 元のコードに修正(20220424山﨑) */
}

.grid_bg {
    /* ホバー時のアクションをテキストと背景で分けるために背景ブロックを設置 */
    height: 100%;
    width: 100%;
    transition: all .3s ease-out;
}

.grid_link {
    display: block;
    height: 100%;
    width: 100%;
}

.grid_link:hover .grid_bg {
    transform: scale(1.1);
}

.grid_link:hover .grid_button {
    background-color: rgba(147, 17, 242, 1);
    /* transition: all .3s ease-out; 元のコードに修正(20220424山﨑) */
}

#grid_momoo {
    background-image: url(../images/top_info_bochi_momoo.jpg);
    background-image: -webkit-image-set(url(../images/top_info_bochi_momoo.jpg) 1x, url(../images/top_info_bochi_momoo@2x.jpg) 2x);
    background-image: image-set(url(../images/top_info_bochi_momoo.jpg) 1x, url(../images/top_info_bochi_momoo@2x.jpg) 2x);
    background-size: cover;
}

#grid_omine {
    background-image: url(../images/top_info_bochi_omine.jpg);
    background-image: -webkit-image-set(url(../images/top_info_bochi_omine.jpg) 1x, url(../images/top_info_bochi_omine@2x.jpg) 2x);
    background-image: image-set(url(../images/top_info_bochi_omine.jpg) 1x, url(../images/top_info_bochi_omine@2x.jpg) 2x);
    background-size: cover;
}

#grid_tatsudayama {
    background-image: url(../images/top_info_bochi_tatsudayama.jpg);
    background-image: -webkit-image-set(url(../images/top_info_bochi_tatsudayama.jpg) 1x, url(../images/top_info_bochi_tatsudayama@2x.jpg) 2x);
    background-image: image-set(url(../images/top_info_bochi_tatsudayama.jpg) 1x, url(../images/top_info_bochi_tatsudayama@2x.jpg) 2x);
    background-size: cover;
}

#grid_urayama {
    background-image: url(../images/top_info_bochi_urayama.jpg);
    background-image: -webkit-image-set(url(../images/top_info_bochi_urayama.jpg) 1x, url(../images/top_info_bochi_urayama@2x.jpg) 2x);
    background-image: image-set(url(../images/top_info_bochi_urayama.jpg) 1x, url(../images/top_info_bochi_urayama@2x.jpg) 2x);
    background-size: cover;
}

#grid_hanazono {
    background-image: url(../images/top_info_bochi_hanazono.jpg);
    background-image: -webkit-image-set(url(../images/top_info_bochi_hanazono.jpg) 1x, url(../images/top_info_bochi_hanazono@2x.jpg) 2x);
    background-image: image-set(url(../images/top_info_bochi_hanazono.jpg) 1x, url(../images/top_info_bochi_hanazono@2x.jpg) 2x);
    background-size: cover;
}

#grid_shiroyama {
    background-image: url(../images/top_info_bochi_shiroyama.jpg);
    background-image: -webkit-image-set(url(../images/top_info_bochi_shiroyama.jpg) 1x, url(../images/top_info_bochi_shiroyama@2x.jpg) 2x);
    background-image: image-set(url(../images/top_info_bochi_shiroyama.jpg) 1x, url(../images/top_info_bochi_shiroyama@2x.jpg) 2x);
    background-size: cover;
}

#grid_shimizu {
    background-image: url(../images/top_info_bochi_shimizu.jpg);
    background-image: -webkit-image-set(url(../images/top_info_bochi_shimizu.jpg) 1x, url(../images/top_info_bochi_shimizu@2x.jpg) 2x);
    background-image: image-set(url(../images/top_info_bochi_shimizu.jpg) 1x, url(../images/top_info_bochi_shimizu@2x.jpg) 2x);
    background-size: cover;
}

#grid_reidou_momoo {
    background-image: url(../images/top_info_reidou_momoo.jpg);
    background-image: -webkit-image-set(url(../images/top_info_reidou_momoo.jpg) 1x, url(../images/top_info_reidou_momoo@2x.jpg) 2x);
    background-image: image-set(url(../images/top_info_reidou_momoo.jpg) 1x, url(../images/top_info_reidou_momoo@2x.jpg) 2x);
    background-size: cover;
}

/* お知らせ
-------------------------------------------------*/
.news {
    text-align: center;
    width: 964px;
    margin: 0 auto;
}

.news_all_link {
    display: inline-block;
    font-size: 0.7em;
    padding: 9px 15px;
    border: 1px solid #707070;
    margin: 22px 0 33px;
    transition: all .3s ease-out;
}

.news_all_link:hover {
    border-color: #B357F5;
}

.news ul {
    list-style: none;
    width: 845px;
    padding-left: 0;
    text-align: left;
    margin: 0 auto 70px;
}

.news ul li {
    display: flex;
    margin: 27px 0;
}

.news_date {
    display: flex;
}

.news_category {
    display: block;
    width: 109px;
    height: 27px;
    text-align: center;
    margin: 0 37px 0 36px;
    font-size: 0.8em;
    color: #fff;
}

.news_reidou_momoo {
    background-color: #8AB3F5;
}

.news_momoo {
    background-color: #58D358;
}

.news_all {
    background-color: #F58AAB;
}

/* フッター
-------------------------------------------------*/
footer {
    text-align: center;
    font-size: 0.7em;
    margin-bottom: 40px;
}

.footer_info {
    background-image: url(../images/bg_footer.jpg);
    background-image: -webkit-image-set(url(../images/bg_footer.jpg) 1x, url(../images/bg_footer@2x.jpg) 2x);
    background-image: image-set(url(../images/bg_footer.jpg) 1x, url(../images/bg_footer@2x.jpg) 2x);
    background-size: cover;
    padding-top: 39px;
    line-height: 1.3em;
}

footer h1 {
    margin: 60px 0 31px;
}

.footer_text {
    padding-bottom: 40px;
    font-weight: 800;
}

.footer_text_midashi {
    margin-bottom: 5px;
}

.footer_text_honbun {
    font-size: 0.8em;
}

.footer_nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 33px 0 51px;
}

.footer_nav ul li {
    margin-left: 37px;
}


/*-------------------------------------------------

  bochi-info.html 熊本市営墓地・納骨堂のご案内

-------------------------------------------------*/

/* ページタイトル
-------------------------------------------------*/
.page_title_area {
    height: 120px;
    text-align: center;
    background-image: url(../images/bg_title.jpg);
    background-image: -webkit-image-set(url(../images/bg_title.jpg) 1x, url(../images/bg_title@2x.jpg) 2x);
    background-image: image-set(url(../images/bg_title.jpg) 1x, url(../images/bg_title@2x.jpg) 2x);
    background-size: cover;
    margin-top: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* パンくずリスト
-------------------------------------------------*/
.breadcrumb {
    /* font-family: 'ヒラギノ明朝 ProN'; */
    margin: 25px 0;
}

.breadcrumb ul {
    display: flex;
    list-style-type: none;
    font-size: 0.9em;
}

.breadcrumb li:after {
    content: '\003e';
    /* 「>」を区切り文字として表示 */
    margin: 0 5px;
}

.breadcrumb li:last-child:after {
    content: "";
    /* 最後のliの後ろには区切り文字を表示しない */
}

/* 開所・閉館時間
-------------------------------------------------*/
.openclose {
    width: 860px;
    margin: 0 auto;
    border: 1px solid #707070;
    text-align: center;
    line-height: 1.7em;
    padding: 35px 0 34px;
    margin-bottom: 90px;
}

.openclose h2 {
    margin-bottom: 40px;
}

.open_close_bochi {
    font-weight: bold;
}

.open_close_time {
    margin-bottom: 37px;
}

.small_openclose {
    display: block;
    font-size: 0.7em;
    line-height: 1.2em;
}

/* 墓地・納骨堂一覧
-------------------------------------------------*/
.bochi_info_card {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.bochi_info_left img {
    width: 288px;
    height: 216px;
    box-shadow: 2px 2px 9px #0000004D;
    margin-right: 15px;
}

.bochi_info_title {
    display: flex;
    align-items: center;
    padding: 10px 0 29px;
    width: 648px;
    border-bottom: 1px dashed #999999;
    margin-bottom: 25px;
}

.bochi_detail_link {
    display: block;
    font-size: 0.8em;
    font-weight: bold;
    padding: 10px 15px 12px 16px;
    border: 1px solid #707070;
    margin-left: 50px;
    transition: all .3s ease-out;
    /*元のコードに修正(20220424山﨑) */
}

.bochi_detail_link:hover {
    background: #b357f5;
    border: 1px solid #B357F5;
    color: #FFF;
    /* transition: all .3s ease-out;  元のコードに修正(20220424山﨑) */
}

.bochi_info_text {
    line-height: 1.7em;
}

/*-------------------------------------------------

  use-procedure.html ご利用・各種手続き

-------------------------------------------------*/

/* 市営墓地・納骨堂の利用について
-------------------------------------------------*/
.use_procedure {
    margin-bottom: 104px;
    font-weight: 800;
    line-height: 1.7em;
}

.use_title {
    padding-bottom: 24px;
    border-bottom: 1px dashed #999999;
    margin-bottom: 24px;
    line-height: 1.3em;
}

.use_wrapper {
    margin: 0 13px;
}

.howtouse {
    display: flex;
    align-items: center;
    margin-bottom: 36px;
}

.howtouse_left img {
    width: 177px;
    height: 133px;
    /* border: 1px solid #707070; */
    margin-right: 13px;
}

.howtouse_right ul {
    list-style-type: none;
}

.caution ol {
    padding-left: 30px;
}

/* 手続きについて
-------------------------------------------------*/
.procedure_tbl,
.procedure_tbl tr,
.procedure_tbl td {
    border-collapse: collapse;
    border: 1px solid #707070;
}

.procedure_tbl {
    width: 779px;
    height: 344px;
    margin-top: 24px;
}

.procedure_tbl td {
    padding: 0 12px;
}

/*-------------------------------------------------

  invitation.html 墓地の募集について

-------------------------------------------------*/
.invitation {
    margin-top: 20px;
}

.invitation_momoo {
    display: flex;
    justify-content: space-between;
    margin-bottom: 376px;
}

.invitation_momoo a {
    text-decoration: underline;
}

.invitation_momoo_left {
    max-width: 563px;
    margin-right: 30px;
}

.invitation_momoo_left p {
    line-height: 1.3em;
    margin-bottom: 32px;
}

.invitation_momoo_right {
    width: 370px;
    height: 278px;
}

.invitation_momoo_right img {
    box-shadow: 2px 2px 9px #0000004D;
}


/*-------------------------------------------------

  /bochi 各種墓地・墓園のご案内

-------------------------------------------------*/
.single_title {
    padding-bottom: 24px;
    border-bottom: 1px dashed #999999;
    margin: 46px 0 26px;
}

.bochi_info_single {
    margin-bottom: 137px;
}

.bochi_info_single_content {
    display: flex;
}

.bochi_info_single_left {
    width: 563px;
    margin-right: 30px;
}

.bochi_info_single_text {
    line-height: 1.7em;
    margin-bottom: 32px;
}

.indent_one {
    margin-left: 1em;
}

/* .bochi_info_single_img img {
    width: 370px;
    height: 278px;
    box-shadow: 2px 2px 9px #0000004D;
} */

.bochi_info_single_img {
    width: 370px;
    height: 278px;
    /* box-shadow: 2px 2px 9px #0000004D; */

    @media screen and (max-width:599px) {
        width: 100%;
        height: 100%;
    }

}


.gmap {
    margin-top: 26px;
    margin-bottom: 90px;
    width: 100%;
}

.map {
    margin-top: 26px;
    margin-bottom: 90px;
    width: 100%;
}

.gmap iframe {
    width: 100%;
    height: 435px;
}

.gmap_text {
    margin: 26px 0px 26px 0px;
}

.download {
    font-size: 0.8rem;
}

/*-------------------------------------------------

  Javascript

-------------------------------------------------*/
.slick-arrow {
    background-color: #333;
    bottom: 0;
    height: 0;
    margin: auto;
    position: absolute;
    top: 0;
    width: 0;
}

.slick-list {
    margin: 0 -15px;
}

.slick-slide {
    margin: 0 4px;
}

.slider-for {
    margin-bottom: 13px;
}

/* .slick-arrow :before {
    color: #000000;
} */

.prev-arrow {
    border-bottom: 10px solid #333;
    border-left: 0;
    border-right: 10px solid #fff;
    border-top: 10px solid #333;
    left: -25px;
}

.next-arrow {
    border-bottom: 10px solid #333;
    border-left: 10px solid #fff;
    border-right: 0;
    border-top: 10px solid #333;
    right: -25px;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
}

/* instagram
    -------------------------------------------------*/
.sns_btn {
    display: block;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}


/*-------------------------------------------------

  レスポンシブ対応（タブレット）

-------------------------------------------------*/
@media screen and (max-width: 963px) {
    /*タブレット用*/

    /* 非表示
    -------------------------------------------------*/
    .pc_img,
    .top_nav,
    #hamburger_icon_check {
        display: none;
    }

    /* 表示
    -------------------------------------------------*/
    .hamburger_menu {
        display: block;
    }

    .sp_img {
        display: inline;
    }

    /* ハンバーガーメニュー(アイコン)
    -------------------------------------------------*/
    .hamburger_icon {
        position: fixed;
        top: 30px;
        right: 30px;
        display: flex;
        height: 44px;
        width: 44px;
        justify-content: center;
        align-items: center;
        z-index: 80;
        background-color: #fff;
        border: 1px solid #707070;
    }

    .hamburger_icon span,
    .hamburger_icon span:before,
    .hamburger_icon span:after {
        content: '';
        display: block;
        height: 2px;
        width: 25px;
        border-radius: 3px;
        background-color: #707070;
        position: absolute;
    }

    .hamburger_icon span:before {
        bottom: 12px;
    }

    .hamburger_icon span:after {
        top: 12px;
    }

    /* ハンバーガーが開いたら×印にする */
    /* #hamburger_icon_check:checked ~ .hamburger_icon span {
        background-color: rgba(255, 255, 255, 0);
    }
    #hamburger_icon_check:checked ~ .hamburger_icon span::before {
        bottom: 0;
        transform: rotate(45deg);
    }
    #hamburger_icon_check:checked ~ .hamburger_icon span::after {
        top: 0;
        transform: rotate(-45deg);
    } */

    /* ハンバーガーメニュー(メニュー)
    -------------------------------------------------*/
    .hamburger_nav {
        width: 80%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;
        /*leftの値を変更してメニューを画面外へ*/
        z-index: 95;
        background-color: #fff;
        transition: all 0.3s;
    }

    .hamburger_nav ul {
        height: 100%;
        text-align: right;
        margin: 150px 15px 0 0;
        list-style: none;
    }

    .hamburger_nav ul li {
        font-size: 1.2em;
        font-weight: 800;
        margin-bottom: 50px;
    }

    #hamburger_icon_check:checked~.hamburger_nav {
        left: 20%;
        /*メニューを画面内へ*/
    }

    /* ハンバーガーメニュー(背景カバー)
    -------------------------------------------------*/
    .hamburger_close {
        display: none;
        /*はじめは隠しておく*/
        position: fixed;
        z-index: 90;
        top: 0;
        /*全体に広がるように*/
        left: 0;
        width: 100%;
        height: 100%;
        background: black;
        opacity: 0;
        transition: .3s ease-in-out;
    }

    #hamburger_icon_check:checked~.hamburger_close {
        display: block;
        /*カバーを表示*/
        opacity: .5;
    }

    /* 文字サイズ
    -------------------------------------------------*/
    body {
        font-size: 16px;
    }

    /* ヘッダー
    -------------------------------------------------*/
    header {
        justify-content: space-between;
        padding-left: 13px;
    }

    /* 墓地・納骨堂一覧
    -------------------------------------------------*/
    .bochi_top_container {
        width: 95%;
    }

    .bochi_top_grid {
        height: 162px;
    }

    .grid_button {
        width: 140px;
        padding: 15px 0;
    }

    /* お知らせ
    -------------------------------------------------*/
    .news {
        width: 95%;
        margin: 0 auto;
    }

    .news ul {
        width: 100%;
    }

    /* 開所・閉館時間
    -------------------------------------------------*/
    main {
        width: 100%;
        margin: 0;
        padding: 0 13px;
    }

    .openclose {
        width: 98%;
    }

    /* 墓地・納骨堂一覧
    -------------------------------------------------*/
    .bochi_info_left {
        margin: 0 13px;
    }

    .bochi_info_right {
        min-width: 55%;
    }

    .bochi_info_title {
        width: 100%;
    }

    .bochi_detail_link {
        padding: 5px 7px 6px 8px;
        margin-left: 20px;
    }

    h3 {
        font-size: 1.7em;
    }

    /* 手続きについて
    -------------------------------------------------*/
    .procedure_tbl {
        width: 100%;
    }

    /* 墓地の募集について
    -------------------------------------------------*/
    .invitation_momoo_left {
        max-width: 50%;
        margin-right: 13px;
    }

    /* /bochi 各種墓地・墓園のご案内
    -------------------------------------------------*/
    .bochi_info_single_left {
        width: 50%;
        margin-right: 20px;
    }
}

/*-------------------------------------------------

  レスポンシブ対応（スマホ）

-------------------------------------------------*/
@media screen and (max-width: 599px) {

    /* ハンバーガーメニュー
    -------------------------------------------------*/
    .hamburger_icon {
        right: 10px;
    }

    /* 墓地・納骨堂一覧
    -------------------------------------------------*/
    .bochi_top_container {
        grid-template-columns: repeat(2, calc(91% / 2));
    }

    /* お知らせ
    -------------------------------------------------*/
    .news ul li {
        flex-direction: column;

    }

    .news_date {
        flex-direction: row-reverse;
        justify-content: start;
        margin-bottom: 13px;
    }

    .news_category {
        margin: 0 14px 0 0;
    }

    /* お知らせ
    -------------------------------------------------*/
    .footer_nav,
    .sp_nobr,
    .breadcrumb {
        display: none;
    }

    .footer_info {
        margin-bottom: 23px;
    }



    /* 市営墓地・納骨堂のご案内
    -------------------------------------------------*/

    .openclose {
        padding: 35px 10px 34px;
        margin: 20px 0 30px;
    }

    .bochi_info_card {
        flex-direction: column;
    }

    .bochi_info_left {
        margin: 0;
    }

    .bochi_info_left img {
        width: 100%;
        height: 100%;
    }

    .bochi_info_title {
        justify-content: space-between;
        padding: 7px 0;
        margin-bottom: 10px;
    }

    .bochi_info_text {
        line-height: 1em;
    }

    /* ご利用・各種手続き
    -------------------------------------------------*/
    .howtouse {
        flex-direction: column;
    }

    .howtouse_left img {
        width: 100%;
        height: 100%;
    }

    .use_procedure {
        margin-top: 20px;
    }

    /* 墓地の募集について
    -------------------------------------------------*/
    .invitation_momoo {
        flex-direction: column-reverse;
    }

    .invitation_momoo_left {
        max-width: 100%;
        margin: 13px 0 0 0;
    }

    .invitation_momoo_right {
        width: 100%;
        height: 100%;
    }

    /* /bochi 各種墓地・墓園のご案内
    -------------------------------------------------*/
    .bochi_info_single_content {
        flex-direction: column-reverse;
    }

    .bochi_info_single_left {
        width: 100%;
        margin: 20px 0;
    }

    .bochi_info_single {
        margin-bottom: 90px;
    }
}