/* 全要素の余白・パディングをリセットしつつ、ボックスサイズを border-box に */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HTML5 要素のブロック化（古い IE 対応） */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

address {
    font-style: normal;
}

/* リストのリセット */
ul,
ol {
    list-style: none;
}

/* デフォルトリンク装飾のリセット */
a {
    text-decoration: none;
    color: inherit;
}

/* テーブルのセル間余白リセット */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 画像の表示調整 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}



.wrp {
    width: 390px;
    margin: auto;
}

.wrp>* {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 25px;
}

.forpc {
    display: none;
}


div.allcontents {
    width: 390px;
    margin: auto;
    overflow-x: hidden;
    background: url(./img/head_bg.svg) repeat-x;
    ;
    padding-top: 87px;


    font-family: "Noto Sans JP";
    font-weight: normal;
    font-size: 18px;
    color: #000;

}


header {
    height: 87px;
    position: fixed;
    top: 0;
    background-color: #F6EFE7;
    z-index: 9999999;
}


header .wrp {
    position: relative;
    height: 100%;
}

header .logo>img {
    width: 46.77px;
    background: transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
}

header span.site_title {
    display: block;
    width: 250px;
    flex-wrap: wrap;
    /* ← 折り返しを許可 */
    position: absolute;
    left: 62px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    font-family: "Rounded Mplus 1c";
    text-align: center;
}

header span.site_title>span {
    display: block;
    font-weight: normal;
    font-size: 23px;
    letter-spacing: 0.05em;
}

header span.site_title>small {
    font-weight: 300;
    font-size: 7px;
    display: flex;
    justify-content: space-between;
    letter-spacing: 0;
    padding: 0 15px;

}

.site-nav {
    /* display: none; */
    display: block;
    position: fixed;
    top: 0;
    left: 100%;
    transition: all 0.5s 0s ease;
    line-height: 2.5em;
}

.site-nav.active {
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 333;
    background-color: #e4e4a4;
    padding: 100px 22px 0 22px;
}

/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn1 {
    position: relative;
    background: transparent;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

#bgmenu {

    position: absolute;
    /*ボタン内側の基点となるためrelativeを指定*/
    top: 18px;
    right: 0px;
    z-index: 9999;
}

/*ボタン内側*/
.openbtn1 span {
    display: inline-block;
    transition: all .4s;
    /*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #000000;
    width: 65%;
}

.openbtn1 span:nth-of-type(1) {
    top: 15px;
}

.openbtn1 span:nth-of-type(2) {
    top: 23px;
}

.openbtn1 span:nth-of-type(3) {
    top: 31px;
}

/*activeクラスが付与されると線が回転して×に*/

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 45%;

    background: #fff;
}

.openbtn1.active span:nth-of-type(2) {
    opacity: 0;
    /*真ん中の線は透過*/
}

.openbtn1.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 45%;
    background: #fff;
}

.hero .wrp {
    background-image: url(./img/smt/key-visual.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 390px;
    height: 323px;
    position: relative;
}

.hero .wrp>div {
    position: absolute;
    color: #fff;

    width: 390px;
    padding: 5px 0;
    bottom: 10px;
    text-align: center;

    background: rgba(90, 90, 90, 0.32);
    font-family: "Rounded Mplus 1c";
    font-weight: 500;
}

.hero h1 {
    font-size: 24px;

}

.hero h1+p {
    font-size: 18px;
}


.section-title {
    height: 100px;
    position: relative;
    padding-top: 50px;
    padding-left: 20px;
}

.section-title::before {
    position: absolute;
    top: 0;
    left: 0;
    font-weight: bold;
    font-size: 69px;
    color: #774710;
    opacity: 0.05;
    overflow: hidden;
    white-space: nowrap;

}



.section-title>span:nth-of-type(1) {
    display: block;
    font-family: "Rounded Mplus 1c";
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.05em;
    text-align: left;
    color: #000;
}

.section-title>span:nth-of-type(2) {
    display: block;
    font-weight: bold;
    font-size: 26px;
    margin-top: -10px;
}


.section-title::before {
content: attr(data-title);
}
/*
#welcome .section-title::before {
    content: "WELCOME";
}

#about .section-title::before {
    content: "ABOUT";
}

#patron .section-title::before {
    content: "Patron Saint";
}

#priest .section-title::before {
    content: "Parish Priest";
}

#news .section-title::before {
    content: "Parish News";
}

*/




.welcome__text {
    margin-bottom: 20px;
}

.about__grid>div {
    margin-bottom: 30px;
}

.about__grid>div>div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.about__grid>div>div>img {
    width: 170px;
    border-radius: 10px;
}


.section--pink {
    background-image: url(./img/smt/pinkbg.svg);
    background-repeat: no-repeat;
    background-position: center -30px;
}

#patron>.wrp>div {
    display: flex;
}

