@charset "UTF-8";

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, 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 {
	line-height: 1;
	background: #fff;
	width: 100%;
	overflow: hidden;
	position: relative;
font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
font-weight: 500;
	text-align: center;
	-webkit-text-size-adjust: none;
    margin:0px;

}


/* micro clearfix */
/* For modern browsers */
.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}

.clearfix:after {
    clear:both;
}




a:hover img{
opacity:0.8;
filter:alpha(opacity=80);
-ms-filter: "alpha( opacity=80 )";
}


@media screen and (min-width: 769px){
html {
	max-width: 750px;
  margin: 0 auto;
  position: relative; /* Fix for absolute positioning */
overflow-y:scroll;

	padding: 0px 0px;
}
}

@media screen and (max-width: 768px){
html {
	max-width: 750px;
  margin: 0 auto;
  position: relative; /* Fix for absolute positioning */
overflow-y:scroll;

}
}




/* --------------------------------------------------------------------------------------------------------------------

common

-------------------------------------------------------------------------------------------------------------------- */

body > header {
	line-height: 0;
}

body > footer {
	color: #fff;
	font-size: 12px;
	padding: 5px 4px;
}


#index{
	text-align:center;
	height:100%;
	padding:0px 0px;
	max-width:750px;
	margin: 0 auto;
}

p{margin:0px 0px;}

#index > header h1 {
	line-height: 0;
	background: none;
	padding: 0;
}
#index img{
	height: auto;
	display:block;
    margin:0px 0px;
    line-height:0em;
    vertical-align:bottom;
}




/*** テキスト化
******************************************/

.aq_text {
	height:auto;
	padding: 3% 5%;
	font-size: 16px;
	line-height:130%;
	text-align: left;
	color: #000;
}

.f60{
font-size: 60%;
}


@media screen and (max-width: 640px){
.pcver { display:none;}
}

@media screen and (min-width: 640px){
.spver { display:none;}
}	


/* yes_noボタン */
.btn_wrap{
	width: 100%;
	padding: 20px 2%;
	/* background: #FEFBF2; */
	display: flex;
	justify-content: space-around;
    text-align: center;
	/* margin: 0 10% 0 10%; */
}
.bgwhite{
	background-color: #fff;
    
}

.bgpink{
	background-color: #FFDEDE;
}

.footer{
font-size: 12px;
line-height: 180%;
margin:5% 0 0;
padding: 5% 0;
background-color: #eae6d7;
color: #554041;
}

.footer a{
color: #554041;
}


input[type=checkbox],
input[type=radio] {
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
}

.answer_radio{
	position: relative;
}

.answer_checkbox{
	position: relative;
}



/**/
.radio-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      max-width: 580px;
      margin: 20px auto;
    }
    
 .radio-grid_02 {
 display: grid;
      gap: 20px;
      max-width: 580px;
      margin: 20px auto;
    }   
 .radio-grid_03 {
 display: grid;
      gap: 28px;
      max-width: 580px;
      margin: 20px auto;
    }   
    

    input[type="radio"] {
      display: none;
    }

    label {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 120px;
      background-color: white;
      border: 2px solid #b9996b;
      border-radius: 8px;
      font-size: 38px;
      color: #b9996b;
      cursor: pointer;
      transition: background-color 0.3s, color 0.3s;
    }
    
    label.q2 {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 120px;
      background-color: white;
      border: 2px solid #b9996b;
      border-radius: 8px;
      font-size: 34px;
      color: #b9996b;
      cursor: pointer;
      transition: background-color 0.3s, color 0.3s;
    }
    
    label.q3 {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 150px;
      background-color: white;
      border: 2px solid #b9996b;
      border-radius: 8px;
      font-size: 34px;
      color: #b9996b;
      cursor: pointer;
      transition: background-color 0.3s, color 0.3s;
      line-height: 140%;
    }
    
 @media screen and (max-width: 640px){ 
 
 .radio-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      max-width: 580px;
      margin: 20px auto;
    }
    
 .radio-grid_02 {
 display: grid;
      gap: 10px;
      max-width: 580px;
      margin: 20px auto;
    } 
 .radio-grid_03 {
 display: grid;
      gap: 10px;
      max-width: 580px;
      margin: 20px auto;
    }     
 
    label {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 16vw;
      background-color: white;
      border: 2px solid #b9996b;
      border-radius: 8px;
      font-size: 30px;
      color: #b9996b;
      cursor: pointer;
      transition: background-color 0.3s, color 0.3s;
    }
    
    label.q2 {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 60px;
      background-color: white;
      border: 2px solid #b9996b;
      border-radius: 8px;
      font-size: 6vw;
      color: #b9996b;
      cursor: pointer;
      transition: background-color 0.3s, color 0.3s;
    }
    
    label.q3 {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 76px;
      background-color: white;
      border: 2px solid #b9996b;
      border-radius: 8px;
      font-size: 5.5vw;
      color: #b9996b;
      cursor: pointer;
      transition: background-color 0.3s, color 0.3s;
      
    }
    }

    input[type="radio"]:checked + label {
      background-color: #b9996b;
      color: white;
    }
    
.absolute{
position: absolute;
z-index: 10;
}

.relative{
position: relative;
z-index: 10;
}

.aq_01{
position: absolute;
    bottom: 8.5%;
    width: 80%;
    left: 0;
    right: 0;
     margin: 0 auto
}

.aq_02{
position: absolute;
    bottom: 12.5%;
    width: 74%;
    left: 0;
    right: 0;
     margin: 0 auto
}

.aq_03{
position: absolute;
    bottom: 12.5%;
    width: 74%;
    left: 0;
    right: 0;
     margin: 0 auto
}

/*カルーセル*/
.background-image img {
      width: 100%;
      display: block;
    }

    .carousel-container {
      position: absolute;
      top: 22%;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
    }

    .carousel-track {
      display: flex;
      transition: transform 0.5s ease;
      width: 100%;
    }

    .carousel-slide {
      min-width: 100%;
      box-sizing: border-box;
      display: flex;
      justify-content: center; /* 中央寄せ */
      align-items: center;
    }

    .carousel-slide img {
      width: 95%;     /* ← 横幅90%に */
      display: block;
      border-radius: 12px; /* 任意で角丸も追加できます */
    }


    .carousel-button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      font-size: 18px;
      padding: 10px;
      cursor: pointer;
      z-index: 20;
    }

    .carousel-button.prev {
      left: 7%;
    }

    .carousel-button.next {
      right: 7%;
    }
    
.poyopoyo {
  animation: poyopoyo 2s ease-out infinite;
  opacity: 1;
}
@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}    