/* ==========================================================================
   Section Styles
   ========================================================================== */

/* -------------------------------------
   Hero Section
   ------------------------------------- */
   .hero {
    text-align: center;
    padding: 40px 0 0;
    position: relative;
    margin-top: 0;
    z-index: 1;
}

.hero .hero-visuals {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 0;
    margin: 0 auto;
    max-width: none;
    position: relative;
    z-index: 2;
}

.hero .hero-visuals .app-screenshot {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;

}

.hero .hero-visuals .hero-character {
    flex: 0 0 40%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: -22px;
    z-index: 10;
    transform: translateX(-20%) translateY(9px);
    position: relative;
}

.app-logo {
    font-size: 80px;
    margin-bottom: 10px;
    color: #377d11;
    font-weight: bold;
}

.catchphrase {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #377d11;
}

.logo-img {
    margin: 0px;
}

.app-screenshot {
    margin: 30px auto 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-width: 100%;
    width: 100%;
    position: relative;
}

.screenshot-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-character .character-img {
    width: 250%;
    max-width: 120%;
    height: auto;
    position: relative;
    z-index: 11;
}

/* -------------------------------------
   About Section
   ------------------------------------- */
.about-section {
    padding: 40px 20px 20px;
    background-color: #377d11;
    color: #ffffff;
}

.about-description {
    text-align: center;
    margin-bottom: 30px;
}

/* Download buttons in About */
.download-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-bottom: 40px;
}

.download-buttons a {
    width: 262px;
}

/* テーブル内のリンクスタイル */
.policy-table a,
.terms-table a {
    font-size: inherit;
    text-decoration: none;
    color: inherit;
}

.download-buttons a img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.about-section .feature-item p {
    color: #377d11;
    font-weight: bold;
}

/* ─────────────────────────────────────
   Stamps Overview Section
   ───────────────────────────────────── */
.stamps-overview-section {
    padding: 60px 0;
}

  /* 親要素は縦積みのまま */
.stamps-methods {
    display: flex;
    flex-direction: column;
    gap: 60px;           /* セクション間の縦間隔 */
    max-width: 800px;
    margin: 0 auto;
  }
  
  /* 各カードは横並びで中央寄せ */
  .method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px;      /* 両端に20pxの余白 */
    box-sizing: border-box;
  }
  
  /* 画像エリアを親幅の50%に */
  .method-img {
    flex: 0 0 50%;
    max-width: 50%;
    width: 100%;          /* 画像自体を親幅にフィット */
    height: auto;
    padding: 0;
    margin-left: 10px;    /* 画像の左側に20pxの余白 */
  }

  /* 画像が右側にある場合（偶数番目のカード） */
  .method:nth-child(even) .method-img {
    margin-left: 0;
    margin-right: 10px;   /* 画像の右側に20pxの余白 */
  }
  
  /* テキストエリアも親幅の50%に */
  .method-text {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .method-text h3 {
    font-size: 22px;    /* お好みのサイズに調整してください */
    color: #367C11;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  /* 偶数番目の .method は画像とテキストを反転 */
  .method:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  /* テキストを左右寄せ */
  .method-text {
    flex: 1;
  }
  .method:nth-child(odd)  .method-text { text-align: left;  }
  .method:nth-child(even) .method-text { text-align: left; }
  
  /* アイコンのサイズをテキストと同じ22pxに設定 */
  .method-text h3 .icon {
    height: 22px;
  }
  
  /* 画像サイズは共通で固定 */
  .method-img {
    width: 240px;
    height: auto;
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
    flex-shrink: 0;
  }
  
  /* ───────────────────────────────
   つなぎ目（ジグザグライン）を入れる
   ─────────────────────────────── */
  .connector-svg {
    z-index: -1;
  }
  
  /* .stamps-methods .method:not(:last-child)::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 30px;
    background-image: url("../images/connector_2.png");
    background-repeat: repeat-x;
    background-size: 12px auto;
    transform: rotate(60deg); 
    top: 50%;
    left: 30%;
    transform-origin: 0 50%;
    margin-top: -2px;
    margin-left: -2px;
    z-index: -2;
  } */
  
  /* ───────────────────────────────────────
     2本目（.method:nth-child(2)）だけ線の向きを逆に
     ─────────────────────────────────────── */
 
  /* .stamps-methods .method:nth-child(2)::after {
    transform: rotate(-60deg);  
    margin-left: 0;
    margin-right: -2px;
    z-index: -2;
    top: 140%;
  } */


/* -------------------------------------
   Disclaimer
   ------------------------------------- */
.disclaimer-text {
    font-size: 0.6rem;
    color: #999999;
    line-height: 1.5;
}

/* -------------------------------------
   Footer
   ------------------------------------- */
.footer {
    margin-top: 0;
}


/* -------------------------------------
   FAQ Section
   ------------------------------------- */
.faq-section {
    background-color: #ffffff;
    padding: 60px 20px;
}

.faq-container {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item {
    border-bottom: 1px solid var(--medium-gray);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 500;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question i.rotate {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
}

/* -------------------------------------
   Social Media Section
   ------------------------------------- */
.social-section {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.social-text {
    color: var(--dark-gray);
}

/* -------------------------------------
   CTA Section
   ------------------------------------- */
.cta-section {
    background-color: var(--accent-color);
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.cta-text {
    margin-bottom: 30px;
}

.cta-section .download-btn {
    background-color: white;
    color: var(--accent-color);
}

.cta-image {
    margin-top: 30px;
}

.silhouette-img {
    max-width: 100%;
    opacity: 0.3;
}
