html,
body {
  background-color: #fff;
  font-family: minion-3-display, source-han-serif-japanese, "游明朝", YuMincho, serif;
  font-weight: 300;
  font-size: 62.5%;
  line-height: 2;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt";
}

html {
  visibility: hidden;
}

html.wf-active,
html.loading-delay {
  visibility: visible;
}

br.pc-only {
  display: block;
}

br.sp-only {
  display: none;
}

body.hidden {
  overflow: hidden;
}

::selection {
  background: #B6262E;
  color: #ffffff;
}

.wp-block-image img {
  max-width: 100%;
  height: auto !important;
}

rt {
  font-size: 10px;
  transform: scale(0.8);
}

.inview {
  opacity: 0;
  transition: .5s ease-in-out;
}

.inview.is-show {
  opacity: 1.0;
}

/*共通css*/
img {
  vertical-align: bottom;
}

p {
  font-size: 1.3rem;
  letter-spacing: 0.2rem;
  font-weight: 300;
  color: #111;
  text-align: left;
}

p a {
  color: #D5B89F;
  border-bottom: 1px solid rgba(213, 184, 159, 0.5);
  transition: .3s;
}

p a:hover {
  border-bottom: 1px solid #fff;
}

.dash {
  display: inline-block;
  padding: 5px 0;
  border-bottom: 1px dashed #838383;
  margin: 0 30px 0 0;
}

.dash:after {
  display: none;
}

.alignleft {
  text-align: left;
}

.aligncenter {
  text-align: center;
}

.caption {
  font-size: 1.0rem;
  font-weight: 300;
}

a {
  color: #111;
  text-decoration: none;
  transition: color .3s;
}

a:hover,
a:hover p,
.btn:hover input[type="submit"] {
  color: #B6262E;
  opacity: 1.0;
  text-decoration: none;
}

.btn {
  margin: 25px 20px 0;
  padding: 12px 30px;
  position: relative;
  display: inline-block;
  letter-spacing: 0.2rem;
  font-size: 1.2rem;
}

.btn:after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #838383;
  transform: scale(1, 1);
  transform-origin: left top;
  transition: transform .3s;
}

.btn:hover:after {
  transform-origin: right top;
  transform: scale(0, 1);
}

.btn.wh {
  color: #fff;
}

.btn.wh:after {
  background-color: #fff;
}

.vertical-btn {
  width: 100px;
  writing-mode: vertical-rl;
  letter-spacing: 0.2rem;
  line-height: 1.0;
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto 60px;
  padding-bottom: 80px;
  font-size: 1.2rem;
}

.vertical-btn:after {
  content: "";
  width: 1px;
  height: 60px;
  background-color: #838383;
  position: absolute;
  left: 2px;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  transform: scale(1, 1);
  transform-origin: left top;
  transition: transform .3s;
}

.vertical-btn:hover:after,
#soken1300-intro:hover .vertical-btn:after {
  transform-origin: right bottom;
  transform: scale(1, 0);
}

h2 {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.3rem;
  padding: 0 30px;
  border-left: 1px solid #838383;
  border-right: 1px solid #838383;
  margin: 0 auto 50px;
}

h2.vertical {
  border: none;
  padding: 0;
  width: 100px;
  font-size: 2.4rem;
  letter-spacing: 0.6rem;
  line-height: 1.5;
  writing-mode: vertical-rl;
  font-weight: 300;
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 5px;
  margin: 0 auto 0;
  font-feature-settings: initial;
}

h3 {
  font-size: 1.8rem;
  line-height: 1.5;
  letter-spacing: 0.3rem;
  font-weight: 500;
  margin-bottom: 15px;
  text-align: left;
  padding-left: 30px;
  position: relative;
}

h3:after {
  content: "";
  width: 20px;
  height: 1px;
  position: absolute;
  top: 12px;
  left: 0;
  margin: auto 0;
  background-color: #838383;
}

#concept h3,
.link-list h3,
.saizin h3 {
  text-align: center;
  padding-left: 0;
  position: static;
}

#concept h3:after,
.link-list h3:after,
.saizin h3:after {
  display: none;
}

h4 {
  font-size: 1.4rem;
  line-height: 1.5;
  letter-spacing: 0.2rem;
  text-align: left;
  margin: 0 0 12px;
}

.box h4 {
  margin: 0 0 2px;
}

table {
  width: 100%;
  border: 1px solid #B8B8B8;
  font-size: 1.3rem;
  color: #111;
  margin-bottom: 40px;
}

table th {
  background-color: #E4E4E4;
  padding: 10px 0;
  border: 1px solid #B8B8B8;
  font-size: 1.4rem;
  letter-spacing: 0.2rem;
}

table td {
  padding: 10px 0;
  border: 1px solid #B8B8B8;
}

.menu-btn {
  width: 30px;
  height: 10px;
  position: fixed;
  top: 30px;
  left: 25px;
  z-index: 15000;
  opacity: 1.0;
  pointer-events: auto;
  transition: opacity .3s ease;
}

.menu-btn.hide {
  opacity: 0;
  pointer-events: none;
}

.menu-btn span {
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  background-color: #838383;
  transition: .3s ease;
}

.menu-btn span:nth-of-type(1) {
  top: 0;
}

.menu-btn span:nth-of-type(2) {
  bottom: 0;
}

.menu-btn.active {
  opacity: 1.0;
  pointer-events: auto;
}

.menu-btn.active span:nth-of-type(1) {
  top: 5px;
}

.menu-btn.active span:nth-of-type(2) {
  opacity: 0;
}

.menu-wrapper {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #fff;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.menu-wrapper.active {
  opacity: 1.0;
  pointer-events: auto;
}

.menu-wrapper .menu-container {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 5vh;
}

