/*
Theme Name: My Custom Theme
*/


body {
        font-family: YuGothic, "游ゴシック体", "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MＳ Ｐゴシック", "MS PGothic", sans-serif;
        letter-spacing: .025em;
        line-height: 1.8;

        color: #333;
        max-width: 100%;
        margin: 0 auto;
        padding: 20px;
        background-color: #f9f9f9;
        text-align: center;
        background-color: #f3f6fc;
    }

    header {
        margin-top: 20px;
        padding-top: 20px;
        margin-bottom: 0px;
        padding-bottom: 0px;    
    }
    

    header, main, footer {
    padding: 60px 10%; /* 左右にたっぷり余白 */
    }
    .alert-bar {
        background: #2206f8;
        color: white;
        text-align: center;
        padding: 5px;
        font-weight: bold;
        margin-bottom: 20px;
    }
    section h2 a{
        color: #422fd3; /* 青 */
        text-decoration: none;
    }
    a:hover {
        color: #d32f2f;
    }
    a:visited {
        color: #58228b;
    }
    h1 {
        font-size: 2.2rem;
        line-height: 1.4;
    }
    h2 {
        font-size: 1.8rem;
        /*padding-left: 15px;*/
        margin-top: 40px;
        
    }
    h3 {
        font-size: 1.4rem;
        line-height: 1.6;
    }
    p {
    font-size: 1.25rem;
    max-width: 900px;
    margin: 20px auto;
    line-height: 2.0;
}
    .under-construction {
        background: #dfe8fa; 
        border: 20px double #f8a07d;
        padding: 20px;
        text-align: center;
        margin: auto;
    }

    img {
       max-width: 100%; /* 親要素を超えないようにする */
       height: 0 auto;
    }
    
    .const-box .icon {
        font-size: 3rem;
        display: block;
    }
    
    a.btn {
    display: inline-block;
    padding: 30px;
    margin-top: 100px;
    background-color: #007bff; /* 青色 */
    color: #fff;               /* 文字色（白） */
    text-decoration: none;     /* 下線を消す */
    border-radius: 5px;        /* 角を丸くする */
    transition: 0.3s;          /* ホバー時の変化を滑らかに */
    }

    .btn:hover {
    background-color: #0056b3; /* ホバー時に濃い青にする */
    opacity: 0.8;
    }

    footer {
        text-align: center;
        margin-top: 60px;
        font-size: 1rem;
        color: #2206f8;
    }

    

    /* --- iPad (タブレット) --- */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    p  { font-size: 1.15rem; }
}

/* --- Mobile (スマホ標準) --- */
@media (max-width: 768px) {
    header, main { padding: 40px 5%; } /* 余白を狭くしてコンテンツを広げる */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.5rem; }
    p  { font-size: 1.1rem; }
    h3 { font-size: 1.2rem; }
}

/* --- MiniMobile (古いiPhoneやSEなど) --- */
@media (max-width: 375px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    p  { font-size: 1rem; }
}
