body {
    background-color: #1A3556;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */

.pc {
    display: block !important;
}

.sp {
    display: none !important;
}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */

@media only screen and (max-width: 769px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }
}

@media only screen and (max-width: 769px) {
    .pc-only {
        display: none !important;
    }

}

/* 余白 */

.space15px {
    padding: 15px
}

.space30px {
    padding: 30px
}

.space50px {
    padding: 50px
}

/* 改行位置 */

.text {
    display: inline-block;
}


/*画像サイズ（比率）*/

.img-ratio1 {
    max-width: 25%;
}

.img-ratio2 {
    max-width: 50%;
}

.img-ratio3 {
    max-width: 90%;
}



button.mail {
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    margin: auto;
    margin-bottom: 30px;
    padding: 0.8rem 1rem;
    font-weight: bold;
    border: 2px solid #333;
    transition: 0.5s;
}

button.mail:hover {
    color: #fff;
    background: #27acd9;
}

.footer-tel button {
    border: 2px solid #FFF;
    background: #DDD;
    color: #FFF;
}


.to-detail {
    text-align: right;
    padding-right: 30px;
    padding-bottom: 30px;
}


.wh-c {
    text-align: center;
    color: white;
    font-size: 3em;
}

.line-sage {
    line-height: 3em;
    margin-top: 300px;
}

.wh-text-c {
    text-align: center;
    color: white;
    margin: 0;
}

.mobile_menu {
    background-color: #1A3556;
}

/*背景スライドCSS*/

/*=== 画像の表示エリア ================================= */
.slide {
    position: relative;
    overflow: hidden;
    /* 画像のサイズに合わせて変更ください */
    width: 100%;
    height: 70vw;
    max-height: 850px;
    object-fit: cover;
    object-position: center center;
    margin: auto;
    /* サンプルは中央寄せの背景：白 */
    background: #fff;
}

/*=== 画像の設定 ======================================= */
.slide img {
    display: block;
    position: absolute;
    /* 画像のサイズを表示エリアに合せる */
    width: inherit;
    height: inherit;
    opacity: 0;
    animation: slideAnime 16s ease infinite;
}

/*=== スライドのアニメーションを段差で開始する ========= */
.slide img:nth-of-type(1) {
    animation-delay: 0s
}

.slide img:nth-of-type(2) {
    animation-delay: 4s
}

.slide img:nth-of-type(3) {
    animation-delay: 8s
}

.slide img:nth-of-type(4) {
    animation-delay: 12s
}

/*=== スライドのアニメーション ========================= */
@keyframes slideAnime {
    0% {
        opacity: 0
    }

    6% {
        opacity: 1
    }

    25% {
        opacity: 1
    }

    31% {
        opacity: 0
    }

    100% {
        opacity: 0
    }
}


.topimg {
    background-image: url(../img/home-top01.jpg);
    background-size: cover;
    background-position: center;
    height: 70vw;
}

.footerimg {
    background-image: url(../img/home-bottomimg.jpg);
    background-size: cover;
    background-position: center;
    height: 70vw;
}

.goldline {
    background: rgb(208, 169, 0);
    background: linear-gradient(90deg, rgba(208, 169, 0, 1) 0%, rgba(246, 238, 204, 1) 50%, rgba(208, 169, 0, 1) 100%);
    height: 0.5em;
}

.introduction {}


.home-news-bg {
    background-color: white;
    max-width: 900px;
    margin: 0 auto;
}

.home-news h2 {
    color: #1A3556;
}

.h2title {
    color: white;
    text-align: center;
    font-size: 2em;
    background-color: #359DD1;
    padding: 20px 0px;
}

.home-contents {
    padding-top: 0;
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
}

.denwa {
    margin-top: 15px;
}

.home-contact {
    text-align: center;
}

.footer-tel {
    text-align: center;
    color: #FFF;
}

.call_text-ft {
    text-align: center;
    width: 100%;
    font-size: 3em;
    color: #FFF;
}

.call_text-ft img {
    padding-bottom: 10px;
}

.copyright_text a {
    color: #555;
}


/* 下層ページ */
.page-top img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    height: 30vw;
}

.h2title-page {
    color: white;
    text-align: center;
    font-size: 2em;
    background-color: #359DD1;
    padding: 10px 0px;
}

/* お知らせページ */
.news-page {
    padding: 30px;
}

.news-page img {
    padding-bottom: 15px;
}

/* 沿革 */
.history-page {
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.history-page h3 {
    color: #FFF;
    background-color: #1A3556;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    width: 100%;
}

.history-page h4 {
    text-align: center;
    font-weight: bold;
    padding: 30px 0 10px;
}

.history-page .caption {
    text-align: center;
    font-weight: bold;
    padding-top: 15px;
    padding-bottom: 30px;
}

/* 専教寺の1年 */

.event_tr td {
    padding: 10px 5px;
}


/* 法要 */
.hoyo-p {
    color: #1A3556;
    margin-bottom: 5px;
}

.hoyo-p-s {
    font-size: 0.9em;
    padding-top: 0;
    margin-top: 0;
}

.hoyo-head {
    background-color: #604C3F;
    padding-top: 12%;
}

.hoyo-img {
    margin: 0;
    padding: 0;
}


/* プライバシー */

.h2title-page-privacy {
    color: white;
    text-align: center;
    font-size: 2em;
    background-color: #359DD1;
    padding: 0;
}

.layout_padding_privacy {
    padding-top: 190px;
    padding-bottom: 0px;
}

@media only screen and (max-width: 769px) {
    .layout_padding_privacy {
        padding-top: 70px;
        padding-bottom: 0px;
    }
}

.privacy-page {
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.privacy-page h2 {
    text-align: center;
    color: #1A3556;
}

.privacy-page h3 {
    font-size: 1em;
    color: #1A3556;
    padding: 0;
}

.privacy-page p {
    padding-top: 0;
    margin-top: 0;
    margin-left: 10px;
}


/* お問い合わせ */
.contact-page {
    padding: 30px;
    margin: 0 auto;
    background-color: #EFEFEF;
}

.submit-btn {
    color: #FFF;
    display: inline-block;
    font-weight: 400;
    width: 100px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 1em 1em;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background: #1A3556;
}