.menu-wrapper .menu-list {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  margin-left: 10px;
}

.menu-wrapper h1,
.menu-wrapper a,
.menu-wrapper p {
  writing-mode: vertical-rl;
  font-feature-settings: initial;
}

.menu-wrapper h1 {
  font-size: 2.6rem;
  letter-spacing: 0.4rem;
  font-weight: 400;
  margin-top: -65px;
  margin-left: 30px;
}

.menu-wrapper a,
.menu-wrapper p {
  font-size: 1.8rem;
  margin-left: 10px;
  letter-spacing: 0.2rem;
}

.menu-wrapper p {
  margin-left: 5px;
}

.menu-wrapper .sub-list {
  display: flex;
  flex-direction: row-reverse;
  margin-left: 20px;
}

.menu-wrapper .sub-list a {
  font-size: 1.3rem;
  padding-top: 20px;
  position: relative;
  margin-left: 0;
}

.menu-wrapper .sub-list a:after {
  content: "";
  width: 1px;
  height: 10px;
  background-color: #838383;
  position: absolute;
  top: 3px;
  left: 3px;
  right: 0;
  margin: 0 auto;
}

.sns-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 20px;
}

.sns-list a {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px;
}

.menu-wrapper .credit {
  font-size: 1.2rem;
  text-orientation: upright;
  display: block;
}

.menu-wrapper .credit span {
  display: inline-block;
}

_:lang(x)::-internal-media-controls-overlay-cast-button,
.menu-wrapper .credit span {
  letter-spacing: -0.5rem;
  margin: -0.2rem 0 0.8rem;
  transform: translateX(1.5px);
}

_:lang(x)::-moz-placeholder,
.menu-wrapper .credit span {
  letter-spacing: 0rem;
  margin: -0.2rem 0 0.8rem;
}

_:lang(x)+_:-webkit-full-screen-document,
.menu-wrapper .credit span {
  letter-spacing: 0.3rem;
  transform: translateX(1.5px);
}

/*個別css*/
#top {
  width: 100vw;
  height: 100vh;
  position: relative;
  background-color: #fff;
}

#top .logo_wrapper {
  width: 100vw;
  height: 70px;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#top .logo_wrapper img {
  height: 4.5vw;
  max-height: 25px;
}

#top .mark_wrapper {
  width: 100vw;
  height: 70px;
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#top .mark_wrapper img {
  height: 6vw;
  max-height: 30px;
}

#top .slide {
  width: calc(100vw - 140px);
  height: calc(100vh - 140px);
  position: absolute;
  top: 70px;
  left: 70px;
  z-index: 50;
}

.swiper-container {
  width: 100%;
  height: 100%;
}

#top .right_slide {
  left: initial;
  right: 0;
}

.swiper-slide {
  background: no-repeat center center / cover;
}

.swiper-button-next,
.swiper-button-prev {
  width: 50%;
  height: 100%;
  top: 0;
  left: 0;
  right: initial;
}

.swiper-button-next {
  left: initial;
  right: 0;
}

.swiper-button-next:after,
.swiper-container-rtl .swiper-button-prev:after,
.swiper-button-prev:after,
.swiper-container-rtl .swiper-button-next:after {
  content: "";
}

content {
  display: block;
  width: calc(100vw - 80px);
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}

#concept {
  width: 100%;
  max-width: 400px;
  margin: 80px auto 0;
}

#concept h3 br {
  display: none;
}

#news-intro,
#about-intro,
#omamorigokito-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  margin-top: 80px;
}

#about-intro,
#omamorigokito-intro {
  display: flex;
  flex-wrap: wrap;
}

#news-intro .news-image {
  width: calc(50vw - 100px);
  height: calc(50vw - 100px);
  max-width: 380px;
  max-height: 380px;
  background: no-repeat center center / cover url(assets/img/news-thum.jpg);
  margin-top: 62px;
}

#news-intro .news-list {
  width: calc(50vw - 100px);
  height: calc(50vw - 100px);
  max-width: 380px;
  max-height: 380px;
  margin-top: 62px;
}

#news-intro .news-list a {
  width: 100%;
  font-size: 1.3rem;
  padding: 0 0 8px;
  margin: 0 0 20px;
  position: relative;
  display: inline-block;
}

#news-intro .news-list a:nth-of-type(n + 6) {
  display: none;
}

#news-intro .news-list a span {
  font-size: 1.3rem;
  letter-spacing: 0.2rem;
}

#news-intro .news-list a p {
  transition: color .3s;
}

#news-intro .news-list a:after {
  content: "";
  width: 30px;
  height: 1px;
  background-color: #838383;
  position: absolute;
  left: 0;
  bottom: 0;
}

.link-list {
  width: calc(50vw - 100px);
  max-width: 420px;
  display: flex;
  justify-content: space-between;
  margin-top: 62px;
}

.link-list a {
  width: 45%;
  max-width: 180px;
}

.link-list .thum {
  width: 100%;
  height: calc(50vw - 220px);
  max-height: 260px;
  background: no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.link-list .thum h3 {
  font-size: 1.6rem;
  color: #fff;
  font-weight: 600;
  writing-mode: vertical-rl;
  margin: 0;
  font-feature-settings: initial;
}

.link-list a p {
  font-size: 1.2rem;
  line-height: 1.75;
}

#soken1300-intro {
  width: 100vw;
  height: 370px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: no-repeat center center / cover url(assets/img/soken-thum.jpg);
  margin-top: 80px;
}

#soken1300-intro .link-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: inline-block;
  z-index: 200;
}

.vertical-box {
  /*width: 330px;*/
  height: calc(100% - 80px);
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
}

.vertical-box h2,
.vertical-box p,
.vertical-box .vertical-btn {
  color: #fff;
  writing-mode: vertical-rl;
  position: relative;
  font-feature-settings: initial;
}

