/* =====================================================
   Information Page Styles (追加分)
===================================================== */

/* コンテナ全体の余白と背景 */
.info-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 20px;
}

/* ページ見出しの装飾（パステルカラーを使用） */
.info-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.info-title {
    display: inline-block;
    font-size: 2rem;
    color: var(--accent-main);
    background: var(--bg-item);
    padding: 10px 40px;
    border-radius: 50px;
    border: 3px solid var(--accent-main);
    box-shadow: 0 6px 0 var(--pastel-shadow-orange);
    margin-bottom: 1rem;
}

/* カード風のセクション */
.card-layout {
    background: var(--bg-item);
    border: 2px solid var(--border-soft);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    line-height: 1.8;
    color: var(--text-main);
}

/* リスト形式（サイトマップや規約など） */
.info-content ul {
    list-style: none;
    padding: 0;
}

.info-content li {
    padding: 12px 15px;
    border-bottom: 1px dashed var(--border);
    display: flex;
    align-items: center;
}

.info-content li::before {
    content: '★';
    color: var(--accent-main);
    margin-right: 10px;
    font-size: 0.8rem;
}

/* 強調テキスト */
.text-important {
    color: var(--accent-danger);
    font-weight: bold;
    background: linear-gradient(transparent 70%, var(--pre-school-item-bg) 70%);
}

/* 押しやすいボタンデザイン */
.btn-primary {
    display: inline-block;
    background: var(--accent-main);
    color: #fff;
    padding: 15px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 0 var(--pastel-shadow-orange);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(3px);
    box-shadow: 0 2px 0 var(--pastel-shadow-orange);
    background: var(--btn-hover-bg);
    color: var(--accent-main);
}

/* ダークモード時の微調整 */
body[data-theme="dark"] .info-title {
    box-shadow: 0 6px 0 var(--pastel-shadow-orange);
    background: var(--bg-card);
}

body[data-theme="dark"] .text-important {
    background: linear-gradient(transparent 70%, #4d1e3a 70%);
}

/* =====================================================
   About Page Custom Styles
===================================================== */

/* ヒーローエリア */
.about-hero {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-page));
    border-radius: 30px;
    margin-bottom: 2rem;
    border: 3px solid var(--accent-main);
}

.about-title {
    font-size: 2.5rem;
    color: var(--accent-main);
    text-shadow: 2px 2px 0 #fff, 4px 4px 0 var(--pastel-shadow-orange);
    margin-bottom: 1rem;
}

.about-lead {
    font-weight: bold;
    color: var(--text-main);
    font-size: 1.2rem;
}

/* キャラクター挨拶の間隔 */
.character-greeting {
    margin: 2rem 0;
}

/* 3つのヒミツ（グリッド） */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.feature-card {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.feature-card:hover {
    transform: translateY(-10px) rotate(2deg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* 開発秘話の装飾 */
.story-box {
    background: var(--bg-item);
    border-left: 8px solid var(--accent-main);
    padding: 2rem;
    border-radius: 0 20px 20px 0;
    line-height: 2;
    position: relative;
    overflow: hidden;
}

.story-box::after {
    content: '✏️';
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 4rem;
    opacity: 0.1;
}

/* CTAエリア */
.contact-cta {
    margin-top: 4rem;
    text-align: center;
}

.cta-box {
    background: var(--japanese-item-bg);
    padding: 2.5rem;
    border-radius: 30px;
    margin-top: 1.5rem;
    border: 3px dashed var(--japanese-bg);
}

/* レスポンシブ調整 */
@media (max-width: 600px) {
    .about-title {
        font-size: 1.8rem;
    }
}

/* =====================================================
   Contact Page Custom Styles (1rem = 10px)
===================================================== */

.contact-page {
    max-width: 80rem;
    margin: 4rem auto;
    padding: 0 2rem;
}

/* 導入の吹き出しエリア */
.contact-intro-bubble {
    margin-bottom: 3rem;
}

/* フォームカードの微調整 */
.contact-form-card {
    padding: 4rem 3rem;
    border: 0.3rem solid var(--accent-main);
}

/* 各入力アイテム */
.form-item {
    margin-bottom: 2.5rem;
}

.form-item label {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.form-guide {
    font-size: 1.3rem;
    color: var(--text-sub);
    margin-bottom: 0.8rem;
}

/* 必須ラベル */
.badge-required {
    background: var(--accent-danger);
    color: #fff;
    font-size: 1.1rem;
    padding: 0.2rem 0.8rem;
    border-radius: 1rem;
    vertical-align: middle;
    margin-left: 0.5rem;
}

/* 入力フィールドの装飾 */
.wakuwaku-form input[type="text"],
.wakuwaku-form input[type="email"],
.wakuwaku-form select,
.wakuwaku-form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    border: 0.2rem solid var(--border-light);
    border-radius: 1.2rem;
    background: var(--bg);
    color: var(--text-main);
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.wakuwaku-form input:focus,
.wakuwaku-form select:focus,
.wakuwaku-form textarea:focus {
    outline: none;
    border-color: var(--accent-main);
    box-shadow: 0 0 1rem rgba(255, 157, 0, 0.2);
}

/* セレクトボックスの矢印対応 */
.select-wrapper {
    position: relative;
}

/* 送信ボタンの強化 */
.form-submit {
    text-align: center;
    margin-top: 4rem;
}

.submit-btn {
    font-size: 2rem;
    padding: 1.8rem 6rem;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.icon-send {
    font-style: normal;
    font-size: 2.4rem;
}

/* エラー表示の吹き出し */
.error-bubble {
    background: #fff2f2;
    border: 0.2rem solid var(--accent-danger);
    color: var(--accent-danger);
    padding: 1.5rem;
    border-radius: 1.5rem;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
}

/* 戻るリンク */
.back-link-area {
    text-align: center;
    margin-top: 3rem;
}

.back-link {
    font-size: 1.5rem;
    color: var(--text-sub);
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
    color: var(--accent-main);
}

/* サンクスページ用 */
.thanks-container {
    text-align: center;
    padding: 5rem 2rem;
}

.thanks-message {
    font-size: 1.8rem;
    margin-top: 2rem;
    line-height: 1.8;
}

.action-area {
    margin-top: 3rem;
}

/* レスポンシブ */
@media (max-width: 60rem) {
    .contact-form-card {
        padding: 3rem 1.5rem;
    }
}