/* A Modern CSS Reset */
*,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role="list"],ol[role="list"]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}
*{
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 900;
}
a{
	transition: all .3s;
}
a:hover{
	opacity: .7;
}
ul{
	list-style: inside none;
	padding: 0;
}
img{
	display: block;
	max-width: 100%;
	vertical-align: bottom;
	width: 100%;
}
p{
	font-size: 18px;
	line-height: 2em;
}
.center{
	text-align: center;
}
.center img{
	margin: 0 auto;
	text-align: center;
}
#wrapper{
	margin: 0 auto;
	max-width: 640px;
	overflow: hidden;
	width: 100%;
}
.ul{
	background: linear-gradient(transparent 50%, #fff100 50%);
}
.delay1{
	animation-delay: 0.1s;
}
.delay2{
	animation-delay: 0.2s;
}
.delay3{
	animation-delay: 0.3s;
}
.delay4{
	animation-delay: 0.4s;
}
.delay5{
	animation-delay: 0.5s;
}
.delay6{
	animation-delay: 0.6s;
}
.delay7{
	animation-delay: 0.7s;
}
.delay8{
	animation-delay: 0.8s;
}
.delay9{
	animation-delay: 0.9s;
}
.delay10{
	animation-delay: 1.0s;
}
/*===============================================
 * header
===============================================*/
html, body {
    height: auto !important;
    min-height: auto !important;
}
header{
	padding: 0;
	position: relative;
	text-align: center;
}
.header_title{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;
}
header h1 img{
	margin: 0;
	width: 100%;
}
header{
	position: relative;
}
header > img{
	position: relative;
	top: 0;
	left: 0;
	z-index: 0;
}
.header_inner{
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	z-index: 1;
}
.header_inner img{
	width: 100%;
}
.header_inner h1{
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2;
}
.header_inner p,
.header_inner span{
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
}
.header_inner > img{
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
}
section{
	padding: 0;
}
h2{
	font-size: 30px;
	letter-spacing: 2px;
	text-align: center;
}
.step{
	background: #eff;
	padding: 0;
	position: relative;
	z-index: 0;
}
.step > p{
	margin: 0;
}
.step > p > img{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;
}
.step > p > img[alt="1.まずは無料LINE登録"] {
    z-index: 5;
}

.step > p > img[alt="登録までの3ステップ"] {
    z-index: 3;
}

.step > p > img[alt="2．名前と性別を入力"] {
    z-index: 2;
}

.step > p > img[alt="3．あとは結果を待つのみ！"] {
    z-index: 2;
}

.first-btn_area {
  position: absolute;
  bottom: 0%;
  left: 0%;
  transform: translateX(-50%);
  width: 100%; 
  max-width: none;
  z-index: 10;
  text-align: center;
}

.first-btn_area img {
  width: 100%;
  height: auto;
  display: block;
}
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
			text-rendering: optimizeSpeed;
    		line-height: 1.5;
            font-family: 'Arial', sans-serif;
            position: relative;
            overflow-x: hidden;
			margin: 0;
    		padding: 0;
        }
/* ここに追加 */
.container {
    background: #603813;
    padding: 40px 20px;
}
.title-jp {
	text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
	margin-bottom: 30px;
}

        .testimonial-card {
            background: white;
            border-radius: 15px;
            padding: 20px;
            margin: 20px 0;
            box-shadow: 0 8px 16px rgba(0,0,0,0.3);
            position: relative;
        }

        .user-info {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding: 10px;
            background: #FFF8DC;
            border-radius: 8px;
            border-left: 4px solid #DAA520;
        }

        .avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(45deg, #FFD700, #FFA500);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            position: relative;
            border: 3px solid #DAA520;
        }