.vertical-box h2 {
  text-align: left;
  width: auto;
  text-orientation: upright;
  display: block;
  height: 100%;
  margin: 0px 20px;
}

.vertical-box h2 span {
  display: inline-block;
}

_:lang(x)::-internal-media-controls-overlay-cast-button,
.vertical-box h2 span,
#link-intro .link-list a h3 span {
  letter-spacing: -0.8rem;
  margin: -0.6rem 0 0.8rem;
  transform: translateX(3px);
}

_:lang(x)::-moz-placeholder,
.vertical-box h2 span,
#link-intro .link-list a h3 span {
  letter-spacing: 0.2rem;
  margin: -0.6rem 0 0.8rem;
}

_:lang(x)+_:-webkit-full-screen-document,
.vertical-box h2 span,
#link-intro .link-list a h3 span {
  transform: translateX(2px);
}

.vertical-box p {
  height: 78%;
}

.vertical-box .vertical-btn {
  margin-bottom: 0;
}

.vertical-box .vertical-btn:after {
  background-color: #f2f2f2;
}

#link-intro h2,
#access-intro h2,
footer h2 {
  position: static;
}

#link-intro .link-list {
  width: calc(100% - 60px);
  margin: 80px auto 0;
}

#link-intro .link-list a {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  margin: 0 40px;
}

#link-intro .link-list a h3 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.5rem;
  height: 200px;
  margin-left: 10px;
  margin-bottom: 0;
  text-align: left;
  font-feature-settings: initial;
}

#link-intro .link-list a h3 span {
  display: inline-block;
}

#link-intro .link-list a p {
  writing-mode: vertical-rl;
  height: 140px;
  margin-top: 25px;
  font-feature-settings: initial;
}

.link-list .keiseki .thum,
.link-list .ekashihi .thum {
  width: 110px;
  height: 110px;
  background: no-repeat center center / contain;
  transition: transform .3s ease;
}

#link-intro .link-list a:hover .thum {
  transform: scale(0.8);
}


.link-list .keiseki .thum {
  background-image: url(assets/img/bnr/keisekijinja.svg);
}

.link-list .ekashihi .thum {
  background-image: url(assets/img/bnr/ekashihinomiya.png);
}

#access-intro,
footer {
  position: relative;
  text-align: center;
  margin: 80px auto 0;
}

footer p {
  font-size: 1.2rem;
  margin-top: 37px;
  text-align: center;
}

footer h2 {
  display: block;
  border: none;
  padding: 0;
  width: 100px;
  font-size: 2.4rem;
  letter-spacing: 0.6rem;
  line-height: 1.5;
  writing-mode: vertical-rl;
  font-weight: 300;
  display: flex;
  align-items: center;
  margin: 0 auto 0;
  padding-right: 5px;
  font-feature-settings: initial;
}

footer .copyright {
  margin: 70px auto 40px;
  font-size: 1.3rem;
  letter-spacing: 0.2rem;
}

#sns-link {
  position: absolute;
  right: 30px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#sns-link a {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 0;
}

/*PAGES*/
.main-title {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2.5rem;
  letter-spacing: 0.5rem;
  line-height: 1.5;
  font-weight: 300;
  writing-mode: vertical-rl;
  font-feature-settings: initial;
  z-index: 600;
}

.main-title span {
  font-size: 1.5rem;
  letter-spacing: 0.3rem;
  line-height: 1.5;
  font-weight: 300;
  writing-mode: vertical-rl;
  margin-top: 79px;
  transform: translateX(1px);
  display: inline-block;
  font-feature-settings: initial;
}

.main-title:after {
  content: "";
  width: 1px;
  height: 50px;
  background-color: #838383;
  position: absolute;
  top: 100px;
  left: 6px;
  right: 0;
  margin: 0 auto;
}

#top-cover {
  width: 100vw;
  height: 333px;
  position: relative;
  z-index: 500;
}

#top-cover.single {
  position: absolute;
  top: 0;
  left: 0;
}

#top-cover .cover-image {
  width: calc(100% - 140px);
  height: calc(100% - 70px);
  position: absolute;
  top: 60px;
  left: 70px;
  background: no-repeat center center / cover;
}

#top-cover .cover-image.notfound {
  background-image: url(assets/img/cover/notfound.jpg);
}

#top-cover .cover-image.about {
  background-image: url(assets/img/cover/about.jpg);
}

#top-cover .cover-image.shinji-gyoji {
  background-image: url(assets/img/cover/shinji-gyoji.jpg);
}

#top-cover .cover-image.chokusai {
  background-image: url(assets/img/cover/chokusai.jpg);
}

#top-cover .cover-image.keidai-annai {
  background-image: url(assets/img/cover/keidai-annai.jpg);
}

#top-cover .cover-image.ofuda-omamori {
  background-image: url(assets/img/cover/ofuda-omamori.jpg);
}

#top-cover .cover-image.gokito {
  background-image: url(assets/img/cover/gokito.jpg);
}

#top-cover .cover-image.shuccho-saiten {
  background-image: url(assets/img/cover/shuccho-saiten.jpg);
}

#top-cover .cover-image.shinzen-kekkonshiki {
  background-image: url(assets/img/cover/shinzen-kekkonshiki.jpg);
}

#top-cover .cover-image.goyuso {
  background-image: url(assets/img/cover/goyuso.jpg);
}

#top-cover .cover-image.access {
  background-image: url(assets/img/cover/access.jpg);
}

#top-cover .cover-image.faq {
  background-image: url(assets/img/cover/faq.jpg);
}

#top-cover .cover-image.contact {
  background-image: url(assets/img/cover/contact.jpg);
}

