/* ===== 共通スタイル ===== */
body {
    margin:0;
    font-family:"メイリオ","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;
    background:#fff;
}
.page-wrapper {
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0 5px;
}

/* ===== ヘッダー ===== */
.header-wrapper {
    position:relative;
    width:100%;
}
.header-wrapper img {
    width:100%;
    height:auto;
    display:block;
}
.header-text {
    position:absolute;
    top:40px;
    left:20px;
    color:#000;
}
.header-text h1 {
    color:#FF3333;
    margin:0;
    font-size: clamp(18px, 2.5vw, 32px);
}
.header-text h2 {
    font-weight:normal;
    color:#000;
    margin:0;
    font-size: clamp(10px, 1.5vw, 18px);
}

/* ===== メニュー（6リンク） ===== */
.menu {
    display:flex;
    gap:2px;
    margin-top:10px;
}
.menu a {
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:bold;
    text-decoration:none;
    border-radius:8px;
    border:1px solid #333;
    background:#fff;
    color:#000;
    box-shadow: inset 0 0 0 1px #333;
    position:relative;
    overflow:hidden;
    padding:10px 5px;
    height:auto;
}
.menu a::before {
    content:"";
    position:absolute;
    top:0;
    left:20%;
    width:60%;
    height:25%;
    background:rgba(0,0,0,0.5);
    border-radius:4px;
}
.menu a span {
    display:block;
    text-align:center;
    white-space:nowrap;
    line-height:1.2;
    font-size: clamp(12px, 1.5vw, 18px);
}

/* ホバー */
.menu a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* ===== メインコンテンツ ===== */
.main-content {
    background:url('img_g/4.gif') repeat;
    padding:20px;
    margin-top:10px;
}
.main-content p, 
.main-content h1, 
.main-content h2, 
.main-content strong {
    font-size: clamp(12px, 1.5vw, 18px);
    line-height: 1.6;
}
.main-content a {
    color:#0000EE;
    text-decoration:underline;
}
.main-content a span {
    font-size: clamp(12px, 1.4vw, 16px);
    font-weight: bold;
}

/* ===== セクションタイトル ===== */
.section-title {
    background:#FCE2C7;
    padding:10px;
    display:flex;
    align-items:center;
    margin-bottom:10px;
    border-radius:4px;
}
.section-title img {
    margin-right:10px;
}
.section-title span {
    font-size: clamp(14px, 2vw, 20px);
    color:#FF3333;
    font-weight:bold;
}

/* ===== テーブル ===== */
table {
    border-collapse:collapse;
    width:100%;
    max-width:900px;
    margin:auto;
}
th, td {
    border:1px solid #000;
    padding:6px;
    text-align:center;
    font-size: clamp(12px, 1.2vw, 16px);
}
th {
    background:#FF99CC;
    font-weight:bold;
}
td.left {
    text-align:left;
}

/* ===== スマホ対応 ===== */
@media screen and (max-width:600px){
    .header-text {
        top:5px;
        left:5px;
    }

    /* リンクボタン高さを2倍（しっかり固定） */
    .menu a {
        height: 120px !important; /* ← 高さを確実に2倍 */
        min-height: 120px !important;
        padding: 10px 5px;
        border-radius: 12px;
        display:flex;
        justify-content:center;
        align-items:center;
    }

    /* 文字サイズも少し大きく見えるように */
    .menu a span {
        font-size: clamp(14px, 3vw, 20px);
        line-height: 1.2;
    }
}
