@charset "UTF-8";
/*==================================================================================================
	index
==================================================================================================*/
.mv {
    height: 100vh;
    width: 100%;
    background: url("../img/mv1.jpg") center center no-repeat;
    background-size: cover;
    position: relative;
}

.mv-nav {
    position: absolute;
    top: 2vw;
    right: 2vw;
}

@media (max-width: 1280px) {
    .mv-nav {
        display: none;
    }
}

.mv-hero {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 4%;
}

.mv-hero_1 {
    max-width: 540px;
}

.mv-hero_2 {
    font-size: 1.25em;
}

.mv-hero_3 {
    font-size: 3em;
}

.mv-hero_3 rt {
    font-size: .3em;
}

.top-about {
    background: url("../img/bg-sakura.png") center center repeat-x;
    position: relative;
}

.top-about .inner {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

@media (max-width: 540px) {
    .top-about .inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

@media (max-width: 540px) {
    .top-about .sec-ttl {
        -webkit-writing-mode: inherit;
        -ms-writing-mode: inherit;
        writing-mode: inherit;
    }
}

.top-about-content {
    margin-top: 120px;
    margin-right: 9vw;
}

@media (max-width: 840px) {
    .top-about-content {
        margin-top: 9vw;
    }
}

@media (max-width: 540px) {
    .top-about-content {
        margin-right: 0;
    }
}

@media (max-width: 840px) {
    .top-about-content.-vertical {
        -webkit-writing-mode: inherit;
        -ms-writing-mode: inherit;
        writing-mode: inherit;
    }
}

.top-about-content .sub-ttl {
    font-size: 1.3em;
    font-weight: 400;
    letter-spacing: .4em;
}

@media (max-width: 840px) {
    .top-about-content .sub-ttl {
        margin-bottom: 2em;
    }
}

.top-about-content .txt {
    margin-right: 6vw;
    line-height: 2;
}

@media (max-width: 540px) {
    .top-about-content .txt {
        margin-right: 0;
    }
}

.top-about-content .btn {
    text-align: end;
    margin-right: 4vw;
}

@media (max-width: 840px) {
    .top-about-content .btn {
        text-align: start;
        margin-right: 0;
        margin-top: 2em;
    }
}

.sakura-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 110%;
    margin: auto;
    pointer-events: none;
    overflow: hidden;
}

.sakura {
    position: relative;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.sakura li {
    width: 18px;
    position: absolute;
    list-style: none;
    top: -50px;
    -webkit-animation: fall 3s linear infinite, rotate1 2s ease-in-out infinite alternate;
    animation: fall 3s linear infinite, rotate1 2s ease-in-out infinite alternate;
}

.sakura li:nth-child(1) {
    left: 0;
    -webkit-animation: fall 8s linear infinite, rotate1 3s ease-in-out infinite alternate;
    animation: fall 8s linear infinite, rotate1 3s ease-in-out infinite alternate;
}

.sakura li:nth-child(2) {
    left: 5vw;
    -webkit-animation: fall 13s linear infinite, rotate1 2s ease-in-out infinite alternate;
    animation: fall 13s linear infinite, rotate1 2s ease-in-out infinite alternate;
}

.sakura li:nth-child(3) {
    left: 15vw;
    -webkit-animation: fall 8s linear infinite, rotate1 3.5s ease-in-out infinite alternate;
    animation: fall 8s linear infinite, rotate1 3.5s ease-in-out infinite alternate;
}

.sakura li:nth-child(4) {
    left: 30vw;
    -webkit-animation: fall 7s linear infinite, rotate2 4s ease-in-out infinite alternate;
    animation: fall 7s linear infinite, rotate2 4s ease-in-out infinite alternate;
}

.sakura li:nth-child(5) {
    left: 40vw;
    -webkit-animation: fall 9s linear infinite, rotate1 4s ease-in-out infinite alternate;
    animation: fall 9s linear infinite, rotate1 4s ease-in-out infinite alternate;
}

.sakura li:nth-child(6) {
    left: 55vw;
    -webkit-animation: fall 10s linear infinite, rotate2 3s ease-in-out infinite alternate;
    animation: fall 10s linear infinite, rotate2 3s ease-in-out infinite alternate;
}

.sakura li:nth-child(7) {
    left: 65vw;
    -webkit-animation: fall 4s linear infinite, rotate2 3.5s ease-in-out infinite alternate;
    animation: fall 4s linear infinite, rotate2 3.5s ease-in-out infinite alternate;
}

.sakura li:nth-child(8) {
    left: 50vw;
    -webkit-animation: fall 6s linear infinite, rotate1 3s ease-in-out infinite alternate;
    animation: fall 6s linear infinite, rotate1 3s ease-in-out infinite alternate;
}

@-webkit-keyframes fall {
    to {
        top: 120%;
    }
}

@keyframes fall {
    to {
        top: 120%;
    }
}

@-webkit-keyframes rotate1 {
    from {
        -webkit-transform: translateX(0px) rotate(0deg);
        transform: translateX(0px) rotate(0deg);
    }
    to {
        -webkit-transform: translateX(200px) rotate(-80deg) rotateX(180deg);
        transform: translateX(200px) rotate(-80deg) rotateX(180deg);
    }
}

@keyframes rotate1 {
    from {
        -webkit-transform: translateX(0px) rotate(0deg);
        transform: translateX(0px) rotate(0deg);
    }
    to {
        -webkit-transform: translateX(200px) rotate(-80deg) rotateX(180deg);
        transform: translateX(200px) rotate(-80deg) rotateX(180deg);
    }
}

@-webkit-keyframes rotate2 {
    from {
        -webkit-transform: translateX(200px) rotate(-45deg);
        transform: translateX(200px) rotate(-45deg);
    }
    to {
        -webkit-transform: translateX(0px) rotate(0deg);
        transform: translateX(0px) rotate(0deg);
    }
}

@keyframes rotate2 {
    from {
        -webkit-transform: translateX(200px) rotate(-45deg);
        transform: translateX(200px) rotate(-45deg);
    }
    to {
        -webkit-transform: translateX(0px) rotate(0deg);
        transform: translateX(0px) rotate(0deg);
    }
}

.top-imgs {
    margin: 150px auto 80px;
}

@media (max-width: 540px) {
    .top-imgs {
        margin: 50px auto;
    }
}

.top-imgs .columun {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    padding-bottom: 25%;
    margin-bottom: 40px;
}

.top-imgs .columun .box1 {
    width: 55%;
}

.top-imgs .columun .box2 {
    width: 60%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    right: 0;
    bottom: 0;
}

.top-imgs .columun .box2 figure {
    padding: 1vw;
    width: 50%;
}

.top-imgs .top-img1 {
    max-width: 856px;
}

.top-imgs .top-img2 {
    max-width: 465px;
}

.top-imgs .top-img3 {
    max-width: 465px;
}

.top-imgs .top-img4 {
    max-width: 926px;
}

.top-movie {
    margin: 50px auto 100px;
}

.top-movie-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.top-movie-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.top-precinct-column {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

@media (max-width: 840px) {
    .top-precinct-column {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

.top-precinct-column-img {
    width: 55%;
    background: url("../img/top-precinct.jpg") center center no-repeat;
    background-size: cover;
}

@media (max-width: 840px) {
    .top-precinct-column-img {
        width: 100%;
        height: 70vw;
    }
}

.top-precinct-column-content {
    width: 45%;
    background: white;
    padding: 80px 3vw;
}

@media (max-width: 840px) {
    .top-precinct-column-content {
        width: 100%;
    }
}

@media (max-width: 540px) {
    .top-precinct-column-content {
        padding: 25px 4%;
    }
}

.top-precinct-column-content .sec-ttl {
    margin: 0 auto;
}

.top-precinct-column-content .txt {
    margin-top: 2em;
    text-align: center;
}

@media (max-width: 540px) {
    .top-precinct-column-content .txt {
        text-align: left;
    }
}

.top-precinct-column-content .btn {
    margin-top: 2em;
    text-align: center;
}

.top-precinct-column-content .links {
    margin-top: 2em;
    text-align: center;
}

.top-precinct-column-content .links a {
    display: inline-block;
    font-size: 1.3em;
    padding: .75em 5em;
    border: solid 1px #8d8d8d;
    margin: .5em auto;
    position: relative;
    -webkit-transition: all .4s;
    transition: all .4s;
}

.top-precinct-column-content .links a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -7%;
    height: .2px;
    width: 14%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: #8d8d8d;
    -webkit-transition: all .4s;
    transition: all .4s;
}

.top-precinct-column-content .links a:hover {
    border-color: #AE2D2D;
    color: #AE2D2D;
}

.top-precinct-column-content .links a:hover::after {
    right: -10%;
    background-color: #AE2D2D;
}

.top-etc-column {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

@media (max-width: 700px) {
    .top-etc-column {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

.top-etc-sec {
    width: calc(100% / 2);
}

@media (max-width: 700px) {
    .top-etc-sec {
        width: 100%;
        margin-bottom: 60px;
    }
}

.top-etc-sec a {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    height: 700px;
    padding: 40px 30px;
}

@media (max-width: 840px) {
    .top-etc-sec a {
        height: 540px;
    }
}

@media (max-width: 700px) {
    .top-etc-sec a {
        height: 400px;
    }
}

.top-etc-sec a::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 60%;
    top: 0;
    right: 0;
    background-color: white;
    -webkit-transition: all .4s;
    transition: all .4s;
}

.top-etc-sec a::after {
    content: "\f0142";
    font-family: 'icomoon';
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-size: 1.5em;
    color: #777;
    -webkit-transition: all .4s;
    transition: all .4s;
}

.top-etc-sec a .sec-ttl {
    position: relative;
    z-index: 2;
}

.top-etc-sec a .img-box {
    position: absolute;
    z-index: 2;
    width: 50%;
    height: 65%;
    bottom: -5%;
    right: 25%;
    -webkit-transition: all .8s ease;
    transition: all .8s ease;
}

@media (max-width: 840px) {
    .top-etc-sec a .img-box {
        width: 55%;
        height: 80%;
        right: 30%;
    }
}

@media (max-width: 700px) {
    .top-etc-sec a .img-box {
        width: 75%;
        height: 90%;
        right: 20%;
    }
}

@media (max-width: 540px) {
    .top-etc-sec a .img-box {
        width: 65%;
        right: 30%;
    }
}

.top-etc-sec a .img-box img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: left center;
    object-position: left center;
    width: 100%;
    height: 100%;
}

.top-etc-sec a:hover::before {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-etc-sec a:hover::after {
    right: 3%;
}

.top-etc-sec a:hover .img-box {
    width: 70%;
}

@media (max-width: 700px) {
    .top-etc-sec a:hover .img-box {
        width: 80%;
    }
}

.top-etc .top-banner {
    margin-top: 100px;
    text-align: center;
}

.top-etc .top-banner a {
    display: inline-block;
    position: relative;
    max-width: 563px;
    -webkit-transition: all .6s;
    transition: all .6s;
}

.top-etc .top-banner a::after {
    content: "\f0142";
    font-family: 'icomoon';
    position: absolute;
    top: 45%;
    right: .5em;
    font-size: 1.25em;
    color: #8d8d8d;
    -webkit-transition: all .4s;
    transition: all .4s;
}

.top-etc .top-banner a:hover {
    opacity: .8;
}

.top-etc .top-banner a:hover::after {
    right: .25em;
}

.top-news {
    position: relative;
    background: url("../img/bg-sakura.png") right center repeat-x;
    background-size: contain;
}

.top-news::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    background: url("../img/bg-sakura2.png") right bottom no-repeat;
    background-size: contain;
    width: 40vw;
    height: 100%;
    z-index: 1;
}

.top-news-column {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    max-width: 1024px;
    position: relative;
    z-index: 2;
}

.top-news-column-head {
    width: 25%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.top-news-column-head .btn {
    margin-top: 2em;
}

.top-news-column-body {
    width: 75%;
}

@media (max-width: 1024px) {
    .top-news-column-body {
        width: 100%;
    }
}

.top-news .sec-ttl {
    padding-left: 0;
}

@media (max-width: 840px) {
    .top-news .btn.-pc {
        display: none;
    }
}

.top-news .btn.-sp {
    text-align: right;
    margin-top: 1em;
}

@media (min-width: 840px) {
    .top-news .btn.-sp {
        display: none;
    }
}

.news {
    position: relative;
    background: url("../img/bg-sakura.png") left bottom repeat-x;
    background-size: contain;
}

.news::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    background: url("../img/bg-sakura2.png") right bottom no-repeat;
    background-size: contain;
    width: 30vw;
    height: 100%;
    z-index: 1;
}

.news-li {
    border-bottom: solid 1px #d4d4d4;
}

.news-li:first-child {
    border-top: solid 1px #d4d4d4;
}

.news-li a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
    padding: 1.5em 1em 1.5em .5em;
}

.news-li a::after {
    content: "\f0142";
    font-family: 'icomoon';
    position: absolute;
    top: 50%;
    right: .5em;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: #8d8d8d;
    -webkit-transition: all .4s;
    transition: all .4s;
    z-index: 2;
}

.news-li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.6);
    width: 100%;
    height: 100%;
    -webkit-transition: -webkit-transform 0.7s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transition: -webkit-transform 0.7s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transition: transform 0.7s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transition: transform 0.7s cubic-bezier(0.8, 0, 0.2, 1) 0s, -webkit-transform 0.7s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: right top;
    transform-origin: right top;
    z-index: 1;
}

.news-li a:hover::before {
    -webkit-transform-origin: left top;
    transform-origin: left top;
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
}

.news-li a * {
    position: relative;
    z-index: 2;
}

.news-li a .date {
    width: 7em;
}

.news-li a .category {
    width: 7em;
}

.news-li a .ttl {
    width: calc(100% - (7em + 7em));
    font-weight: 600;
    -webkit-transition: all .6s;
    transition: all .6s;
}

@media (max-width: 700px) {
    .news-li a .ttl {
        width: 100%;
    }
}

.news-li a:hover::after {
    right: .25em;
}

.news-li a:hover .ttl {
    color: #AE2D2D;
}

/*==================================================================================================
	河口浅間神社について about
==================================================================================================*/
.history {
    background: url("../img/bg-sakura.png") repeat-y;
}

.history .sec-ttl {
    margin: 0 auto;
}

.history-wrap {
    margin: 50px auto;
}

@media (max-width: 1024px) {
    .history-wrap.-vertical {
        -webkit-writing-mode: inherit;
        -ms-writing-mode: inherit;
        writing-mode: inherit;
    }
}

@media screen and (min-width: 1280px) {
    .history-wrap-gosaishin {
        margin-left: 70px;
        padding-left: 40px;
    }
}

@media screen and (min-width: 1024px) {
    .history-wrap-gosaishin {
        border-left: solid 1px #8d8d8d;
        border-right: solid 1px #8d8d8d;
        margin-left: 10px;
        padding-left: 20px;
    }
}

@media (max-width: 1024px) {
    .history-wrap-gosaishin {
        border-top: solid 1px #8d8d8d;
        border-bottom: solid 1px #8d8d8d;
        padding-bottom: 40px;
        text-align: center;
        margin-bottom: 50px;
    }
}

.history-wrap-gosaishin h3 {
    font-size: 2.2em;
    font-weight: 500;
    line-height: 1;
    -webkit-transform: translateX(18px);
    transform: translateX(18px);
    background: url("../img/bg.jpg") repeat;
    display: inline-block;
    padding-bottom: .5em;
}

@media (max-width: 1024px) {
    .history-wrap-gosaishin h3 {
        -webkit-transform: translate(0, -18px);
        transform: translate(0, -18px);
        padding: 0 .5em;
    }
}

@media (max-width: 700px) {
    .history-wrap-gosaishin h3 {
        font-size: 1.75em;
    }
}

.history-wrap-gosaishin p {
    margin-top: 15px;
}

@media (max-width: 1024px) {
    .history-wrap-gosaishin p {
        margin-top: 0;
    }
}

.history-wrap-gosaishin .txt1 {
    font-size: 1.7em;
}

.history-wrap-gosaishin .txt1 span {
    font-size: .6em;
}

.history-wrap-gosaishin .txt2 {
    font-size: 1.25em;
}

.history-wrap-gosaishin .txt2 span {
    font-size: .6em;
}

@media (max-width: 1024px) {
    .history-wrap-txt {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

.history-wrap-txt p {
    line-height: 2;
}

.history-wrap-txt p rt {
    letter-spacing: -1px;
}

.origin-column {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.origin-column-content {
    margin-left: 80px;
}

@media (max-width: 1280px) {
    .origin-column-content {
        margin-left: 15px;
    }
}

.origin-column-content section {
    background: white;
    padding: 35px;
    margin-bottom: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

@media (max-width: 1280px) {
    .origin-column-content section {
        padding: 25px;
        margin-bottom: 30px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

.origin-column-content section h3 {
    width: 10em;
    margin-left: -80px;
}

@media (max-width: 1280px) {
    .origin-column-content section h3 {
        width: auto;
        margin-left: 0;
        margin-bottom: 1em;
        margin-top: -3em;
    }
}

.origin-column-content section .txt {
    max-width: 46em;
    text-align: justify;
}

.origin-imgs .origin-img1 {
    margin-left: 28.3vw;
}

@media (max-width: 840px) {
    .origin-imgs .origin-img1 {
        margin-left: 33.3vw;
    }
}

.origin-imgs .origin-img2 {
    margin-left: 10.8vw;
    margin-right: 32.1vw;
}

@media (max-width: 840px) {
    .origin-imgs .origin-img2 {
        margin-left: 0;
        margin-right: 50vw;
    }
}

.about-link .sec-ttl {
    padding: 0 4%;
    text-align: center;
    margin-bottom: 40px;
}

.about-link-ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.about-link-li {
    width: calc(100% / 3);
    height: 500px;
}

@media (max-width: 1024px) {
    .about-link-li {
        width: calc(100% / 1);
        height: 350px;
        border-top: solid 1px white;
        border-bottom: solid 1px white;
    }
}

@media (max-width: 540px) {
    .about-link-li {
        height: 280px;
    }
}

.about-link-li:nth-child(1) a:hover::before {
    background: rgba(0, 0, 0, 0.6);
}

.about-link-li:nth-child(1) a:hover::after {
    opacity: 0;
}

.about-link-li a {
    padding: 1.3vw;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    height: 100%;
    color: white;
    overflow: hidden;
}

@media (max-width: 700px) {
    .about-link-li a {
        padding: 20px 20px 40px;
    }
}

.about-link-li a .txt {
    position: relative;
    z-index: 2;
    margin: 2em auto 0;
    text-align: justify;
}

.about-link-li a .caption {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 20px;
}

.about-link-li a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    -webkit-transition: all .4s;
    transition: all .4s;
}

.about-link-li a::after {
    content: "";
    position: absolute;
    border: solid 2px white;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: inline-block;
    opacity: 0;
    -webkit-transition: opacity .6s;
    transition: opacity .6s;
}

.about-link-li a::before, .about-link-li a::after {
    pointer-events: none;
}

.about-link-li a:hover::before {
    background: rgba(0, 0, 0, 0.4);
}

.about-link-li a:hover::after {
    opacity: 1;
}

.about-link-li:nth-child(1) a {
    background: url("../img/about-link1.jpg") center center no-repeat;
    background-size: cover;
}

.about-link-li:nth-child(1) a .txt {
    max-width: 34em;
}

.about-link-li:nth-child(2) a {
    background: url("../img/about-link2.jpg") center center no-repeat;
    background-size: cover;
}

.about-link-li:nth-child(3) a {
    background: url("../img/about-link3.jpg") center center no-repeat;
    background-size: cover;
}

.about-link-li:nth-child(3) a .txt {
    max-width: 34em;
}

.access {
    margin-top: 200px;
    margin-bottom: -80px;
}

@media (max-width: 840px) {
    .access {
        margin-top: 80px;
    }
}

.access-column {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    background: white;
}

@media (max-width: 840px) {
    .access-column {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -webkit-flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
}

.access-column-map {
    width: 50%;
}

@media (max-width: 840px) {
    .access-column-map {
        width: 100%;
    }
}

.access-column-map iframe {
    height: 700px;
    -webkit-transform: translateY(-80px);
    transform: translateY(-80px);
    margin-bottom: -7px;
}

@media (max-width: 840px) {
    .access-column-map iframe {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        height: 500px;
    }
}

@media (max-width: 540px) {
    .access-column-map iframe {
        height: 360px;
    }
}

.access-column-content {
    width: 50%;
    padding: 40px 50px;
    margin-right: 5vw;
}

@media (max-width: 1600px) {
    .access-column-content {
        margin-right: 0;
    }
}

@media (max-width: 840px) {
    .access-column-content {
        width: 100%;
        padding: 40px 4%;
    }
}

.access-column-content .btn {
    text-align: center;
    margin-top: 3em;
}

.access-column-content .btn .btn-link span {
    color: #AE2D2D;
}

.access-column-content .btn .btn-link:hover {
    color: #AE2D2D;
}

.data-list {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.data-list dt, .data-list dd {
    padding: 1.5em;
}

.data-list dt {
    width: 7em;
    border-bottom: solid 1px #d4d4d4;
    font-weight: 600;
}

@media (max-width: 540px) {
    .data-list dt {
        width: 100%;
        border: none;
        padding: 1em 1em .5em;
    }
}

.data-list dd {
    width: calc(100% - 7em);
    border-bottom: solid 1px #d4d4d4;
}

@media (max-width: 540px) {
    .data-list dd {
        width: 100%;
        padding: 0 1em 1em;
    }
}

.data-list dd a {
    text-decoration: underline;
    color: #AE2D2D;
}

.data-list dd a:hover {
    opacity: .6;
}

/*==================================================================================================
	境内の御案内　precinct
==================================================================================================*/
.precinct-map {
    margin-bottom: 50px;
}

.precinct-map-column {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.precinct-map-column-box {
    width: 50%;
    padding: 1.5vw;
}

@media (max-width: 540px) {
    .precinct-map-column-box {
        width: 100%;
        padding: 10px 0;
    }
}

.precinct-map-column-box figure {
    margin-top: 1.5vw;
}

.card-ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 150px;
}

@media (max-width: 700px) {
    .card-ul {
        margin-bottom: 80px;
    }
}

.card-ul.width-1-2 .card-li {
    width: calc(100% / 2);
}

@media (min-width: 540px) {
    .card-ul.width-1-2 .card-li:nth-child(odd) .card-li-inner {
        margin-right: 1vw;
    }
    .card-ul.width-1-2 .card-li:nth-child(even) {
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
    }
    .card-ul.width-1-2 .card-li:nth-child(even) .card-li-inner {
        margin-left: 1vw;
    }
}

@media (max-width: 540px) {
    .card-ul.width-1-2 .card-li {
        width: calc(100% / 1);
    }
}

.card-li {
    margin: 30px 0;
}

@media (max-width: 540px) {
    .card-li {
        width: calc(100% / 1);
        margin: 10px 0;
    }
}

.card-li-inner {
    background: white;
    height: 100%;
}

.card-li-img .img {
    padding-top: 66.66%;
}

.card-li-content {
    padding: 25px;
}

@media (max-width: 540px) {
    .card-li-content {
        padding: 15px;
    }
}

.card-li-content .ttl {
    text-align: center;
    font-size: 1.25em;
    margin-bottom: .5em;
}

.etc-links {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.etc-links .etc-link {
    width: calc(100% / 2);
    display: block;
    position: relative;
    overflow: hidden;
    border: solid 1px white;
}

.etc-links .etc-link::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transition: all .4s ease-out;
    transition: all .4s ease-out;
}

.etc-links .etc-link.-trees::after {
    background-image: url("../img/precinct/link1.jpg");
}

.etc-links .etc-link.-subshrine::after {
    background-image: url("../img/precinct/link2.jpg");
}

.etc-links .etc-link:hover::after {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.etc-links .etc-link-inner {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    height: 100%;
    -webkit-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.etc-links .etc-link-inner .sec-ttl {
    margin: 0 auto;
}

.etc-links .etc-link-inner .sec-ttl .ja {
    color: white;
}

.etc-links .etc-link-inner:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/*==================================================================================================
	境内の木々　trees
==================================================================================================*/
.seventrees {
    background: url("../img/trees/trees-bg.jpg") center top no-repeat;
    background-size: contain;
    padding-top: 100px;
}

@media (max-width: 700px) {
    .seventrees {
        background-size: auto;
    }
}

.seventrees .card-ul.width-1-3 .card-li {
    width: calc(100% /3);
    margin: 10px 0;
}

@media (min-width: 840px) {
    .seventrees .card-ul.width-1-3 .card-li:nth-child(3n-1) {
        -webkit-transform: translateY(60px);
        transform: translateY(60px);
    }
}

@media (max-width: 840px) {
    .seventrees .card-ul.width-1-3 .card-li {
        width: calc(100% / 2);
    }
}

@media (max-width: 540px) {
    .seventrees .card-ul.width-1-3 .card-li {
        width: calc(100% / 1);
    }
}

.seventrees .card-ul.width-1-3 .card-li-inner {
    margin: .5vw;
    height: 100%;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.seventrees .card-ul.width-1-3 .card-li-content {
    padding: 20px 10px;
}

.seventrees .card-ul.width-1-3 .card-li-content .ttl .num {
    color: #AE2D2D;
    margin-right: 5px;
}

.seventrees .card-ul.width-1-3 .card-li-content .txt {
    text-align: justify;
    letter-spacing: 0;
}

.seventrees .card-ul.width-1-3 .card-li-img .img {
    padding-top: 100%;
}

/*==================================================================================================
	摂社・末社　subshrine
==================================================================================================*/
.etc-shrine {
    margin: 80px auto;
}

@media (max-width: 840px) {
    .etc-shrine {
        margin: 40px auto;
    }
}

.etc-shrine-wrap {
    background-color: white;
    padding: 45px 40px;
}

@media (max-width: 840px) {
    .etc-shrine-wrap {
        padding: 20px;
    }
}

.etc-shrine-column {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

@media (max-width: 700px) {
    .etc-shrine-column {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -webkit-flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
}

.etc-shrine-column-content {
    width: calc(100% / 2);
    padding-right: 50px;
}

@media (max-width: 700px) {
    .etc-shrine-column-content {
        width: calc(100% / 1);
        padding-right: 0;
    }
}

.etc-shrine-column-content .ttl {
    font-size: 3em;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 1em;
}

@media (max-width: 1280px) {
    .etc-shrine-column-content .ttl {
        font-size: 2em;
        margin-bottom: .5em;
    }
}

@media (max-width: 700px) {
    .etc-shrine-column-content .ttl {
        font-size: 1.7em;
        text-align: center;
        margin-top: .5em;
    }
}

@media (min-width: 700px) {
    .etc-shrine-column-content p {
        max-width: 53rem;
        text-align: justify;
    }
}

.etc-shrine-column-img {
    width: calc(100% / 2);
}

@media (max-width: 700px) {
    .etc-shrine-column-img {
        width: calc(100% / 1);
        margin-top: 20px;
    }
}

.etc-shrine-column-img .img {
    padding-top: 133.33%;
}

.etc-shrine-access {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-top: 50px;
}

@media (max-width: 700px) {
    .etc-shrine-access {
        margin-top: 20px;
    }
}

.etc-shrine-access .sec-ttl {
    width: 15%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

@media (max-width: 700px) {
    .etc-shrine-access .sec-ttl {
        padding-left: 0;
    }
}

.etc-shrine-access .map {
    width: 85%;
}

.etc-shrine-access .map iframe {
    height: 500px;
}

@media (max-width: 700px) {
    .etc-shrine-access .map iframe {
        height: 280px;
    }
}

/*==================================================================================================
	祭典・行事　events
==================================================================================================*/
.yearly-events .inner {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

@media (max-width: 540px) {
    .yearly-events .inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

.yearly-events .sec-ttl {
    width: 20%;
}

@media (max-width: 540px) {
    .yearly-events .sec-ttl {
        width: 100%;
        -webkit-writing-mode: inherit;
        -ms-writing-mode: inherit;
        writing-mode: inherit;
        text-align: center;
    }
}

.yearly-events-list {
    width: 80%;
    padding: 4vw;
}

@media (max-width: 540px) {
    .yearly-events-list {
        width: 100%;
        padding: 0;
    }
}

.yearly-events-ul {
    width: 100%;
}

.yearly-events-li {
    padding: 8px 1em;
    border-bottom: solid 1px #d4d4d4;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    font-size: 1.25em;
    min-height: 4em;
}

.yearly-events-li .date {
    width: 8em;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
}

.yearly-events-li .date .month {
    width: 4em;
}

.yearly-events-li .date .month .num {
    color: #AE2D2D;
    font-size: 2em;
    margin-right: .2em;
}

.yearly-events-li .date .day {
    text-align: center;
    width: 3em;
}

.yearly-events-li .txt {
    padding-left: 1em;
    width: calc(100% - (4em+3em));
}

@media (max-width: 540px) {
    .yearly-events-li .txt {
        padding-left: 0;
        width: 100%;
    }
}

.events {
    margin-top: 80px;
}

.events .ttl {
    font-weight: 400;
}

.events .sec-ttl {
    margin: 0 auto;
    text-align: center;
}

.events-main-li {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin: 80px auto;
}

@media (max-width: 700px) {
    .events-main-li {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

@media screen and (min-width: 1024px) {
    .events-main-li:nth-child(odd) .events-main-content {
        margin-right: 6.5vw;
    }
}

@media screen and (min-width: 700px) {
    .events-main-li:nth-child(odd) .events-main-content {
        padding-left: 3.5vw;
    }
}

@media screen and (min-width: 700px) {
    .events-main-li:nth-child(even) {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -webkit-flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }
}

@media screen and (min-width: 1024px) {
    .events-main-li:nth-child(even) .events-main-content {
        margin-left: 6.5vw;
    }
}

@media screen and (min-width: 700px) {
    .events-main-li:nth-child(even) .events-main-content {
        padding-right: 3.5vw;
    }
}

@media (max-width: 840px) {
    .events-main-li:first-child {
        margin-top: 30px;
    }
}

.events-main-img {
    width: 45%;
}

@media (max-width: 700px) {
    .events-main-img {
        width: 100%;
    }
}

.events-main-img .img {
    padding-top: 66.66%;
}

.events-main-content {
    width: 55%;
    padding: 1vw 0;
}

@media (max-width: 700px) {
    .events-main-content {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .events-main-content-head {
        margin-top: 1em;
    }
}

.events-main-content-head .date {
    color: #AE2D2D;
    font-size: 1.4em;
    padding-left: 1em;
    line-height: 1;
}

@media (max-width: 840px) {
    .events-main-content-head .date {
        padding-left: .75em;
    }
}

.events-main-content-head .ttl {
    font-size: 1.8em;
    line-height: 1.25;
    margin-bottom: 1em;
}

@media (max-width: 840px) {
    .events-main-content-head .ttl {
        font-size: 1.3em;
    }
}

.events-main-content-head .ttl .ttl-deco {
    padding-top: 0;
}

.events-main-content-head .ttl rt {
    font-size: .3em;
    margin-top: 1em;
}

.events-main-content-head .sub-ttl {
    font-size: 1.5em;
    margin-bottom: 1em;
}

@media (max-width: 840px) {
    .events-main-content-head .sub-ttl {
        font-size: 1.25em;
        margin-bottom: .5em;
    }
}

.events-main-content .txt {
    max-width: 46em;
    text-align: justify;
}

.events-shinji h3.ttl {
    text-align: center;
    font-size: 1.8em;
    line-height: 1;
    margin-bottom: 1em;
}

@media (max-width: 840px) {
    .events-shinji h3.ttl {
        font-size: 1.5em;
    }
}

.events-shinji-ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 2vw;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.events-shinji-li {
    width: 31%;
    margin-bottom: 1em;
}

@media (max-width: 840px) {
    .events-shinji-li {
        width: 48%;
    }
}

@media (max-width: 540px) {
    .events-shinji-li {
        width: 100%;
    }
}

.events-shinji-img .img {
    padding-top: 66.66%;
}

.events-shinji-content-head {
    margin: .5em auto;
}

.events-shinji-content-head .date {
    color: #AE2D2D;
    font-size: 1.2em;
}

.events-shinji-content-head .ttl {
    font-size: 1.8em;
    font-weight: 400;
    line-height: 1.25;
}

.events-shinji-content .txt {
    letter-spacing: 0;
    text-align: justify;
    max-width: 49rem;
}

.img.-deco {
    position: relative;
}

.img.-deco::after {
    position: absolute;
    content: "";
    background: url("../img/img-deco.png") top right no-repeat;
    background-size: contain;
    display: inline-block;
    height: 23%;
    width: 20%;
    top: -5%;
    right: -4%;
}

/*==================================================================================================
	参拝・祈祷のご案内　workship
==================================================================================================*/
.workship {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    width: 100%;
}

.workship-sec {
    width: calc(100% / 2);
    padding: 0 20px;
    margin-bottom: 180px;
}

@media (max-width: 840px) {
    .workship-sec {
        width: calc(100% / 1);
        margin-bottom: 60px;
        padding: 0;
    }
    .workship-sec:last-child {
        margin-bottom: 0;
    }
}

@media (min-width: 840px) {
    .workship-sec:nth-child(even) {
        -webkit-transform: translateY(70px);
        transform: translateY(70px);
    }
}

.workship-sec-inner {
    height: 830px;
    position: relative;
}

@media (max-width: 840px) {
    .workship-sec-inner {
        height: auto;
    }
}

.workship-sec-inner .workship-img {
    height: 100%;
}

.workship-sec-inner .workship-img img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.workship-sec-inner h2 {
    position: absolute;
    top: -3%;
    right: 4%;
    z-index: 2;
    display: inline-block;
    font-size: 2em;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: .2em;
    background: white;
    padding: 1.5em .75em;
}

@media (max-width: 840px) {
    .workship-sec-inner h2 {
        font-size: 1.5em;
    }
}

.workship-sec-inner h2 span {
    position: relative;
    font-weight: 400;
}

.workship-sec-inner h2 span::after {
    position: absolute;
    content: "";
    width: 260%;
    height: 35%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.workship-sec-inner .txt-wrap {
    background: url("../img/bg.jpg") repeat;
    padding: 25px;
    width: 85%;
    position: absolute;
    left: 0;
    bottom: -18%;
    text-align: justify;
    z-index: 2;
}

@media (max-width: 840px) {
    .workship-sec-inner .txt-wrap {
        position: relative;
        bottom: 0;
        width: 90%;
        margin-top: -10%;
    }
}

@media (max-width: 540px) {
    .workship-sec-inner .txt-wrap {
        padding: 15px;
    }
}

.workship-sec-inner .txt-wrap p {
    max-width: 45.5rem;
}

.workship-sec-inner .txt-wrap a {
    text-decoration: underline;
}

.workship-sec-inner .txt-wrap a:hover {
    color: #AE2D2D;
}

.workship-sec:nth-child(1) .workship-sec-inner h2 span::after {
    background-image: url("../img/deco1.png");
    bottom: -20px;
    left: -10px;
}

.workship-sec:nth-child(2) .workship-sec-inner h2 span::after {
    background-image: url("../img/deco2.png");
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    bottom: 110%;
    left: -20px;
}

.workship-sec:nth-child(3) .workship-sec-inner h2 span::after {
    background-image: url("../img/deco1.png");
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    bottom: -35px;
    right: -15px;
}

.workship-sec:nth-child(4) .workship-sec-inner h2 span::after {
    background-image: url("../img/deco2.png");
    bottom: 105px;
}

@media (max-width: 700px) {
    .workship-sec:nth-child(4) .workship-sec-inner h2 span::after {
        bottom: 70px;
    }
}

/*==================================================================================================
	新着情報　news
==================================================================================================*/
.news.archive .news-li a .category {
    color: #AE2D2D;
}

.archive-empty {
    text-align: center;
}

.pagination {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 2em;
}

.pagination .page-numbers {
    font-size: 1.25em;
    padding: 0 .5em;
    margin: 0 .25em;
    position: relative;
}

.pagination .page-numbers::after {
    position: absolute;
    content: "";
    bottom: -5px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 70%;
    height: 2px;
    background: #AE2D2D;
    opacity: 0;
    -webkit-transition: .4s;
    transition: .4s;
}

.pagination .page-numbers.current::after {
    bottom: -3px;
    opacity: 1;
}

.pagination .page-numbers:hover::after {
    bottom: -3px;
    opacity: 1;
}

.news-single {
    position: relative;
    background: url("../img/bg-sakura.png") right center repeat-x;
    background-size: contain;
}

.news-single::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    background: url("../img/bg-sakura2.png") right bottom no-repeat;
    background-size: contain;
    width: 30vw;
    height: 100%;
    z-index: 1;
}

.post-wrap .category {
    color: #AE2D2D;
    margin-left: 1em;
}

.post-wrap .ttl {
    font-size: 1.25em;
    margin-bottom: .5em;
}

.post-main {
    border-top: solid 1px #d4d4d4;
    border-bottom: solid 1px #d4d4d4;
    padding: .75em .25em;
}

.post-end {
    margin-top: 2em;
}

.post-end-btns {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.post-end-btn {
    margin: 0 1.5em;
}

.post-end-btn.prev a, .post-end-btn.next a {
    display: inline-block;
    position: relative;
}

.post-end-btn.prev a::after, .post-end-btn.next a::after {
    position: absolute;
    content: "";
    bottom: -13px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80%;
    height: 1px;
    background: #AE2D2D;
    opacity: 0;
    -webkit-transition: .4s;
    transition: .4s;
}

.post-end-btn.prev a:hover::after, .post-end-btn.next a:hover::after {
    bottom: -10px;
    opacity: 1;
}

.wp-edit img {
    width: auto;
    margin: .5em 0;
}

.wp-edit p {
    line-height: 1.5;
    word-break: break-all;
    margin: .5em 0;
}

/*==================================================================================================
	お問い合わせ contact
==================================================================================================*/
.contact-tel {
    text-align: center;
    margin-top: 1em;
}

.contact-tel a {
    display: inline-block;
    color: #AE2D2D;
    font-size: 2em;
}

.mailform-table {
    margin: 40px auto;
}

@media (max-width: 540px) {
    .mailform-table {
        margin: 0;
    }
}

.mailform-table dl {
    line-height: 1.8em;
    width: 100%;
    padding: 1.5em 1em;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border-bottom: solid 1px #d4d4d4;
}

@media (max-width: 840px) {
    .mailform-table dl {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: .8em 0;
    }
}

@media (max-width: 700px) {
    .mailform-table dl {
        line-height: 1.2em;
    }
}

.mailform-table dl:first-child {
    border-top: solid 1px #d4d4d4;
}

.mailform-table dt {
    margin-right: 0.5em;
    width: 25%;
    position: relative;
    vertical-align: middle;
    font-weight: 600;
}

@media (max-width: 840px) {
    .mailform-table dt {
        width: 100%;
        margin-bottom: 10px;
    }
}

.mailform-table dd {
    width: 75%;
    padding-left: 1.5em;
}

@media (max-width: 840px) {
    .mailform-table dd {
        padding-left: 0;
        width: 100%;
    }
}

.mailform-table .required::after {
    content: "必須";
    background: #AE2D2D;
    color: white;
    padding: 2px 1em;
    line-height: 1.75;
    position: absolute;
    right: 20px;
    top: 5px;
    text-align: center;
    font-size: 10px;
}

@media (max-width: 1024px) {
    .mailform-table .required::after {
        right: 0;
    }
}

@media (max-width: 840px) {
    .mailform-table .required::after {
        margin-left: 10px;
        position: relative;
        padding: .2em 1em;
        top: -1px;
    }
}

@media (max-width: 700px) {
    .mailform-table .required::after {
        font-size: .8em;
    }
}

.txt-area {
    width: 100%;
    padding: 0 10px;
    height: 2.5em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    resize: vertical;
    background: white;
    border: none;
}

.txt-area.txt-area2 {
    min-height: 200px;
}

.txt-area.code {
    display: inline-block;
    width: 9em;
    margin: 0 0 5px 5px;
}

.privacy-policy, .privacy-policy-check, .kakunin {
    margin: 30px auto;
    text-align: center;
}

@media (max-width: 840px) {
    .privacy-policy, .privacy-policy-check, .kakunin {
        margin: 25px auto;
    }
}

.privacy-policy-check label span {
    margin-left: 3px;
}

@media (max-width: 540px) {
    .privacy-policy-txt {
        text-align: left;
    }
}

.privacy-policy-txt a {
    text-decoration: underline;
}

.privacy-policy-txt a:hover {
    color: #AE2D2D;
}

input[type=radio] {
    display: none;
}

.radiobtn {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 0 1em 0 2em;
    position: relative;
    width: auto;
}

@media (max-width: 700px) {
    .radiobtn {
        padding: .5em 1em .5em 2em;
    }
}

.radiobtn::before {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    content: '';
    display: block;
    height: 14px;
    left: 5px;
    margin-top: -7px;
    position: absolute;
    top: 45%;
    width: 14px;
}

.radiobtn::after {
    background: #AE2D2D;
    border-radius: 50%;
    content: '';
    display: block;
    height: 10px;
    left: 8px;
    margin-top: -4px;
    opacity: 0;
    position: absolute;
    top: 45%;
    -webkit-transform: scale3d(0.3, 0.3, 1);
    transform: scale3d(0.3, 0.3, 1);
    -webkit-transition: opacity .2s ease-in-out, -webkit-transform .2s ease-in-out;
    transition: opacity .2s ease-in-out, -webkit-transform .2s ease-in-out;
    transition: transform .2s ease-in-out, opacity .2s ease-in-out;
    transition: transform .2s ease-in-out, opacity .2s ease-in-out, -webkit-transform .2s ease-in-out;
    width: 10px;
}

input[type=radio]:checked + .radiobtn::before {
    border-color: #AE2D2D;
}

input[type=radio]:checked + .radiobtn::after {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

input[type=checkbox] {
    display: none;
}

.checkbox {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px 5px 25px;
    position: relative;
    width: auto;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.checkbox::before {
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    content: '';
    display: block;
    height: 14px;
    width: 14px;
    left: 5px;
    margin-top: -7px;
    position: absolute;
    top: 50%;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.checkbox::after {
    border-right: 3px solid #AE2D2D;
    border-bottom: 3px solid #AE2D2D;
    content: '';
    display: block;
    height: 15px;
    width: 8px;
    top: 55%;
    left: 8px;
    margin-top: -18px;
    opacity: 0;
    position: absolute;
    -webkit-transform: rotate(45deg) translate3d(0, 2px, 0) scale3d(0.7, 0.7, 1);
    transform: rotate(45deg) translate3d(0, 2px, 0) scale3d(0.7, 0.7, 1);
    -webkit-transition: opacity .2s ease-in-out, -webkit-transform .2s ease-in-out;
    transition: opacity .2s ease-in-out, -webkit-transform .2s ease-in-out;
    transition: transform .2s ease-in-out, opacity .2s ease-in-out;
    transition: transform .2s ease-in-out, opacity .2s ease-in-out, -webkit-transform .2s ease-in-out;
}

.checkbox:hover::before {
    border-color: #AE2D2D;
}

input[type=checkbox]:checked + .checkbox::before {
    border-color: #AE2D2D;
}

input[type=checkbox]:checked + .checkbox::after {
    opacity: 1;
    -webkit-transform: rotate(45deg) scale3d(1, 1, 1);
    transform: rotate(45deg) scale3d(1, 1, 1);
}

.kakunin .btn-main {
    cursor: pointer;
    background-color: transparent;
    border-width: 0 0 1px 0;
    color: #333333;
}

.kakunin .btn-main[disabled] {
    opacity: 0.6;
    pointer-events: none;
}

/*==================================================================================================
	個人情報保護方針 privacypolicy
==================================================================================================*/
.policy-txt {
    margin-top: 40px;
}

.policy-body {
    margin-top: 50px;
}

.policy-body li {
    margin: 30px auto;
}

.policy-body h3 {
    font-size: 1.4em;
    padding-left: .7em;
    position: relative;
    margin-bottom: .3em;
    line-height: 1.5;
}

.policy-body h3::after {
    content: "";
    position: absolute;
    left: 0;
    top: .3em;
    width: 5px;
    height: 1em;
    background: #AE2D2D;
}

/*==================================================================================================
	404, サンクスページ
==================================================================================================*/
.etc-content {
    text-align: center;
}

.etc-content h2 {
    font-size: 1.5em;
    margin-bottom: 1.5em;
}

.etc-content .txt {
    margin-bottom: 2em;
}