#top-cover .cover-image.news {
  background-image: url(assets/img/cover/news.jpg);
}

#page {
  text-align: center;
  margin: 50px auto 0;
}

.fullw img,
.midw img,
.smallw img {
  width: 100%;
  margin-bottom: 30px;
}

#page .fullw {
  width: 100%;
  margin: 0 auto 80px;
}

#page .midw {
  width: 100%;
  max-width: 770px;
  margin: 0 auto 80px;
}

#page .smallw {
  width: 100%;
  max-width: 636px;
  margin: 0 auto 80px;
}

.fullw p,
.midw p,
.smallw p {
  margin-bottom: 30px;
}

.col2-image {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.col2-image img {
  width: calc(50% - 10px);
}

#about-intro.page,
#omamorigokito-intro.page {
  border-top: 1px solid #838383;
  padding-top: 50px;
}

#about-intro.page h2,
#omamorigokito-intro.page h2 {
  top: 50px;
}

.saizin {
  display: flex;
  margin: 0 0 50px;
}

.saizin .thum {
  width: 120px;
  height: 120px;
}

.saizin .thum img {
  width: 100%;
  margin: 0;
}

.saizin .thum p {
  text-align: center;
}

.saizin .info-box {
  width: calc(100% - 170px);
  margin-left: 50px;
}

.saizin .info-box h3 {
  text-align: left;
  border-bottom: 1px solid #838383;
  margin-bottom: 20px;
}

.saizin .info-box dl {
  display: flex;
  align-items: center;
  margin-left: 30px;
}

.saizin .info-box dl dt {
  width: 190px;
  font-size: 1.5rem;
  text-align: left;
}

.saizin .info-box dl dt span {
  font-size: 1.0rem;
  margin-left: 10px;
}

.saizin .info-box dl dd {
  width: calc(100% - 190px);
  font-size: 1.2rem;
  text-align: left;
}

/*神事・行事*/
.calendar-list {
  width: 100%;
  list-style: none;
}

.calendar-list .tab-item {
  margin: 10px 0;
  cursor: pointer;
}

.calendar-list .tab-item dl {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #838383;
  padding-bottom: 5px;
}

.calendar-list .tab-item dl dt {
  font-size: 1.8rem;
  letter-spacing: 0.2rem;
  width: 30%;
  text-align: right;
}

.calendar-list .tab-item dl dd {
  font-size: 1.3rem;
  letter-spacing: 0.2rem;
  width: calc(70% - 40px);
  margin-left: 40px;
  text-align: left;
}

.calendar-list .tab-item .tab-box {
  width: calc(70% - 40px);
  max-height: 0;
  margin: 0 0 0 calc(30% + 40px);
  font-size: 1.4rem;
  font-family: var(--ff-got);
  overflow-y: hidden;
  pointer-events: none;
  transition: max-height .5s ease;
}

.calendar-list .tab-item.active .tab-box {
  max-height: 100vh;
  pointer-events: auto;
  transition: max-height 1s ease;
}

.calendar-list .tab-item .tab-box p {
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  margin-bottom: 10px;
  padding: 15px 0 0;
}

/*勅祭*/
.chokusaisha-list {
  margin: 0 0 40px;
}

.chokusaisha-list p {
  text-align: center;
}

.chokusaisha-list ul {
  width: 600px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 auto;
}

.chokusaisha-list ul li {
  font-size: 1.3rem;
  width: calc(100% / 3);
  min-width: 200px;
  text-align: left;
}

/*境内案内*/
#page {
  position: relative;
}

.keidai-map {
  width: 100%;
  /*position: sticky;
  top: 0;
  left: 0;*/
  margin: 0;
  background-color: #fff;
  z-index: 100;
  padding: 0;
}

.keidai-map .change-btn {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.keidai-map .change-btn p {
  margin: 0 10px;
}

.keidai-map .change-btn a {
  margin: 0 20px 15px;
  padding: 0 5px 5px;
  cursor: pointer;
}

.keidai-map .change-btn a:not(.current):after {
  display: none;
}

.keidai-map .map-img {
  width: 100%;
  height: calc((100vw - 80px) / 2.241);
  max-height: 428px;
  margin: 0 0 10px;
  transition: background-image .3s ease-in-out;
  background: no-repeat center center / contain;
}

.sort-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 20px 0;
  background-color: #fff;
}

.sort-menu a {
  margin: 0 20px 15px;
  padding: 0 5px 5px;
  cursor: pointer;
}

.sort-menu a:not(.current):after {
  display: none;
}

@keyframes zoom-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1.0;
  }
}

.is-animated {
  animation: .6s zoom-in;
  display: none;
}

.sp-content,
.keidai-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.keidai-list:after {
  display: block;
  content: "";
  width: calc((100% / 3) - 35px);
}

.sp-content .box {
  width: calc(50% - 50px);
  margin-bottom: 10px;
}

.sp-content .box img,
.keidai-list .box img {
  margin: 0 0 10px;
}

.sp-content .box p,
.keidai-list .box p {
  font-size: 1.2rem;
  letter-spacing: 0;
}

.keidai-list .box {
  width: calc((100% / 3) - 35px);
  margin-bottom: 10px;
}

/*お札・お守り*/
.caution-container {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background-color: #D5B89F;
  margin-bottom: 40px;
  padding: 40px 0;
}

#page .caution-container .smallw {
  width: calc(100% - 80px);
  margin-bottom: 0;
  padding: 0 40px;
}

.caution-container h4 {
  color: #fff;
  text-align: center;
}

.caution-container p {
  color: #fff;
  font-weight: 400;
  margin-bottom: 0;
}

.sort-menu.omamori {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
}

.ofuda-omamori-list {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 80px auto 0;
}