#patron>.wrp>div>img {
    width: 150px;
    margin-right: 25px;
}

img.w100 {
    padding: 0;
}


.priest__profile {
    display: flex;
    align-items: center;
    /* 縦揃え */
    justify-content: space-between;
    gap: 1.5rem;
    /* 間隔 */
}

.priest__photo {
    width: 150px;
    object-fit: cover;
}

.priest__message {
    flex: 1;
    font-size: 1rem;
    line-height: 1.7;
}

.priest__message p:first-child {
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5em;
}


.priest__history p.title {

    font-weight: bold;
    font-size: 18px;
    margin-top: 30px;

}



.priest__history dl {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    line-height: 1.8em;
}


.priest__history dl dt {
    text-align: center;
    width: 20%;
    border-bottom: 1px solid #333;
}

.priest__history dl dd {
    width: 80%;
    border-bottom: 1px solid #333;
}

#news {
    background-image: url(./img/smt/yelbg.svg);
    background-position: center 40px;
    background-repeat: no-repeat;
}


.news-list {
    margin-top: 30px;
}

.news-list li {
    padding: 15px 0;
    border-bottom: 2px solid #707070;
}

.news-list time::before {
    display: block;
    content: "";
    width: 30.79px;
    height: 29.51px;
    background-image: url(./img/logo.svg);
    background-size: contain;
    margin-right: 10px;

}

.news-list time {
    display: flex;
    font-weight: bold;
    font-size: 15px;
    text-align: left;
    color: #000;
    line-height: 29.51px;
    margin-bottom: 15px;
}

#news .wrp {
    padding-bottom: 30px;
}

footer {
    background: rgba(236, 175, 170, 0.36);


}

footer h2 {
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 0.05em;
    text-align: center;
    color: #000;
}


#gmap {
    height: 232px;
    width: 390px;
    margin-left: -20px;
    /* 左端に合わせるために必要 */
    margin-top: 30px;
    margin-bottom: 30px;

}



footer .wrp {
    padding-top: 20px;
    padding-bottom: 20px;
}

.fotter_name {
    display: flex;
    justify-content: space-between;
}

.fotter_name>img {
    width: 54.32px;
    height: 52.06px;
    background: transparent;

}

.fotter_name .site_title {

    width: 280px;
    padding-top: 4px;
    font-family: "Rounded Mplus 1c";

}

.fotter_name .site_title>span {
    font-weight: normal;
    font-size: 26px;
    letter-spacing: 0.05em;
    text-align: left;
    color: #000;
}

.fotter_name .site_title>small {

    width: 280px;
    font-weight: 300;
    font-size: 7px;
    display: flex;
    justify-content: space-between;
    letter-spacing: 0;
    padding: 0 15px;
}


footer address {
    font-family: "Noto Sans JP";
    font-weight: 300;
    font-size: 13px;
    text-align: left;
    color: #000;
    margin-top: 10px;

}


.touban > a {
    display: block;
    margin: 30px auto;
    width: 333px;
    height: 57px;
    background-image: url(./img/smt/smt_touban.png);
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: -9999px;
}

.touban > a:hover {
    filter: hue-rotate(-20deg) saturate(150%) brightness(0.9);
}

.volunteers__body table {
    width: 100%;
    margin: 20px 0;
    border: 1px solid #ccc;
    font-size: 16px;
    text-align: center;
    background-color: #fff;
}

.volunteers__body caption {
    font-weight: bold;
    font-size: 18px;
    padding: 10px;
    background-color: #f6efe7;
    color: #333;
    caption-side: top;
}

.volunteers__body th,
.volunteers__body td {
    border: 1px solid #ccc;
    padding: 10px;
}

.volunteers__body thead th {
    background-color: #f0f0f0;
    font-weight: 600;
    font-size: 14px;
}

.volunteers__body tbody tr:nth-child(even) {
    background-color: #fafafa;
}





