html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, image, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.annotation{
	font-size: 0.8em; 
	width: 92%; 
	text-align: left; 
	margin: 0 auto;
}

.annotation a{
    color:#67b279;
}


/* header　カルーセル */
.header {
    position: relative;
    width: 100%;
    max-width: 750px; /* 画面幅に応じた最大幅を指定 */
    margin: 0 auto;
}

.background-image {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-container {
    position: absolute;
    top: 53%; /* 背景画像の中央に配置 */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; /* 必要に応じて調整 */
    height: auto;
}

.carousel img {
    width: 100%;
    height: auto;
    display: block;
}




/* ポップアップ */
/* styles.css */
.popup {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 800px;
/* 枠固定+スクロール可能追加 */
	position: relative;
  width: 80%;
  max-height: 80%;
  overflow-y: auto; /* 縦方向にスクロール可能にする */
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#popup-text h2 {
	text-align: center;
  	font-size: 1.5em;
	font-weight: bold;
  	color: #67b279;
	margin-bottom: 1.5em;
}
#popup-text p {
	line-height: 1.5em;
}
#popup-text h3,h4,h5,h6 {
	margin: 1em 0;
	font-weight: bold;
}
.none{
	  list-style: none;
}

.none2{
	margin: 1em 2em;
}
/* ポップアップ */

#wrap {
  max-width: 750px;
  margin: 0 auto;
}

.header {
  text-align: center;
  padding-bottom: 20px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
    margin: 0;
  gap: 0; /* 画像間の隙間をなくす */
}

.container img {
  width: 100%;
  height: auto;
  display: block;
	  padding: 0;
    margin: 0;
}

.header img {
  width: 100%;
  height: auto;
  display: block;
}

/* ボタン */
.btn{
	padding: 0;
}
.button {
  display: grid;
  grid-template-columns: repeat(1, auto);
  flex-wrap: wrap;
  width: 90%;
  margin: 2em auto;
  gap: 10px;
  text-align: center;
}

.button img {
  flex: 0 0 48%; /* ボタンを2列に配置するための幅 */
}

.image{
    display: block;
	    margin: 0;
    padding: 0;
}


.relative {
    position: relative;
    display: inline-block;
}

.absolute1{
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(1, auto);
    gap: 10px;
	width: 90%;
}
.absolute2{
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(1, auto);
    gap: 10px;
	width: 90%;
}
.absolute3{
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    gap: 10px;
	width: 90%;
}
.absolute4{
    position: absolute;
    top: 34%;
    left: 50%;
    transform: translate(-50%, -50%);
    gap: 10px;
	width: 90%;
}

.carousel-item {
  text-align: center;
}

.carousel-item img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%; /* 矢印の領域を広げる */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #00000057;
  border-radius: 50%;
  width: 2rem; /* 矢印のサイズを大きくする */
  height: 2rem;
}

/* FAQ */

.faq-container {
    margin: 30px auto;
    padding: 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 20px;
}

.faq-header h2 {
	font-weight: bold;
    font-size: 24px;
    margin: 0;
}

.faq-item {

}

.faq-item:first-child {
    border-top: none;
}

.faq-question {
	font-weight: bold;
	color: white;
    padding: 15px;
    background-color: #7ebe78;
    cursor: pointer;
    position: relative;
    border-radius: 8px; /* 角を丸くする */
    margin-bottom: 5px;
}
/*faq三角部分
.faq-question::after {
    content: '\25BC';
    position: absolute;
    right: 20px;
    font-size: 16px;
}

.faq-question.active::after {
    content: '\25B2';
}
*/

.faq-answer {
    max-height: 100%;
    overflow: hidden;
    transition: max-height 0.2s ease-out, padding 0.2s ease-out;
}

.faq-question.active + .faq-answer {
    padding: 5px;
	padding-bottom: 20px;
    background-color: white;
}

/* footer */
.footer-top {
    background-color: #585865;
    color: #e3e3e5;
    text-align: center;
    padding: 16px;
	max-width: 750px;
}

.footer-bottom {
    background-color: #53535e;
    color: #e3e3e5;
    text-align: center;
    padding: 16px;
}

.footer-top a, .footer-bottom a {
    color: #e3e3e5;
    text-decoration: none;
}

.footer-bottom {
    background-color: #53535e;
    color: #e3e3e5;
    text-align: center;
    padding: 16px;
}

/* メディアクエリの追加 */
@media (max-width: 420px) {
	.image{
    display: block;
	    margin: 0;
    padding: 0;
}
  .faq-question {
	font-size: 0.8em;
}
   .annotation{
	font-size: 0.6em; 
	width: 92%; 
	text-align: left; 
	margin: 0 auto;
}
@media (max-width: 450px) {
		.image{
    display: block;
	    margin: 0;
    padding: 0;
}
    .carousel-container {
        width: 100%; /* モバイル向けに幅を調整 */
		    top: 50%; /* 背景画像の中央に配置 */
    }
  .absolute2{
        top: 53%;
  }
  .absolute3{
        top: 30%;
  }
  .absolute4{
        top: 35%;
  }	
	
}
/* header　カルーセル */

}
@media (max-width: 750px) {
	.button{
  width: 70%;
	}
	.image{
    display: block;
	    margin: 0;
    padding: 0;
}
  .container {
    flex-direction: column;
	padding: 0;
  }

  .footer-top, .footer-bottom {
    font-size: 12px;
    padding: 10px 0;
  }
  .absolute2{
        top: 53%;
  }
  .absolute3{
        top: 30%;
  }
  .absolute4{
        top: 35%;
  }
}

@media (min-width: 576px) {
	.image{
    display: block;
	    margin: 0;
    padding: 0;
}
    .container, .container-sm {
        max-width: 750px;
    }
}
@media (min-width: 768px) {
	.image{
    display: block;
	    margin: 0;
    padding: 0;
}
    .container, .container-md, .container-sm {
        max-width: 750px;
		flex-direction: column;
    }

}