.ofuda-omamori-list .box {
  width: calc(((100vw - 80px) / 3) - 60px);
  max-width: 240px;
  margin: 0 30px 25px;
}

/*.ofuda-omamori-list .box:nth-of-type(3n) {
  margin-right: 0;
}*/

.ofuda-omamori-list .box .thum {
  width: 100%;
  height: calc(((100vw - 80px) / 3) - 60px);
  max-height: 240px;
  /*background: no-repeat center center / cover;*/
  background-color: #f2f2f2;
  margin: 0 0 10px;
  position: relative;
}

.ofuda-omamori-list .box .thum img {
  height: auto;
}

.ofuda-omamori-list .box .thum .cat {
  content: "";
  position: absolute;
  width: 18px;
  top: -28px;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 8px 2px 5px 6px;
  z-index: 50;
  writing-mode: vertical-rl;
  background-color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  font-feature-settings: initial;
}

.ofuda-omamori-list .box p {
  font-size: 1.2rem;
  line-height: 1.75;
  letter-spacing: 0;
  margin-top: 5px;
}

/*御祈祷*/
.gani-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.gani-list p,
.gani-list a {
  width: 55px;
  font-size: 1.3rem;
  letter-spacing: 0.3rem;
  display: flex;
  text-align: left;
  align-items: center;
  writing-mode: vertical-rl;
  margin: 20px 0;
  font-feature-settings: initial;
}

.gani-list a {
  color: #D5B89F;
}

.brtop {
  border-top: 1px solid #838383;
  text-align: center;
  font-size: 1.2rem;
  padding: 20px 0 0;
}

.jinsei-girei-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 10px 0;
  background-color: #fff;
}

.jinsei-girei-list a {
  margin: 0 10px 20px;
  padding: 0 5px 5px;
}

.order-paper-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}

.order-paper-list a {
  font-size: 1.3rem;
  width: calc(100% / 3);
  text-align: center;
  border-left: 1px solid #838383;
  padding: 30px 10px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.order-paper-list a:nth-of-type(3),
.order-paper-list a:nth-last-of-type(1) {
  border-right: 1px solid #838383;
}

.timesc {
  display: flex;
}

.timesc .gallery {
  width: 300px;
  margin-right: 60px;
}

.timesc .gallery img {
  margin-bottom: 20px;
}

.schedule-line {
  /*width: calc(100% - 280px);*/
  width: 100%;
}

.kekkon .schedule-line {
  width: calc(100% - 360px);
}

.schedule-line dl {
  display: flex;
  margin-bottom: 20px;
}

.schedule-line dt {
  width: 130px;
  font-size: 1.5rem;
  letter-spacing: 0.3rem;
  font-weight: 400;
  margin-right: 25px;
  text-align: left;
}

.schedule-line dd {
  width: calc(100% - 145px);
  font-size: 1.3rem;
  text-align: left;
}

.bridalshop-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 40px 0;
}

.bridalshop-list .box {
  width: calc(50% - 105px);
  border-left: 1px solid #838383;
  border-right: 1px solid #838383;
  padding: 40px;
  margin-bottom: 40px;
}

.bridalshop-list .box h3 {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 0 10px;
}

.bridalshop-list .box h3:after {
  top: initial;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
}

/*アクセス*/
#map {
  width: 100%;
  height: 300px;
  filter: grayscale(100);
}

.access-image {
  margin-top: 20px;
}

.contact-desc p {
  text-align: center;
  margin: 20px 0 0;
}

.contact-form form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

input,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  font-family: minion-3-display, source-han-serif-japanese, "游明朝", YuMincho, serif;
}

.contact-form .box {
  width: calc(50% - 20px);
  text-align: left;
  margin-bottom: 40px;
}

.contact-form .box:nth-of-type(odd) {
  margin-left: 40px;
}

.contact-form .box.select p {
  margin-top: 20px;
}

_:lang(x)::-moz-placeholder,
.contact-form .box.select p {
  margin-top: 9px;
}

_:lang(x)+_:-webkit-full-screen-document,
.contact-form .box.select p {
  margin-top: 14px;
}

.contact-form .box.textarea {
  width: 100%;
}

.contact-form .box p {
  margin-bottom: 10px;
}

input:focus,
select:focus {
  outline: 0;
  background-color: rgb(245, 245, 245);
}

textarea:focus {
  outline: 0;
}

.contact-form .box input,
select {
  width: calc(100% - 20px);
  border: none;
  border-bottom: 1px solid #838383;
  padding: 10px;
  margin: 0;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  font-weight: 300;
  height: 40px;
  background: no-repeat 99% center / 15px 15px url(assets/img/svg/arrow.svg);
}

select option:first-child {
  display: none;
}

textarea {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  height: 150px;
  padding: 10px 20px;
  line-height: 2;
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #fff;
  border: none;
  letter-spacing: 0.2rem;
  font-size: 1.2rem;
  transition: color .3s;
}

.wpcf7 .ajax-loader {
  transform: scale(0.6);
  position: absolute;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
  width: 100%;
  margin-top: 40px;
  border: none;
  color: #B6262E;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: #46b450;
}

.wpcf7-not-valid-tip {
  color: #B6262E;
  font-weight: 300;
  margin-top: 10px;
}

.faq-wrapper p {
  text-align: center;
  margin-bottom: 40px;
}

.faq-list .box {
  margin-bottom: 40px;
}

.faq-list .box h3 {
  line-height: 1.5;
  padding: 0 25px;
  margin-bottom: 10px;
  position: relative;
}

.faq-list .box h3:after {
  content: "Q";
  font-size: 2.1rem;
  color: #9F8069;
  background-color: #fff;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 1px;
  left: 0;
  bottom: initial;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1px;
}

.faq-list .box p {
  padding: 0 25px;
  text-align: left;
}

/*新着情報*/
.news-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;
}

