body {
    font-size: 19px;
    font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E,
        Georgia, 游明朝, メイリオ, Meiryo, serif;
    line-height: 2.3em;
    color: rgb(32, 32, 32);
    background-color: rgb(255, 248, 239);
    min-height: 100dvh;
}

header {
    text-align: center;
    background-color: rgb(255, 248, 239);
}

img {
    width: 100%;
}

iframe {
    width: 100%;
    height: 400px;
}

.head_logo {
    padding: 35px 0;
}

.gadfuasdfakl::before {
    content: "@";
}

.mainimg img {
    width: 100%;
}

.contents_area {
    background-color: rgb(255, 255, 255);
    margin: 20px 0;
    padding: 30px;
    border-radius: 15px;
}

h1,
h2,
h3,
h4 {
    color: rgb(87, 87, 87);
    padding: 10px 20px 10px 5px;
    border-bottom: solid 1px rgb(156, 156, 156);
    margin-bottom: 20px;
    display: inline-block;
}

h1 {
    font-size: 1.8em;
    font-weight: bold;
}

h2 {
    font-size: 1.5em;
    font-weight: bold;
}

div:has(h2) ~ div:has(h2) h2 {
    padding-top: 30px !important;
}

h3 {
    font-size: 1.2em;
}

p {
    padding: 20px 0;
}

/* display */
.pc_hidden {
    display: none;
}

.pc_block {
    display: block;
}

.pc_flex {
    display: flex;
}

.brsp {
    display: inline;
    padding-left: 1em;
}

/* display */

/* top movie */
.movie_blk {
    width: 100%;
    height: 70svh;
    position: relative;
}
.movie_blk video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.movie_blk p {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 3em;
}
/* top movie */

.pc_menu {
    text-align: center;
    color: #ffffff;
    background-color: rgb(110, 74, 20);
}

.pc_menu a {
    text-decoration: none;
    color: #ffffff;
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.pc_menu a:hover {
    background-color: rgb(180, 133, 61);
}

th {
    width: 50%;
}

footer {
    background-color: rgb(172, 113, 36);
    color: #ffffff;
    text-align: right;
    padding: 30px 0;
    position: sticky;
    top: 100%;
}

.church_name {
    font-size: 1.6em;
}

.dfasldkfjalueiruandfak::before {
    content: "@";
}

footer a {
    color: #ffffff;
}

.info_date {
    display: inline-block;
    padding-right: 20px;
}

/* アコーディオン */
.details {
    transition: 0.3s;
    overflow: hidden;
    margin-top: -10px;
    padding-bottom: 20px;
    &:last-of-type {
        margin-bottom: 0;
    }
}

.details[open] {
    margin-top: 0;
    padding-bottom: 10px;
}
.details-summary {
    display: block;
    padding: 15px;
    transition: 0.3s;
    transform: translateY(10px);
    background-color: #f1f1f1;
    font-weight: bold;
    color: #505050;
    &:hover {
        cursor: pointer;
    }
}
.details-summary::-webkit-details-marker {
    display: none;
}
.details[open] .details-summary {
    transform: translateY(0);
}
.details-content {
    padding: 20px;
    background-color: #ffffff;
    border-bottom: 2px solid #dddddd;
    border-left: 2px solid #dddddd;
    border-right: 2px solid #dddddd;
}
/* アコーディオン */

/* smartphone */
@media screen and (max-width: 530px) {
    body {
        font-size: 16px;
        line-height: 1.5em;
    }

    header {
        display: none;
    }

    .contents_area {
        padding: 15px;
    }

    .contents-block {
        margin-top: 70px;
    }

    .sub-contents-block {
        margin-top: 24px;
    }

    .sub_img {
        height: 200px;
    }

    /* display */
    .sp_hidden {
        display: none;
    }

    .sp_block {
        display: block;
    }

    .sp_flex {
        display: flex;
    }

    .sp {
        display: table-row;
    }

    .brsp {
        display: block;
        padding-left: 0;
    }

    .sp_head {
        position: fixed;
        top: 0;
        left: 0;
        width: 100dvw;
        background-color: rgb(255, 242, 234);
        padding: 10px 15px;
        z-index: 9999;
    }

    .mainimg {
        margin-top: 80px;
    }

    .sub_title {
        display: inline-block;
        padding-top: 12px;
    }

    h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }

    h4 {
        font-size: 1.1em;
    }

    th {
        width: auto;
    }

    .h1strong {
        display: inline-block;
        margin-bottom: 25px;
        line-height: 1.5em;
        font-size: 14px;
    }

    .h1normal {
        display: inline-block;
        margin-bottom: 25px;
        font-weight: normal;
        font-size: 14px;
    }

    .tel-reservation {
        font-size: 1.3em;
    }

    .tel-reservation-sub {
        padding-top: 15px;
        font-size: 1em;
    }

    .main_outer {
        width: 100%;
        height: 250px;
        background-position: center;
        margin-top: 50px;
    }

    .main_title {
        font-size: 15px;
        line-height: 1.5em;
        height: 100%;
    }

    .news_link {
        padding: 0 10px;
        width: 100%;
    }

    table.news td {
        padding: 15px 0;
    }

    table.news a {
        font-size: 14px;
    }

    .news_day {
        display: block;
        padding-bottom: 15px;
        font-size: 13px;
    }

    a.old_news {
        font-size: 15px;
        margin: 0 0 10px 0;
    }

    .address_area {
        text-align: center;
    }

    .footer_logo {
        display: none;
    }

    .company_name {
        font-size: 1.5em;
    }

    table.career th {
        width: 110px;
    }

    footer {
        padding: 30px 0;
    }

    span.tel,
    span.fax {
        display: inline-block;
        padding: 0 5px;
        font-weight: bold;
    }

    .menu a {
        display: inline-block;
        padding: 15px 10px 5px 10px;
        color: #ffffff;
        font-weight: bold;
        font-size: 1em;
        position: relative;
        right: 20px;
    }

    a.btnsp {
        padding: 15px;
        letter-spacing: 0em;
        font-size: 0.8em;
    }

    .img_label {
        width: 100%;
        font-size: 0.6em;
        padding: 5px 40px 5px 10px;
    }

    .traffic {
        padding-bottom: 20px;
    }

    .sp {
        display: table-row;
    }

    .church_name {
        padding: 10px 0;
    }

    address {
        font-size: 0.8em;
    }

    .movie_blk p {
        font-size: 1.5em;
    }

    footer {
        text-align: center;
    }

    .info_date {
        display: block;
        padding-right: 0;
    }

    .details-summary {
        font-size: 0.9em;
    }
}
