@charset "UTF-8";
/* -----------------------------------------------------------------------
   faq.html 専用 CSS（アコーディオン）
   - news-page.css と同じ見た目だが .faqPage に名前空間を分離
   - News 側（.newsPage）には影響しない
   ----------------------------------------------------------------------- */

:root {
  --faq-ja-gothic: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

.faqPage,
.faqPage .summary_inner,
.faqPage .summary_inner .p_txt,
.faqPage p.inner_txt {
  font-family: var(--faq-ja-gothic);
}


.faq_link ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	list-style-type: none;
	margin: 0 auto 60px;
	padding: 0;
	width: 100%;
}

.faq_link li {
	margin: 0;
	width: 19%;
	background-color: transparent;
}

.faq_link li a {
	display: block;
	padding: 0.6rem;
	font-size: 0.85rem;
	line-height: 1.6;
	text-align: center;
	font-weight: 500;
	letter-spacing: 1px;
	color: #fff;
	border-radius: 4px;
	text-decoration: none;
	border: thin solid var(--light-purple);
}

.faq_link li a:hover {
	background-color: var(--dark-purple);
}

/* ページ内リンクのジャンプ先（各 h3 直前の空div）。
   固定ヘッダー(約70px)＋余白ぶん上にずらし、h3 の手前に着地させる */
#program,
#ticket,
#access,
#family,
#other {
    scroll-margin-top: 100px;
}

.faq_h3 {
    position: relative;
    color: var(--light-purple);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 0.2rem 0 0.2rem 1rem;
    margin: 80px 0 10px;
}
/* border-left の代わりに擬似要素のバー。
   上下を「padding(0.2rem) + 行間の余白(half-leading = (1.4-1)/2 = 0.2em)」だけ
   詰めることで、1行目の文字上端〜最終行の文字下端に合わせて伸びる（複数行対応） */
.faq_h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(0.2rem + 0.1em);
    bottom: calc(0.2rem + 0.2em);
    width: 5px;
    background-color: var(--light-purple);
}


/* -----------------------------------------------------------------------
   FAQ Block（アコーディオン本体）
   ----------------------------------------------------------------------- */
.faqPage {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 80px;
  padding: 1rem 0 0;
  border-bottom: thin solid #555;
}

.faqPage p {
	color: var(--color-primary);
	font-size: 1rem;
	line-height: 1.8;
	text-align: left;
	margin: 0 0 20px;
}

.faqPage a {
	color: var(--color-primary)!important;
	text-decoration: underline;
}

.faqPage details.js-details {
  background: transparent;
}
.faqPage summary {
  display: block;
  list-style: none;
}
.faqPage summary::-webkit-details-marker {
  display: none;
}
.faqPage .summary_inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 15px 10px 15px 0;
  border-top: thin solid #555;
  cursor: pointer;
}
.faqPage .summary_inner .txt_wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.faqPage .summary_inner .q_title {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.8;
  font-family: 'Montserrat', var(--faq-ja-gothic);
  text-align: left;
  font-weight: 500;
  margin: 0;
  width: 50px;
}
.faqPage .summary_inner .q_txt {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: left;
  font-weight: 400;
  margin: 0;
}
.faqPage .detail_icon {
  display: block;
  position: relative;
  width: 16px;
  margin-left: 15px;
  flex-shrink: 0;
  transform-origin: center 43%;
  transition: transform 0.4s;
}
.faqPage details.is-opened .detail_icon {
  transform: rotate(180deg);
}
.faqPage .detail_icon::before,
.faqPage .detail_icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 3px;
  background-color: #b56dff;
}
.faqPage .detail_icon::before {
  left: 0;
  transform: rotate(45deg);
}
.faqPage .detail_icon::after {
  right: 0;
  transform: rotate(-45deg);
}
.faqPage .content {
  overflow: hidden;
}
.faqPage .content_inner {
  padding: 0 10px 10px 0;
}
.faqPage p.inner_txt {
  font-size: 0.95rem;
  line-height: 2;
  text-align: left;
  font-weight: 400;
  margin: 0 0 20px;
}
.faqPage .content_inner .sub_title {
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: 2px;
  margin: 20px 0 10px;
  padding: 5px 20px 7px;
  display: inline-block;
  color: #9ec7dd;
  border: thin solid #6FA3C0;
}
.faqPage .content_inner figure {
  margin: 0;
}
.faqPage .content_inner img {
  display: block;
  margin: 20px 0 40px;
  max-width: min(100%, 540px);
  height: auto;
}
.faqPage p.inner_txt a,
.faqPage p.inner_txt a:link,
.faqPage p.inner_txt a:visited,
.faqPage p.inner_txt a:hover,
.faqPage p.inner_txt a:active {
  color: #fff;
  text-decoration: underline;
}
.faqPage .hidden_pc { display: none; }

.faqPage ul {
	width: 100%;
	margin: 0;
	padding: 0;
}

.faqPage li {
	font-size: 0.95rem;
    line-height: 2;
	text-align: left;
	margin: -10px 0 10px 25px;
	padding: 0;
}



@media (max-width: 1024px) {
  .faqPage {
    padding: 1rem 1.5rem 0;
  }
}


@media (max-width: 1000px) {
.faq_link ul {
    width: 100%;
	justify-content: flex-start;
}

.faq_link li {
    margin: 0 2% 10px 0;
    width: 32%;
}

.faq_link li:nth-child(3n)  {
	margin-right: 0;
}
}


@media (max-width: 768px) {
.faq_link li a {
    padding: 0.6rem 0;
}
}


@media (max-width: 767px) {
.faq_link li {
    width: 49%;
}

.faq_link li:nth-child(3n)  {
	margin-right: 2%;
}

.faq_link li:nth-child(2n)  {
	margin-right: 0;
}
}


@media screen and (max-width: 640px) {
  .faq_h3 { margin-top: 50px; }
  .faqPage { padding: 1rem 0 0; }
  .faqPage .summary_inner { padding: 15px 10px 15px 0; }
  .faqPage .summary_inner .txt_wrap {
    display: flex;
    flex-direction: row;
    align-items: baseline;
  }
  .faqPage .detail_icon { margin-left: 10px; }
  .faqPage .summary_inner .q_title {
  	font-size: 1.2rem;
  	line-height: 1.6;
  	width: 35px;
  }
  .faqPage .summary_inner .q_txt { font-size: 0.95rem; line-height: 1.6; }
  .faqPage .hidden_pc { display: inline; }
}