.news-wrapper a {
  width: calc((100% / 4) - 35px);
  margin: 0 46px 30px 0;
  text-align: left;
}

.news-wrapper a:nth-of-type(4n) {
  margin-right: 0;
}

.news-wrapper a .crop {
  width: 100%;
  height: calc(((100vw - 80px) / 3) - 35px);
  max-height: 281px;
  margin-bottom: 10px;
  overflow: hidden;
  position: relative;
}

.news-wrapper a .thum {
  width: 100%;
  height: 100%;
  background: no-repeat center center / cover;
  filter: grayscale(100);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  transition: .5s ease;
}

.news-wrapper a .crop:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: #D5B89F;
  mix-blend-mode: overlay;
}

.news-wrapper a time {
  font-size: 1.0rem;
  letter-spacing: 0.2rem;
  margin-bottom: 3px;
  display: block;
}

.news-wrapper a h4 {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.5;
}

.news-wrapper a:hover .crop .thum {
  transform: scale(1.1);
  filter: inherit;
}

/*.news-wrapper a:hover .crop:after {
  opacity: 0;
}
*/
.newspage.pagination {
  width: 100%;
  margin: 40px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.newspage.pagination .number-list {
  margin: 0 30px 0;
}

.newspage.pagination .number-list a,
.wp-pagenavi a,
.wp-pagenavi span {
  font-size: 1.4rem;
  font-weight: 300;
  padding: 5px 10px;
  margin: 0 5px;
  position: relative;
  border: none;
}

.wp-pagenavi span.current {
  font-weight: 300;
}

.newspage.pagination .number-list a.current:after,
.wp-pagenavi span.current:after {
  content: "";
  width: 50%;
  height: 1px;
  background-color: #838383;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
}

.newspage.pagination .prev-btn,
.newspage.pagination .next-btn {
  font-size: 1.3rem;
  padding: 5px 10px;
  margin: 0 30px;
}

.newspage.pagination .hide {
  opacity: 0;
  pointer-events: none;
}

.newspage.pagination .back-btn {
  font-size: 1.3rem;
  padding: 5px 10px;
}

#page.single .title {
  margin-bottom: 50px;
}

#page.single h2 {
  max-width: 770px;
  text-align: left;
  font-size: 2.4rem;
  line-height: 1.75;
  border: none;
  padding: 0 0 10px;
  margin: 0 0 14px;
  position: relative;
}

#page.single h2:after {
  content: "";
  width: 30px;
  height: 1px;
  background-color: rgb(200, 200, 200);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
}

#page.single time {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  color: rgb(180, 180, 180);
}

/* chokusai-reiwa7=== */
.chokusai7 .sub-title {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  margin-bottom: 50px;
  position: relative;
}

.chokusai7 .sub-title:after {
  content: '';
  width: 50px;
  height: 1px;
  background-color: #939393;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
}

.chokusai-date {
  font-size: 2.4rem;
  text-align: center;
}

.chokusai-date span {
  display: block;
  font-size: 0.5em;
  margin-top: 15px;
}

#chokusai7-intro {
  width: 100vw;
  min-height: 370px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: no-repeat center center / cover url(assets/img/chokusai7-1.jpg);
  /* background: no-repeat center 37% / cover url(assets/img/chokusai7-1.jpg); */
  margin-top: 80px;
}

#chokusai7-intro:after {
  content: '';
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
}

#chokusai7-intro .link-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: inline-block;
  z-index: 200;
}

#chokusai7-intro .inner {
  width: calc(100% - 80px);
  max-width: 960px;
  margin: 0 auto;
  padding: 50px 0 45px;
  position: relative;
  z-index: 100;
}

#chokusai7-intro .inner * {
  color: #fff;
}

#chokusai7-intro .inner h2 {
  font-size: 2.7rem;
  line-height: 1.5;
  border: none;
  padding: 0;
  margin-bottom: 40px;
}

#chokusai7-intro .inner h2 span {
  display: block;
  font-size: 1.4rem;
  margin-top: 0;
}

#chokusai7-intro .inner h3 {
  font-size: 2.1rem;
  padding-left: 0;
  margin-left: 0;
}

#chokusai7-intro .inner h3:after {
  display: none;
}

#chokusai7-intro .inner .btn {
  padding-left: 0;
  padding-right: 60px;
  margin: 30px 0 0;
}

#chokusai7-intro .inner .btn:after {
  width: 50px;
  left: auto;
  right: 0;
  top: 0;
  margin: auto 0;
  background-color: rgb(200, 200, 200);
}

#chokusai7-intro.red {
  background: no-repeat center center / cover url(assets/img/soken-thum-gray.jpg);
  /* background: no-repeat center 37% / cover url(assets/img/chokusai7-1-gray.jpg); */
}

#chokusai7-intro.red:before {
  content: '';
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(85, 85, 85, 0));
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 18;
  mix-blend-mode: multiply;
  opacity: 0.8;
}

#chokusai7-intro.red:after {
  background-color: #D44A1C;
  mix-blend-mode: screen;
  opacity: 0.7;
}

#chokusai7-modal {
  width: 100%;
  height: 100vh;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .2s ease-in-out;
}

#chokusai7-modal.hide {
  opacity: 0;
  pointer-events: none;
}

#chokusai7-modal .inner {
  width: auto;
  height: calc(100% - 80px);
  aspect-ratio: 9/13;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

#chokusai7-modal .inner:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 250;
  background-color: rgba(0, 0, 0, 0.4);
}

#chokusai7-modal .inner .link-container {
  display: block;
  width: 100%;
  height: 100%;
  z-index: 500;
  position: absolute;
  top: 0;
  left: 0;
}

#chokusai7-modal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
}

