@charset "UTF-8";
/* placeholder color */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;700;900&display=swap");

/* ---------共通--------- */

.kv {
  margin-bottom: 112px;
}

.kv__wrap {
  /* height: 320px; */
}

.kv__inner {
  display: flex;
}

.kv__title-word,.event__title,.goods__name {
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-right: auto;
  margin-left: auto;
}

.kv__title-word span {
  font-size: 23.5px;
  letter-spacing: 3px;
}

.kv__titleSpace {
  width: 96px;
}

.kv__title-logo {
  padding: 20px;
}

.kv__img {
  height: 280px;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  width: calc(100% - 96px);
}

.wrap-padding {
  padding: 0 32px;
  margin: auto;
}



/* ------------------海南神社について------------------ */

/* ---------説明--------- */


.explain {
  position: relative;
  margin-bottom: 90px;
}

.explain__wrap {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 0 18vw 0;
  align-items: center;
  display: block;
  margin: 0 auto;
  max-width: 1280px;
}

.explain__titleWrap {
  margin-bottom: 40px;
}

.explain__title {
  position: relative;
  text-align: center;
}

.explain__title:before {
  background: #D9251C;
  height: 120%;
  content: "";
  display: block;
  left: 50%;
  position: absolute;
  top: 52px;
  width: 1px;
}

.explain__paragraph {
  margin-top: 70px;
  font-size: 16px;
  line-height: 32px;
}

/* ---------御祀神について--------- */

#omaturigami {
  padding-top: 200px;
}

.omaturigami {
  background-color: #FFF6F6;
  position: relative;
}


/* ---------祈祷案内--------- */

.omaturigami-heading {
  margin-bottom: 80px;
}

.omaturigami-wrap {
  margin-bottom: 40px;
  max-width: 1088px;
  margin: auto;
}

.omaturigami-title {
  position: relative;
  text-align: left;
  font-size: 20px;
  margin-bottom: 32px;
}

.omaturigami-title:before {
  background: #D9251C;
  height: 1px;
  content: "";
  display: block;
  left: 0%;
  position: absolute;
  top: 15px;
  width: 100%;
}

.omaturigami-inner {
  display: flex;
  gap: 3%;
  margin-bottom: 40px;
}

.omaturigamioLefttext-inner {
}

.omaturigamiRighttext-inner {
  margin-bottom: 48px;
  flex-direction: row-reverse;
}

.omaturigami-lead {
  margin: auto;
  font-size: 16px;
  line-height: 2.3;
}

.omaturigami-list {
  margin-bottom: 48px;
}

.omaturigami-imgFrame {
  width: 48.5%;
}

.omaturigami-contentBlock {
  width: 48.5%;
}

.omaturigami-title span {
  background-color: #FFF6F6;
  position: relative;
  padding-right: 16px;
  font-weight: 700;
}

.omaturigami-subtext {
  background-color: #FFF;
  border-left: 4px solid #D9251C;
  padding: 20px;
  margin-bottom: 32px;
  font-size: 16px;
  display: inline-block;
}

.explainInside__wrap {
  margin-bottom: 40px;
  max-width: 1088px;
  margin: auto;
}

.explainInside__img {
  position: static;
  text-align: center;
  margin: 80px 0;
}

.inside-title span {
  background-color: #fff!important;
}

#explain-about {
  margin-bottom: 0px;
}

.explain__paragraph-pray {
  text-align: center;
}

/* ---------神前結婚式--------- */


.wedding__grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列を等間隔に設定 */
  gap: 16px; /* 要素間の隙間 */
  transform: translateY(72px);
}

.wedding__grid-item {
  position: relative;
}

.wedding__grid-itemText {

  bottom: 0;
  padding: 16px 32px 16px 4px;
  background-color: rgb(255 255 255 / 80%);
  list-style-type: disc; /* ・を表示 */
  width: 100%;
}

.wedding__grid-itemText li::marker {
  font-size: 1em; /* マーカー（・）のサイズ調整 */
}

.wedding__grid-item:nth-child(3n + 1) + .wedding__grid-itemText {
  margin-top: 0px; /* 1列目 */
}

.wedding__grid-item:nth-child(3n + 2) + ul {
  margin-top: 20px; /* 2列目を少し下に */
}

.wedding__grid-item:nth-child(3n) + .wedding__grid-itemText {
  margin-top: 40px; /* 3列目をさらに下に */
}

.wedding__grid-itemText li {
  transform: translateX(20px);
}

.wedding__grid-item:nth-child(3n + 1) {
  margin-top: 0px; /* 1列目 */
}

