/* ===============================
   タイトル画像
=============================== */
/*タイトル背景画像*/
.title-area{
  
  height:20vh;   /*画面の40% */
  min-height:180px; /*小さくなりすぎ防止*/


  background-image:url("../pic2026/interview1.png");
  background-size:cover;
  background-position:center;

  display:flex;
  align-items:center;
  padding-left:10%;

  margin-top:80px;
}

/*タイトルの文字*/
.title-area h1{
  color:#0D716E;
  font-size:clamp(20px, 4vw, 32px);
  font-family: "Noto Serif JP", serif;
}

/* ===============================

   スマホ対応タイトル画像

=============================== */

@media (max-width: 1024px){

  /* タイトル画像縮小 */

  .title-area{

    height:13vh;

    min-height:100px;

    background-image:url("../pic2026/interview2.png"); /* スマホ用画像 */

    background-position:center;/* 中央に */

    justify-content:center;

    padding-left:0;           /* 左余白消す */

    text-align:center;        /* 文字中央 */

  }

}

/* ===============================
   メインコンテンツ
=============================== */
/* メインコンテンツ */
.content{
  flex:1;
  padding:40px;
}

/* タイトル */
h2{
  color:#0D716E;
  font-size:clamp(22px, 5vw, 32px);
  margin:20px 0;
  text-align: center;
  font-family: "Noto Serif JP", serif;
}

/* タイトル内タイトル */
h3{
  color:#5C2408;
  font-size: clamp(18px, 4vw, 26px);
  margin-bottom:10px;
  text-align: center;
}

/*アクセス内タイトルテキスト追加*/
.access-text{
  color:#5C2408;
  font-weight: bold; 
  font-size: clamp(18px, 4vw, 26px);
  font-family: "M PLUS Rounded 1c", sans-serif;
}

/* テキスト */
p{
  color:#5C2408;
  font-size:clamp(14px, 2.5vw, 18px);
  text-align: center;
}

/* 黄色のボックス */
.content-box{
  background: rgba(255, 246, 133, 0.3);/* #FFF685を30%透過 */
  border:4px double #FFF685;/* 二重線 */
  border-radius:12px;
  padding:20px;
  margin:20px auto;
  width:min(90%, 800px);
  
  scroll-margin-top: 100px;
}

/*インタビューを受けた方を一言で*/
.message{
  font-weight: bold;
  scroll-margin-top: 100px;
}

/*インタビューを受けた方*/
.interviewee{
  display: flex;
  justify-content: center;
  align-items: center; /* 縦も中央 */
  gap: 30px; /* 要素の間隔 */
}

/*interviweeのプロフィール*/
.joho{
  text-align: left;
  margin: 0;
}

.interview_icon img {
  width: 100%;
  max-width: 200px; /* PC最大 */
}

/*joho内のp要素*/
.joho p{
  text-align: left;
}

.schedule_title{
  display: block;
  text-align: center;
  color:#5C2408;
  font-size:clamp(16px, 2.5vw, 20px);
  font-weight: bold;
  margin-bottom:16px;
}

/*画像サイズ設定*/
.full {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 0 auto;
}

/*左右ボタン*/
.nav-btn {
  width:100px; /* サイズ調整 */
  cursor: pointer;
  transition: 0.2s;
  padding-top:80px;
  transform-origin: bottom center;
}

/*左右ボタンのホバー*/
.nav-btn:hover {
  opacity: 0.7;
}

/* 左ボタン → 左に傾く */
.interviewee > div:nth-child(1) .nav-btn:hover {
  transform: rotate(-10deg);
}

/* 右ボタン → 右に傾く */
.interviewee > div:nth-child(4) .nav-btn:hover {
  transform: rotate(10deg);
}

/*ほかの先輩の*/
.subfoot {
  display: flex;
  justify-content: center; /* 横方向中央 */
  gap: 30px; /* 画像の間の余白（好きに調整） */
}

.subfoot a {
  display: block;
}

.subfoot img {
  width: 200px;
}

.subfoot img:hover {
  opacity: 0.7;
}

.totopsize {
  width: 30%;
  height: auto; /* 縦横比を維持 */
 display: block;
  margin: 0 auto;
}

.totopsize:hover{
  opacity: 0.7;
}

