@charset "utf-8";

/* ==================================================
   共通
================================================== */

html,
body {
  overflow-x: hidden;
}

rt {
  font-size: clamp(0.563rem, 0.494rem + 0.34vw, 0.75rem);
  letter-spacing: -0.05em;
}

.br-sp {
  display: none;
}

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

/* ==================================================
★9/24 奈良ネットボタン　追加(61世界遺産のみに適用）★
================================================== */

 .cnt a.btn_detail_r {
	border: 2px solid #C30D23;
	padding: 5px 25px 0px 5px;
	color: #000;
	background: #fff;
	float: left;
	margin: 0 0 20px;
	font-weight: bold;
	position: relative;
	font-family: "游明朝", "YuMincho", "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "HG明朝B", "ＭＳ 明朝", "MS PMincho", serif;
}

/* 文字入りボタン */
.cnt a.btn_detail_r_text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 25px 10px 10px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 0.5;
  text-decoration: none;
  margin-bottom: clamp(1.25rem, 0.795rem + 2.27vw, 2.5rem);
  margin-right: 20px;
}

/****** 9/24サーバー表示のためのCSS *******/
.btn_detail_r:before {
    position: absolute;
    top: 50%;
    right: 14px;
    display: inline-block;
    width: 0;
    height: 0;
    margin-top: -4px;
    margin-left: 0px;
    border-top: 4px solid transparent;
    border-left: 6px solid #000;
    border-bottom: 4px solid transparent;
    content: "";
}

