/* ===== 基本設定 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.6;
    color: #333;
}
.container {
    width: 90%;
    margin: auto;
}

/* ===== ヘッダー ===== */
.header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 40px 0;
}
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    float: left;
}
.nav {
    float: right;
}
.nav a {
    margin-left: 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* ===== ヒーロー ===== */
.hero {
background-image: url("mazesashi.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  min-height: 450px;  
  width: 100%;

  /*  background: url("mazesashi.jpg") center/contain no-repeat;*/
  /*height: 450px;*/
   /* background-color: #000; */
   /* display: flex;*/
   /* align-items: center;*/
   /*  text-align: center;*/
   /*  color: white;*/
}
.hero h2 {
    font-size: 2.8rem;
}
.hero p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* ===== セクション共通 ===== */
.section {
    padding: 60px 0;
}
.section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #222;
    display: inline-block;
}

/* ===== ブランド一覧 ===== */
.brand .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.brand .card {
    background: #f4f4f4;
    padding: 20px;
    text-align: center;
    font-weight: bold;
}
.brand .card-text {
    font-size: 0.8rem;
    font-weight: 400;
}

/* ===== ニュース ===== */
.news ul {
    list-style: none;
}
.news li {
    margin-bottom: 10px;
}

/* ===== フォーム ===== */
form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
}
form button {
    padding: 12px 20px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
}

/* ===== フッター ===== */
.footer {
    background: #222;
    color: #fff;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    opacity: 0.7;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-info {
    text-align: right;
}

@media screen and (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-info {
        margin-top: 15px;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}