/* =========================
   リセット
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   スムーズスクロール
   ========================= */
html {
    scroll-behavior: smooth;
}



/* =========================
   基本
   ========================= */
body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

main {
  max-width: 1100px;
  margin: 0 auto;
}


/* =========================
   固定ボタン（基本＝スマホ）
   ========================= */
.fixed-buttons {
    position: fixed;
    top: 60%;
    transform: translateY(-50%);
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    z-index: 1000;
}

/* ボタン */
.btn {
    display: block;
}

/* 画像ボタン */
.btn img {
    width: 60px;
    height: auto;
    display: block;
}

/* ホバー */
.btn img:hover {
    opacity: 0.8;
}

/* =========================
   PC（1100px以上）
   コンテンツ右端に合わせる
   ========================= */
@media (min-width: 1100px) {
    .fixed-buttons {
        top: 50%;
    }
}



/* =================================
   パンくず
================================= */

.breadcrumb {
  max-width: 1100px;
  margin: 30px auto;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
}

.breadcrumb a {
  text-decoration: none;
}


h1 img {
  width: 100%;
  height: auto;
}


/* =================================
   説明文
================================= */
.intro {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin: 85px 0 45px;
}

.intro__text {
  flex: 1;
}
.intro__text p {
  margin-bottom: 40px;
}

.intro__image {
  width: 300px;
  flex-shrink: 0;
}

.intro__image img {
  width: 100%;
  border-radius: 10px;
}


/* =================================
   QAエリア
================================= */

.qa-section {
  padding: 40px 45px;
  background: #ebf5f7;
  border-radius: 20px;
}

.qa-section__inner {
  max-width: 1010px;
  margin: 0 auto;
}

.qa-section__title {
  margin: 0 0 40px;
  color: #2591a2;
  font-size: 30px;
  font-weight: 700;
}


/* =================================
   QA
================================= */

.qa-item {
  margin-bottom: 30px;
  background: #fff;
  border: 1px solid #2591a2;
  border-radius: 5px;
}

.qa-item summary {
  list-style: none;
  cursor: pointer;
}

.qa-item summary::-webkit-details-marker {
  display: none;
}


/* 質問 */

.qa-item__question {
  position: relative;
  padding: 20px 60px 20px 65px;
  font-size: 20px;
  font-weight: 700;
}

.qa-label {
  position: absolute;
  top: 12px;
  left: 25px;
  font-size: 30px;
  font-weight: 700;
}

.qa-item__question .qa-label {
  color: #2591a2;
}


/* トグル */
.qa-toggle {
  position: absolute;
  top: 50%;
  right: 25px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #2591a2;
  transform: translateY(-50%);
}


/* 開いた時 */
.qa-item[open] .qa-toggle {
  border-top: none;
  border-bottom: 10px solid #2591a2;
}


/* 回答 */
.qa-item__answer {
  padding: 20px 25px;
  border-top: 1px dashed #2591a2;
}

.qa-item__answer p {
  position: relative;
  padding-left: 40px;
  font-size: 18px;
}

.qa-item__answer .qa-label {
  position: absolute;
  top: -10px;
  left: 0;
  color: #f15a24;
}

.qa-text {
  display: block;
}


/* =================================
   参考資料
================================= */

.reference {
  margin-top: 30px;
}



/* =================================
   対談者紹介
================================= */
.interview-members {
  padding: 100px 25px;
}

.member {
  display: flex;
  gap: 35px;
  align-items: center;
  margin: 0 auto 50px;
}

.member:last-child {
  margin-bottom: 0;
}


/* 写真 */
.member__image {
  width: 220px;
  flex-shrink: 0;
}

.member__image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}


/* テキスト */

.member__content {
  flex: 1;
}

.member__content h3 {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2591a2;
  font-weight: 700;
}

.member__name {
  font-size: 26px;
  font-weight: 700;
}

.member__info {
  font-size: 18px;
  font-weight: 400;
}

.member__content p {
  margin: 0;
  font-size: 16px;
}

/* 1人目 */
.member--person1 .member__content h3 {
  color: #ed726e;
  border-bottom: 2px solid #ed726e;
}


