/*
Theme Name: Houwa
Description: Houwaオリジナルテーマ
Version: 1.0.0
Author: Your Name
Text Domain: houwa
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-family: "Noto Serif JP",serif;
}


body {
    background: linear-gradient(
      to top,
      #bab2fc 0%,
      #f8f3f7 100%
    );
  }
  

a {
    color: #0073aa;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Layout
   ========================================================================== */
   .site {
    display: flex;
    flex-direction: column;
    height: 100vh; /* 画面いっぱい */
   }

    header {
        max-width: 1200px;
        padding: 0 20px;
    }

   main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1; /* 残りの領域を埋める */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
   }

   .main-title {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    color: #1b2951;
    margin-bottom: 40px;
    @media (max-width: 768px) {
        font-size: 32px;
    }
   }

   .main-text {
    text-align: center;
    font-size: 20px;
    color: #333;
    margin-bottom: 40px;
    font-weight: medium;
    letter-spacing: 0.05em;
    @media (max-width: 768px) {
        font-size: 16px;
    }
   }

   .main-button {
    display: block;
    width: 200px;
    height: 50px;
    background-color: #c4510f;
    color: #fff;
    letter-spacing: 0.3em;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    border-radius: 25px;
    margin: 0 auto;
    margin-top: 20px;
    text-decoration: none;
   }

   footer {
    background-color: #1b2951;
    color: #fff;
   }
   .copyright {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
   }

   .yesno_q {
    height: 300px;
   }


/* ============================
   診断結果ページ専用スタイル
   ============================ */

   .diagnosis-result {
    max-width: 900px;
    margin: 5rem auto;
    padding: 0 1.5rem;
    font-family: "Hiragino Mincho ProN","Yu Mincho","YuMincho","Noto Serif JP",
                 "Tsukushi Mincho","HGS明朝E",serif;
    line-height: 1.9;
  }
  
  /* タイトル */
  .diagnosis-result h1 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 600;
    letter-spacing: .05em;
    text-align: center;
    margin: 0 0 2.5rem;
  }
  .diagnosis-result .diagnosis-title {
    font-size: 40px;
    font-weight: bold;
    color: #c4510f;
    @media (max-width: 768px) {
        font-size: 32px;
    }
  }
  
  /* 画像 */
  .diagnosis-result .diagnosis-image {
    text-align: center;
    margin-bottom: 2rem;
  }
  .diagnosis-result .diagnosis-image img {
    max-width: 260px;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
  
  /* キャッチコピー */
  .diagnosis-result .diagnosis-catch {
    text-align: center;
    font-size: 1.25rem;
    font-style: italic;
    color: #333;
    font-weight: bold;
    margin-bottom: 2rem;
  }
  
  /* おすすめシーン */
  .diagnosis-result .diagnosis-scene {
    margin-bottom: 40px;
    font-size: 20px;
  }
  
  /* 香りの特徴 */
  .diagnosis-result .diagnosis-features {
    margin: 0 0 2.5rem;
    font-size: 20px;
  }
  .diagnosis-result .diagnosis-features strong {
    display: block;
    margin-bottom: .6rem;
  }
  .diagnosis-result .diagnosis-features ul {
    margin: 0;
    padding-left: 1.2rem;
  }
  .diagnosis-result .diagnosis-features li {
    margin: .3rem 0;
    list-style-type: "✦ ";
    padding-left: .2rem;
    color: #444;
  }
  
  /* 本文（補足説明） */
  .diagnosis-result .content {
    border-top: 1px solid #e5e5e5;
    padding-top: 2rem;
    margin-top: 2.5rem;
    font-size: 1rem;
    color: #333;
  }
  

  /* TOPへ戻るボタン */
.diagnosis-result .back-to-top {
    text-align: center;
    margin-top: 3rem;
  }
  
  .diagnosis-result .back-to-top a {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid #444;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: #fff;
    background: #c4510f;
    transition: all 0.25s ease;
  }
  
  .diagnosis-result .back-to-top a:hover {
    background: #1b2951;
    color: #fff;
  }
  
  ul#choices li button {
    background: #c4510f !important;
    color: #fff !important;
    border-radius: 30px !important;
    transition: all 0.25s ease;
  }
  ul#choices li button:hover {
    background: #1b2951 !important;
    color: #fff !important;
  }

  .yesno_q dt span {
    background-color: #1b2951 !important;
  }
 