.wedding__grid-item:nth-child(3n + 2) {
  margin-top: 20px; /* 2列目を少し下に */
}

.wedding__grid-item:nth-child(3n) {
  margin-top: 40px; /* 3列目をさらに下に */
}

.wedding__grid-itemOrder {
  font-size: 15px;
  margin-bottom: 12px;
  font-weight: 600;
}

.wedding__grid-itemText {
  /* 最小1.2rem | SP:1.4rem | TB:1.5rem | PC:1.6rem | 最大1.8rem */
	font-size: clamp(1.2rem, calc(0.25vw + 1.3rem), 1.8rem);
}

.wedding__middleWrap {
  background-image: url(../wedding/img/wedding__middleBack.png);
  width: 100%;
  height: 800px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 0 18vw 14px;
  align-items: center;
  display: flex;
}

.button__primary-wedding {
  margin: 120px auto 120px;
  display: none;
}

/* ---------年間行事--------- */

.event,.goods {
  margin-bottom: 120px;
}

.event__wrap,.goods__wrap {
  max-width: 1088px;
  margin: auto;
}

.event__content {
  display: flex;
  margin-bottom: 64px;
  border-bottom: 1px solid #ffabab;
}

.event__block {
  display: flex;
  gap: 2%;
  flex-wrap: wrap;
  justify-content: space-between;
}

.event__fes {
  width: 48%;
  margin-bottom: 48px;
}

.event__title {
  margin: 0 4% 0 2%;
  font-size: 24px;
  font-weight: 700;
}

.event__img {
  margin-bottom: 16px;
}

.event__paragraph-title {
  margin-bottom: 20px;
  font-size: 18px;
  border-left: 5px solid #D9251C;
  padding: 8px 16px;
  background-color: #FFF6F6;
  font-weight: 600;
}

.event__paragraph-sentence {
  font-size: 16px;
  margin-bottom: 20px;
  min-height: 48px;
}

/* ---------ご祈祷--------- */

.pray__middleWrap {
  background-image: url(../pray/img/post-back.png);
  width: 100%;
  height: 800px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 0 18vw 14px;
  align-items: center;
  display: flex;
}

/*アコーディオン全体*/
.accordion-area{
  list-style: none;
  width: 100%;
  max-width: 900px;
  margin:0 auto;
}

.accordion-area li{
  margin: 10px 0;
}

.accordion-area section {
  border: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title {
  position: relative;/*+マークの位置基準とするためrelative指定*/
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: all .2s ease;
  padding: 16px;
}

/*アイコンの＋と×*/
.title::before,
.title::after{
  position: absolute;
  content:'';
  width: 15px;
  height: 1px;
  background-color: #D9251C;
}

.title::before{
  top:48%;
  right: 16px;
  transform: rotate(0deg);  
}

.title::after{    
  top:48%;
  right: 16px;
  transform: rotate(90deg);
}

/*　closeというクラスがついたら形状変化　*/
.title.close::after{
  transform: rotate(0deg);
}

/*アコーディオンで現れるエリア*/
.box {
  display: none;/*はじめは非表示*/
  margin: 0 16px 20px 16px;
}

.box p,.box img {
  margin-bottom: 20px;
}

.box p {
  font-size: 14px;
  line-height: 1.8;
}

.button__pray {
  width: auto;
  min-width: auto!important;
}

.button__pray a {
  font-size: 15px!important;
  height: 48px;
  line-height: 48px;
}

.pray__grid-container {
  margin: 0 8.5vw 240px;
}

/* タブ */

.tab {
  display: none;
}

.tab-active {
  display: block;
}

.tab-buttons {

}

.tab-buttons button {
  cursor: pointer;
  padding: 10px 20px;
  border: none;
  border-bottom: 3px solid #e2e2e2;
  background-color: #fff;
  font-family: serif;
  font-size: 15px;
  font-weight: 600;
  color: #8e8e8e;
}

.tab-buttons button.tab-active {
  border-bottom: 3px solid #D9251C;
  color: #000;
}

.pray__tab-container {
  display: flex;
  justify-content: center;
  margin-bottom: 128px;
}

.pray__tab-button {
  width: 30%;
}

/* ---------御守 ・授与品・御朱印--------- */

.goods__content {
}

.goods__block {
  display: flex;
  gap: 2%;
  justify-content: space-between;
  flex-wrap: wrap;
}

.goods__box {
  display: flex;
  width: 30%;
  margin-bottom: 56px;
}

.goods__name {
  margin: 0 4% 0 2%;
  font-size: 18px;
  font-weight: 700;
}

.goods__img img {
  margin-bottom: 16px;
  border: 1px solid #e2e2e2;
}

.goods__paragraph-title {
  margin-bottom: 20px;
  font-size: 18px;
  border-left: 5px solid #D9251C;
  padding: 8px 16px;
  background-color: #FFF6F6;
  font-weight: 600;
}

.goods__paragraph-sentence {
  font-size: 16px;
  margin-bottom: 20px;
}

/* ---------アクセス--------- */

.access {
  margin-bottom: 120px;
}

.access__wrap {
  max-width: 960px;
  margin: auto;
}

.access__title {
  text-align: center;
  font-size: 26px;
  font-weight: 550;
  margin-bottom: 64px;
}

.access__map {
  text-align: center;
  margin-bottom: 64px;
}

.access__address {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 64px;
}

.access__car, .access__transportation {
  padding: 48px 0;
  border-top: 1px solid #000;
  width: 72%;
  margin: auto;
}

.access__transportation {
  border-bottom: 1px solid #000;
}

.access__car-title,.access__transportation-title {
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 24px;
}

.access__transportation-paragraph, .access__car-paragraph {
  font-size: 16px;
}

/* ---------お問い合わせ--------- */


.contactGuide {
  margin-bottom: 120px;
}

.contactGuide__wrap {
  max-width: 960px;
  margin: auto;
}

.contactGuide__title {
  text-align: center;
  font-size: 26px;
  font-weight: 550;
  margin-bottom: 64px;
}

.contactGuide__map {
  text-align: center;
  margin-bottom: 64px;
}

.contactGuide__address {
  text-align: center;
  font-size: 16px;
  margin: 0 32px 64px;
}

.contactGuide__car, .contactGuide__transportation {
  padding: 48px 0;
  border-top: 1px solid #000;
  width: 72%;
  margin: 0 auto 90px;
  text-align: center;
  border-bottom: 1px solid #000;
}

.contactGuide__transportation {
  border-bottom: 1px solid #000;
}

.contactGuide__tel-number {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 24px;
}

.contactGuide__tel {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
}


.contactGuide__transportation-paragraph, .contactGuide__car-paragraph {
  font-size: 16px;
}

#contactForm {
  width: 60%;
  margin: auto;
}