.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    position: relative;
    border: 3px solid #DAA520;
    /* SVG背景を追加 */
    background-image: url('img/icon1.svg');
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

        .username {
            font-size: 16px;
            font-weight: bold;
            color: #8B4513;
        }

        .main-message {
            font-size: 18px;
            font-weight: bold;
            color: #2C1810;
            margin-bottom: 20px;
            line-height: 1.4;
        }

        .story-content {
            margin-bottom: 15px;
        }

        .story-preview {
            color: #555;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .expand-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(45deg, #FFD700, #FFA500);
            border: none;
            color: white;
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
            margin: 0 auto 20px auto;
            display: block;
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
            transition: all 0.3s ease;
        }

        .expand-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 12px rgba(0,0,0,0.4);
        }

        .expanded-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease;
        }

        .expanded-content.active {
            max-height: 500px;
        }

        .full-story {
            color: #555;
            font-size: 14px;
            line-height: 1.6;
        }

        .details {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .detail-item {
            background: #FFF8DC;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 12px;
            color: #8B4513;
            border: 1px solid #DAA520;
        }

        .navigation {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 30px;
            gap: 20px;
        }

        .nav-arrow {
            width: 40px;
            height: 40px;
            background: linear-gradient(45deg, #DAA520, #FFD700);
            transform: rotate(45deg);
            cursor: pointer;
            border: 2px solid #B8860B;
            transition: all 0.3s ease;
        }

        .nav-arrow:hover {
            transform: rotate(45deg) scale(1.1);
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        }

        .nav-arrow.left {
            margin-right: 10px;
        }

        .nav-arrow.right {
            margin-left: 10px;
        }

        .nav-arrow::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            transform: translate(-50%, -50%) rotate(-45deg);
        }

        .nav-dots {
            display: flex;
            gap: 10px;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .dot.active {
            background: #FFD700;
            transform: scale(1.2);
        }

        .dot:hover {
            background: #FFD700;
        }

.qa-section {
  background: #fff;
  padding: 40px 20px;
  max-width: 640px;
  margin: 0 auto;
}

.qa-title {
  font-size: 32px;
  text-align: center;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  margin-bottom: 30px;
}

.qa-item {
  margin-bottom: 20px;
  border: 2px solid #FFD700;
  border-radius: 10px;
  overflow: hidden;
}

.qa-question {
  width: 100%;
  text-align: left;
  background: #fff8dc;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  outline: none;
  color: #8B4513;
}

.qa-answer {
  padding: 15px;
  display: none;
  background: #fff;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}
/* Q&A専用のスタイル - 修正版 */
.qa-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
    background: #603813;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    margin-top: 0px;
    margin-bottom: 20px;
}

.qa-item {
    background: transparent;
    border: 2px solid #fbbf24;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.qa-question {
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    text-align: left;
}

.qa-question:hover {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.question-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.question-number {
    font-size: 24px;
    font-weight: bold;
    color: white;
    min-width: 50px;
}

.question-text {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.toggle-icon {
    font-size: 24px;
    font-weight: bold;
    color: white;
    transition: transform 0.3s ease;
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    padding: 0 16px;
    background: #fff;
}

.qa-answer.open {
	display: block !important;
    max-height: 600px;
    opacity: 1;
    padding: 20px 16px;
}

.answer-content {
    background: #fff;
    border-radius: 8px;
}

.answer-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.answer-label {
    font-size: 20px;
    font-weight: bold;
    color: #f59e0b;
    min-width: 30px;
}

.answer-title {
    font-size: 18px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 8px;
}

.answer-detail {
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
}

.answer-highlight {
    background: linear-gradient(45deg, #fef3c7, #fbbf24);
    padding: 12px;
    border-radius: 8px;
    margin-top: 16px;
    text-align: center;
    border: 2px solid #f59e0b;
}

.answer-highlight-text {
    color: #92400e;
    font-weight: bold;
    font-size: 16px;
}

.answer-subtext {
    color: #6b7280;
    font-size: 12px;
    margin-top: 8px;
    font-style: italic;
}
#recommend {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-top: -37px;
  overflow: hidden;

}

#recommend > img {
  width: 100%;
  height: auto;
  display: block;
}

#recommend ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 2;
}

#recommend ul li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  margin: 0;
  line-height: 0;
}

#recommend ul li img {
  position: static;
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}
.second-btn_area {
  position: absolute;
  bottom: 0%;
  left: 9%;
  transform: translateX(-50%);
  width: 80%; 
  max-width: none;
  z-index: 10;
  text-align: center;
}