#chokusai7-modal .inner .info {
  padding: 50px;
  position: relative;
  top: 0;
  left: 0;
  width: calc(100% - 100px);
  height: calc(100% - 100px);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

#chokusai7-modal .inner .info * {
  color: #fff;
}

#chokusai7-modal .inner h2 {
  font-size: 2.7rem;
  line-height: 1.5;
  border: none;
  padding: 0;
  margin-bottom: 40px;
  margin-left: 0;
}

#chokusai7-modal .inner h2 span {
  display: block;
  font-size: 1.4rem;
  margin-top: 0;
}

#chokusai7-modal .inner h3 {
  font-size: 2.1rem;
  padding-left: 0;
  margin-left: 0;
}

#chokusai7-modal .inner h3:after {
  display: none;
}

#chokusai7-modal .inner .btn {
  padding-left: 0;
  padding-right: 60px;
  margin: 30px 0 0;
}

#chokusai7-modal .inner .btn:after {
  width: 50px;
  left: auto;
  right: 0;
  top: 0;
  margin: auto 0;
  background-color: rgb(200, 200, 200);
}

.chokusai-intro-close-btn {
  color: #fff;
  font-size: 1.3rem;
  padding: 20px;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1000;
  cursor: pointer;
}

#page .fullw.chokusai-slide-wrapper {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

#page .fullw.chokusai-slide-wrapper .swiper-slide {
  width: calc(100% - 180px);
  max-width: 700px;
  margin: 0 40px;
}

#page .fullw.chokusai-slide-wrapper .swiper-slide img {
  aspect-ratio: 3/1.98;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 10px;
}

#page .fullw.chokusai-slide-wrapper .swiper-slide p {
  text-align: center;
}

@media screen and (max-width: 768px) {
  .menu-wrapper .menu-container {
    width: 575px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .menu-wrapper h1,
  .menu-wrapper .menu-list {
    width: 575px;
    display: flex;
  }

  .menu-wrapper h1 {
    justify-content: flex-end;
    display: block;
    margin-bottom: 70px;
    width: auto;
    position: fixed;
    top: 30px;
    right: 20px;
    margin: 0;
  }

  .menu-wrapper .menu-list {
    width: 540px;
    margin-left: 0;
    margin-right: 35px;
    margin-bottom: 70px;
  }

  #news-intro .news-list a:nth-of-type(n + 4) {
    display: none;
  }

  .saizin .info-box dl {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .saizin .info-box dl dt,
  .saizin .info-box dl dd {
    width: 100%;
  }

  .chokusaisha-list ul {
    width: 400px;
  }

  .sp-content .box {
    width: calc((100% / 2) - 25px);
  }

  .keidai-list .box {
    width: calc((100% / 2) - 25px);
  }

  #page .fullw.chokusai-slide-wrapper .swiper-slide {
    width: calc(100% - 200px);
    margin: 0 20px;
  }

  /*  .ofuda-omamori-list .box {
    width: calc(((100vw - 80px) / 2) - 53px);
    margin-right: 79px;
    margin-bottom: 25px;
  }

  .ofuda-omamori-list .box:nth-of-type(3n) {
    margin-right: 79px;
    margin-bottom: 25px;
  }

  .ofuda-omamori-list .box:nth-of-type(2n) {
    margin-right: 0;
  }

  .ofuda-omamori-list .box .thum {
    height: calc(((100vw - 80px) / 2) - 53px);
  }*/
}

@media screen and (max-width: 599px) {
  #top .slide {
    width: calc(100vw - 100px);
    height: calc(100vh - 120px);
    top: 60px;
    left: 50px;
  }

  #top .logo_wrapper,
  #top .mark_wrapper {
    height: 60px;
  }
}

