@charset "utf-8";

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

html, body {
  overflow-x: hidden;
}


article {
	background-color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-style: normal;
	line-height: 2em;
	letter-spacing: 0.03em;
	color: #222;
  	text-align: justify;
	overflow-wrap:break-word;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
	margin: 0;
}

/* 外枠 */
.green-frame {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 30px;
  box-sizing: border-box;
  /* margin-bottom: 100px; */

  /* 和風パターン */
  background-image: url("../../../img/inori/naratabiakashi/frame-green.webp");
  background-repeat: repeat;
  background-size: 70px; /* 模様サイズ調整 */
}

/* 内枠 */
.green-frame-inner {
  background: #f3efe4;
  padding-top: 40px;
  padding-bottom: 100px;

  clip-path: polygon(
    40px 0,
    calc(100% - 40px) 0,
    100% 40px,
    100% calc(100% - 40px),
    calc(100% - 40px) 100%,
    40px 100%,
    0 calc(100% - 40px),
    0 40px
  );

}


@media screen and (max-width: 768px) {

  /* 外枠 */
.green-frame {
  padding: 15px;
}
/* 内枠 */
.green-frame-inner {

  padding-top: 20px;
   padding-bottom: 40px;
  clip-path: polygon(
    20px 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    20px 100%,
    0 calc(100% - 20px),
    0 20px
  );
}
}

/* ライン */
.top-line{
  width: 90%;
  max-width: 1140px;
  margin: 20px auto;
  height: 2px;
  background: #BD404A;
  border: none;
}

/* タイトル */
.top-title{
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

/* リード文 */
.lead-section{
   width: 90%;
  max-width: 1120px;
  margin: 40px auto;
  font-size: 20px;
  letter-spacing: 0.1em;
  line-height: 2em;
}


/* スマホ */
@media screen and (max-width: 479px) {
/* リード文 */
.lead-section{
  margin: 20px auto;
  font-size: 14px;
}
}

/* スマホ大・タブレット縦 */
@media screen and (min-width: 480px) and (max-width: 768px) {

/* リード文 */
.lead-section{
  margin: 20px auto;
  font-size: 16px;
}
}

/*----------------- 地図 -----------------*/

.map-section{
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  padding-bottom: 40px;
}
.map-section img{
  width: 100%;
}

@media screen and (max-width: 768px) {
.map-section{
  margin: 20px auto;
  padding-bottom: 0px;
}
}

/*----------------- 寺社・名所 -----------------*/
.spot-section{
  margin-bottom: 100px;
}
.spot-block{
  width: 90%;
  max-width: 1140px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 40px auto;
}
.spot{
  flex: 0 0 23%;   
  background-color: #fff;

  display: flex;
  flex-direction: column; 
  justify-content: space-between;
}

.spot img{
  width: 90%;
  height: auto;
  display: block;
  margin: 5% 5% 0%;
}
.spot-name{
  background-color: #bb8d1a;
  color: #fff;
  margin-left: 5%;
  margin-right: 5%;
  width: 90%;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  padding-top: 8px;
  padding-bottom: 6px;
}
.spot-spec{
    width: 88%;
    margin-left: 6%;
    margin-right: 6%;
    font-size: 16px;
    line-height: 1.6em;
    margin-top: 10px;
}
.spot-tel{
    width: 88%;
    margin-left: 6%;
    margin-right: 6%;
    font-size: 16px;
    line-height: 1em;
  min-height: calc(0.75em * 2);
}
.spot-tel-sub{
  font-size: 12px;
  padding-left: 20px;
}

.spot-spec-icon,
.spot-tel-icon{
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.2em;
}

.spot-spec-icon::before,
.spot-tel-icon::before {
    content: "";
    width: 14px;
    height: 14px;
    background-size: contain;
    margin-top: 3px;
    background-repeat: no-repeat;
}

.spot-spec-icon::before { 
    background-image: url("../../../img/inori/naratabiakashi/access-icon.svg"); 
}
.spot-tel-icon::before { 
    background-image: url("../../../img/inori/naratabiakashi/tel-icon.svg"); 
}

.spot-icon{
  margin-bottom: auto;
  text-align: center;
}



@media screen and (max-width: 768px) {

.spot-section{
  margin-bottom: 30px;
}

.spot-block{
  margin: 20px auto;
}
.spot{
  flex: 0 0 48%;  
  margin-bottom: 20px; 
}
.spot-name{
  font-size: 18px;
  text-align: center;
  padding-top: 4px;
  padding-bottom: 4px;
}
.spot-spec{
    font-size: 14px;
    line-height: 1.6em;
    margin-top: 6px;
}
.spot-tel{
    font-size: 14px;
}
}


/* ==============================
   公式サイト ロゴボタン（左寄せ）
============================== */

.btn_detail_logo{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100px;
    margin: 5px 5% 20px 6%;

    border: 1px solid #BD404A;
    border-radius: 4px;
    background-color: #fff;

		padding: 0 25px 2px 5px;
    box-sizing: border-box;

    transition: all 0.25s ease;
}

.btn_detail_logo img{
    width: 100%;
    height: auto;
    display: block;
}

/* ▶︎ */
.btn_detail_logo::after{
    content: "▶";
    position: absolute;
    right: 10px;
    font-size: 10px;
    color: #333;
    transition: all 0.25s ease;
}

.btn_detail_logo:hover{
    transform: translateY(-2px);
}

.btn_detail_logo:hover::after{
    transform: translateX(3px);
}

.btn_detail_logo:hover img{
    opacity: 0.6;  
}

.btn_detail_logo:active{
    transform: translateY(0);
}


@media screen and (max-width: 479px) {

.btn_detail_logo{
    width: 65%;
    max-width: 180px;
}

}




/*----------------- 御朱印の紹介 -----------------*/
.spot-item{
  width: 90%;
  max-width: 1140px;
  border: solid 2px #bb8d1a;
  background-color: #fff;
  margin: 0 auto ;
}

.item-headline{
  position: relative;
  width: 90%;
  overflow: hidden;
  margin: 40px auto;
  height: 100px;
}

/* 背景（下） */
.item-headline-back{
  position: absolute;
  z-index: 10;
}

.item-headline-back img{
  width: 100%;
  height: auto;
  display: block;
}

/* ショルダー（上） */
.item-headline-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  padding: 0 16px;
}

