/* ===============================
   タイトル画像
=============================== */
/*タイトル背景画像*/
.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;
}

/* テキスト */
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;
}

ul{
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
}

li{
  list-style: none;
}

/*プロフィール写真*/
.profile{
  max-width: 80%;
  display: block;
  margin: 0 auto;
}

.profile:hover{
  opacity: 0.6;
}


@media (max-width: 768px) {
  ul {
    flex-direction: column;
    align-items: center; /* 中央寄せ（任意） */
  }
  
  .profile{
  width: 60%;
  }
}

/*インタビューを受けた方*/
.interviewee{
  display: flex;
  justify-content: center;
}

/* ===============================
   スクロール調整
=============================== */
html{
  scroll-behavior:smooth;
}

h2,h3,.content-box{
  scroll-margin-top:100px;
}
  