.form-group label {
  font-size: 14px;
}


.form-group .error {
  color: red;
  font-size: 0.9em;
}

.form-group {
  margin-bottom: 48px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input,.form-group textarea,.form-group button {
  width: 100%;
  padding: 8px;
  font-size: 16px;
  height: 60px;
}

.form-group input,.form-group textarea {
  border: none;
}

.form-group input,.form-group textarea {
  border-radius: 4px;
}


.form-group input {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  height: 60px;
}

#contactForm input, #contactForm textarea {
  border: 1px solid #bbbbbb;
}

.form-group textarea {
  height: 240px;
}

#contactForm button {
  background-color: #D9251C;
  color: white;
  border: none;
  cursor: pointer;
  padding: 16px;
  font-size: 16px;
  width: 260px;
  font-family: serif;
  margin: auto;
  display: block;
  border: 1px solid #D9251C;
}

#contactForm button:hover {
  background-color: #fff;
  color: #D9251C;
}


.contactGuide__address span {
  padding: 0 16px;
  text-decoration: underline;
}


/* ---------よくあるご質問--------- */


.faq {
  margin-bottom: 120px;
}

.faq__wrap {
  max-width: 960px;
  margin: auto;
}

.faq__q-a {
  padding: 56px 48px;
  border-top: 1px solid #000;
  width: 78%;
  margin: 0 auto;
  text-align: center;
  text-align: left;
  font-size: 15px;
  line-height: 32px;
}

.faq__block {
  display: flex;
}

.faq__question {
  margin-bottom: 36px;
}

.faq__block-qa {
  margin-right: 24px;
}

.faq__q-a--last {
  border-bottom: 1px solid #000;
  margin-bottom: 90px;
}

/* ---------お知らせ--------- */

#news {
  margin-bottom: 60px;
}

.news__date {
  font-weight: 700;
  text-align: center;
  color: #bbbbbb;
  font-size: 15px;
  margin-bottom: 24px;
}

.news__paragraph {
  margin-top: 70px;
  font-size: 16px;
  line-height: 32px;
}

.news__listWrap {
  margin-top: 64px;
  margin-bottom: 96px;
}

.news__subTitle {
  font-size: 18px;
  margin-bottom: 16px;
}

.news__subTitle-2 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
}

.news__list {
  margin-bottom: 64px;
}

.news__list ul {
  list-style-type: initial;
  margin-left: 12px;
  margin-bottom: 32px;
  font-size: 15px;
}