/*PC用改行*/
.pc-br{
  display: block;
}

/*スマホ用改行*/
.sp-only {
  display: none;
}

.sp-br {
  display: none;
}

@media (max-width: 768px) {

  .sp-only {
    display: inline;
  }
  
.sp-br {
    display: block;
  }

/*PC用改行*/
.pc-br{
  display: none;
}

  .interviewee {
    flex-wrap: wrap;            /* 折り返し許可 */
    justify-content: center;
  }

  /* アイコンを中央にして横並びの基準にする */
  .interview_icon {
    order: 2;
  }

  /* 左ボタン */
  .interviewee > div:nth-child(1) {
    order: 1;
  }

  /* 右ボタン */
  .interviewee > div:nth-child(4) {
    order: 3;
  }

  /* ボタンとアイコンを横並びに */
  .interviewee > div:nth-child(1),
  .interview_icon,
  .interviewee > div:nth-child(4) {
    display: flex;
    align-items: center;
  }

.interview_icon img {
    max-width: 120px; /* スマホ最大 */
  }

  /* johoは下に */
  .joho {
    order: 4;
    width: 100%;       /* 下に広げる */
    text-align: center;
  }

  .joho .bigname{
  text-align: center;
  }

.joho .profile {
    display: block;
    margin: 0 auto; 
    width: fit-content;
    text-align: center;
  }

  /* ボタンの余白調整 */
  .nav-btn {
    padding-top: 0;
    width: 70px;
  }  
  
.subfoot img {
    width: 120px; /* 好きなサイズに調整OK */
  }
  
  .totopsize {
  width: 60%;
  height: auto; /* 縦横比を維持 */
 display: block;
  margin: 0 auto;
}

}

@media (max-width: 400px) {

.interview_icon img {
    max-width: 80px; /* スマホ最大 */
  }

}

/* 全体幅 */
.qa {
  max-width: 90%;
  margin: 40px auto;
}

/* 1行 */
.chat {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
}

/* アイコン */
.face {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border:2px solid #FFF685;
  background: rgba(255, 246, 133, 0.3);
}

.face-wrap {
  display: flex;
  flex-direction: column; /* ← 縦並びにする */
  align-items: center;   /* ← 中央揃え */
  width: 60px;           /* ← 幅を固定（重要） */
}

/*アイコンにつける名前*/
.name {
  font-size: 12px;
  margin-top: 5px;
  text-align: center;
}

.same .face {
  visibility: hidden;/* ← 見えなくする */
}

.same .name {
  visibility: hidden; /* ← 名前も一緒に消す */
}

/* 吹き出し */
.bubble {
  font-size:clamp(14px, 2.5vw, 16px);
  padding: 15px;
  border-radius: 15px;
  margin-left: 15px;
  position: relative;
  background: rgba(255, 246, 133, 0.3);
}

/* ← 三角 */
.bubble::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 15px;
  border: 10px solid transparent;
  border-right-color: rgba(255, 246, 133, 0.3);
}

/* 右側 */
.right {
  justify-content: flex-end;
}

.right .face{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border:2px solid #69C4D0;
  background: rgba(105,196,208,0.3);
}

.right .bubble {
  font-size:clamp(14px, 2.5vw, 16px);
  background: rgba(105,196,208,0.3);
  margin-left: 0;
  margin-right: 15px;
}

/* → 三角 */
.right .bubble::before {
  left: auto;
  right: -20px;
  border-right-color: transparent;
  border-left-color: rgba(105,196,208,0.3);
}

/*中央*/
.center {
  justify-content: center; /* ← 中央寄せ */
}

.center .face {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border:2px solid #69C4D0;
  background: rgba(105,196,208,0.3);
}

.center-bubble {
  font-size:clamp(14px, 2.5vw, 16px);
  padding: 15px;
  border-radius: 15px;
  margin-left: 15px;
  position: relative;
  background: rgba(105,196,208,0.3);
}

.center-bubble::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 15px;
  border: 10px solid transparent;
  border-right-color: rgba(105,196,208,0.3);
}

/* ===============================
   スクロール調整
=============================== */
html{
  scroll-behavior:smooth;
}

h2,h3,.content-box{
  scroll-margin-top:100px;
}
