/* =========================
   リセット＆共通設定
========================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: "Yu Gothic", "メイリオ", sans-serif;
  background: #f7f5f3;
  color: #333;
}


/* =========================
   メインレイアウト（高島屋風）
========================= */
.layout-wrapper {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 30px;

  display: flex;
  align-items: flex-start;

  /* これが超重要 */
  justify-content: flex-start;
  gap: 60px;
}


/* メインは残り全部 */
.main-content {
  flex: 1;
  min-width: 0;
  margin-top: 40px;
}


.section {
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 30px;
  border: 1px solid #e5e5e5;
}

.section h2 {
  font-size: 21px;
  margin-bottom: 12px;
}


/* =========================
   フッター
========================= */

.site-footer {
  width: 100%;
  background: #1e1e1e;
  color: #fff;
  padding: 28px 0 25px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-left {
  font-size: 14px;
  color: #cfcfcf;
}

.footer-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* SNSアイコン */
.footer-sns-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
}

/* フッターリンク文字 */
.footer-right a {
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
  transition: 0.2s;
}

.footer-right a:hover {
  color: white;
}


/* =========================
   レスポンシブ
========================= */

@media screen and (max-width: 900px){

  .layout-wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    max-width: none;
  }

  .main-content {
    width: 100%;
  }
}

@media screen and (max-width: 760px){

  .layout-wrapper {
    padding: 10px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
  }

  .footer-left {
    margin-bottom: 10px;
  }
}