.news__list li {
  margin-bottom: 8px;
}


/* ---------英語対応--------- */

.slider__paragraph-en h1 {
  font-size: 3vw;
}

.top__about-en {
  display: flex;
  margin: 0 7.5% 0;
  gap: 2.5%;
}

.top__about__img-en {
  width: 280%;
}

@media (max-width: 600px) {
  .top__about-en {
    display: grid;
    margin: 0 7.5% 32px;
    gap: 2.5%;
  }
  .top__about__img-en {
    width: 100%;
  }
  .top__about-en-order-2 {
    order: 2;
  }
  .top__about-en-order-1 {
    order: 1;
    margin-bottom: 32px;
  }
  .top__guide-inner-en {
    /* grid-template-columns: repeat(1, 1fr); */
  }
  .top__guide-inner-en {
    gap: 3.6% !important;
  }
  .top__guide-inner-en span {
    font-size: 15px!important;
  }
  .slider__paragraph-en h1 {
    font-size: 3.8vw;
    margin: 32px 2% 0;
  }
}

.top__guide-en {
  margin: 0px 6% 48px;
}

.top__about-inner-en h2 {
  font-size: 23.5px;
  margin-bottom: 18px;
}

.top__about-lead-en p {
  font-size: 17.5px;
}

.top__guide-inner {
  padding: 0 0 70px!important;
}

.top__guide-inner-en  {
  gap: 3.2%;
}

.top__guide-img-en {
}

.top__guide-inner-en span {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: bold;
}

.top__guide-inner-en span,.top__guide-inner-en img {
  display: inline-block;
  margin-bottom: 12px;
}

.top__guide-inner-en p {
  font-size: 15px;
}

/* ---------レスポンシブ--------- */

@media (max-width: 620px) {
  .omaturigami-inner {
    display: grid;
  }
  .omaturigami-contentBlock,.omaturigami-imgFrame {
    width: 100%;
  }
  .wrap-padding {
    padding: 0 24px;
  }
  .omaturigami-list {
    margin-bottom: 0px;
  }
  .omaturigami-inner {
    margin-bottom: 96px;
  }
}

@media (max-width: 600px) {
  .kv__inner {
    position: relative;
  }
  .kv__img {
    width: 100%;
  }
  .kv__title-word span {
    font-size: 21.5px;
  }
  .kv__titleSpace {
    width: 72px;
    position: absolute;
    background-color: #fff;
    left: 10%;
    padding-bottom: 14px;
    opacity: 0.95;
  }
  .kv__title-logo {
    padding: 16px 16px 12px;
  }
  .event__block {
    display: grid;
  }
  .event__fes {
    width: 100%;
  }
  .event__paragraph-sentence {
    width: 100%!important;
  }
  .goods__box {
    width: 49%;
  }
  #news .explain__title {
    margin-bottom: 120px;
  }
  #news .explain__title:before {
    top: 90px;
  }
  .faq__q-a {
    width: 82%;
    padding: 56px 24px;
  }
  .wedding__grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .wedding__grid-item:nth-child(3n + 1) {
    margin-top: 0px; /* 1列目 */
  }
  
  .wedding__grid-item:nth-child(3n + 2) {
    margin-top: 0px; /* 2列目を少し下に */
  }
  
  .wedding__grid-item:nth-child(3n) {
    margin-top: 0px; /* 3列目をさらに下に */
  }

  .wedding__grid-item:nth-child(2n) {
    margin-top: 40px; /* 1列目 */
  }
  
  .wedding__grid-item:nth-child(2n + 1) {
    margin-top: 20px; /* 2列目を少し下に */
  }
  .wedding__grid-itemOrder {
    font-size: 15px;
    margin-bottom: 12px;
  }
  #weddingOrder__wrap, #pray__wrap {
    padding: 0 6.4vw 0;
  }
  .wedding__middleWrap {
    height: 936px;
  }
  .pray__grid-container {
    margin: 0 4.8vw 240px;
  }
  .pray__tab-button {
    width: 40%;
  }
}

@media (max-width: 767px) {
  .explain__wrap {
    padding: 0px 6.4vw 0;
  }
  .access__map iframe,.access__address {
    width: 90%;
  }
  .access__address {
    margin: 0 auto 64px;
  }
}

@media (max-width: 440px) {
  .faq__q-a {
    padding: 56px 8px;
  }
  .faq__block-qa {
    margin-right: 16px;
  }
  .faq {
    margin-top: -24px;
  }
  .wedding__grid-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .pray__grid-container {
    margin: 0 5.6vw 180px;
  }
}