@media (min-width: 750px) {
    .forsmt {
        display: none;
    }


    header {
        height: auto;
        position: relative;
    }

    .wrp {
        width: 1100px;
    }

    div.allcontents {
        width: auto;
        padding-top: 0px;
    }

    header .wrp {
        position: relative;
        padding-top: 22px;
    }

    header .logo {
        display: block;
    }

    header .logo::after {
        content: "";
        clear: both;
        display: block;
    }

    header .logo>img {
        width: 67.83px;
        height: 65.01px;
        background: transparent;
        position: static;
        transform: none;
        float: left;
    }

    header span.site_title>span {
        font-size: 34px;

    }

    header span.site_title {
        width: 370px;
        left: 84px;
        position: static;
        transform: none;

        float: left;
    }

    header span.site_title>small {
        font-weight: 300;
        font-size: 12px;
    }



    .site-nav {
        display: block;
        height: 40px;
        border-top: 1px solid #D9D9D9;
        position: static;

        font-family: "Noto Sans JP";
        font-weight: normal;
        font-size: 16px;
        line-height: 40px;
        text-align: center;
        color: #333;



    }

    .site-nav>ul {
        display: flex;
        justify-content: space-between;
    }

    .site-nav>ul>li {
        width: calc(100% / 6);
    }

    .site-nav>ul>li>a {
        display: block;
        border-radius: 2px;
    }

    .site-nav>ul>li>a:hover {
        background-color: #E59694;
        color: #fff;
    }


    .hero {
        background-image: url(./img/key-visual.jpg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
    }

    .hero .wrp {
        background: none;
        width: 1100px;
        height: 532px;
        padding-top: 340px;
    }

    .hero .wrp>div {
        position: static;
        width: 100%;
        background: none;
    }

    .hero h1 {
        font-weight: bold;
        font-size: 66px;

    }

    .hero h1+p {
        font-weight: 500;
        font-size: 30px;
    }


    .section-title {
        height: 280px;

        padding-top: 150px;
        padding-left: 0px;
    }

    .section-title::before {
        font-size: 200px;
        opacity: 0.05;
        left: -120px;
    }

    .section-title>span:nth-of-type(1) {
        font-family: "Rounded Mplus 1c";
        font-weight: 500;
        font-size: 20px;
        letter-spacing: 0.05em;

    }

    .section-title>span:nth-of-type(2) {

        font-weight: bold;
        font-size: 55px;
    }

    .welcome__body {
        display: flex;
        justify-content: space-between;
    }

    .section--pink {
        background-image: url(./img/bg1.svg);
        background-repeat: repeat-x;
        background-position: calc(50% - 25px)  -2px;

    }

    .about__grid>div>div>img {
        width: 520px;
        border-radius: 14px;
    }

    #patron .wrp {
        position: relative;
        height: 500px;

    }

    #patron .wrp>h2,
    #patron .wrp>img,
    #patron .wrp>div>* {
        position: absolute;

        margin: 0;
    }

    #patron .wrp>div>img {
        width: 293px;
        bottom: 0px;
        left: 0;
    }

    #patron .wrp>img {
        width: 781px;
        bottom: 0px;
        right: 0;
    }

    #patron .section-title::before {
        /* display: none;*/
    }

    #patron .section-title {
        top: -64px;
        left: 324px;
    }

    #patron .wrp>div>p {
        width: 781px;
        bottom: 235px;
        right: 0;
    }

    #priest .wrp {
        width: 1100px;
        border-radius: 10px;
        background: #fff;
        border: 1px solid #707070;
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
        margin-top: 60px;
        padding: 10px;

    }

    #priest .section-title::before {
        display: none;
    }

    #priest .section-title {
        padding-top: 0;
        height: auto;
        margin-bottom: 0;
    }

    #priest .priest__profile {
        width: 600px;
        display: flex;
        justify-content: space-between;
    }

    .priest__photo {
        width: 170px;
        margin-right: 30px;
    }

    .priest__message p:first-child {
        text-align: left;
    }

    .flexbox {
        display: flex;
        justify-content: space-between;
    }

    .priest__history {
        width: 390px;

        font-size: 14px;
        line-height: 24px;

    }


    #news {
        background-image: none;

    }

    #gmap {
        width: 512px;
        height: 305px;

        margin-left: -0px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    #accesss {
        display: none;
    }

    .footer-inner {
        display: flex;
        justify-content: space-between;
    }

    .fotter_name>img {
        width: 85.36px;
        height: auto;
    }

    .fotter_name {
        width: 540px;
    }

    .fotter_name .site_title>span {

        font-size: 42px;
    }

    .fotter_name .site_title {
        width: auto;
    }

    .fotter_name .site_title>small {
        width: 446px;
        font-size: 14px;
    }

    footer address {
        margin-top: 20px;
        font-size: 15px;
    }

    footer .footer__map {
        padding: 0;
    }

.touban > a {
    display: block;
    margin: 30px auto;
    width: 634px;
    height: 108px;
    background-image: url(./img/pc_touban.png);
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: -9999px;
}
}