*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body{
    background-color:#dfad889b;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

#main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 420px; 
}

.normal-box {
    background-color: #ffffff;
    border-radius: 12px;
    width: 100%;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.normal-box h2 {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 13px;
    color: #888888;
    text-align: center;
    margin-bottom: 24px;
}

.field{
    width: 100%;
    margin-bottom: 16px;
}

label{
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #555555;
    margin-bottom: 6px;
}

select{
    width: 100%;
    padding: 10px;
    padding-right: 90px;
    font-size: 14px;
    border: 1px solid #999999;
    border-radius: 4px;
    background-color: #ffffff;
    color: #333333;
    outline: none;
    cursor: pointer;
}

select:focus{
    border-color: #000000;
}

.btn-primary, .btn-top{
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    text-align: center;
    transition: background-color 0.2s;
}

.btn-primary{
    background-color: #fca366;
    color: #ffffff;
}
.btn-top{
    background-color: #f08333;
    color: #ffffff;
}
.btn-primary:hover{
    background-color: #cb5c0c;
}

.btn-top:hover{
    background-color: #cb5c0c;
}

.sindan-box{
    background: conic-gradient(#fca366 0%, #eeeeee 0%);
    border-radius: 50%;
    width: 420px;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) ;
    transition: background 0.4s ease ;
}

.inner-circle{
    background-color: #ffffff;
    border-radius: 50%;
    width: 396px;
    height: 396px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

#loading-stage, #question-stage{ /*はみ出し防止*/
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 90%;
}

.loder{
    border: 6px solid #f3f3f3;
    border-top: 6px solid #fca366;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin-bottom: 16px;
}

.loding-text{
    font-size: 15px;
    font-weight: bold;
    color: #555555;
    text-align: center;
}

@keyframes spin{
    0%{transform:rotate(0deg);}
    100%{transform: rotate(360deg);}
}

#question-steps{
    font-size: 13px;
    color: #b0a39c;
    margin-bottom: 12px;
    text-align: bold;
}

.qestion-text{
    font-size: 18px;
    color: #333333;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.4;
}

.question-container{
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.btn-option{
    width: 100%;
    padding: 10px;
    font-size: 15px;
    text-align: center;
    background-color: #fdf2e9;
    color: #333333;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s,color 0.2s;
}

.btn-option:hover{
    background-color: #fca366;
    color: #ffffff;
}

.btn-option:active {
    transform: scale(0.98); 
}

@property --progress {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}

#circle-stage {
    background: conic-gradient(#f08333 var(--progress), #eeeeee var(--progress));
    
    transition: --progress 0.4s ease-out;
}

/* =========================================================================
   【新規追加】診断結果画面・カード＆ボタン用スタイル
   ========================================================================= */

/* 結果画面のメインコンテナ（必要に応じて幅を調整してね） */
.culumns-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* カードを縦に並べるスタックエリア */
.cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* 個別のスポットカード本体 */
.spot-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* カードホバー時のちょっと浮き上がる動き */
.spot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* 画像のラッパー（比率を保つため） */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #eaeaea;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 画像右上とかに置く評価バッジ（★ 4.8 とか） */
.rating-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
}

/* カードの下半分（テキストやボタンが入る領域） */
.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* 📍 地域名などのタグバッジ */
.card-badge {
    display: inline-block;
    font-size: 12px;
    background-color: #fca366; /* 既存のオレンジ/コーラル系に統一 */
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: bold;
    margin-bottom: 10px;
    align-self: flex-start;
}

/* スポット・料理のタイトル */
.card-body h4 {
    font-size: 18px;
    color: #333333;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* スポットの説明文（解説テキスト） */
.card-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1; /* テキスト量が違ってもボタンの位置を一番下に揃える */
}

/* -------------------------------------------------------------------------
   公式サイトボタンの設定（ホバー付き）
   ------------------------------------------------------------------------- */
.btn-official {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #f08333; /* サイト全体のテーマカラーのオレンジ */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    margin-top: auto; /* カードの一番下に固定 */
}

/* 今度はしっかり存在します！公式サイトボタンのホバー */
.btn-official:hover {
    background-color: #cb5c0c; /* ホバー時に少し暗いオレンジに */
}