/*
Theme Name: Imari Jinja Theme
Theme URI: https://imari-jinja.jp/
Author: 株式会社エーワン
Author URI: #
Description: 伊萬里神社オリジナルテーマ
Version: 1.0
Text Domain: imari-jinja-theme
*/

body {
    margin: 0;
    padding: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  font-weight: 500; /* or 600 */
}


/* パンくず */
.breadcrumb {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11pt;
  line-height: 1.5;
  color: #0000ff;
  text-align: left;
  margin-bottom: 10px;
  width: 700px;
  margin: 20px auto 30px;
}
/* スマホ調整（767px以下） */
@media (max-width: 767px) {
.breadcrumb {
    width: 85%;
    max-width: 85%;
	margin-top:10px;
	margin-bottom:20px;
}
}

.breadcrumb a {
  color: #0000ff;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* トップページのビジュアル画像 */
.top-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
/* PC表示は最大幅760pxで中央寄せ */
@media (min-width: 768px) {
    .top-visual {
        max-width: 760px;
        margin: 0 auto;
    }
}
/* モバイルはフル幅 */
@media (max-width: 767px) {
    .top-visual {
        width: 100%;
        margin: 0px 0px 30px;
    }
}

/* トップページのテキスト */
.top-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13pt;
    line-height: 1.5;
    color: #000;
    text-align: justify;
    margin: 20px auto;
    max-width: 700px;
    padding: 0 10px;
}
@media (max-width: 767px) {
    .top-text {
        width: 85%;
        padding: 0 10px;
    }
}

/* TEL微調整 */
.tel-label {
  font-size: 0.8em;
  vertical-align: 0.03em;  /* 上に少し持ち上げる */
  letter-spacing: 0.05em;
}


/* FAQテキスト */
.faq-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    text-align: center;
    max-width: 700px; /* 修正 */
    margin: 0px auto;
    padding: 0 10px;
}
@media (max-width: 767px) {
    .faq-text {
        width: 85%;
        margin: 0px auto;
        padding: 0 10px;
    }
}

/* 電話番号 */
.contact-number {
    width: 90%;
    max-width: 760px;
    margin: 6px auto;
    text-align: center;
}
.contact-number a {
    display: block;
    font-size: 24pt;
    color: #000;
    text-decoration: none;
    line-height: 1;
}
@media (max-width: 767px) {
    .contact-number {
        width: 100%;
        margin: 6px auto;
    }
}

/* ボタン */
.faq-button {
  text-align: center;       /* 中央寄せ */
  margin: 20px auto;        /* 上下の余白 */
  font-family: "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  font-weight:500;
}
.faq-button a {
    display: inline-block;    /* ブロック要素で幅に沿う */
    padding: 10px 30px;       /* 上下・左右の余白 */
    border: 1px solid #000;   /* 細い黒線 */
    background-color: #fff;   /* 中は白 */
    color: #000;              /* テキスト黒 */
    text-decoration: none;    /* 下線なし */
    font-size: 16pt;          /* 文字サイズ */
    border-radius: 5px;       /* 角丸 */
    transition: 0.3s;         /* ホバーでアニメーション */
    max-width: 608px;          /* 760pxの80% */
    width: 80%;               /* 幅80% */
    box-sizing: border-box;   /* padding込みで幅調整 */
}
.faq-button a:hover {
    background-color: #4b4387;
    color: #fff;
}

/* モバイル調整（767px以下で画面幅いっぱい） */
@media (max-width: 767px) {
.faq-button a {
    width: 85%;           /* ほぼ画面幅いっぱい */
    max-width: 85%;       
    padding: 12px 0;      /* 横幅に合わせて左右パディング調整 */
    font-size: 16pt;      
}
}

/* ボタン０２ */
.faq-button02 {
  text-align: center;
  margin: 20px auto;
  font-family: "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  font-weight:500;
}

.faq-button02 a {
  display: inline-block;
  position: relative;      /* spanを独立させるため */
  padding: 10px 30px;
  border: 1px solid #000;
  background-color: #fff;
  text-decoration: none;
  font-size: 16pt;
  border-radius: 5px;
  transition: 0.3s;
  max-width: 608px;
  width: 80%;
  box-sizing: border-box;
  overflow: hidden;        /* 子要素のはみ出し防止 */
}

.faq-button02 a:hover {
  background-color: #4b4387;
  color: #fff;
}

/* モバイル */
@media (max-width: 767px) {
  .faq-button02 a {
    width: 85%;
    max-width: 85%;
    padding: 12px 0;
    font-size: 16pt;
  }
}

/* 点滅アニメーション */
@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* テキストだけ点滅 */
.faq-button02 .blink-text {
  position: relative;
  z-index: 1;
  color: #ff4500;
  animation: blink 3s infinite;
}
.faq-button02 a:hover .blink-text {
  color: #fff;
}

/* a自体は透明度変化の影響を受けないように */
.faq-button02 a {
  animation: none !important;
}

