@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
:root{
  --purple900: #4a148c; /* 深い紫 */
  --purple700: #6a1b9a;
  --purple650: #8e24aa; /* やや暗いハッキリした紫 */
  --purple600: #ab47bc; /* ハッキリした紫 */
  --purple400: #b39ddb; /* 落ち着いた紫 */
  --purple350: #D8BFD8; /* やや薄い紫 */
  --purple300: #e1bee7; /* 薄い紫 */
  --purple200: #E9E1F5; /* 薄くて暗めの紫 */
  --purple100: #f3e5f5; /* 薄い紫 */
  --purple001: #FCFAFF; /* ほぼ白の紫 */
  --accent: #d81b60; /* ピンク */
  --gray700: #777;
  --shadow: rgba(106,27,154,0.1);
  --shadow-strong: rgba(106,27,154,0.15);
  --radius-lg: 16px;
  --radius-pill: 30px;
  --serif: 'Shippori Mincho B1', serif;
}

/* --------------------------------
サイト基礎
----------------------------------- */
html { scroll-behavior: smooth;}
input[readonly] { color: #9A9A9A; background-color: #f5f5f5; }

/* --------------------------------
固定ページ（利用規約/Q&A）
----------------------------------- */
.type-page .entry-title {
    font-family: var(--serif);
    text-align: center;
    margin: 0 0 40px;
    font-size: 2.2rem;
    color: var(--purple900);
}
.type-page h2 { 
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    color: var(--purple900);
    margin: 15px 0;
    padding: 10px;
    border: 3px double var(--purple350);
    font-family: var(--serif);
    background-color: var(--purple001);
}
.type-page p { color:#555; }
.type-page strong {
    color: #000;
    border: 0px solid var(--purple200);
    border-left: 4px solid var(--purple400);
    border-radius: 8px;
    padding: 14px;
    margin: 16px 0 0 0;
    display: block;
}

/* --------------------------------
ヘッダー・フッター
----------------------------------- */
.mobile-menu-buttons .menu-icon { display: none;}
.mobile-menu-buttons .menu-caption { font-size: 0.8em;}
.mobile-menu-buttons .menu-button {
    border-top: solid 1px var(--purple350);
    border-right: solid 1px #f5f5f5;
    border-left: solid 1px #f5f5f5;
    background-color: rgba(243, 238, 255, 0.4);
}
.footer-widgets { background-color: #E8EAD3; padding: 0; margin: 0; }
.footer-left { padding: 0; height:40px; }
.footer-right { padding: 0; height:40px; line-height: 40px; text-align:right;}
.footer-center { padding: 0; height:40px; }
.footer-right a{ color: #A6784E; }
/* --------------------------------
全ページ
----------------------------------- */
.jin_section {
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px dashed var(--purple300);
}
.jin_section-bg {
    background-color: var(--purple001);
}
.jin_ttl2 {
    font-family: var(--serif);
    text-align: center;
    margin: 0 0 40px;
    font-size: 2.2rem;
    color: var(--purple900);
    position: relative;
}
.jin_ttl2::after {
    content: '***';
    display: block;
    font-size: 1.2rem;
    color: var(--purple300);
    margin-top: 10px;
    letter-spacing: 5px;
}

.tax_title{
    font-size: 1.4em;
    font-weight: bold;
    margin:1.4em 0;
    padding: 0.3em 0 0.3em 0.5em;
    border: 1px solid #ffffff;
    box-shadow: 1px 1px 20px 5px #f29c9f;
    color: var(--gray700);
    text-align: center;
}

/* --------------------------------
共通表示のナビゲーション（navigation-parts.php）
----------------------------------- */
/* 大見出し */
.nav-search-title {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    color: var(--purple900);
    margin: 15px 0;
    padding: 10px;
    border: 3px double var(--purple350);
    font-family: var(--serif);
    background-color: var(--purple001);
}
/* グループタイトル */
.nav-group-title {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--purple700);
    margin: 25px 0 8px 0;
    text-align: left;
    border-bottom: 2px solid var(--purple300);
    padding-bottom: 4px;
}
/* タグ一覧(page-useridでも参照) */
.nav-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}
/* タグのスタイル */
.nav-tag-item {
    background: var(--purple001);
    border: 1px solid var(--purple300);
    border-radius: 18px;
    padding: 4px 12px;
    font-size: 0.85em;
    color: var(--purple650);
    text-decoration: none;
    box-shadow: 0 2px 3px var(--shadow);
    transition: transform 0.2s ease;
}
.nav-tag-item:hover {
    background: var(--purple100);
    border-color: var(--purple600);
    color: var(--purple900);
    transform: translateY(-2px);
}
.nav-tag-link{border-style:none;color: var(--purple650);text-decoration:none;}

/* --------------------------------
プロフィール（page-userid.php）
----------------------------------- */
.sns-share { margin-top: 10px; text-align: right; font-size: 0.8em; color: var(--gray700);}
.sns-share a { display: inline-block; padding: 2px 12px; margin: 4px; border-radius: 6px; color: #fff; text-decoration: none; }
.sns-share a:hover { opacity: 0.5; }
.sns-share .sns-fb { background-color: #1877f2; opacity: 0.85;}
.sns-share .sns-x { background-color: #1da1f2; opacity: 0.85;}
.sns-share .sns-line { background-color: #00c300; opacity: 0.85;}
.prof-card {
    background-color: #FFFFFF;
    color: #333;
    border-radius: 16px;
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 8px 20px var(--shadow-strong);
    border: 2px solid var(--purple350);
    position: relative;
    overflow: hidden;
}
.prof-code-title {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--purple700);
    text-shadow: 0 0 5px var(--purple100);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px double var(--purple400);
    border-radius: 8px;
    padding: 8px 15px;
    margin-bottom:10px;
}
.prof-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.prof-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 3px solid var(--purple400);
    box-shadow: 0 0 8px rgba(179, 157, 219, 0.6);
    margin-right: 15px;
}
.prof-username {
    font-size: 1.6em;
    margin: 0;
    font-weight: bold;
    color: var(--purple900);
}
.prof-user-honour {
    color: var(--accent);
    font-weight: bold;
    text-shadow: 0 0 3px rgba(216, 27, 96, 0.3);
}
.prof-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}
.prof-stat {
    background: var(--purple001);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    border: 1px solid var(--purple200);
}
.prof-stat span {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}
.prof-exp-wrapper {
    margin-bottom: 10px;
}
.prof-exp-bar {
    background: #eee;
    border-radius: 12px;
    height: 18px;
    overflow: hidden;
    margin-bottom: 6px;
    border: 1px solid var(--purple300);
}
.prof-exp-progress {
    background: linear-gradient(90deg, #b39ddb, #d81b60);
    height: 100%;
    border-radius: 12px;
}
.prof-exp-text {
    font-size: 0.9em;
    text-align: right;
    color: #555;
}
.prof-persona-descript-area {
    border: 1px dashed var(--purple400);
    margin-top:20px;
    margin-bottom:20px;
    padding: 15px;
    background-color: var(--purple001);
    border-radius: 8px;
}
.prof-persona-descript-title {
    margin-bottom: 10px;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    color: var(--purple700);
}
.prof-persona-descript-details {
    font-size: 0.9em;
}
.prof-same-type-link {
    text-align: right;
}
.your_tag-title {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.2em;
    color: var(--purple700);
}
.your_tag-area {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.my_tips-title {
    margin-top: 15px;
    margin-bottom: 0px;
    font-size: 0.9em;
    color: #666;
}
.my_tips-area {
    background-color: #FAFAFA;
    font-size: 0.8em;
    padding: 10px;
    border: 1px solid var(--purple200);
    border-radius: 4px;
}

/* --------------------------------
共通レビューカード（content-review-cards.php）
----------------------------------- */
.rev_card {
    background: #FFFFFF;
    color: #333;
    border: 1px solid var(--purple200);
    border-left: 4px solid var(--purple400);
    border-radius: 8px;
    padding: 18px;
    margin: 16px 0;
    margin-bottom: 0;
    box-shadow: 0 4px 12px var(--shadow);
    position: relative;
    overflow: hidden;
    text-align:left;
}
.rev_card:nth-child(even) .rev_title a {
    background-image: linear-gradient(to top,rgba(244,143,177,0.3) 0%,rgba(244,143,177,0) 40%);
}

.rev_header {
    margin-bottom: 10px;
    border-bottom: 1px dashed #d1c4e9;
    padding-bottom: 10px;
}
.rev_title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0px;
}
.rev_title a {
    display: inline-block;
    padding: 3px 0px 3px 6px;
    border-radius: 6px;
    color: var(--purple700);
    font-weight: bold;
    text-decoration: none;
    background-image: linear-gradient(to top, rgba(179,157,219,0.3) 0%, rgba(179,157,219,0) 40%);
}
.rev_title a:hover {
    text-decoration: none;
    color: var(--accent);
}

.rev_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.rev_category {
    font-size: 0.95em;
    color: var(--gray700);
    margin-bottom: 0;
}
.rev_category::before {
    content: "❖";
    margin-right: 5px;
    font-size: 1em;
    opacity:0.8;
    color: var(--purple400);
}

.rev_stars {
    color: #FFB300;
    letter-spacing: 2px;
    flex-shrink: 0;
    margin-left: 10px;
}
.star-ssr {
    background-image: linear-gradient(90deg, rgba(247, 93, 139, 1), rgba(254, 220, 64, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.4))
            drop-shadow(0 0 1px rgba(20, 20, 20, 0.7));
}
.rev_reason {
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 10px;
    background: var(--purple001);
    padding: 10px 12px;
    border-radius: 10px;
    white-space: pre-wrap;
    border-top: 2px solid var(--purple100);
}
.rev_user {
    font-size: 0.9em;
    text-align: right;
}
.rev_user a {
    color: var(--accent);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px dotted #ad1457;
}
.rev_user a:hover {
    color: var(--accent);
    border-bottom-style: solid;
}


/* --------------------------------
title_tag表示ページ（taxonomy-title_tag.php）
----------------------------------- */
.title-under-block {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}
.title-under-left {
  flex: 1;
}
.title-under-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 150px;
}
.title-under-right .ttlu-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.8em;
  text-decoration: none;
  width: 100%;
  border-bottom: #F74E7F;
}
.btn-prime{background-color: #1A96B7;color: #fff;text-shadow:1px 1px 0 #000;}
.btn-unext{background-color: #B7492C;color: #fff;text-shadow:1px 1px 0 #000;}
.btn-reviewcount{background-color: #fff;color:#777;}
.btn-reviewcount span{ margin-left: 8px; }
/* ローディング */
.image-loader {
  width: 280px;
  margin: 0 auto;
}
.loading-text {
  font-size: 14px;
  margin-bottom: 6px;
  text-align: center;
  color: #333;
}
.progress-bar {
  width: 100%;
  height: 8px;
  background: #ddd;
  border-radius: 4px;
  overflow: hidden;
}
.progress {
  height: 100%;
  width: 0%;
  background: #4caf50;
  transition: width 1.3s linear;
}
.image-fallback {
  text-align: center;
  font-size: 14px;
  color: #444;
  margin-top: 6px;
}
.btn-amazon {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  background: #ff9900;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}
.btn-amazon:hover {
  background: #e68a00;
}
.goods-links-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
    padding: 15px 7px;
    max-width: calc(90px * 4 + 10px * 4);
}
.goods-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.85em;
    font-weight: bold;
    text-decoration: none;
    border-radius: var(--radius-pill);
    background: var(--purple001);
    border: 1px solid var(--purple300);
    box-shadow: 0 5px 12px var(--shadow);
    color: var(--gray700);
    flex-grow: 1;
    max-width: 170px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.goods-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-strong);
    opacity: 0.9;
}
.goods-amazon-link {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    border: 1px solid #fdd835;
    color: #6a1b9a;
}
.goods-amazon-link::after {
    content: "amazon";
    position: absolute;
    bottom: 6px;
    right: 10px;
    font-size: 0.6em;
    color: #f57f17;
    opacity: 0.7;
}
.goods-rakuten-link {
    background: linear-gradient(135deg, #fdeaea, #f8c7c7);
    border: 1px solid #e57373;
    color: #4a148c;
}
.goods-rakuten-link::after {
    content: "rakuten";
    position: absolute;
    bottom: 6px;
    right: 10px;
    font-size: 0.6em;
    color: #b71c1c;
    opacity: 0.7;
}
@media (max-width: 480px) {
    .goods-links-container { flex-direction: column; gap: 10px; }
    .goods-link { width: 100%; max-width: none; }
}

/* --------------------------------
TOPページ（front-page.php）
----------------------------------- */
.fr_hero-title {
    font-family: var(--serif);
    font-size: 2.2em;
    margin-bottom: 15px;
    color: var(--purple900);
    text-shadow: 2px 2px 8px rgba(179, 157, 219, 0.4);
}
.fr_text-highlight {
    color: var(--accent);
    font-weight: bold;
}
.fr_hero-p {
    font-size: 1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #555;
    line-height: 1.6;
}
.fr_hero-subtitle {
    font-family: var(--serif);
    font-size: 1.5em;
    margin-bottom: 25px;
    color: var(--purple700);
    position: relative;
}
.fr_hero-btn-wrapper {
    margin-top: 30px;
}
.fr_btn::before {
    content: '✦';
    position: absolute;
    top: -15px;
    left: 5%;
    transform: translateX(-50%);
    color: #DDB18C;
    font-size: 1.6em;
}
.fr_btn {
    background-image: linear-gradient(120deg, rgba(240, 230, 250, 0.2) 40%, rgba(209, 243, 253, 0.3));
    color: var(--gray700);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    box-shadow: 0 6px 18px var(--shadow-strong);
    position: relative;
    overflow: hidden;
}
.fr_btn:hover {
    color: #A6784E;
}
.fr_container {
    max-width: 1100px;
    margin: 0 auto;
}
.fr_appeal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.fr_appeal-card {
    background: var(--purple001);
    border: 1px solid var(--purple300);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 5px 15px var(--shadow);
}
.fr_appeal-icon {
    font-size: 2em;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--purple400);
}
.fr_card-title {
    font-family: var(--serif);
    margin: 10px 0 8px;
    font-size: 1.4rem;
    color: var(--purple700);
}
.fr_card-p {
    margin: 0;
    color: var(--gray700);
    font-size: 0.95em;
}
.fr_steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}
.fr_step-card {
    flex: 1 1 280px;
    background: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    border: 1px solid var(--purple100);
    position: relative;
    overflow: hidden;
}
.fr_step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-top: 3px solid var(--purple400);
    border-left: 3px solid var(--purple400);
    border-top-left-radius: 12px;
}
.fr_step-card h3 {
    font-family: var(--serif);
    font-size: 1.5em;
    color: var(--purple700);
    margin-bottom: 10px;
}
.fr_step-card p {
    color: var(--gray700);
}
.fr_review-mes {
    font-size: 0.9em;
    color: var(--gray700);
}
.fr_ranking-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.fr_ranking-list-item {
    flex: 1 1 250px;
}
.fr_ranking-card {
    display: block;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 20px var(--shadow-strong);
    text-decoration: none;
    color: #333;
    position: relative;
    overflow: hidden;
}
.fr_ranking-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #d81b60, #b39ddb);
}
.fr_ranking-card.fr_rank-1 { background-color: #fff9e6; border: 2px solid #ffd700; }
.fr_ranking-card.fr_rank-2 { background-color: #f7f7f7; border: 2px solid #c0c0c0; }
.fr_ranking-card.fr_rank-3 { background-color: #fff0e6; border: 2px solid #cd7f32; }
.fr_ranking-card.fr_rank-other { background-color: #FFFFFF; border: 1px solid var(--purple300); }
.fr_ranking-rank {
    font-family: var(--serif);
    font-size: 1.5em;
    margin-bottom: 5px;
    color: var(--purple900);
}
.fr_ranking-rank::before {
    content: '★ ';
    color: #ffd700;
    font-size: 0.8em;
    margin-right: 5px;
}
.fr_ranking-name {
    font-family: var(--serif);
    font-size: 1.2em;
    font-weight: bold;
    color: var(--purple700);
}


/* --------------------------------
診断・編集ページ共通スタイル
----------------------------------- */
/* ページ全体のコンテナ */
.form-wrapper {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

/* フォーム全体 */
.themed-form {
  margin-top: 30px;
}

/* ラベルと入力欄のグループ */
.form-group {
  margin-bottom: 25px;
}

/* ラベル共通スタイル */
.form-label {
  font-weight: bold;
  color: var(--purple700);
  display: block;
  margin-bottom: 8px;
}

/* テキスト入力欄・テキストエリア・セレクトボックス共通 */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--purple350);
  border-radius: 8px;
  background-color: #fff;
  font-size: 1em;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--purple600);
  box-shadow: 0 0 8px var(--shadow);
}
.form-input[readonly],
.form-textarea[readonly],
.form-select[disabled] {
  background-color: #f5f5f5;
  color: #9A9A9A;
  cursor: not-allowed;
}

/* テキストエリア専用 */
.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* セレクトボックス専用 */
.form-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236a1b9a' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.form-input-note {
  font-size: 0.9em;
  color: var(--gray700);
  margin-top: 4px;
}

/* 質問ブロック */
.diag-question-block {
  background: var(--purple001);
  padding: 20px;
  border: 1px solid var(--purple200);
  border-radius: var(--radius-lg);
  margin-bottom: 25px;
  box-shadow: 0 4px 12px var(--shadow);
}

.diag-question-title {
  font-family: var(--serif);
  font-size: 1.3em;
  font-weight: bold;
  color: var(--purple900);
  margin: 0 0 15px 0;
}

.diag-question-desc {
  font-size: 0.9em;
  color: var(--gray700);
  background: #f5f5f5;
  padding: 8px;
  border-radius: 4px;
  margin-top: 10px;
}

/* カスタムラジオボタン & チェックボックス */
.form-radio-label, .form-checkbox-label {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1em;
  user-select: none;
}
.form-radio-label input, .form-checkbox-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.form-radio-label .checkmark, .form-checkbox-label .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid var(--purple350);
  transition: all 0.2s ease;
}
.form-radio-label .checkmark {
  border-radius: 50%;
}
.form-radio-label input:checked ~ .checkmark {
  background-color: var(--purple600);
  border-color: var(--purple600);
}
.form-radio-label .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}
.form-radio-label input:checked ~ .checkmark:after {
  display: block;
}
.form-checkbox-label .checkmark {
  border-radius: 4px;
}
.form-checkbox-label input:checked ~ .checkmark {
  background-color: var(--purple600);
  border-color: var(--purple600);
}
.form-checkbox-label .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.form-checkbox-label input:checked ~ .checkmark:after {
  display: block;
}