.second-btn_area img {
  width: 100%;
  height: auto;
  display: block;
}
#warning {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-top: -23px;
  overflow: hidden;

}

#warning > img {
  width: 100%;
  height: auto;
  display: block;
}

#warning ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 2;
}

#warning ul li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  margin: 0;
  line-height: 0;
}

#warning ul li img {
  position: static;
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}
#last {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-top: 0px;
  overflow: hidden;

}

#last> img {
  width: 100%;
  height: auto;
  display: block;
}

#last ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 2;
}

#last ul li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  margin: 0;
  line-height: 0;
}

#last ul li img {
  position: static;
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}
.third-btn_area {
  position: absolute;
  bottom: 3%;
  left: 0%;
  transform: translateX(-50%);
  width: 100%; 
  max-width: none;
  z-index: 10;
  text-align: center;
}

.third-btn_area img {
  width: 100%;
  height: auto;
  display: block;
}
/* 固定ボタン */
.fixed-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    margin: 0;
    padding: 0;
    line-height: 0;
}
.fixed-btn a {
    display: block;
    transition: all 0.3s ease;
    /* 透明な余白を削除 */
    padding: 0;
    margin: 0;
    line-height: 0;
}

.fixed-btn a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.fixed-btn img {
    display: block;
    border-radius: 10px;
    width: 80vw; /* 画面幅の80% */
    max-width: 640px; /* 最大幅を制限 */
    height: auto;
}
footer {
    background: #603813;
    color: white;
    text-align: center;
    margin-top: -25px;
	margin-bottom: 0;
}
.bounce-once {
    animation: bounce 0.6s ease-out 1;
}
.fade-in-bottom {
    animation: fade-in-bottom 0.6s both;
}

@keyframes fade-in-bottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
.delay1s { animation-delay: 1s; }
.delay2s { animation-delay: 2s; }
.delay3s { animation-delay: 3s; }
.first-btn_area {
    overflow: hidden;
}

.first-btn_area a {
    position: relative;
    display: block;
    overflow: hidden;
}

.first-btn_area a::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    animation: btn_shine 3s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

.first-btn_area img {
    position: relative;
    z-index: 1;
}

@keyframes btn_shine {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    80% {
        transform: scale(0) rotate(45deg);
        opacity: 0.5;
    }
    81% {
        transform: scale(4) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}
.third-btn_area {
    overflow: hidden;
}

.third-btn_area a {
    position: relative;
    display: block;
    overflow: hidden;
}

.third-btn_area a::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    animation: btn_shine 3s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

.third-btn_area img {
    position: relative;
    z-index: 1;
}

@keyframes btn_shine {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    80% {
        transform: scale(0) rotate(45deg);
        opacity: 0.5;
    }
    81% {
        transform: scale(4) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}
.step .pulse {
    animation-duration: 1s !important;
    animation-timing-function: ease-in-out;
}

.step .pulse.animated {
    transform: scale(1.15);
}

/* より強いpulseエフェクト */
@keyframes pulse-strong {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.step .pulse {
    animation-name: pulse-strong !important;
    animation-duration: 0.8s !important;
}
.title-jp {
  padding: 1rem 2rem;
  color: #fff;
  background-image: -webkit-linear-gradient(315deg, #704308 0%, #ffce08 40%, #e1ce08 60%, #704308 100%);
  background-image: linear-gradient(135deg, #704308 0%, #ffce08 40%, #e1ce08 60%, #704308 100%);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}