.btn_detail_r:after{
	margin:0 0 0 0.5em;
	content: url(https://inori.nara-kankou.or.jp/img/common/ico_yamatoji.png);
	display:inline-block;
	vertical-align: middle;
}

/******** 9/24サーバー表示のためのCSS　end *******/

/* ==================================================
★9/24 奈良旅end★
================================================== */


/* ==================================================
   メインビジュアル
================================================== */

.background-frame,
.background-line-last,
.heritage-section,
.heritage-summary {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.background-frame {
  background: url("../../../img/inori/61sekaiisan/background-frame.webp") center top / 100% auto no-repeat;
}

.background-frame-inner {
  height: auto;
  padding-bottom: 50px;
}

.top-title {
  width: min(58vw, 1080px);
  margin: 0 auto;
}

.top-title img {
  display: block;
  width: 100%;
  height: auto;
}

.intro {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.intro-title {
  padding: 40px 0;
  color: #975086;
  font-size: clamp(1.25rem, 0.841rem + 2.05vw, 2.375rem);
  font-weight: bold;
  text-align: center;
}

.background-line,
.background-line-last,
.background-line-first{
  height: 150px;
  margin-top: 20px;
  background: url("../../../img/inori/61sekaiisan/background-line.webp") center top / auto no-repeat;
}
.background-line-first{
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

/* ==================================================
   世界遺産セクション
================================================== */

.heritage-section {
  background: url("../../../img/inori/61sekaiisan/heritage-section-bk.webp") center top no-repeat;
}

.heritage-title {
  margin: 0 0 50px;
  padding: 20px 0;
  background-color: #975086;
  color: #fff;
  font-family: "Shippori Mincho", serif;
  font-size: 36px;
  letter-spacing: 0.03em;
  text-align: center;
}

.heritage-inner {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.9em;
}

/* セクションイントロ */

.heritage-intro {
  display: flex;
  gap: 80px;
  margin-bottom: 80px;
}

.heritage-main-image {
  width: 40%;
  flex-shrink: 0;
}

.heritage-main-image img {
  display: block;
  width: 100%;
  height: auto;
}

.heritage-main-text {
  flex: 1;
}

.image-caption {
  font-size: 16px;
}

/* 人物紹介 */

.person-area {
  display: flex;
  align-items: center;
  margin: 0 auto 120px;
  padding-left: 50px;
}

.person-image {
  width: 50%;
  flex-shrink: 0;
}

.person-image img {
  display: block;
  width: 100%;
  height: auto;
}

.person-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 200px 0 0 50px;
  box-sizing: border-box;
}

.person-icon {
  display: block;
  width: 150px;
  height: auto;
  margin-bottom: 30px;
}

.person-name {
  margin: 0 0 15px;
  color: #975086;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.5;
}

.person-description {
  font-size: 18px;
}

/* ==================================================
   道・資産カード
================================================== */

.spot-list,
.spot-list2 {
  width: 100%;
  max-width: 1140px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin: 0 auto;
}

.spot-list2 {
  margin-top: 120px;
  margin-bottom: 40px;
}

.spot-card,
.spot-card2,
.spot-cassette {
  position: relative;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.spot-card {
  margin-bottom: 40px;
}

.spot-card2 {
  margin-bottom: 0;
}

.spot-image {
  position: relative;
  width: 100%;
}

.spot-image > img:first-child {
  display: block;
  width: 100%;
  height: auto;
}

.spot-icon,
.spot-cassette-icon {
  position: absolute;
  top: -80px;
  left: 20px;
  width: 150px;
  height: 150px;
  object-fit: contain;
  z-index: 2;
}

.spot-text {
  padding: 30px 30px 35px;
  box-sizing: border-box;
}

.spot-title,
.spot-cassette-title {
  color: #975086;
  font-weight: bold;
}

.spot-title {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 2;
}

.spot-title-sub {
  color: #333;
  font-size: 20px;
}

/* ==== ★9/24　調整・修正 ★ ===== */
.spot-text p,
.spot-cassette-text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.9em;
  margin-bottom: 20px;
}
/* ==== ★9/24　調整・修正 end★ ===== */


/* ==================================================
   道・資産カセット
================================================== */

.spot-cassette-list {
  width: 100%;
  max-width: 1140px;
}

.spot-cassette {
  display: flex;
  align-items: stretch;
  margin-bottom: 40px;
}

.spot-cassette-image {
  position: relative;
  width: 45%;
  flex-shrink: 0;
}

.spot-cassette-image > img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spot-cassette-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 60px;
  box-sizing: border-box;
}

.spot-cassette-title {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.5;
}

/* ==================================================
   まとめ
================================================== */

.heritage-summary {
  padding: 85px 0;
  background: url("../../../img/inori/61sekaiisan/heritage-under-bk.webp") center top no-repeat;
}

.heritage-summary-inner {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto 20px;
  padding: 50px;
  background-color: #E9DAEA;
  box-sizing: border-box;
  font-family: "Shippori Mincho", serif;
  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
  );
}

.heritage-summary-inner-line {
  border: 0;
  border-top: 1.5px solid #975086;
}

.heritage-summary-inner h3 {
  margin: 0 0 15px;
  padding: 15px;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
}

.heritage-summary-inner p {
  margin: 0;
  padding: 15px;
}

.note {
  font-size: 16px;
}

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

/* 〜479px */

@media screen and (max-width: 479px) {
  .br-sp {
    display: block;
  }

  article {
    font-size: 16px;
    line-height: 1.9;
  }

  .background-frame {
    background-image: url("../../../img/inori/61sekaiisan/background-frame-sp.webp");
  }

  .background-frame-inner {
    padding-bottom: 0;
    padding-top: 20px;
  }

  .top-title {
    width: 95vw;
  }

  .top-title img {
    content: url("../../../img/inori/61sekaiisan/61-top-title-sp.svg");
  }

  .intro {
    width: 85%;
    padding-bottom: 20px;
  }

  .intro-title {
    padding: 30px 0 20px;
    line-height: 1.6;
  }

  .intro-text {
    font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
  }

  .background-line,
  .background-line-first,
  .background-line-last {
    height: 80px;
    margin-top: 10px;
    background-size: auto 50px;
    margin-bottom: 30px;
  }
    .background-line-first{
    width: auto;
    margin: 0 10px;
    }

  .heritage-section {
    background-image: url("../../../img/inori/61sekaiisan/heritage-section-bk-sp.webp");
  }

  .heritage-title {
    width: 90vw;
    margin: 0 auto 30px;
    padding: 15px;
    font-size: 22px;
    line-height: 1.6;
  }

  .heritage-inner {
    width: auto;
    margin: 0 20px;
    font-size: 16px;
    line-height: 1.9;
  }

  .heritage-intro {
    display: block;
    width: 95%;
    margin: 0 auto 50px;
  }

  .heritage-main-image {
    width: 100%;
    margin-bottom: 10px;
  }

  .image-caption {
    font-size: 14px;
  }


/* ==================================================
★9/24 奈良ネットボタン　追加(61世界遺産のみに適用）★
================================================== */
 /* 奈良ネットボタン：スマホでは回り込みを解除 */
  .heritage-main-image .btn_detail_r {
    float: none;
    display: inline-block;
    clear: both;
  }

  /* ボタンの下からテキストを開始 */
  .heritage-main-text {
    clear: both;
  }
/* ==================================================
★9/24 奈良ネットボタン　end★
================================================== */

/* ==== ★9/24　調整・修正 ★ ===== */

  .heritage-main-image .image-caption {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.6;
  }

/* ==== ★9/24　調整・修正 ★ ===== */

  .person-area {
    display: block;
    margin: 0 0 20px;
    padding-left: 0;
  }

  .person-image {
    width: 80%;
    margin: 0 auto;
  }

  .person-text {
    width: 95%;
    margin: 0 auto;
    padding: 30px 0 20px;
  }

  .person-icon {
    width: 100px;
    margin-bottom: 15px;
  }

  .person-name {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.5;
  }

  .person-description {
    font-size: 16px;
    line-height: 1.9;
  }

  .spot-list,
  .spot-list2 {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .spot-list2 {
    margin-top: 50px;
    margin-bottom: 30px;
  }

  .spot-card,
  .spot-card2 {
    width: 95%;
    margin: 0 auto;
    margin-top: 25px;
  margin-bottom: 20px;
  }


  .spot-icon,
  .spot-cassette-icon {
    top: -45px;
    left: 12px;
    width: 90px;
    height: 90px;
  }

  .spot-text {
    padding: 25px 20px;
  }

  .spot-title,
  .spot-cassette-title {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.6;
  }

  .spot-title-sub {
    font-size: 15px;
  }

  .spot-text p,
  .spot-cassette-text p {
    font-size: 15px;
    line-height: 1.9;
  }

  .spot-cassette {
    display: block;
    width: 95%;
    margin: 0 auto 30px;
  }

  .spot-cassette-image {
    width: 100%;
  }

  .spot-cassette-image > img:first-child {
    height: auto;
    object-fit: initial;
  }

  .spot-cassette-text {
    width: 100%;
    padding: 25px 20px 30px;
  }

  .heritage-summary {
    padding: 50px 20px 20px;
    box-sizing: border-box;
  }

  .heritage-summary-inner {
    width: 95%;
    padding: 25px 15px;
  }

  .heritage-summary-inner h3 {
    padding: 10px 5px;
    font-size: 21px;
    line-height: 1.6;
    letter-spacing: 0.03em;
  }

  .heritage-summary-inner p {
    padding: 10px;
    font-size: 16px;
    line-height: 1.9;
  }

  .note {
    font-size: 13px;
  }
}

/* 480px〜768px：タブレット縦 */
@media screen and (min-width: 480px) and (max-width: 768px) {

  .br-sp {
    display: none;
  }

  article {
    font-size: 17px;
    line-height: 1.9;
  }

  .top-title {
    width: 95vw;
  }

  .intro {
    width: auto;
    margin: 0 30px;
    padding-bottom: 50px;
  }

  .intro-title {
    padding: 30px 0 20px;
    font-size: clamp(1.35rem, 1rem + 1.2vw, 1.8rem);
    line-height: 1.6;
  }

 .background-line,
  .background-line-first,
  .background-line-last {
    height: 100px;
    background-size: auto 80px;
  }
  .background-line-first{
    width: auto;
    margin: 0 20px;
  }

  .heritage-title {
    margin-bottom: 40px;
    padding: 18px 15px;
    font-size: 28px;
    line-height: 1.6;
  }

  .heritage-inner {
    width: auto;
    margin: 0 30px;
    font-size: 17px;
    line-height: 1.9;
  }

  /* PCと同じ横並び */
  .heritage-intro {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
  }

  .heritage-main-image {
    width: 40%;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .image-caption {
    font-size: 13px;
  }

  .person-area {
    display: flex;
    align-items: center;
    margin: 0 auto 70px;
    padding-left: 20px;
  }

  .person-image {
    width: 48%;
    flex-shrink: 0;
    margin: 0;
  }

  .person-text {
    flex: 1;
    padding: 80px 0 0 30px;
  }

  .person-icon {
    width: 100px;
    margin-bottom: 15px;
  }

  .person-name {
    margin-bottom: 10px;
    font-size: 23px;
  }

  .person-description {
    font-size: 15px;
    line-height: 1.9;
  }

  /* PCと同じ2列 */
  .spot-list,
  .spot-list2 {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .spot-list2 {
    margin-top: 70px;
    margin-bottom: 30px;
  }

  .spot-card,
  .spot-card2 {
    width: 100%;
    margin-bottom: 0;
  }

  .spot-icon,
  .spot-cassette-icon {
    top: -50px;
    left: 12px;
    width: 100px;
    height: 100px;
  }

  .spot-text {
    padding: 22px 18px 25px;
  }

  .spot-title,
  .spot-cassette-title {
    margin-bottom: 10px;
    font-size: 21px;
  }

  .spot-title {
    line-height: 1.7;
  }

  .spot-title-sub {
    font-size: 15px;
  }

  .spot-text p,
  .spot-cassette-text p {
    font-size: 14px;
    line-height: 1.9;
  }

  /* PCと同じ横長カセット */
  .spot-cassette {
    display: flex;
    width: 100%;
  }

  .spot-cassette-image {
    width: 45%;
  }

  .spot-cassette-image > img:first-child {
    height: 100%;
    object-fit: cover;
  }

  .spot-cassette-text {
    width: 55%;
    padding: 25px 30px;
  }

  .spot-cassette-title {
    line-height: 1.5;
  }

  .heritage-summary {
    padding: 55px 30px;
    box-sizing: border-box;
  }

  .heritage-summary-inner {
    width: 100%;
    padding: 30px 25px;
  }

  .heritage-summary-inner h3 {
    padding: 10px;
    font-size: 24px;
    line-height: 1.6;
  }

  .heritage-summary-inner p {
    padding: 10px;
    font-size: 15px;
    line-height: 1.9;
  }

  .note {
    font-size: 11px;
  }
}


/* 769px〜1024px：タブレット横 */
@media screen and (min-width: 769px) and (max-width: 1139px) {

  .br-sp {
    display: none;
  }

  article {
    font-size: 18px;
    line-height: 1.9;
  }

  .top-title {
    width: 85vw;
  }

  .intro {
    width: auto;
    margin: 0 40px;
    padding-bottom: 60px;
  }

  .intro-title {
    padding: 35px 0 25px;
    font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem);
    line-height: 1.6;
  }

 .background-line,
  .background-line-first,
  .background-line-last {
    height: 120px;
    background-size: auto 65px;
  }
.background-line-first{
    width: auto;
    margin: 0 30px;
}

  .heritage-title {
    margin-bottom: 45px;
    padding: 18px 20px;
    font-size: 32px;
    line-height: 1.6;
  }

  .heritage-inner {
    width: auto;
    margin: 0 40px;
    font-size: 18px;
    line-height: 1.9;
  }

  .heritage-intro {
    display: flex;
    gap: 45px;
    margin-bottom: 70px;
  }

  .heritage-main-image {
    width: 40%;
    flex-shrink: 0;
  }

  .image-caption {
    font-size: 14px;
  }

  .person-area {
    display: flex;
    align-items: center;
    margin: 0 auto 90px;
    padding-left: 30px;
  }

  .person-image {
    width: 48%;
    flex-shrink: 0;
  }

  .person-text {
    flex: 1;
    padding: 110px 0 0 40px;
  }

  .person-icon {
    width: 120px;
    margin-bottom: 20px;
  }

  .person-name {
    font-size: 25px;
  }

  .person-description {
    font-size: 16px;
    line-height: 1.9;
  }

  .spot-list,
  .spot-list2 {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .spot-list2 {
    margin-top: 90px;
    margin-bottom: 35px;
  }

  .spot-card,
  .spot-card2 {
    width: 100%;
    margin-bottom: 0;
  }

  .spot-icon,
  .spot-cassette-icon {
    top: -65px;
    left: 15px;
    width: 125px;
    height: 125px;
  }

  .spot-text {
    padding: 28px 25px 30px;
  }

  .spot-title,
  .spot-cassette-title {
    font-size: 25px;
  }

  .spot-title {
    line-height: 1.7;
  }

  .spot-title-sub {
    font-size: 18px;
  }

  .spot-text p,
  .spot-cassette-text p {
    font-size: 16px;
    line-height: 1.9;
  }

  .spot-cassette {
    display: flex;
    width: 100%;
  }

  .spot-cassette-image {
    width: 45%;
  }

  .spot-cassette-image > img:first-child {
    height: 100%;
    object-fit: cover;
  }

  .spot-cassette-text {
    width: 55%;
    padding: 30px 40px;
  }

  .spot-cassette-title {
    line-height: 1.5;
  }

  .heritage-summary {
    padding: 70px 40px;
    box-sizing: border-box;
  }

  .heritage-summary-inner {
    width: 100%;
    padding: 40px 35px;
  }

  .heritage-summary-inner h3 {
    padding: 10px;
    font-size: 28px;
    line-height: 1.6;
  }

  .heritage-summary-inner p {
    padding: 10px;
    font-size: 16px;
    line-height: 1.9;
  }

  .note {
    font-size: 12px;
  }
}

@media screen and (max-width: 680px) {
	.keisaishi {
		padding-top:32px;
		font-size:18px;
	}
}