/* 属性タグ */
.diag-fieldset {
  border: 1px solid var(--purple200);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
}
.diag-legend {
  font-size: 1.1em;
  font-weight: bold;
  color: var(--purple700);
  padding: 0 10px;
  font-family: var(--serif);
}

/* ラジオボタンのグループタイトル */
.form-radio-group-title {
  font-family: var(--serif);
  font-size: 1.2em;
  color: var(--purple900);
  margin-bottom: 15px;
}

/* ボタン */
.form-button-group {
  display: block;
  margin-top: 50px;
  text-align: center;
}
.diag-btn-area {
  text-align: center;
}
.form-btn {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
  transition: all 0.2s ease-out;
  font-size:0.94em;
  min-width: 200px;
}
.form-btn-primary {
  background-image: linear-gradient(180deg, rgba(243, 243, 243, 1), rgba(252, 242, 255, 1) 1%, rgba(248, 214, 255, 1));
  border: 1px solid var(--purple350);
  color: var(--purple900);
  box-shadow: inset 0 1px 1px #fff, inset 0 -1px 1px var(--purple200), 0 2px 4px rgba(0,0,0,0.1);
}
.form-btn-primary::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 5%;
  background-color: #fffafa;
  border-radius: var(--radius-pill);
}
.form-btn-primary:hover {
  border-color: var(--purple400);
}
.form-btn-secondary {
  display: inline-block;
  border: 1px solid var(--purple350);
  border-radius: var(--radius-pill);
  margin-left: 20px;
  padding: 12px 24px;
  text-decoration: none;
  color: #666;
}

