@charset "utf-8";

/* スマホここから */
@media only screen and (max-width: 767px) {
	
	.pc {
		display: none;
	}

	body {
		color: #333333;
		font-family: "Noto Serif JP", serif;
		font-size: 1.6rem;
		line-height: 3.2rem;
		font-weight: 400;
		font-feature-settings: "palt";
	}

    div.head_area {
        margin: 0 auto;
        width: 100%;
        height: 100px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid #cccccc;
        position: fixed;
        z-index: 100;
    }

    div.head {
        margin: 0 auto;
        width: 94%;
        height: 100px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    div.head_logo {
        margin: 0 0 0 0;
        width: 200px;
    }

    div.head_logo img {
        width: 100%;
        height: auto;
    }

    div.head_tel {
        display: none;
    }

    div.head_tel_icon {
        margin: 0 0 0 auto;
        width: 50px;
    }

    div.head_tel_icon img {
        width: 100%;
        height: auto;
    }

    div.head_menu {
        margin: 4px 0 0 12px;
        width: 60px;
    }

    div.head_menu img {
        width: 100%;
        height: auto;
    }

    div.main_visual_area {
        margin: 0 auto 80px;
        width: 100%;
    }

    div.main_visual {
        margin: 0 auto;
        padding: 100px 0 0;
        width: 100%;
    }

    div.intro_content {
        margin: 0 auto 50px;
        width: 90%;
    }

    div.intro_content h2 {
        margin: 0 auto 40px;
        font-size: 2.8rem;
        line-height: 4.0rem;
        font-weight: 700;
        text-align: center;
    }

    div.intro_content h2 rt {
        padding: 0 0 2px;
        font-size: 1.0rem;
    }

    div.intro_content p {
        margin: 0 auto 30px;
        font-size: 1.6rem;
        line-height: 3.2rem;
    }

    div.intro_content table {
        margin: 0 auto 30px;
        width: 100%;
    }

    div.intro_content table th {
        margin: 0;
        padding: 12px 0;
        width: 24%;
        font-size: 1.6rem;
        line-height: 3.2rem;
        font-weight: 500;
        text-align: center;
        vertical-align: middle;
    }

    div.intro_content table td {
        margin: 0;
        padding: 12px 15px;
        font-size: 1.6rem;
        line-height: 3.2rem;
        vertical-align: middle;
    }

    div.intro_content table td rt {
        font-size: 1.0rem;
    }

    div.intro_content table tr:nth-child(odd) th, div.intro_content table tr:nth-child(odd) td {
        background: #f7f8f8;
    }

    div.intro_content table tr:nth-child(even) th, div.intro_content table tr:nth-child(even) td {
        background: #efefef;
    }

    div.intro_message_content_area {
        margin: 0 auto 60px;
        width: 94%;
        display: flex;
        justify-content: space-between;
        flex-direction: column-reverse;
    }

    div.intro_message_photo {
        margin: 0 auto;
        width: 240px;
    }

    div.intro_message_photo img {
        width: 100%;
        height: auto;
    }

    div.intro_message_content {
        margin: 0 auto 30px;
        width: 90%;
    }

    div.intro_message_content h3 {
        margin: 0 auto 20px;
        padding: 15px 20px;
        font-size: 2.0rem;
        line-height: 2.8rem;
        font-weight: 500;
        border-top: 1px dotted #333333;
        border-bottom: 1px dotted #333333;
    }

    div.intro_message_content p {
        margin: 0 auto 20px;
    }

    div.intro_message_content p:last-child {
        margin: 0 auto;
    }

    div.intro_message_content p.name {
        margin: 0 auto;
        font-size: 2.1rem;
        line-height: 3.2rem;
        font-weight: 500;
        text-align: right;
    }

    div.intro_message_content p.name span {
        font-size: 1.6rem;
    }

    div.intro_message_content p rt {
        padding: 0 0 2px;
        font-size: 1.0rem;
    }

    /*アクセス*/

    div.access {
        margin: 0 auto 80px;
        width: 100%;
    }

    div.access h2 {
        margin: 0 auto 25px;
        font-size: 2.8rem;
        line-height: 4.0rem;
        font-weight: 700;
        text-align: center;
    }

    div.access_map {
        margin: 0 auto;
        width: 100%;
    }

    div.access_map iframe {
        width: 100%;
        height: 600px;
        border: 0;
    }

    /*一年の主な活動*/

    div.event {
        margin: 0 auto 40px;
        width: 94%;
    }

    div.event h2 {
        margin: 0 auto 25px;
        font-size: 2.8rem;
        line-height: 4.0rem;
        font-weight: 700;
        text-align: center;
    }

    div.event_content_area {
        margin: 0 auto;
        width: 100%;
    }

    div.event_content {
        margin: 0 auto 20px;
        width: 100%;
    }

    div.event_content p {
        margin: 0 auto 15px;
    }

    div.event_content p:first-child {
        margin: 0 auto 25px;
    }

    div.event table {
        margin: 0 auto 25px;
        width: 100%;
    }

    div.event table th {
        margin: 0;
        padding: 25px 0;
        width: 25%;
        font-size: 1.8rem;
        line-height: 3.2rem;
        font-weight: 500;
        text-align: center;
    }

    div.event table td {
        margin: 0;
        padding: 25px 15px;
        font-size: 1.8rem;
        line-height: 3.2rem;
    }

    div.event table tr:nth-child(odd) th, div.event table tr:nth-child(odd) td {
        background: #f7f8f8;
    }

    div.event table tr:nth-child(even) th, div.event table tr:nth-child(even) td {
        background: #efefef;
    }

    div.event_photo {
        margin: 0 auto;
        width: 100%;
    }

    div.event_photo ul {
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    div.event_photo ul li {
        margin: 0;
        width: 49%;
    }

    div.event_photo ul li img {
        width: 100%;
        height: auto;
    }

    div.event_photo ul li p {
        margin: 5px auto 0;
        font-size: 1.2rem;
        text-align: right;
    }

    /*インスタグラムバナー*/

    div.banner_instagram {
        margin: 0 auto 80px;
        width: 90%;
        max-width: 800px;
        text-align: center;
    }

    /*境内施設のご案内*/

    div.facilities {
        margin: 0 auto 120px;
        width: 94%;
    }

    div.facilities h2 {
        margin: 0 auto 35px;
        font-size: 2.8rem;
        line-height: 4.0rem;
        font-weight: 700;
        text-align: center;
    }

    div.facilities_content_area {
        margin: 0 auto;
        width: 100%;
    }

    div.facilities_item_box {
        margin: 0 auto 40px;
        width: 100%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    div.facilities_item_box h3 {
        margin: 0 auto 20px;
        padding: 15px 20px;
        font-size: 2.0rem;
        line-height: 2.8rem;
        font-weight: 500;
        border-top: 1px dotted #333333;
        border-bottom: 1px dotted #333333;
    }

    div.facilities_item {
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    div.facilities_content {
        margin: 0 auto;
        padding: 0 25px 30px;
        width: 100%;
    }

    div.facilities_content p {
        margin: 0 auto 15px;
    }

    div.facilities_content p:last-child {
        margin: 0 auto;
    }

    div.facilities_content ul {
        margin: 0 auto 15px;
    }

    div.facilities_content ul:last-child {
        margin: 0 auto;
    }

    div.facilities_content ul li {
        margin: 0 auto;
        padding: 10px;
        border-bottom: 1px dotted #333333;
    }

    div.facilities_content ul li:first-child {
        margin: 0 auto;
        padding: 0 10px 10px;
        border-bottom: 1px dotted #333333;
    }

    div.facilities_photo {
        margin: 0 auto 24px;
        width: 100%;
        position: relative;
    }

    div.facilities_photo img {
        width: 100%;
        height: auto;
    }

    div.facilities_photo_caption {
        margin: 0 auto;
        padding: 15px 20px 15px;
        width: 100%;
        background: rgba(0, 0, 0, 0.4);
        position: absolute;
        bottom: 0;
    }

    div.facilities_photo_caption h4 {
        margin: 0 auto 8px;
        color: #ffffff;
        font-size: 1.8rem;
        line-height: 2.4rem;
        font-weight: 500;
        text-shadow: #333333 1px 1px 2px;
    }

    div.facilities_photo_caption p {
        margin: 0 auto;
        color: #ffffff;
        font-size: 1.4rem;
        line-height: 2.5rem;
        font-weight: 500;
        text-shadow: #333333 1px 1px 2px;
    }

    div.banner_chirashi_noukotsubo {
        margin: 0 auto 50px;
        width: 100%;
        text-align: center;
    }

    div.banner_chirashi_noukotsubo img {
        width: 100%;
        height: auto;
    }

    div.area_introduction {
        margin: 0 auto;
        width: 100%;
    }

    div.area_introduction h4 {
        margin: 0 auto 15px;
        padding: 0 30px;
        background: url(../images/bg.jpg) center top repeat;
        background-size: 200px;
        font-size: 2.0rem;
        line-height: 60px;
        font-weight: 500;
        border-radius: 30px;
    }

    div.area_introduction p {
        margin: 0 auto 25px;
    }

    div.area_introduction ul {
        margin: 0 auto;
        width: 100%;
    }

    div.area_introduction ul li {
        margin: 0 auto 20px;
        width: 80%;
    }

    div.area_introduction ul li:last-child {
        margin: 0 auto;
    }

    div.area_introduction ul li img {
        word-wrap: 100%;
        height: auto;
    }

    div.area_introduction ul li p {
        margin: 5px auto 0;
    }

    div.foot_info_area {
        margin: 0 auto;
        padding: 50px 0;
        width: 100%;
        background: url(../images/bg.jpg) center top repeat;
        background-size: 200px;
    }

    div.foot_info {
        margin: 0 auto;
        width: 94%;
    }

    div.foot_info h3 {
        margin: 0 auto 15px;
        font-size: 2.7rem;
        line-height: 3.5rem;
        font-weight: 700;
        text-align: center;
    }

    div.foot_info h3 span {
        font-size: 1.6rem;
    }

    div.foot_info h3 rt {
        font-size: 1.0rem;
    }

    div.foot_info p {
        margin: 0 auto 15px;
        font-size: 1.6rem;
        line-height: 3.2rem;
        font-weight: 400;
        text-align: center;
    }

    div.foot_instagram {
        margin: 0 auto;
        width: 50px;
        text-align: center;
    }

    div.foot_instagram span {
        margin: 0 auto;
        background: #ffffff;
        width: 50px;
        font-size: 2.7rem;
        line-height: 50px;
        text-align: center;
        border: 1px solid #333333;
        border-radius: 25px;
        display: block;
    }

    div.foot_menu {
        display: none;
    }

    div.copyright {
        margin: 0 auto;
        width: 100%;
        background: url(../images/bg.jpg) center top repeat;
        background-size: 200px;
    }

    div.copyright p {
        margin: 0 auto;
        font-size: 1.2rem;
        line-height: 50px;
        text-align: center;
    }

    div.back_to_top {
        margin: 0;
        background: #000000;
        color: #ffffff;
        width: 50px;
        font-size: 2.4rem;
        line-height: 50px;
        text-align: center;
        position: fixed;
        bottom: 0;
        right: 0;
        z-index: 100;
    }

    /*メニュー*/

	div#upper_menu_area {
		margin: 0 auto;
		width: 100%;
		height: 100svh;
		overflow: hidden;
		background: url(../images/bg.jpg) center top repeat;
        background-size: 200px;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: calc(infinity);
		display: none;
	}

	div.upper_menu {
		margin: 0 auto;
		width: 100%;
		height: 100svh;
		position: relative;
	}

	div.upper_menu_head_area {
		margin: 0 auto;
		width: 100%;
		height: 48px;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1;
	}

	div.upper_menu_head {
		margin: 0 auto;
		width: 100%;
		height: 65px;
		position: relative;
	}

	ul.upper_menu_close {
		margin: 0;
		width: 60px;
		position: absolute;
		top: 20px;
		right: 20px;
		z-index: 5;
	}

	ul.upper_menu_close li {
		margin: 0 auto;
		width: 100%;
	}

	ul.upper_menu_close li img {
		width: 100%;
		height: auto;
	}

	div.upper_menu_content_area {
		margin: 0 auto;
		width: 90%;
		position: absolute;
		top: 90px;
		left: 0;
		right: 0;
		z-index: 1;
	}

    div.upper_menu_logo {
        margin: 0 auto 20px;
        width: 200px;
        position: absolute;
		top: 12px;
        left: 0;
        right: 0;
		z-index: 2;
    }

    div.upper_menu_logo img {
        width: 100%;
        height: auto;
    }

	div.upper_menu_content ul {
		margin: 0 auto;
		width: 100%;
	}

	div.upper_menu_content ul li {
		margin: 0 auto;
	}
	
	div.upper_menu_content ul li a {
		margin: 0 auto;
		padding: 10px 0;
		font-size: 2.0rem;
		line-height: 36px;
		font-weight: 700;
        text-align: center;
		text-decoration: none;
		display: block;
	}


    div.upper_menu_foot_area {
        margin: 0 auto;
        width: 270px;
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        z-index: 1;
    }

    div.upper_menu_tel {
        margin: 0 auto 20px;
        width: 100%;
    }

    div.upper_menu_tel img {
        width: 100%;
        height: auto;
    }

    div.upper_menu_instagram {
        margin: 0 auto;
        width: 50px;
        text-align: center;
    }

    div.upper_menu_instagram span {
        margin: 0 auto;
        background: #ffffff;
        width: 50px;
        font-size: 2.7rem;
        line-height: 50px;
        text-align: center;
        border: 1px solid #333333;
        border-radius: 25px;
        display: block;
    }

    div.news {
        margin: 0 auto 80px;
        width: 94%;
        border: 1px solid #a9987f;
    }

    div.news h2 {
        margin: 0 auto;
        padding: 12px 20px;
        background: #a9987f;
        color: #ffffff;
        font-size: 2.1rem;
        line-height: 3.2rem;
        font-weight: 700;
    }

    div.news dl {
        margin: 0 auto;
        width: 94%;
        border-bottom: 1px dotted #a9987f;
    }

    div.news dl:last-child {
        border-bottom: none;
    }

    div.news dl dt {
        margin: 0 auto;
        padding: 12px 0 0;
        width: 100%;
    }

    div.news dl dd {
        margin: 0 auto;
        padding: 0 0 12px;
        width: 100%;
    }

}