/* 2人目 */
.member--person2 .member__content h3 {
  color: #0097bc;
  border-bottom: 2px solid #0097bc;
}

/* =================================
   会話タイトル
================================= */

.talk-heading {
  max-width: 1100px;
  margin-bottom: 60px;
  padding: 3px 20px;
  color: #fff;
  background: #2591a2;
  border-radius: 10px;
  font-size: 30px;
}


/* =================================
   会話
================================= */

.conversation {
  margin: 0 auto;
  padding-bottom: 90px;
}


/* 共通 */

.talk {
  display: flex;
  align-items: flex-start;
  gap: 42px;
  margin-bottom: 35px;
}

/* アイコン */
.talk__icon {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}

.talk__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* 吹き出し */
.talk__balloon {
  position: relative;
  width: 960px;
  padding: 30px 35px;
  border-radius: 10px;
}

.talk__balloon sup {
  font-size: 10px;
}
/* 太字＋黄色背景 */
.talk__balloon .highlight {
  font-weight: 700;
  background: linear-gradient(
    transparent 55%,
    #ffff4c 55%
  );
  padding: 0 2px;
}

/* =================================
   左側会話
================================= */
.talk--person1 {
  justify-content: flex-start;
}

.talk--person1 .talk__balloon {
  background: #fef4f4;
  border: 1px solid #ed726e;
}

/* 三角の枠線 */
.talk--person1 .talk__balloon::before {
  content: "";
  position: absolute;
  top: 25px;
  left: -26px;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-right: 26px solid #ed726e;
}

/* 三角の背景 */
.talk--person1 .talk__balloon::after {
  content: "";
  position: absolute;
  top: 26px;
  left: -24px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 24px solid #fef4f4;
}


/* =================================
   右側会話
================================= */
.talk--person2 {
  justify-content: flex-end;
}

.talk--person2 .talk__balloon {
  background: #eaf3f8;
  border: 1px solid #0097bc;
}

/* 三角の枠線 */
.talk--person2 .talk__balloon::before {
  content: "";
  position: absolute;
  top: 25px;
  right: -26px;

  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 26px solid #0097bc;
}

/* 三角の背景 */
.talk--person2 .talk__balloon::after {
  content: "";
  position: absolute;
  top: 26px;
  right: -24px;

  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid #eaf3f8;
}

/* 注釈 */
.note-section {
  margin: 0 auto;
  padding: 0 40px 85px;
}

.note-section p {
  margin-bottom: 30px;
  font-size: 18px;
}

/* 画像リンクボタン */
.page-link {
  margin: 0 auto;
  padding-bottom: 80px;
}


/* 作成日（リストの下・右寄せ） */
.date {
    margin-bottom: 40px;
    text-align: right;
    font-size: 15px;
}

/* 施設案内誘導メッセージ */
.editorial-info-box {
  margin: 80px auto 0;
  padding: 30px;
  background: #fffada;
  border-radius: 10px;
}

.editorial-info-box p {
  margin: 0;
}


/* =================================
   施設紹介リンク
================================= */
.fixed-facility-link {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1000;
  padding: 45px 0;
  background: rgba(255, 255, 255, 0.8);
  border-top: 1px solid #f7931e;
}

.fixed-facility-link a {
  display: block;
}

.fixed-facility-link img {
  display: block;
  width: 1100px;
  height: auto;
  margin: 0 auto;
}


/* =========================
   フッター
   ========================= */
footer {
    background: #2591A2;
    color: #fff;
    border-top: 5px solid #bedee3;
    height: 75px; /* ライン込み */
    display: flex;
    align-items: center;     /* 縦中央 */
    justify-content: center; /* 横中央 */
    margin-bottom: 190px;
}

.footer-inner {
    width: 90%;
    max-width: 1400px;
    text-align: center;
}
/* フッター内ナビ */
.footer-nav {
    display: flex;
    justify-content: center; /* 横中央 */
    align-items: center;     /* 縦中央 */
    gap: 20px;               /* リンク間の間隔 */
}

/* リンク */
.footer-nav a {
    color: #fff;
    text-decoration: none;
}

/* ホバー：線だけ */
.footer-nav a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================
   スマホ対応
   ========================= */