/* 未認証ユーザーへの通知 */
.notice-card {
  background-color: #FFFFFF;
  color: #333;
  border-radius: 16px;
  padding: 30px;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 8px 20px var(--shadow-strong);
  border: 2px solid var(--purple350);
  text-align: center;
}
.notice-card p {
  font-size: 1.2em;
  color: var(--purple700);
  font-weight: bold;
  margin: 0 0 20px 0;
}
/* 診断ページの目的選択 */
.diag-mode-choice {
  margin: 1.5em 0;
  padding: 1.2em;
  border: 3px double #A6784E;
  border-radius: 12px;
}

.diag-mode-choice p {
  margin-bottom: 1em;
  font-weight: bold;
  text-align: center;
}

/* 横並び */
.choice-buttons {
  display: flex;
  gap: 1em;
}

/* ラジオボタンは非表示 */
.choice input[type="radio"] {
  display: none;
}

/* ボタン（カード）スタイル */
.choice {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}

/* テキスト部分 */
.choice-text {
  display: block;
  transition: all 0.2s;
  line-height: 1.4;
  font-size: 1rem;
  padding: 1.3em;
  opacity: 0.5;
  border-radius: 16px;
}

/* 選択中 */
.choice input[type="radio"]:checked + .choice-text {
  color: #38B6FF;
  opacity: 0.9;
  box-shadow: 0 0 10px #fff, 0 0 10px #fff, 0 0 20px #fff, 0 0 20px #ff22f7;
}

/* 選択していないカードを少しグレーアウト */
.choice input[type="radio"]:not(:checked) + .choice-text {
  background-color: #e0e0e0;
  color: #777;
}

/* --------------------------------
ユーザー削除ページ (delete-user.php)
----------------------------------- */

.delete-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 8px 20px var(--shadow-strong);
  border: 2px solid var(--accent); /* 警告を強調するためアクセントカラーの枠線 */
  text-align: center;
}
.delete-card p {
  line-height: 1.7;
  color: #333;
}
.delete-warning {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--accent); /* 警告色 */
}
.delete-list {
  text-align: left;
  display: inline-block; /* 中央揃えの中身を左揃えにするため */
  margin: 20px 0;
  list-style: none;
  padding-left: 0;
}
.delete-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}
.delete-list li::before {
  content: '❖'; /* 共通デザインのアイコン */
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple400);
}
.form-btn-danger {
  background: linear-gradient(45deg, #c51162, #f50057); /* 危険性を表す赤系のグラデーション */
  color: #fff;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
