@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background:#fff;
    color:#333;
    overflow-x: hidden; /* ← 100vwのはみ出し対策 */
}

/* ベースとなる色とフォント設定 */
:root {
    --white-bg: #ffffff;    /* 白背景 */
    --main-text-color: #333333; /* 濃いグレーの文字 */
    --date-color: #666666;   /* 日付用の中間グレー */
    --border-color: #dddddd; /* 薄いグレーの線 */
    --hover-bg: #f5f5f5;     /* ホバー時の背景色 */
}


.header {   
    position: sticky; top: 0; z-index: 1000;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: #ffffff;

    box-shadow: 0 1px 0 rgba(0,0,0,0.1);
}
.header-left {
    float: left;
}
.header-right {
    display: flex;
    gap: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 0 5px raba(255,255,255,0.5);
}

.header-right a {
    margin-right: 20px;
    color: inherit;
    text-decoration: none;
}

.clear {
    clear: both;
}
.header-logo {
    height: 40px;
    margin-top: 8px;
}


/*ボタン*/
.button {
    text-align: center;      /* 中央寄せ */
    margin-top: 40px;        /* 上との間隔 */
}

.button a {
    display: inline-block;
    padding: 12px 36px;
    font-size: 1rem;
    color: #333;
    border: 1px solid #333;
    border-radius: 9999px;   /* 丸みを強調 */
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ホバー時 */
.button a:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);  /* ふわっと浮く */
}


/* 幅いっぱいの背景（ヘッダーと同じトリック） */
.footer{
  /* ← stickyは消す */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    background: linear-gradient(to top right, white, white 60%, );
    border-top: 1px solid #ddd;
    color: #333;
    text-align: center;

  /* “広く”見せる肝は上下padding */
    padding: 80px 0 60px;
}

/* 中身だけ中央の箱にまとめる */
.footer-inner{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;      /* ヘッダーとおそろいの横余白 */
}

/* ロゴ大きめ＋余白 */
.footer-logo{
    height: 80px;         /* お好みで 60〜100px */
    display: block;
    margin: 0 auto 32px;
}