/* 花のマーク */
.top-mark {
    text-align: center;
    margin: 0px auto;
}
.top-mark img {
    display: inline-block;
    width: 41px;
    height: 45px;
    margin-top: 20px;
}

/* 花の下タイトル */
.visit-guide {
    text-align: center;                     
    font-family: 'Book Antiqua', Palatino, serif;
    font-size: 23pt;
    color: #333399;
    line-height: 1.3;                        
    margin: 0px auto 10px;                      
}
/* モバイル調整 */
@media (max-width: 767px) {
.visit-guide {
    font-size: 18pt;
}
}

/* 丸枠 */
.radius2 {
    box-sizing: border-box;
    max-width: 570px;    /* PC最大幅 */
    width: 80%;           /* 画面幅の80% */
    padding: 10px 0;      /* 高さ自動調整 */
    font-size: 14pt;
    text-align: center;
    color: #fff;
    background: #4b4387;  /* デフォルト色 */
    border-radius: 25px;
    margin: 10px auto;    /* 中央寄せ */
}
/* 丸枠下時間 */
.visit-time {
    text-align: center;
    font-family: 'Book Antiqua', Palatino, serif;
    font-size: 18px;
    line-height: 1.2;
    color: #000;
    margin: 15px auto 15px auto;  /* 上下余白 */
}
.visit-time p {
    margin: 5px 0; /* 各行の間隔 */
}

.goshuin-box {
    background-color: #e6e0f8;  /* 薄紫 */
    border-radius: 8px;         /* 角丸 */
    padding: 15px 20px 10px;         /* 内側余白 */
    max-width: 500px;           /* PCでの最大幅 */
    margin: 0px auto 20px;          /* 上下余白と中央寄せ */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    text-align: justify;
}
/* モバイル調整 */
@media (max-width: 767px) {
.goshuin-box {
    max-width: 78%;  
}
}

.goshuin-box strong {
    color: #000080; /* 見出しの濃紺 */
}
.goshuin-box p {
	margin-bottom: 0px;
	margin-top: 0px;
}
.under {
  text-decoration: underline;
  text-align: center;
  padding-bottom: 3px;
  color: #ff0000;
  font-size: 16px;
  font-weight: bold;
}

.pray-time {
  text-align: center;
  line-height: 1.4;
  font-family: 'Book Antiqua', Palatino, serif;
  color: #000;
}
.pray-time .main-time {
  font-size: 20px;
}
.pray-time .closed {
  color: #ff0000;
  font-size: 18px;
  margin-left: -8px;
}
.pray-time .note {
  font-size: 14px;
  display: block;
  margin-top: 4px;
}

.contact-box {
    background-color: #e6e0f8;
    border-radius: 10px;
    padding: 12px 10px 10px;
    text-align: center;
    max-width: 560px;
    margin: 0px auto 20px;
    box-sizing: border-box;
}
/* モバイル調整 */
@media (max-width: 767px) {
.contact-box {
    width: 85%;
    max-width: 85%;
  }
}

.contact-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14pt;
  color: #000;
  margin-bottom: -5px;
}

.contact-tel a {
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  font-size: 24pt;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.contact-tel a:hover {
  text-decoration: underline;
}


.kitou-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}
/* モバイル調整 */
@media (max-width: 767px) {
.kitou-section {
    width: 85%;
    max-width: 85%;
    margin-bottom: 30px;
  }
}

/* ボタン共通 */
.kitou-button,
.kitou-button02 {
  text-align: center;
  margin: 20px auto;
  font-family: "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  font-weight:500;
}

.kitou-button a,
.kitou-button02 a {
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid #000;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  font-size: 16pt;
  border-radius: 5px;
  transition: 0.3s;
  max-width: 608px;
  width: 80%;
  box-sizing: border-box;
}

.kitou-button a:hover,
.kitou-button02 a:hover {
  background-color: #4b4387;
  color: #fff;
}

/* モバイル調整 */
@media (max-width: 767px) {
  .kitou-button a,
  .kitou-button02 a {
    width: 85%;
    max-width: 85%;
    padding: 12px 0;
    font-size: 16pt;
  }
}

.notice-box {
  max-width: 700px;
}
.notice-box p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12pt;
  line-height: 1.6;
  color: #000;
  text-align: justify;
  margin: 0px auto 0px;
}
/* スマホ調整（767px以下） */
@media (max-width: 767px) {
  .notice-box {
    width: 90%;
    max-width: 90%;
    padding: 15px;
  }
}



/* メディア掲載セクション */
.media-section {
  text-align: center;
  margin: 30px auto;
}

.media-image img {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  margin: 40px auto 0px;
}

.media-text h2 {
  font-size: 14px;
  margin-top: 10px;
  color: #000;
}
/* スマホ調整（767px以下） */
@media (max-width: 767px) {
  .media-image img {
    width: 90%;
    max-width: 90%;
  }
  .media-text h2 {
    font-size: 16px;  /* 少し大きめで読みやすく */
    line-height: 1.4;
    padding: 0 10px;  /* 端の余白 */
    width: 90%;
    max-width: 90%;
  }
}


