/* 基本設定 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.6;
    background-color: #f4f7f9;
    color: #333;
}

/* ヘッダー */
header {
    background-color: #F2EBDA;
    color: #13120D;
    padding: 2rem 1rem;
    text-align: center;
}

/* コンテナ */
.container {
    padding: 1rem;
    max-width: 600px; /* デスク小〜中サイズで広がりすぎないように */
    margin: 0 auto;
}

/* 各セクションのボックス */
.content-box {
    background: #fff;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.content-box h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-left: 4px solid #3498db;
    padding-left: 10px;
}

/* Iframeのレスポンシブ対応 */
.iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 200%; 
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}

/* Twitter埋め込みの調整 */
.twitter-wrapper {
    width: 100%;
    max-width: 500px;      /* タイムラインが広がりすぎないように制限 */
    margin: 0 auto;        /* 中央寄せ（必要であれば） */
    min-height: 400px;     /* 読み込み前にガタつかないよう最小高さを確保 */
    overflow: hidden;
    border-radius: 12px;   /* 角を丸くすると今っぽくなります */
}

/* 埋め込み要素自体への指定 */
.twitter-wrapper iframe {
    border: none !important;
}

/* アフィリエイトリンク（ボタン風） */
.affiliate-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aff-button {
    display: block;
    text-align: center;
    background-color: #27ae60;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.aff-button:hover {
    background-color: #219150;
}

/* フッター */
.simple-footer {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;    /* 中央揃え */
    padding: 20px 0;        /* 上下の余白 */
    gap: 8px;               /* アイコンとテキストの隙間 */
    font-family: sans-serif;
}

/* Xアイコンのサイズと色 */
.x-svg {
    width: 22px;   /* アイコンの大きさ */
    height: 22px;
    fill: #333;    /* アイコンの色（黒系） */
    transition: opacity 0.2s;
}

/* ホバー（マウスを乗せた時）の演出 */
.x-icon-link:hover .x-svg {
    opacity: 0.7;
}

/* テキストのスタイル */
.simple-footer p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* PCなどの広い画面向けの微調整 */
@media (min-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

}