@media screen and (max-width: 480px) {
  br.pc-only {
    display: none;
  }

  br.sp-only {
    display: block;
  }

  #concept {
    margin-top: 40px;
  }

  #concept h3 {
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
  }

  #concept p {
    font-size: 1.2rem;
  }

  #news-intro,
  #about-intro,
  #omamorigokito-intro,
  #soken1300-intro,
  #access-intro,
  footer {
    margin-top: 50px;
  }

  .menu-wrapper {
    display: block;
    overflow-y: scroll;
  }

  .menu-wrapper .menu-container {
    width: calc(100% - 40px);
    position: relative;
    padding-top: 50px;
    padding-left: 40px;
    display: block;
  }

  .menu-wrapper h1 {
    width: auto;
    position: fixed;
    top: 30px;
    right: 20px;
    margin: 0;
  }

  .menu-wrapper .menu-list {
    width: 100%;
    flex-direction: column;
    margin-bottom: 40px;
  }

  .menu-wrapper a,
  .menu-wrapper p {
    writing-mode: horizontal-tb;
    margin-left: 0;
    margin-top: 10px;
  }

  .menu-wrapper .sub-list {
    margin-bottom: 15px;
    margin-left: 0;
  }

  .menu-wrapper .sub-list a {
    padding-top: 5px;
    padding-left: 20px;
    margin-top: 0;
  }

  .menu-wrapper .sub-list {
    flex-direction: column;
  }

  .menu-wrapper .sub-list a:after {
    width: 10px;
    height: 1px;
    right: inherit;
    top: 17px;
  }

  .sns-list {
    flex-direction: row;
    justify-content: flex-start;
    margin: 0 0 20px;
  }

  .menu-wrapper .sns-list a {
    margin: 0 20px 0 0;
  }

  .menu-wrapper .credit {
    line-height: 1.25;
  }

  .menu-wrapper .credit span {
    letter-spacing: 0.2rem;
  }

  #news-intro .vertical-btn {
    margin: 25px auto 0;
    padding: 12px 30px;
    position: relative;
    display: inline-block;
    letter-spacing: 0.2rem;
    font-size: 1.2rem;
    writing-mode: horizontal-tb;
    text-align: center;
  }

  #news-intro .vertical-btn:after {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #838383;
    transform: scale(1, 1);
    transform-origin: left top;
    transition: transform .3s;
  }

  h2.vertical {
    font-size: 2.1rem;
  }

  .link-list .thum h3 {
    font-size: 1.5rem;
  }

  .menu-btn {
    top: 20px;
    left: 15px;
  }

  .main-title {
    font-size: 1.8rem;
    right: 9px;
  }

  .main-title:after {
    height: 40px;
    top: 75px;
    left: 4px;
  }

  .main-title span {
    font-size: 1.2rem;
    margin-top: 60px;
  }

  #news-intro .news-image {
    display: none;
  }

  #news-intro .news-list {
    width: 100%;
    max-width: initial;
    height: initial;
    margin-top: 150px;
  }

  .link-list {
    width: 100%;
  }

  .link-list:nth-of-type(2) {
    margin-top: 30px;
  }

  .link-list a {
    width: 40%;
  }

  .link-list .thum {
    width: 100%;
    height: calc(60vw - 55px);
  }

  #link-intro .link-list {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translate(-50%);
  }

  .vertical-box h2 span,
  #link-intro .link-list a h3 span {
    letter-spacing: 0.6rem;
    margin: 0;
  }

  #top-cover {
    height: 220px;
  }

  #top-cover .cover-image {
    width: calc(100% - 80px);
    height: calc(100% - 40px);
    position: absolute;
    top: 50px;
    left: 40px;
    background: no-repeat center center / cover;
  }

  .saizin {
    flex-direction: column;
    align-items: center;
  }

  .saizin .thum {
    margin-bottom: 20px;
  }

  .saizin .info-box {
    width: 100%;
    margin: 0;
  }

  .chokusaisha-list ul {
    width: 100%;
  }

  .chokusaisha-list ul li {
    width: 100%;
    text-align: center;
  }

  .col2-image {
    flex-direction: column;
  }

  .col2-image img {
    width: 100%;
  }

  .keidai-map {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .sp-content .box,
  .keidai-list .box {
    width: calc((100% / 2) - 10px);
    margin-bottom: 0;
  }

  .ofuda-omamori-list {
    justify-content: space-between;
  }

  .ofuda-omamori-list .box {
    width: calc(((100vw - 80px) / 2) - 20px);
    margin: 0 0 25px;
  }

  /*.ofuda-omamori-list .box:nth-of-type(3n) {
    margin-right: 40px;
    margin-bottom: 25px;
  }*/

  /*.ofuda-omamori-list .box:nth-of-type(2n) {
    margin-right: 0;
  }*/

  .ofuda-omamori-list .box .thum {
    height: calc(((100vw - 80px) / 2) - 20px);
  }

  .order-paper-list a {
    width: calc(100% / 2);
  }

  .order-paper-list a:nth-of-type(3) {
    border-right: none;
  }

  .order-paper-list a:nth-of-type(2),
  .order-paper-list a:nth-of-type(4),
  .order-paper-list a:nth-last-of-type(1) {
    border-right: 1px solid #838383;
  }

  .bridalshop-list .box {
    width: 100%;
  }

  .news-wrapper {
    margin-top: 0;
  }

  .news-wrapper a {
    width: calc((100% / 2) - 23px);
  }

  .news-wrapper a .crop {
    height: calc(((100vw - 80px) / 1.4) - 23px);
  }

  .news-wrapper a:nth-of-type(4n) {
    margin: 0 46px 30px 0;
  }

  .news-wrapper a:nth-of-type(2n) {
    margin-right: 0;
  }

  .newspage.pagination .number-list {
    margin: 0;
  }

  .newspage.pagination .prev-btn,
  .newspage.pagination .next-btn {
    margin: 0 10px;
  }

  .newspage.pagination .number-list a {
    margin: 0;
  }

  .faq-list .box h3 {
    padding-right: 0;
  }

  .faq-list .box p {
    padding: 0;
  }

  .contact-form .box {
    width: 100%;
  }

  .contact-form .box:nth-of-type(odd) {
    margin-left: 0;
  }

  .contact-form .box.textarea {
    margin-bottom: 0;
  }

  #page.single .title {
    margin-bottom: 35px;
    padding-top: 20px;
  }

  #page.single h2 {
    font-size: 2.1rem;
    padding-bottom: 20px;
  }

  .timesc {
    flex-wrap: wrap;
  }

  .timesc .gallery,
  .timesc .schedule-line {
    width: 100%;
    margin: 0;
  }

  .chokusai7 .sub-title {
    font-size: 2.1rem;
  }

  #chokusai7-modal .inner {
    width: calc(100% - 50px);
    height: auto;
    aspect-ratio: 9/14;
  }

  #chokusai7-modal .inner .info {
    padding: 20px 25px;
    width: calc(100% - 50px);
    height: calc(100% - 40px);
  }

  #chokusai7-modal .inner .info h2 {
    font-size: 2.4rem;
  }

  #page .fullw.chokusai-slide-wrapper .swiper-slide {
    width: calc(100% - 100px);
    margin: 0 15px;
  }
}

/*縦の線の横位置、Firefoxでのリセット*/

_:lang(x)::-moz-placeholder,
.vertical-btn:after,
.main-title:after,
.menu-wrapper .sub-list a::after {
  left: 0;
}

@media screen and (max-width: 320px) {
  #link-intro .link-list a {
    margin: 0 20px;
  }

  #soken1300-intro {
    height: 500px;
  }

  .vertical-box p {
    font-size: 1.2rem;
  }

  #sns-link {
    right: 15px;
  }

  #sns-link a {
    margin-top: 15px;
  }
}