/* 厄年セクション */
.yakudoshi-section {
  max-width: 760px;   /* PCでは横幅760px */
  margin: 0 auto;
  padding: 0px 20px 0 20px;
  text-align: center;
}
/* スマホ調整（767px以下） */
@media (max-width: 767px) {
.yakudoshi-section {
    width: 85%;
    max-width: 85%;
}
}

/* 厄年早見表テキスト */
.yakudoshi-text p {
  text-align: justify;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12pt;
  line-height: 1.4;
  color: #000;
  margin-bottom: 20px;
  max-width: 700px;   /* PCでは横幅700px */
  margin: 10px auto 20px;
}

/* 厄年早見表 */
.yakudoshi-image img {
  width: 100%;        /* モバイルではフル幅 */
  max-width: 600px;   /* PCでは横幅600px */
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 30px;
}

/* よくある質問 */
.faq-section {
  width: 100%;
  max-width: 700px;
  margin: 40px auto;
  font-family: arial, helvetica, sans-serif;
}
/* スマホ調整（767px以下） */
@media (max-width: 767px) {
.faq-section {
    width: 85%;
    max-width: 85%;
}
}
.faq-item {
  margin-bottom: 40px;
  border-bottom: 1px solid #000;
  padding-bottom: 20px;
}
.faq-q, .faq-a {
  font-family: 'book antiqua', palatino, serif;
  font-size: 20pt;
  background-color: #808000;
  color: #fff;
  display: inline-block;
  padding: 2px 10px;
  margin: 0;
}
.faq-question {
  font-size: 14pt;
  color: #808000;
  margin: 10px 0 20px 0;
  text-align: justify;
}
.faq-answer {
  font-size: 12pt;
  color: #000;
  text-align: justify;
  line-height: 1.6;
}
/* スマホ対応 */
@media (max-width: 767px) {
  .faq-section {
    width: 90%;
  }
  .faq-q, .faq-a {
    font-size: 18pt;
  }
  .faq-question, .faq-answer {
    font-size: 13pt;
  }
}

/* お知らせ */
.news-section {
  max-width: 700px;
  margin: 40px auto 80px;
  text-align: center;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}
/* スマホ調整（767px以下） */
@media (max-width: 767px) {
.news-section {
    width: 85%;
    max-width: 85%;
}
}
.news-section .news-icon {
  width: 200px;    /* 好きな幅に調整 */
  height: auto;    /* アスペクト比を保持 */
  display: block;  /* 中央寄せするなら */
  margin: 0 auto 20px;  /* 上下の余白を調整 */
}

/* お知らせテキスト */
.news-text p {
    text-align: justify;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    margin-bottom: 10px;
	margin-top: 0px;
}

/* tontenton */
.festival-date {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14pt;
    line-height: 1.4;
    color: #fff;
    background-color: #4b4387;
    display: block;
    padding: 4px 0;
	margin-top: 50px;
}

.festival-name {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14pt;
    color: #000;
    display: block;
    margin-top: 2px;
}

/* トンテントン */
.tontenton {
    text-align: center; /* セクション内を中央寄せ */
    margin: 20px auto;  /* 上下余白 */
}
.tontenton img {
    display: block;     /* ブロックにして中央寄せが効く */
    margin: 10px auto;  /* 上下余白と左右中央 */
    max-width: 100%;    /* 画面幅に合わせて縮小 */
    height: auto;       /* 縦横比維持 */
}
.tontenton a {
    color: #3366ff;          /* リンク色 */
    text-decoration: none;   /* 下線なし */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    line-height: 1.6;
    display: inline-block;   /* ブロックじゃなくインラインで中央寄せ */
}

.tontenton a:hover {
    text-decoration: underline; /* ホバー時に下線 */
}



/* フッター共通 */
.site-footer {
  text-align: center;
  color: #000;
}
.footer-map iframe {
    max-width: 100%;
    width: 760px;   /* PC表示幅 */
    height: 200px;
    border: 0;
    display: block;
    margin: 0 auto 0px auto;
}
.footer-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 0px 10px 0px;
}
/* 神社名 */
.footer-title p {
    font-family: Georgia, Palatino, serif;
    font-size: 25pt;
    letter-spacing: 2px;
    color: #000;
    line-height: 1.3;
    margin: 10px 0 10px 0;
}
/* 住所・TEL/FAX */
.footer-address p {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12pt;
    line-height: 1.2;
    margin: 5px 0;
}
.footer-address span {
    font-size: 13pt;
}

/* 帯部分（コピーライト） */
.footer-band {
    background-color: #333399;
    padding: 10px 0;
}
.footer-copy {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11pt;
    color: #fff;
    margin: 0;
}

/* モバイル調整 */
@media (max-width: 767px) {
.footer-map iframe {
        width: 100%;
        height: 180px;
    }

.footer-title p {
        font-size: 20pt;
    }

.footer-address p {
        font-size: 11pt;
    }

.footer-address span {
        font-size: 12pt;
    }

.footer-copy {
        font-size: 10pt;
    }
}