/* --- ひょうカメ紹介ページ (hyokame.css) --- */

/* レイアウト構成 */
.character-intro-grid {
    display: grid;
    gap: 40px;
    /* モバイルファースト：通常は1カラム */
    grid-template-columns: 1fr;
    margin-bottom: 60px;
}

/* PC以上のレイアウト */
@media screen and (min-width: 1024px) {
    .character-intro-grid {
        grid-template-columns: 4fr 5fr; /* 左(画像)を少し狭く、右(情報)を広く */
        gap: 60px;
        align-items: start;
    }
}

.maincontent-wrapper{
    width: 90%;
    margin: auto;
}

/* --- 左カラム: プロフィールカード --- */
.character-profile-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    /* 柔らかい影で浮き上がらせる */
    box-shadow: 0 10px 30px rgba(138, 180, 247, 0.15); 
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* 背景の装飾（薄い円） */
.profile-decoration-bg {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--light-gray) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
}

.profile-image-container {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    display: inline-block;
}

/* ふわふわ浮くアニメーション */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.profile-image {
    width: 240px;
    height: 240px;
    object-fit: contain; /* 画像比率を維持 */
    border-radius: 50%;
    background-color: var(--white);
    padding: 16px;
    /* 二重線風のボーダーでポップに */
    border: 4px solid var(--secondary-color);
    box-shadow: 0 0 0 8px var(--white), 0 0 20px rgba(0,0,0,0.05);
    
    /* アニメーション適用 */
    animation: float 4s ease-in-out infinite;
}

.profile-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: rotate(-5deg);
}

.profile-content {
    position: relative;
    z-index: 1;
}

.character-name {
    font-size: 32px;
    color: var(--text-color-dark);
    margin: 0 0 8px 0;
    letter-spacing: 0.05em;
}

.character-catchphrase {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 24px;
}

.marker-highlight {
    /* 蛍光ペン風の下線 */
    background: linear-gradient(transparent 60%, rgba(146, 199, 155, 0.3) 60%);
    padding: 0 4px;
}

.character-story {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
}

.story-title {
    font-size: 16px;
    color: var(--text-color-dark);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.story-title i {
    color: var(--secondary-color);
}

.story-text {
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    color: var(--text-color);
}


/* --- 右カラム: 取扱要領 --- */
.character-usage-section {
    padding-top: 10px;
}

.section-heading-left {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color-dark);
    margin: 0 0 16px 0;
    border-left: 6px solid var(--primary-color);
    padding-left: 16px;
    line-height: 1.2;
}

.usage-lead {
    margin-bottom: 32px;
    font-size: 16px;
}

/* カードグリッドレイアウト */
.usage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

@media screen and (min-width: 768px) {
    .usage-grid {
        grid-template-columns: 1fr 1fr; /* 2列にする */
    }
}

.usage-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    
}

.usage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.usage-icon {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.usage-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color-dark);
}

.usage-list {
    margin: 0;
    padding-left: 20px;
    font-size: 15px;
    color: var(--text-color);
}

.usage-list li {
    margin-bottom: 6px;
}

.usage-text {
    font-size: 15px;
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.usage-text-center {
    font-size: 16px;
    text-align: center;
    margin: auto 0; /* 上下中央寄せ */
    color: var(--text-color-dark);
}

.usage-text-center strong {
    font-size: 24px;
    color: var(--accent-color);
}

/* --- フッターエリア (注意書き・ボタン) --- */
.usage-footer {
    background-color: #f1f3f4;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.usage-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #d93025; /* 注意喚起の赤 */
    font-weight: 700;
    margin-bottom: 20px;
}

.btn-download {
    text-decoration: none;
    background-color: var(--text-color-dark); /* シックな色で差別化 */
    width: 100%;
    max-width: 300px;
}

.btn-download:hover {
    background-color: #000;
}

/* --- アクションボタンエリア（Webフォーム版） --- */
.usage-footer {
    background-color: #f1f3f4;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
}

.usage-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #d93025;
    font-weight: 700;
    margin-bottom: 24px;
}

.usage-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin: 16px; /* 下に補足テキスト用の余白を追加 */
}

@media screen and (min-width: 768px) {
    .usage-actions {
        flex-direction: row;
        gap: 24px;
    }
}

.btn-download {
    width: 100%;
    max-width: 320px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* アイコンとの間隔 */
    padding: 16px 24px; /* タップしやすいよう少し広めに */
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    line-height: 1.2;
}

/* メインアクション：Webフォーム（よりポジティブなグラデーション風にしても良し） */
.btn-primary-action {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(138, 180, 247, 0.4);
}

.btn-primary-action:hover {
    background-color: #5d9cec; /* 少し濃く鮮やかに */
    border-color: #5d9cec;
    transform: translateY(-3px); /* 浮き上がる */
    box-shadow: 0 8px 20px rgba(138, 180, 247, 0.6);
}

/* クリック感を出す（アクティブ時） */
.btn-primary-action:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(138, 180, 247, 0.4);
}

/* サブアクション：取扱要領 */
.btn-secondary-action {
    background-color: var(--white);
    color: var(--text-color-dark);
    border: 2px solid #dadce0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.btn-secondary-action:hover {
    background-color: #f8f9fa;
    border-color: var(--text-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 補足テキスト */
.usage-note-small {
    font-size: 13px;
    color: var(--text-color);
    margin: 0;
    opacity: 0.8;
}