/* ===============================
   タイトル画像
=============================== */
/*タイトル背景画像*/
.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;
}

.jumpImg{
  display: flex;
  justify-content: center;
  margin-top: 0;
  margin-bottom:40px;
}

.jumpImg img{
  width:280px;
  display:block;
}

.jumpImg img:hover{
  opacity:0.7;
}

/* ===============================
   スクロール調整
=============================== */
html{
  scroll-behavior:smooth;
}

h2,h3{
  scroll-margin-top:100px;
}

#openAllBtn, #closeAllBtn {
  padding: 10px 20px;
  margin-top: 20px;
  border: none;
  background-color: #69c4d0;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  size:400px;
  
padding: 15px 30px;   /* ← 余白を増やす＝ボタンが大きくなる */
  font-size: 18px;      /* ← 文字サイズを大きく */

}



.split-section{
	margin-top:30px;
}

.image-area{
	text-align:center;
}

.image-area img{
	display:block;
	margin:0 auto;
	width:80%;
	margin-bottom:15px;
}


.main-qa{
	flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#openAllBtn:hover, #closeAllBtn:hover {
  opacity: 0.8;
}

.openAllDiv {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  display:flex;
  justify-content:center;
  margin:bottom:30px;
}

.qa-6 {
    max-width: 70%;
    margin-bottom: 5px;
    border-bottom: 2px solid #69c4d0;
    width:100%;
    padding: 10px;
}

.qa-6 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #5c2408;
    font-weight: 600;
    cursor: pointer;
}

.qa-6 summary::before,
.qa-6 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-6 summary::before {
    color: #75bbff;
    content: "Q";
}

.qa-6 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #5c2408b3;
    border-right: 3px solid #5c2408b3;
    content: '';
    transition: transform .5s;
}

.qa-6[open] summary::after {
    transform: rotate(225deg);
}

.qa-6 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #5c2408;
    transition: transform .5s, opacity .5s;
    text-align:left;
    
}

.qa-6[open] p {
    transform: none;
    opacity: 1;
}

.qa-6 p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}

.qaContainer{
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
	/*min-height:100vh;*/
	margin-top:20px ;
	border:2px solid #5c2408b3;
	padding:20px;
	margin:40px auto;
	width:min(90%,85%);
}

.qaContainer h3{
	margin-top:15px;
}

#imgModal {
  display: none; /* ← 最初は非表示が重要 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.8);

  justify-content: center;
  align-items: center;

  z-index: 9999;
}

/* 画像 */
#imgModal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* ×ボタン */
#closeBtn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.memberImg img{
	display:block;
	margin:0 auto;
	width:80%;
}

/*写真表示*/
/* PC：横並び＆中央揃え */
.photo-row {
  display: flex;
  justify-content: center;  /* ← 横中央 */
  gap: 5px;                /* ← 画像の間の余白 */
}

.photo-row img {
  width: 600%;
  max-width: 600px;
  border-radius: 12px;
}

@media (max-width: 768px){
  .photo-row img{
    width: 85%;
    max-width: none;
  }
}

.photo-row img:hover{
  transform: scale(1.03);
}

/* ===============================
     スマホ対応 写真
=============================== */
@media (max-width: 768px)
  .photo-row {
    flex-direction: column;
    align-items: center;
  }

  .photo-row img {
    display: block;
    margin: 0 auto;
    width: 70%;
    max-width: 300px;
  }
  .qaContainer{
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
	/*min-height:100vh;*/
	margin-top:20px ;
	border:2px solid #5c2408b3;
	padding-right:0px;
	padding-left:0px;
	width:90%;
	margin-left:0;
	margin-right:0;
	}
	
	.qa-6 {
    max-width: 85%;
    margin-bottom: 5px;
    border-bottom: 2px solid #69c4d0;
    width:100%;
    padding: 0px;
	}