@charset "utf-8";
* {
	margin: 0px;
	padding: 0px;
}
*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
a {
	text-decoration: none;
}
img {
	vertical-align:bottom;
	border:none;
    width: 100%;
}
table {
	border-collapse: collapse;
}
.clearfix:after {
	content: ".";  /* 新しい要素を作る */
	display: block;  /* ブロックレベル要素に */
	clear: both;
	height: 0;
	visibility: hidden;
}

.clearfix {
	min-height: 1px;
}

* html .clearfix {
  	height: 1px;
  	/*\*//*/
	height: auto;
	overflow: hidden;
	/**/
}
/* iOSでのデフォルトスタイルをリセット */
input[type="submit"] {
	-webkit-appearance: none;
}

body {
    font-family: Verdana, "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
    background-image: url("bg.jpg"); /* 背景画像 */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

#main-container {
    max-width: 800px;
    margin: 0 auto;
}

#survey-wrapper {
    background:
    radial-gradient(circle at 15% 20%, rgb(182 250 255 / 60%) 0%, #f7c1ff7a 35%),
    linear-gradient(87deg, #bfedff 0%, #ffdaffa3 50%, #bbe6f7 100%);
    min-height: 100vh;
    max-width: 800px;
    margin: 0 auto;
}

#main-title {
    color: white;
    font-size: 40px;
    font-weight: 900;
    text-align: center;
    padding: 46px 40px;
    text-shadow: 0 0 10px #F8547D, 0 0 25px rgba(248, 84, 125, 1);
}

#agreement-area {
    text-align: center;
    margin: 30px 0;
}

#age-limit-note {
    color: #eb135c;
    font-size: 16px;
    margin-top: 5px;
}

#adultCheck {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

.form_gender {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 10px 0;
}

.form_gender input[type="radio"] {
    display: none;
}

.form_gender label {
    display: block;
    background: white;
    border: 2px solid #ccc;
    padding: 18px 10px;
    font-size: 18px;
    font-weight: 900;
    color: #333;
    text-align: center;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.form_gender input[type="radio"]:checked + label {
    background: #f15a5a;
    color: #fff;
    border-color: #e00000;
    transform: translateY(2px);
}

.form_contents {
    text-align: center;
    padding: 20px 0 60px 0;
}

#submitBtn {
    width: 100%;
    cursor: pointer;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 16px;
}

.badge-wrapper {
    text-align: center;
    width: 100%;
}

.question-bg {
    background: white;
    border: 3px solid;
    border-radius: 25px;
    padding: 60px 50px;
    margin-bottom: 20px;
}

/* アンケート背景 */
.question-bg.pink { border-color: #ff6b9d; background: linear-gradient(to bottom, #FED6DE 0%, #FFF8EE 100%); }
.question-bg.cyan { border-color: #4dd4ac; background: linear-gradient(to bottom, #C5F0F1 0%, #D0FFF3 100%); }
.question-bg.yellow { border-color: #ffb84d; background: linear-gradient(to bottom, #FEECB4 0%, #FFF4F7 100%); }

.question-badge {
    color: white;
    font-size: 16px;
    font-weight: 900;
    padding: 8px 24px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
}

.question-badge.pink { background: linear-gradient(180deg, #F83C69, #FD7468); }
.question-badge.cyan { background: linear-gradient(180deg, #2EB7BA, #66D799); }
.question-badge.orange { background: linear-gradient(180deg, #FD7468, #FCBC6D); }

.question-text {
    font-size: 20px;
    font-weight: 900;
    color: #603700;
    text-align: center;
    margin-bottom: 20px;
}

.checkbox-label {
    color: #F8547D;
    font-size: 23px;
    font-weight: 600;
    cursor: pointer;
}

footer {
    background-color: #F8547D;
    padding: 8%;
    color: #fff;
    text-align: center;
}

/* レスポンシブ */
@media (max-width: 480px) {
    #main-title { 
        font-size: 26px; 
    }
    .question-card { 
        padding: 35px 25px; 
    }
    .form_gender label { 
        font-size: 16px;
         font-weight:600;
    }
    .question-text {
        font-size: 18px;
        font-weight:600;
    }
}