/* ===============================
   タイトル画像
=============================== */
/*タイトル背景画像*/
.title-area{
  
  height:20vh;   /*画面の20% */
  min-height:180px; /*小さくなりすぎ防止*/


  background-image:url("../pic2026/qa1.png");
  background-size:cover;
  background-position:center;

  display:flex;
  align-items:center;
  padding-left:10%;

  margin-top:80px;
}

/*タイトルの文字*/
.title-area h1{
  color:#008080;
  font-size:clamp(22px, 5vw, 32px);
  font-family: "Noto Serif JP", serif;
}

/* ===============================
   スマホ対応タイトル画像
=============================== */

@media (max-width: 1024px){

  /* タイトル画像縮小 */
  .title-area{
    height:13vh;
    min-height:100px;

    background-image:url("../pic2026/qa2.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{
  font-size:clamp(14px, 2.5vw, 18px);
  text-align: center;
}

/* ===============================
   スクロール調整
=============================== */
html{
  scroll-behavior:smooth;
}

h2,h3{
  scroll-margin-top:100px;
}

/* ===============================
   qa_selectPageのみ
=============================== */

.button-area {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.menu-btn {
  width: 320px;
  padding: 32px 24px;
  border-radius: 20px;
  text-decoration: none;
  color: #5C2408;
  text-align: center;
  position: relative;

  background: #fff;
  transition: all 0.3s ease;
}

/* 外枠ストライプ */
.menu-btn {
  width: 320px;
  padding: 32px 24px;
  border-radius: 20px;
  text-decoration: none;
  color: #5C2408;
  text-align: center;
  background: #ffffff;

  /* シンプルな水色枠 */
  border: 2px solid #69C4D0;

  transition: all 0.3s ease;
}

.menu-btn:hover {
  transform: translateY(-4px) scale(1.02);

  /* ほんのり水色 */
  background: #f0fbfc;

  border-color: #69C4D0;
}


.title {
  display: block;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
}

.desc {
  display: block;
  color: #5C2408;
  font-size: 14px;
}

/* ===============================
   スマホ対応 ボタンを縦に
=============================== */

@media (max-width:1024px){

  .button-area{
    flex-direction: column;
    align-items: center;
  }

  .menu-btn{
    width: 90%;
    max-width: 400px;
  }

}

/* ===============================
   スマホ対応 画面下にフッター
=============================== */
@media (max-width:1024px){

  body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  main{
    flex: 1;
  }

}