.item-headline-text h3{
  margin: 0;
  font-size: 30px;
  line-height: 1.3;
  font-family: "Zen Maru Gothic", sans-serif;
}

/* スマホ */
@media screen and (max-width: 479px) {

.item-headline{
  position: relative;
  overflow: hidden;
  width: 94%;
  margin: 15px auto 15px;
  min-height: auto;
  height: auto;
  padding: 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 背景画像を消す */
.item-headline-back{
  display: none;
}


.item-headline-text h3{
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  font-family: "Zen Maru Gothic", sans-serif;
}

/* ショルダー（上） */
/* absoluteを解除して自然配置にする */
.item-headline-text{
  position: static;
  transform: none;
  width: 100%;
  padding: 0;
}

}

/* スマホ大・タブレット縦 */
@media screen and (min-width: 480px) and (max-width: 768px) {
.item-headline-back img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-headline{
  position: relative;
  width: 90%;
  overflow: hidden;
  min-height: 70px; 
  height: auto;        /* ← 固定高さをやめる */
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-headline-text h3{
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  font-family: "Zen Maru Gothic", sans-serif;
}


/* ショルダー（上） */
.item-headline-text{
  position: absolute;
  width: 90%; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  padding: 0 0px;
}
}





/* タイトル pc */
.item-title{
  margin: 20px auto;
  width: 80%;
  max-width: 800px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;     /* 縦中央 */
}
.item-title-icon{
  width: 15%;
  
}
.item-title-text{
  padding-left: 30px;
  font-size: 28px;
  line-height: 2em;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  color:#bb8d1a;
  align-items: center;     /* 縦中央 */
}

/* スマホ小 */
@media screen and (max-width: 479px) {

/* タイトル */
.item-title{
  margin: 10px auto;
  width: 90%;
  text-align: center;
  
}

.item-title-icon{
  width: 30%;
  
}
.item-title-text{
  width: 100%;
  padding-left: 0;
  font-size: 16px;
  margin-top: 6px;
}

}
/* スマホ大・タブレット縦 */
@media screen and (min-width: 480px) and (max-width: 768px) {
  /* タイトル */
.item-title{
  margin: 10px auto;
  width: 95%;
}

.item-title-icon{
  width: 15%;
  
}
.item-title-text{
  width: 70%;
  padding-left: 2%;
  font-size: 20px;
  margin-top: 0px;
}

}


/* 本文 pc */
.item-body{
  margin: 40px auto;
  width: 90%;
  max-width: 900px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  line-height: 1.8em;
}

.space-100px{
  width: 100%;
  height: 100px;
}


@media screen and (max-width: 479px) {
/* 本文 */
.item-body{
  margin: 20px auto;
  font-size: 14px;
  line-height: 1.8em;
}

.space-100px{
  width: 100%;
  height: 50px;
}

}

/* スマホ大・タブレット縦 */
@media screen and (min-width: 480px) and (max-width: 768px) {
/* 本文 */
.item-body{
  font-size: 16px;
}
}


/*----------------- 期間 pc -----------------*/
.item-period{
  width: 80%;
  max-width: 600px;
  border: solid 2px #BD404A;
  margin: 40px auto;
  padding-bottom: 20px;
}
.item-period-title{
  background-color: #BD404A;
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
  
}
.item-period-place{
  color: #bb8d1a;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin: 20px auto 10px ;
    font-family: "Zen Maru Gothic", sans-serif;
}
.item-period-date{
  text-align: center;
  font-size: 20px;
}

/* スマホ */
@media screen and (max-width: 479px) {

/* 期間 */
.item-period{
  width: 90%;
  margin: 20px auto;
  padding-bottom: 10px;
}
.item-period-title{
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding-top: 5px;
  padding-bottom: 5px;
  
}
.item-period-place{
  font-size: 20px;
  font-weight: bold;
  margin: 10px auto 5px ;
    font-family: "Zen Maru Gothic", sans-serif;
}
.item-period-date{
  text-align: center;
  font-size: 16px;
}

}

/* スマホ大・タブレット縦 */
@media screen and (min-width: 480px) and (max-width: 768px) {

.item-period-title{
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding-top: 5px;
  padding-bottom: 5px;
  
}
.item-period-place{
  font-size: 24px;
  font-weight: bold;

}
.item-period-date{

  font-size: 16px;
}
}



/* 御朱印 pc */
.goshuin-image{
  margin: 20px auto;
  width: 90%;
  max-width: 980px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ← これが重要 */
  gap: 35px;
}

.goshuin-item{
  flex: 0 0 22%; /* 以前と同じ4分割サイズ */
}
.goshuin-item{
  width: 100%;
}
.goshuin-item img{
  width: 100%;
}
.goshuin-item p{
  text-align: center;
}
.goshuin-text{
    text-align: center;
    padding-bottom: 40px;
    line-height: 1.6em;
}


/* スマホ */
@media screen and (max-width: 479px) {

.goshuin-image{
  margin: 20px auto;
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ← 中央寄せ */
  gap: 10px;
}

.goshuin-item{
  flex: 0 0 48%; /* 2列 */
  margin-bottom: 10px;
}

  .goshuin-item img{
    display:block;
  }

  .goshuin-item p{
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.2em;
  }


.goshuin-item p span{
  font-size: 12px;
  text-align: center;
}

.goshuin-text{
  text-align: center;
  padding-bottom: 20px;
  width: 90%;
  margin: 0 auto;
  font-size: 14px;
}

}

/* スマホ大・タブレット縦 */
@media screen and (min-width: 480px) and (max-width: 768px) {

.goshuin-image{
  margin: 20px auto;
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ← これが重要 */
  gap: 20px;
}

.goshuin-item{
  flex: 0 0 45%; /* 2列 */
  margin-bottom: 10px;
}
.goshuin-item p span{
  font-size: 12px;
  text-align: center;
}
.goshuin-text{
  text-align: center;
  padding-bottom: 20px;
  width: 87%;
  margin: 0 auto;
}

}

/*-- 区切りライン -----------------*/
.goshuin-line{
  width: 90%;
  max-width: 1140px;
  margin: 50px auto;
  height: 10px; /* ← 少し高さを持たせる */

  background: radial-gradient(circle at center, #bb8d1a 2px, transparent 2px)
              0 center / 12px 8px repeat-x;
  border: none;
}

/*-- 販売所案内 -----------------*/
.item-guide{
  margin: 40px auto 60px;
  width: 50%;
  max-width: 900px;
  text-align: left;
}
/* スマホ */
@media screen and (max-width: 479px){
.item-guide{
  text-align:justify;
  font-size: 12px;
  line-height: 2em;
  width: 90%;
}
}

/* スマホ大・タブレット縦 */
@media screen and (min-width: 480px) and (max-width: 768px) {
  .item-guide{
  text-align:justify;
  }
}

/*-- 御朱印プレゼント -----------------*/
.goshuin-present {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  padding: 30px 0 50px;
}

.goshuin-present-left img {
  max-width: 280px;
  height: auto;
}
.img-sp {
  display: none;
}

.goshuin-present-right img {
  max-width: 300px;
  height: auto;
}

/* スマホ */
@media screen and (max-width: 479px) {

  .goshuin-present {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 20px 0 30px;
    text-align: center;
  }

  .goshuin-present-left,
  .goshuin-present-right {
    width: 100%;
  }

    /* 画像切り替え */
  .img-pc {
    display: none;
  }

  .img-sp {
    display: block;
    margin: 0 auto; 
    max-width: 60%;
  }

  .goshuin-present-left img {
    max-width: 60%;
  }

  .goshuin-present-right img {
    margin: 0 auto;      /* 右も中央 */
    max-width: 65%;
  }

}


/* スマホ大・タブレット縦 */
@media screen and (min-width: 480px) and (max-width: 768px) {

  .goshuin-present {
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px 0 40px;
  }

  .goshuin-present-left,
  .goshuin-present-right {
    text-align: center;
  }

  .goshuin-present-left img {
    max-width: 200px;
  }

  .goshuin-present-right img {
    max-width: 200px;
  }

}