@media (max-width: 767px) {

  body {
    font-size: 16px;
  }

  main {
    width: 100%;
  }


  /* =========================
     パンくず
     ========================= */
  .breadcrumb {
    margin: 20px 15px;
    font-size: 14px;
  }


  /* =========================
     説明文
     ========================= */
  .intro {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 50px 20px 45px;
  }

  .intro__image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    order: 2;
  }

  .intro__text {
    order: 1;
  }

  .intro__text p {
    margin-bottom: 25px;
  }


  /* =========================
     QAエリア
     ========================= */
  .qa-section {
    margin: 0 15px;
    padding: 30px 15px;
    border-radius: 15px;
  }

  .qa-section__title {
    margin-bottom: 25px;
    font-size: 24px;
  }

  .qa-item {
    margin-bottom: 20px;
  }

  .qa-item__question {
    padding: 16px 45px 16px 55px;
    font-size: 17px;
  }

  .qa-label {
    top: 10px;
    left: 18px;
    font-size: 25px;
  }

  .qa-toggle {
    right: 15px;
    border-left-width: 6px;
    border-right-width: 6px;
    border-top-width: 8px;
  }

  .qa-item[open] .qa-toggle {
    border-bottom-width: 8px;
  }

  .qa-item__answer {
    padding: 15px;
  }

  .qa-item__answer p {
    padding-left: 35px;
    font-size: 16px;
  }

  .qa-item__answer .qa-label {
    top: -5px;
    left: 0;
  }


  /* =========================
     対談者紹介
     ========================= */
  .interview-members {
    padding: 60px 20px;
  }

  .member {
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 40px;
  }

  .member__image {
    width: 100px;
  }

  .member__image img {
    width: 100%;
    height: 100%;
    display: block;
  }
  .member__name {
    font-size: 21px;
  }

  .member__info {
    font-size: 15px;
  }

  .member__content p {
    font-size: 15px;
  }


  /* =========================
     会話タイトル
     ========================= */
  .talk-heading {
    margin: 0 15px 40px;
    padding: 8px 15px;
    font-size: 22px;
  }


  /* =========================
     会話
     ========================= */
  .conversation {
    padding: 0 15px 70px;
  }

  .talk {
    gap: 12px;
    margin-bottom: 25px;
  }

  .talk__icon {
    width: 55px;
    height: 55px;
  }

  .talk__balloon {
    width: auto;
    max-width: calc(100% - 67px);
    padding: 15px 18px;
    border-radius: 10px;
    font-size: 16px;
  }


  /* 三角 */
  .talk--person1 .talk__balloon::before {
    top: 18px;
    left: -14px;
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-right-width: 14px;
  }

  .talk--person1 .talk__balloon::after {
    top: 19px;
    left: -12px;
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-right-width: 12px;
  }

  .talk--person2 .talk__balloon::before {
    top: 18px;
    right: -14px;
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 14px;
  }

  .talk--person2 .talk__balloon::after {
    top: 19px;
    right: -12px;
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 12px;
  }


  .conversation__image {
    width: 100%;
    margin-top: 40px;
  }

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

  /* =========================
     編集部からの施設案内
     ========================= */
  .editorial-info-box {
    margin: 50px 15px 0;
    padding: 20px;
    border-radius: 10px;
    font-size: 16px;
  }


  /* =========================
     注釈
     ========================= */
  .note-section {
    padding: 0 20px 60px;
  }

  .note-section p {
    margin-bottom: 20px;
    font-size: 14px;
  }


  /* =========================
     画像リンク
     ========================= */
  .page-link {
    padding: 0 15px 60px;
  }

  .page-link img {
    width: 100%;
    height: auto;
  }


  /* =========================
     作成日
     ========================= */
  .date {
    margin: 0 20px 30px;
    font-size: 13px;
  }


  /* =========================
     固定・施設紹介リンク
     ========================= */
  .fixed-facility-link {
    padding: 15px 10px;
  }

  .fixed-facility-link img {
    width: 100%;
    height: auto;
  }


  /* =========================
     フッター
     ========================= */
  footer {
    height: auto;
    min-height: 75px;
    margin-bottom: 80px;
    padding: 15px 10px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 8px 15px;
    font-size: 14px;
  }

}