/* -------------------
　変数定義
 ------------------- */
:root {
  --color-main: #08bfdb;
  --color-sub: #ebfcff;
  --color-accent: #ee7800;
  --color-gray: #ddd;
  --color-text: #333;

  --text-nomal: 300;
  --text-bold: 800;

  --border-radius--md: 1rem;
  --border-radius--sm: 0.5rem;
}

/* -------------------
　リセット
 ------------------- */
.common .content dl,
.common .content01 dl {
  margin-top: 0;
  margin-bottom: 0;
}

.common .content ol:not([class]),
.common .content ul:not([class]),
.common .content01 ol:not([class]),
.common .content01 ul:not([class]) {
  margin-top: 0;
  margin-bottom: 0;
}

@media screen and (max-width: 1023px) {
  .common .content ol:not([class]),
  .common .content ul:not([class]),
  .common .content01 ol:not([class]),
  .common .content01 ul:not([class]) {
    font-size: inherit;
  }
}

/* -------------------
　共通パーツ
 ------------------- */

html {
  scroll-padding-top: 60px; /*ヘッダーの高さ*/
}

body {
  font-family: "M PLUS Rounded 1c", "ヒラギノ丸ゴ Pro W4", "Hiragino Maru Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", Meiryo, sans-serif;
  font-feature-settings: "palt";
}

p {
  line-height: 1.8;
}

a {
  overflow-wrap: anywhere;
}

img {
  width: 100%;
}

.small {
  font-size: 0.8em;
}

.ghibli-park a {
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent) !important;
  text-decoration: none;
  transition: all 0.3s;
}

.pc-only {
  display: block;
}
.sp-only {
  display: none;
}

.content__inner {
  max-width: 900px;
  margin-inline: auto;
}

/* アイキャッチ（eyecatch）*/
.eyecatch {
  max-width: 900px;
  margin-inline: auto;
}

/* 記事全体（article）*/
.article__body {
  padding-block: 0 40px;
}

.article__label {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-gray);
  padding: 30px;
  font-size: 3rem;
}

.article__header {
  padding-block: 0 6rem;
}

.article__title-wrap {
  display: flex;
  padding-block: 4rem 2rem;
  max-width: 900px;
  margin-inline: auto;
}
.article__title-wrap::before {
  display: block;
  content: "";
  width: 1.2rem;
  border-radius: var(--border-radius--sm);
  background-color: var(--color-main);
  margin-right: 4rem;
}
.article__title-main {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.6;
  display: flex;
}
.article__title-sub {
  display: block;
  font-weight: 600;
  line-height: 1.6;
  margin-top: 0.4em;
  color: var(--color-main);
}

/* 各セクション（section）*/
.section {
  padding-block: 10rem;
}
.section:nth-child(odd) {
  background-color: var(--color-sub);
}
.section:nth-child(even) {
  background-color: #fff;
}

.section__title {
  font-weight: var(--text-bold);
  font-size: 3rem;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 4rem;
}

.section__lead {
  margin-block: 4rem 6rem;
}

.section__image {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-inline: auto;
}
.section__image img {
  border-radius: var(--border-radius--md);
}

.section-secondary > li {
  list-style-type: none;
  margin-bottom: 10rem;
}
.section-secondary > li:last-child {
  margin-bottom: 0;
}

.section-secondary__title {
  font-weight: var(--text-bold);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: left;
  color: var(--color-accent);
}

.section-secondary__lead {
  margin-block: 2rem 4rem;
}

/* 人物紹介（portrait） */
.portrait {
  display: flex;
  column-gap: 2rem;
  align-items: center;
}

.portrait__image {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.portrait__body {
  display: flex;
  flex-direction: column;
  row-gap: 1em;
}

.portrait__name {
  font-weight: var(--text-bold);
}

/* 詳細情報の項目一覧 */
.info-list {
  margin-top: 3rem;
  display: grid;
}

.info-list > dt {
  margin-bottom: 0.5em;
}
.info-list > dt::before {
  content: "●";
  color: var(--color-main);
  margin-right: 0.5em;
}

.info-list > dd {
  margin-bottom: 2em;
}
.info-list > dd:last-child {
  margin-bottom: 0;
}

.info-list > ul {
  margin: 0 !important;
}

/* -------------------
　アクセス
 ------------------- */
.map iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  margin-top: 4rem;
  border-radius: var(--border-radius--md);
}

/* -------------------
　Q&A
 ------------------- */
.faq {
  display: flex;
  flex-direction: column;
  row-gap: 2em;
}

.faq-q,
.faq-a {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1em;
  align-items: start;
}
.faq-q {
  margin-bottom: 1em;
}

.faq-q__text {
  font-size: 1.2em;
  color: var(--color-main);
}

.faq__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5em;
  border-radius: 50%;
  font-weight: var(--text-bold);
  color: #fff;
}
.faq__icon-q {
  background-color: var(--color-main);
}
.faq__icon-a {
  background-color: var(--color-accent);
}

/* リスト */
.text-list,
.text-list--frame {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1em;
}
.text-list--frame {
  column-gap: 1em;
}
.text-list dt {
  text-align-last: justify;
  font-weight: var(--text-nomal);
}
.text-list dd {
  margin-bottom: 1em;
}
.text-list--frame dt {
  padding-inline: 1em;
  border-radius: var(--border-radius--sm);
  background-color: var(--color-main);
  color: #fff;
  text-align: center;
  margin-bottom: 1em;
  height: fit-content;
}
.text-list--frame dd {
  margin-bottom: 1em;
}

/* -------------------
　SPメディアクエリ
 ------------------- */
@media screen and (max-width: 1023px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }

  .article__body {
    padding-block: 0;
  }
  .article__header {
    padding-block: 0 6rem;
  }

  .article__title-wrap {
    padding-inline: 15px;
  }
  .article__title-wrap::before {
    margin-right: 2rem;
  }
  .article__title-main {
    font-size: 2.2rem;
  }
  .article__title-sub {
    font-size: 1em;
  }

  .section {
    padding-block: 6rem;
  }
  .section__lead {
    margin-block: 2rem 3rem;
  }

  .section-secondary__lead {
    margin-block: 2rem 3rem;
  }

  .portrait {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .portrait__image {
    margin-bottom: 1.5rem;
  }
  .portrait__body {
    row-gap: 1rem;
  }
  .portrait__discription {
    text-align: left;
  }

  .map iframe {
    aspect-ratio: 1 / 1;
    margin-top: 1rem;
  }

  .text-list--frame dl {
    grid-template-columns: none;
  }

  .text-list--frame {
    display: block;
  }
}
